這篇文章主要介紹了如何實(shí)現(xiàn)AmazeUI折疊面板,具有一定借鑒價(jià)值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。
團(tuán)風(fēng)ssl適用于網(wǎng)站、小程序/APP、API接口等需要進(jìn)行數(shù)據(jù)傳輸應(yīng)用場(chǎng)景,ssl證書(shū)未來(lái)市場(chǎng)廣闊!成為成都創(chuàng)新互聯(lián)的ssl證書(shū)銷(xiāo)售渠道,可以享受市場(chǎng)價(jià)格4-6折優(yōu)惠!如果有意向歡迎電話聯(lián)系或者加微信:028-86922220(備注:SSL證書(shū)合作)期待與您的合作!
Amaze UI 是一個(gè)針對(duì) HTML 5 開(kāi)發(fā)的輕量級(jí)、模塊化、移動(dòng)優(yōu)先的跨屏前端框架,通過(guò)拆分、封裝了一些常用的網(wǎng)頁(yè)組件,比如輪播圖框、文字框等等組件,讓前端開(kāi)發(fā)者只用便可以將這些跨屏的組件寫(xiě)入自己的網(wǎng)頁(yè)中,而不需要自己在開(kāi)發(fā)的過(guò)程中重寫(xiě)一遍。
<!doctype html> <html class="no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>折疊面板</title> <meta name="renderer" content="webkit"> <meta http-equiv="Cache-Control" content="no-siteapp"/> <link rel="icon" type="image/png" href="assets/i/favicon.png"> <meta name="mobile-web-app-capable" content="yes"> <link rel="icon" sizes="192x192" href="assets/i/app-icon72x72@2x.png"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-title" content="Amaze UI"/> <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png"> <meta name="msapplication-TileImage" content="assets/i/app-icon72x72@2x.png"> <meta name="msapplication-TileColor" content="#0e90d2"> <link rel="stylesheet" href="assets/css/amazeui.min.css"> </head> <body style="margin: 50px;"> <!--折疊面板--> <div class="am-panel-group" id="accordion"> <div class="am-panel am-panel-default"> <div class="am-panel-hd"> <h5 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-1'}"> 標(biāo)題 </h5> </div> <div id="do-not-say-1" class="am-panel-collapse am-collapse am-in"> <div class="am-panel-bd"> 閱誰(shuí)問(wèn)君誦,水落清香浮 </div> </div> </div> <div class="am-panel am-panel-default"> <div class="am-panel-hd"> <h5 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-2'}"> 標(biāo)題 </h5> </div> <div id="do-not-say-2" class="am-panel-collapse am-collapse"> <div class="am-panel-bd"> 閱誰(shuí)問(wèn)君誦,水落清香浮 </div> </div> </div> <div class="am-panel am-panel-default"> <div class="am-panel-hd"> <h5 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-3'}"> 標(biāo)題 </h5> </div> <div id="do-not-say-3" class="am-panel-collapse am-collapse"> <div class="am-panel-bd"> 閱誰(shuí)問(wèn)君誦,水落清香浮 </div> </div> </div> </div> <!--折疊菜單--> <button class="am-btn am-btn-primary" data-am-collapse="{target: '#collapse-nav'}">Menu <i class="am-icon-bars"></i></button> <nav> <ul id="collapse-nav" class="am-nav am-collapse"> <li><a href="">開(kāi)始使用</a></li> <li><a href="">CSS 介紹</a></li> <li class="am-active"><a href="">JS 介紹</a></li> <li><a href="">功能定制</a></li> </ul> </nav> <!--折疊列表--> <ul class="am-list admin-sidebar-list" id="collapase-nav-1"> <li class="am-panel"> <a data-am-collapse="{parent: '#collapase-nav-1'}" href="#/"><i class="am-icon-home am-margin-left-sm"></i> 首頁(yè)</a> </li> <li class="am-panel"> <a data-am-collapse="{parent: '#collapase-nav-1', target: '#user-nav'}"> <i class="am-icon-users am-margin-left-sm"></i> 人員管理 <i class="am-icon-angle-right am-fr am-margin-right"></i> </a> <ul class="am-list am-collapse admin-sidebar-sub" id="user-nav"> <li><a href="#/userAdd"><i class="am-icon-user am-margin-left-sm"></i> 添加人員 </a></li> <li><a href="#/userList/0"><i class="am-icon-user am-margin-left-sm"></i> 人員列表 </a></li> </ul> </li> <li class="am-panel"> <a data-am-collapse="{parent: '#collapase-nav-1', target: '#company-nav'}"> <i class="am-icon-table am-margin-left-sm"></i> 單位(部門(mén))管理 <i class="am-icon-angle-right am-fr am-margin-right"></i> </a> <ul class="am-list am-collapse admin-sidebar-sub" id="company-nav"> <li><a href="#/companyAdd"><span class="am-icon-table am-margin-left-sm"></span> 添加單位(部門(mén)) </a></li> <li><a href="#/companyList/0"><span class="am-icon-table am-margin-left-sm"></span> 單位(部門(mén))列表 </a></li> </ul> </li> <li class="am-panel"> <a data-am-collapse="{parent: '#collapase-nav-1', target: '#role-nav'}"> <i class="am-icon-table am-margin-left-sm"></i> 角色管理 <i class="am-icon-angle-right am-fr am-margin-right"></i> </a> <ul class="am-list am-collapse admin-sidebar-sub" id="role-nav"> <li><a href="#/roleAdd"><span class="am-icon-table am-margin-left-sm"></span> 添加角色 </a></li> <li><a href="#/roleList/0"><span class="am-icon-table am-margin-left-sm"></span> 角色列表 </a></li> </ul> </li> </ul> <!--[if (gte IE 9)|!(IE)]><!--> <script src="assets/js/jquery.min.js"></script> <!--<![endif]--> <!--[if lte IE 8 ]> <script src="assets/ie8/jquery.min.js"></script> <script src="assets/ie8/modernizr.js"></script> <script src="assets/js/amazeui.ie8polyfill.min.js"></script> <![endif]--> <script src="assets/js/amazeui.min.js"></script> </body> </html>
感謝你能夠認(rèn)真閱讀完這篇文章,希望小編分享的“如何實(shí)現(xiàn)AmazeUI折疊面板”這篇文章對(duì)大家有幫助,同時(shí)也希望大家多多支持創(chuàng)新互聯(lián),關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道,更多相關(guān)知識(shí)等著你來(lái)學(xué)習(xí)!
網(wǎng)站欄目:如何實(shí)現(xiàn)AmazeUI折疊面板
轉(zhuǎn)載來(lái)于:http://jinyejixie.com/article18/jdoedp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供建站公司、軟件開(kāi)發(fā)、網(wǎng)站排名、用戶體驗(yàn)、云服務(wù)器、做網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)