更新记录
0.0.1(2025-07-02)
下载此版本
初次发布
平台兼容性
uni-app(4.15)
Vue2 |
Vue3 |
Chrome |
Safari |
app-vue |
app-nvue |
Android |
iOS |
鸿蒙 |
√ |
√ |
√ |
√ |
√ |
- |
8.0 |
- |
- |
微信小程序 |
支付宝小程序 |
抖音小程序 |
百度小程序 |
快手小程序 |
京东小程序 |
鸿蒙元服务 |
QQ小程序 |
飞书小程序 |
快应用-华为 |
快应用-联盟 |
√ |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
其他
声明:本插件的初衷就是简洁!简单!入门级,源码也很简单,可自行修改
H5、APP 、微信小程序 都已自测,正常运行
使用方法:
template部分
print(<cytClassIfy :classifyList="classifyList" :height="0" @clickGoods="onClickGoods">)
参数解析
classifyList: 数据源
height: 组件的整体高度,如果传0或不传,组件高度为windowHeight
script部分
print(import cytClassIfy from "@/components/cyt-classify.vue")
print(const classifyList = ref([{
'name': '家电',
'children': [
{
'name': '冰箱',
'goodsList': [
{
'goodsImg': 'https://img-cdn-tc.dcloud.net.cn/uploads/avatar/001/67/43/81_avatar_max.jpg?=1613651270',
'goodsName': '美的',
}
]
},
{
'name': '电视',
'goodsList': [
{
'goodsImg': 'https://img-cdn-tc.dcloud.net.cn/uploads/avatar/001/67/43/81_avatar_max.jpg?=1613651270',
'goodsName': '电视机',
}
]
},
{
'name': '空调',
'goodsList': [
{
'goodsImg': 'https://img-cdn-tc.dcloud.net.cn/uploads/avatar/001/67/43/81_avatar_max.jpg?=1613651270',
'goodsName': '格力',
}
]
}
]
}]))