更新记录

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': '格力',
                            }
                        ]
                    }
                ]
            }]))

隐私、权限声明

1. 本插件需要申请的系统权限列表:

2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:

插件不采集任何数据

3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:

许可协议

MIT协议

暂无用户评论。

使用中有什么不明白的地方,就向插件作者提问吧~ 我要提问