通讯录效果

当然这不仅局限于通讯录的样式,好友类、消息类、附近的人都可以用这个来实现,右侧也可以加上箭头。想要更丰富一点那就自己动手再自定义一下

使用效果跟.aui-list-view是一样的,无非在这我们使用.aui-user-view来完成


<div class="aui-content"><ul class="aui-user-view">
    <li class="aui-user-view-cell aui-img">
        <img class="aui-img-object aui-pull-left" src="/Public/Image/aui/demo4.png" /><div class="aui-img-body">
            <span>流浪男<em>11.1KM</em></span><p class="aui-ellipsis-1">北京轻元素网络科技</p></div></li>
    <li class="aui-user-view-cell aui-img">
        <img class="aui-img-object aui-pull-left" src="/Public/Image/aui/demo1.png" /><div class="aui-img-body">
            <span>张三<em>11.1KM</em></span><p class="aui-ellipsis-1">北京轻元素网络科技</p></div></li>
    <li class="aui-user-view-cell aui-img">
        <img class="aui-img-object aui-pull-left" src="/Public/Image/aui/demo2.png" /><div class="aui-img-body">
            <span>张三叫李四<em>11.1KM</em></span><p class="aui-ellipsis-1">北京轻元素网络科技</p></div></li>
    <li class="aui-user-view-cell aui-img">
        <img class="aui-img-object aui-pull-left" src="/Public/Image/aui/demo3.png" /><div class="aui-img-body aui-arrow-right">
            <span>李四叫王五</span><p class="aui-ellipsis-1">北京轻元素网络科技</p></div></li>
</ul></div>