iView Card 图文组件
<Card style="width:3.3rem" :dis-hover="false" > <div style="text-align:center"> <h3>{{item.title}}</h3> <div class="editor"> <div> <img src="../../../static/img/author.png" alt=""> <span >{{item.initiator? item.initiator.name :'昵称 为空'}} </span> </div> <div > <span class="date">{{item.createDate}}</span> </div> </div> </div> <div> <span class="noClick" style="color: #f30000; " v-if="item.stateCode === '20' || item.stateCode === '10'">待审核</span> < </div> </Card>
展示效果:
作者:人参,每篇随笔皆原创(除非注明原作者的随笔),欢迎指正!