互联网技术 · 2024年3月2日 0

AmazeUI实现评论列表示例

这篇文章主要介绍了AmazeUI评论列表的实现示例,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧

最近在学习AmazeUI框架,今天给大家分享的是AmazeUI评论列表的实现示例,也给自己留个学习记录

<!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=”https://redspeed01.com/d/easyvpn24″>
<meta name=”mobile-web-app-capable” content=”yes”>
<link rel=”icon” sizes=”192×192″ href=”https://redspeed01.com/d/easyvpn24″>
<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=”https://redspeed01.com/d/easyvpn24″>
<meta name=”msapplication-TileImage” content=”assets/i/app-icon72x72@2x.png”>
<meta name=”msapplication-TileColor” content=”#0e90d2″>
<link rel=”stylesheet” href=”https://redspeed01.com/d/easyvpn24″>
</head>
<body style=”margin: 10px;”>
<!–基本结构–>
<article class=”am-comment”> <a href=””>
<img class=”am-comment-avatar” alt=”” src=”img/100.jpg” /> </a>
<div class=”am-comment-main”> <header class=”am-comment-hd”> <div class=”am-comment-meta”> <a href=”https://redspeed01.com/d/easyvpn24″ class=”am-comment-author”>chaoyi</a> 评论于 <time datetime=””>2016-02-17</time>
</div>
</header>
<div class=”am-comment-bd”>阅谁问君诵,水落清香浮。</div> </div>
</article><br>
<article class=”am-comment”> <a href=”https://redspeed01.com/d/easyvpn24″>
<img src=”img/100.jpg” alt=”” class=”am-comment-avatar” width=”48″ height=”48″/> </a>
<div class=”am-comment-main”> <header class=”am-comment-hd”> <div class=”am-comment-meta”> <a href=”https://redspeed01.com/d/easyvpn24″ class=”am-comment-author”>chaoyi</a> 评论于 <time datetime=”2013-07-27T04:54:29-07:00″ title=”2013年7月27日 下午7:54 格林尼治标准时间+0800″>2014-7-12 15:30</time>
</div>
</header>
<div class=”am-comment-bd”>阅谁问君诵,水落清香浮。</div> </div>
</article>
<ul class=”am-comments-list am-comments-list-flip”>
<li class=”am-comment”> <a href=”https://redspeed01.com/d/easyvpn24″>
<img src=”img/100.jpg” alt=”” class=”am-comment-avatar” width=”48″ height=”48″/> </a>
<div class=”am-comment-main”> <header class=”am-comment-hd”> <div class=”am-comment-meta”> <a href=”https://redspeed01.com/d/easyvpn24″ class=”am-comment-author”>chaoyi</a> 评论于 <time datetime=”2013-07-27T04:54:29-07:00″ title=”2013年7月27日 下午7:54 格林尼治标准时间+0800″>2014-7-12 15:30</time>
</div>
</header>
<div class=”am-comment-bd”>阅谁问君诵,水落清香浮。</div> </div>

</li> <li class=”am-comment am-comment-flip”> <a href=”https://redspeed01.com/d/easyvpn24″> <img src=”img/100.jpg” alt=”” class=”am-comment-avatar” width=”48″ height=”48″/> </a> <div class=”am-comment-main”> <header class=”am-comment-hd”> <div class=”am-comment-meta”> <a href=”https://redspeed01.com/d/easyvpn24″ class=”am-comment-author”>chaoyi</a> 评论于 <time datetime=”2013-07-27T04:54:29-07:00″ title=”2013年7月27日 下午7:54 格林尼治标准时间+0800″>2014-7-12 15:30</time>
</div>
</header>
<div class=”am-comment-bd”>阅谁问君诵,水落清香浮。</div> </div>

</li> <li class=”am-comment am-comment-highlight”> <a href=”https://redspeed01.com/d/easyvpn24″> <img src=”img/100.jpg” alt=”” class=”am-comment-avatar” width=”48″ height=”48″/> </a> <div class=”am-comment-main”> <header class=”am-comment-hd”> <div class=”am-comment-meta”> <a href=”https://redspeed01.com/d/easyvpn24″ class=”am-comment-author”>chaoyi</a> 评论于 <time datetime=”2013-07-27T04:54:29-07:00″ title=”2013年7月27日 下午7:54 格林尼治标准时间+0800″>2014-7-12 15:30</time>
</div>
</header>
<div class=”am-comment-bd”>阅谁问君诵,水落清香浮。</div> </div>

<article class=”am-comment am-comment-flip”> <a href=”https://redspeed01.com/d/easyvpn24″> <img src=”img/100.jpg” alt=”” class=”am-comment-avatar” width=”48″ height=”48″/> </a> <div class=”am-comment-main”> <header class=”am-comment-hd”> <div class=”am-comment-meta”> <a href=”https://redspeed01.com/d/easyvpn24″ class=”am-comment-author”>chaoyi</a> 评论于 <time datetime=”2013-07-27T04:54:29-07:00″ title=”2013年7月27日 下午7:54 格林尼治标准时间+0800″>2014-7-12 15:30</time>
</div>
</header>
<div class=”am-comment-bd”>阅谁问君诵,水落清香浮。</div> </div>

<article class=”am-comment am-comment-flip am-comment-highlight”> <a href=”https://redspeed01.com/d/easyvpn24″> <img src=”img/100.jpg” alt=”” class=”am-comment-avatar” width=”48″ height=”48″/> </a> <div class=”am-comment-main”> <header class=”am-comment-hd”> <div class=”am-comment-meta”> <a href=”https://redspeed01.com/d/easyvpn24″ class=”am-comment-author”>chaoyi</a> 评论于 <time datetime=”2013-07-27T04:54:29-07:00″ title=”2013年7月27日 下午7:54 格林尼治标准时间+0800″>2014-7-12 15:30</time>
</div>
</header>
<div class=”am-comment-bd”>阅谁问君诵,水落清香浮。</div> </div>

<!–[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>

效果图:

AmazeUI评论列表的实现示例 -