更新记录
1.1(2025-04-24) 下载此版本
加圆角
1.0(2025-01-23) 下载此版本
u-card二次封装,去除多余的线条,解决列表页常见的开发痛点
平台兼容性
uni-app
Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
---|---|---|---|---|---|---|---|---|
√ | - | - | - | - | - | - | - | - |
微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
---|---|---|---|---|---|---|---|---|---|---|
- | - | - | - | - | - | - | - | - | - | - |
使用
import cardList from "@/components/chenchenxuxu-card-list/chenchenxuxu-card-list"
...
components: {
cardList
},
.....
<card-list title="标题" show-foot @click="dofun">
<template slot="body">
<u-row gutter="16">
<u-col span="3">
<view class="demo-layout bg-purple">111</view>
</u-col>
<u-col span="4">
<view class="demo-layout bg-purple-light">222</view>
</u-col>
<u-col span="5">
<view class="demo-layout bg-purple-dark">333</view>
</u-col>
</u-row>
</template>
<template slot="foot">
如果写了show-foot,那么显示底部
</template>
</card-list>