仿微信朋友圈
利用列表、媒体列表、栅格、宫格等实现微信朋友圈效果。
示例源码
<style>
.aui-list .aui-list-item-media {
width: 3rem;
}
</style>
<section class="aui-content">
<ul class="aui-list aui-media-list">
<li class="aui-list-item">
<div class="aui-media-list-item-inner">
<div class="aui-list-item-media">
<img src="/static/auicss/img/demo1.png"/>
</div>
<div class="aui-list-item-inner">
<div class="aui-list-item-text">
<div class="aui-list-item-title" style="color:#4c5276">流浪男</div>
</div>
<div class="aui-list-item-text" style="color:#333;">
如果谈及中国在技术领域的短板,那么大家可能想到的是发动机,其实还有一样:高级电子芯片!人们通常所说的CPU,所谓CPU即中央处理器,就是其代表产品,它可是为电子信息产品的心脏
</div>
<div class="aui-list-item-text">
<div class="aui-row-padded" style="max-width:90%;">
<div class="aui-col-xs-4">
<img src="/static/auicss/img/demo/1.jpeg" />
</div>
<div class="aui-col-xs-4">
<img src="/static/auicss/img/demo/2.jpeg" />
</div>
<div class="aui-col-xs-4">
<img src="/static/auicss/img/demo/3.jpeg" />
</div>
<div class="aui-col-xs-4">
<img src="/static/auicss/img/demo/2.jpeg" />
</div>
<div class="aui-col-xs-4">
<img src="/static/auicss/img/demo/1.jpeg" />
</div>
<div class="aui-col-xs-4">
<img src="/static/auicss/img/demo/3.jpeg" />
</div>
</div>
</div>
<p class="aui-margin-t-5 aui-font-size-12">山东潍坊</p>
<div class="aui-info aui-font-size-12" style="padding-top:0; padding-bottom:0">
<div class="aui-info-item">1小时前</div>
<div class="aui-info-item">
<i class="aui-iconfont aui-icon-comment" style="color:#4c5276"></i>
</div>
</div>
</div>
</div>
</li>
<li class="aui-list-item">
<div class="aui-media-list-item-inner">
<div class="aui-list-item-media">
<img src="/static/auicss/img/demo3.png" />
</div>
<div class="aui-list-item-inner">
<div class="aui-list-item-text">
<div class="aui-list-item-title" style="color:#4c5276">AUI</div>
</div>
<div class="aui-list-item-text" style="color:#333;">
中国拥有世界顶级航天芯片产品:俄罗斯造不出来了只能求中国分享
</div>
<div class="aui-info aui-font-size-12 aui-padded-t-0 aui-padded-b-0">
<div class="aui-info-item">1小时前</div>
<div class="aui-info-item">
<i class="aui-iconfont aui-icon-comment" style="color:#4c5276"></i>
</div>
</div>
</div>
</div>
</li>
<li class="aui-list-item">
<div class="aui-media-list-item-inner">
<div class="aui-list-item-media">
<img src="/static/auicss/img/liulangnan.png" />
</div>
<div class="aui-list-item-inner">
<div class="aui-list-item-text">
<div class="aui-list-item-title" style="color:#4c5276">流浪男</div>
</div>
<div class="aui-list-item-text" style="color:#333;">
网传“贴吧之父”俞军加入滴滴
</div>
<div class="aui-list-item-text">
<div class="aui-row-padded" style="max-width:90%;">
<div class="aui-col-xs-4">
<img src="/static/auicss/img/l1.png" />
</div>
<div class="aui-col-xs-4">
<img src="/static/auicss/img/l2.png" />
</div>
<div class="aui-col-xs-4">
<img src="/static/auicss/img/l3.png" />
</div>
</div>
</div>
<div class="aui-info aui-font-size-12 aui-padded-t-0 aui-padded-b-0">
<div class="aui-info-item">1小时前</div>
<div class="aui-info-item">
<i class="aui-iconfont aui-icon-comment" style="color:#4c5276"></i>
</div>
</div>
</div>
</div>
</li>
<li class="aui-list-item">
<div class="aui-media-list-item-inner">
<div class="aui-list-item-media">
<img src="/static/auicss/img/liulangnan.png" />
</div>
<div class="aui-list-item-inner">
<div class="aui-list-item-text">
<div class="aui-list-item-title" style="color:#4c5276">流浪男</div>
</div>
<div class="aui-list-item-text" style="color:#333;">
美团、饿了么外卖小哥斗殴:约架中关村
</div>
<div class="aui-info aui-font-size-12 aui-padded-t-0 aui-padded-b-0">
<div class="aui-info-item">1小时前</div>
<div class="aui-info-item">
<i class="aui-iconfont aui-icon-comment" style="color:#4c5276"></i>
</div>
</div>
</div>
</div>
</li>
</ul>
</section>