这篇文章主要介绍了AmazeUI列表的实现示例,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
最近在学习AmazeUI框架的一些用法,本文主要介绍了AmazeUI列表,分享给大家,也给自己留个笔记
!声明文档类型
html class='no-js '
头
meta charset='utf-8 '
元http-equiv=' X-UA-兼容'内容='IE=edge '
元名称='描述'内容=' '
元名称='关键字'内容=' '
元名称='视口'内容='宽度=设备宽度,初始比例=1 '
标题列表/title
meta name=' renderer ' content=' web kit '
元http-equiv='缓存-控制'内容='no-siteapp'/
link rel=' icon ' type=' image/png ' href=' assets/I/fav icon。png '
meta name=' mobile-web-app-ability ' content=' yes '
link rel=' icon ' size=' 192 x 192 ' href=' assets/I/app-icon 72 x72 @ 2x。png '
meta name=' apple-mobile-web-app-ability ' content=' yes '
meta name=' apple-mobile-web-app-status-bar-style ' content=' black '
meta name=' apple-mobile-web-app-title ' content='拍案惊奇UI'/
link rel=' apple-touch-icon-precompted ' href=' assets/I/app-icon 72 x72 @ 2x。png '
meta name=' ms application-Tileimage ' content=' assets/I/app-icon 72 x72 @ 2x。png '
meta name=' ms application-TileColor ' content=' # 0e 90d 2 '
链接rel='样式表href=' assets/CSS/amazeui。量滴' CSS '
/head
body style=' margin: 10px '
!-链接列表-
ul class='am-list '
lia href='# '链接列表/a/li
lia href='# '链接列表/a/li
/ul
!-文字超出截断为「.」 -
ul class='am-list '
lia href=' # ' class=' am-text-truncate '文字超出截断文字超出截断文字超出截断文字超出截断/a/li
/ul
!-纯文字列表-
ul class='am-list am-list-static '
lia href='# '纯文字列表/a/li
lia href='# '纯文字列表/a/li
/ul
!-列表边框-
ul class=' am-list am-list-static am-list-border '
lia href='# '列表边框/a/li
lia href='# '列表边框/a/li
/ul
ul class='am-list am-list-border '
lia href='# '列表边框/a/li
lia href='# '列表边框/a/li
/ul
!-斑马纹-
ul class=' am-list am-list-static am-list-border am-list-striped '
lia href='# '斑马纹/a/li
lia href='# '斑马纹/a/li
/ul
!-组合使用-
ul class=' am-list am-list-static am-list-border '
里
span class=' am-badge am-badge-success '是/span