Card 卡片
概述
使用指南
<script>
import iCard from 'iview-mpvue/dist/components/card/card'
export default {
components: {
'i-card': iCard
}
}
</script>import 'iview-mpvue/dist/components/card/style/css'示例
<i-card title="卡片标题" extra="额外内容" thumb="https://i.loli.net/2017/08/21/599a521472424.jpg">
<view slot="content">内容不错</view>
<view slot="footer">尾部内容</view>
</i-card>API
Last updated
Was this helpful?