Commit 4ca43c37 authored by wlxuqu's avatar wlxuqu

完成表单开发

parent a7403ccd
...@@ -5,85 +5,85 @@ export default[ ...@@ -5,85 +5,85 @@ export default[
{ {
"name": "A字裙", "name": "A字裙",
"key": "A字裙", "key": "A字裙",
"icon": "http://img.kiwifruits.cn/classify/1/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/1.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "T恤", "name": "T恤",
"key": "T恤", "key": "T恤",
"icon": "http://img.kiwifruits.cn/classify/1/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/2.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "半身裙", "name": "半身裙",
"key": "半身裙", "key": "半身裙",
"icon": "http://img.kiwifruits.cn/classify/1/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/3.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "衬衫", "name": "衬衫",
"key": "衬衫", "key": "衬衫",
"icon": "http://img.kiwifruits.cn/classify/1/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/4.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "短裙", "name": "短裙",
"key": "短裙", "key": "短裙",
"icon": "http://img.kiwifruits.cn/classify/1/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/5.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "阔腿裤", "name": "阔腿裤",
"key": "阔腿裤", "key": "阔腿裤",
"icon": "http://img.kiwifruits.cn/classify/1/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/6.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "连衣裙", "name": "连衣裙",
"key": "连衣裙", "key": "连衣裙",
"icon": "http://img.kiwifruits.cn/classify/1/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/7.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "妈妈装", "name": "妈妈装",
"key": "妈妈装", "key": "妈妈装",
"icon": "http://img.kiwifruits.cn/classify/1/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/8.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "牛仔裤", "name": "牛仔裤",
"key": "牛仔裤", "key": "牛仔裤",
"icon": "http://img.kiwifruits.cn/classify/1/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/9.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "情侣装", "name": "情侣装",
"key": "情侣装", "key": "情侣装",
"icon": "http://img.kiwifruits.cn/classify/1/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/10.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "休闲裤", "name": "休闲裤",
"key": "休闲裤", "key": "休闲裤",
"icon": "http://img.kiwifruits.cn/classify/1/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/11.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "雪纺衫", "name": "雪纺衫",
"key": "雪纺衫", "key": "雪纺衫",
"icon": "http://img.kiwifruits.cn/classify/1/12.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/12.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "防晒衣", "name": "防晒衣",
"key": "防晒衣", "key": "防晒衣",
"icon": "http://img.kiwifruits.cn/classify/1/13.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/13.jpg",
"cat": 10 "cat": 10
}, },
{ {
"name": "礼服/婚纱", "name": "礼服/婚纱",
"key": "礼服婚纱", "key": "礼服婚纱",
"icon": "http://img.kiwifruits.cn/classify/1/14.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/1/14.jpg",
"cat": 10 "cat": 10
} }
] ]
...@@ -94,85 +94,85 @@ export default[ ...@@ -94,85 +94,85 @@ export default[
{ {
"name": "火锅", "name": "火锅",
"key": "火锅", "key": "火锅",
"icon": "http://img.kiwifruits.cn/classify/2/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/1.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "糕点饼干", "name": "糕点饼干",
"key": "糕点饼干", "key": "糕点饼干",
"icon": "http://img.kiwifruits.cn/classify/2/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/2.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "坚果果干", "name": "坚果果干",
"key": "坚果果干", "key": "坚果果干",
"icon": "http://img.kiwifruits.cn/classify/2/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/3.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "酒类", "name": "酒类",
"key": "酒类", "key": "酒类",
"icon": "http://img.kiwifruits.cn/classify/2/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/4.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "辣条", "name": "辣条",
"key": "辣条", "key": "辣条",
"icon": "http://img.kiwifruits.cn/classify/2/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/5.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "大礼包", "name": "大礼包",
"key": "大礼包", "key": "大礼包",
"icon": "http://img.kiwifruits.cn/classify/2/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/6.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "精品茗茶", "name": "精品茗茶",
"key": "", "key": "",
"icon": "http://img.kiwifruits.cn/classify/2/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/7.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "休闲食品", "name": "休闲食品",
"key": "休闲食品", "key": "休闲食品",
"icon": "http://img.kiwifruits.cn/classify/2/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/8.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "糖果巧克力", "name": "糖果巧克力",
"key": "糖果巧克力", "key": "糖果巧克力",
"icon": "http://img.kiwifruits.cn/classify/2/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/9.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "方便速食", "name": "方便速食",
"key": "方便速食", "key": "方便速食",
"icon": "http://img.kiwifruits.cn/classify/2/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/10.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "营养代餐", "name": "营养代餐",
"key": "营养代餐", "key": "营养代餐",
"icon": "http://img.kiwifruits.cn/classify/2/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/11.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "粮油副食", "name": "粮油副食",
"key": "粮油", "key": "粮油",
"icon": "http://img.kiwifruits.cn/classify/2/12.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/12.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "生鲜水果", "name": "生鲜水果",
"key": "水果", "key": "水果",
"icon": "http://img.kiwifruits.cn/classify/2/13.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/13.jpg",
"cat": 6 "cat": 6
}, },
{ {
"name": "饮品", "name": "饮品",
"key": "饮品", "key": "饮品",
"icon": "http://img.kiwifruits.cn/classify/2/14.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/2/14.jpg",
"cat": 6 "cat": 6
} }
] ]
...@@ -183,91 +183,91 @@ export default[ ...@@ -183,91 +183,91 @@ export default[
{ {
"name": "化妆刷", "name": "化妆刷",
"key": "化妆刷", "key": "化妆刷",
"icon": "http://img.kiwifruits.cn/classify/3/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/1.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "粉底", "name": "粉底",
"key": "粉底", "key": "粉底",
"icon": "http://img.kiwifruits.cn/classify/3/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/2.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "洗发护发", "name": "洗发护发",
"key": "洗发护发", "key": "洗发护发",
"icon": "http://img.kiwifruits.cn/classify/3/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/3.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "美容工具", "name": "美容工具",
"key": "美容工具", "key": "美容工具",
"icon": "http://img.kiwifruits.cn/classify/3/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/4.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "眼部护理", "name": "眼部护理",
"key": "眼部护理", "key": "眼部护理",
"icon": "http://img.kiwifruits.cn/classify/3/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/5.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "眉妆", "name": "眉妆",
"key": "眉妆", "key": "眉妆",
"icon": "http://img.kiwifruits.cn/classify/3/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/6.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "卸妆品", "name": "卸妆品",
"key": "卸妆品", "key": "卸妆品",
"icon": "http://img.kiwifruits.cn/classify/3/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/7.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "基础护肤", "name": "基础护肤",
"key": "基础护肤", "key": "基础护肤",
"icon": "http://img.kiwifruits.cn/classify/3/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/8.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "眼妆", "name": "眼妆",
"key": "眼妆", "key": "眼妆",
"icon": "http://img.kiwifruits.cn/classify/3/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/9.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "唇妆", "name": "唇妆",
"key": "唇妆", "key": "唇妆",
"icon": "http://img.kiwifruits.cn/classify/3/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/10.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "面膜", "name": "面膜",
"key": "面膜", "key": "面膜",
"icon": "http://img.kiwifruits.cn/classify/3/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/11.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "沐浴用品", "name": "沐浴用品",
"key": "沐浴用品", "key": "沐浴用品",
"icon": "http://img.kiwifruits.cn/classify/3/12.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/12.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "护肤套装", "name": "护肤套装",
"key": "护肤套装", "key": "护肤套装",
"icon": "http://img.kiwifruits.cn/classify/3/13.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/13.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "防晒品", "name": "防晒品",
"key": "防晒品", "key": "防晒品",
"icon": "http://img.kiwifruits.cn/classify/3/14.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/14.jpg",
"cat": 3 "cat": 3
}, },
{ {
"name": "美甲", "name": "美甲",
"key": "美甲", "key": "美甲",
"icon": "http://img.kiwifruits.cn/classify/3/15.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/3/15.jpg",
"cat": 3 "cat": 3
} }
...@@ -279,79 +279,79 @@ export default[ ...@@ -279,79 +279,79 @@ export default[
{ {
"name": "垃圾袋", "name": "垃圾袋",
"key": "垃圾袋", "key": "垃圾袋",
"icon": "http://img.kiwifruits.cn/classify/4/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/1.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "纸巾", "name": "纸巾",
"key": "纸巾", "key": "纸巾",
"icon": "http://img.kiwifruits.cn/classify/4/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/2.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "驱蚊用品", "name": "驱蚊用品",
"key": "驱蚊用品", "key": "驱蚊用品",
"icon": "http://img.kiwifruits.cn/classify/4/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/3.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "收纳神器", "name": "收纳神器",
"key": "收纳神器", "key": "收纳神器",
"icon": "http://img.kiwifruits.cn/classify/4/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/4.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "厨房用品", "name": "厨房用品",
"key": "厨房用品", "key": "厨房用品",
"icon": "http://img.kiwifruits.cn/classify/4/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/5.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "厨房烹饪", "name": "厨房烹饪",
"key": "烹饪", "key": "烹饪",
"icon": "http://img.kiwifruits.cn/classify/4/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/6.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "衣物晾晒", "name": "衣物晾晒",
"key": "衣物晾晒", "key": "衣物晾晒",
"icon": "http://img.kiwifruits.cn/classify/4/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/7.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "衣物护理", "name": "衣物护理",
"key": "衣物护理", "key": "衣物护理",
"icon": "http://img.kiwifruits.cn/classify/4/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/8.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "宠物用品", "name": "宠物用品",
"key": "宠物用品", "key": "宠物用品",
"icon": "http://img.kiwifruits.cn/classify/4/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/9.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "医药保健", "name": "医药保健",
"key": "医药", "key": "医药",
"icon": "http://img.kiwifruits.cn/classify/4/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/10.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "日用百货", "name": "日用百货",
"key": "百货", "key": "百货",
"icon": "http://img.kiwifruits.cn/classify/4/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/11.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "清洁用品", "name": "清洁用品",
"key": "清洁", "key": "清洁",
"icon": "http://img.kiwifruits.cn/classify/4/12.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/12.jpg",
"cat": 4 "cat": 4
}, },
{ {
"name": "绿植园艺", "name": "绿植园艺",
"key": "绿植", "key": "绿植",
"icon": "http://img.kiwifruits.cn/classify/4/13.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/4/13.jpg",
"cat": 4 "cat": 4
} }
] ]
...@@ -362,67 +362,67 @@ export default[ ...@@ -362,67 +362,67 @@ export default[
{ {
"name": "爸爸装", "name": "爸爸装",
"key": "爸爸装", "key": "爸爸装",
"icon": "http://img.kiwifruits.cn/classify/5/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/1.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "牛仔裤", "name": "牛仔裤",
"key": "牛仔裤", "key": "牛仔裤",
"icon": "http://img.kiwifruits.cn/classify/5/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/2.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "衬衫", "name": "衬衫",
"key": "衬衫", "key": "衬衫",
"icon": "http://img.kiwifruits.cn/classify/5/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/3.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "休闲裤", "name": "休闲裤",
"key": "休闲裤", "key": "休闲裤",
"icon": "http://img.kiwifruits.cn/classify/5/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/4.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "外套", "name": "外套",
"key": "外套", "key": "外套",
"icon": "http://img.kiwifruits.cn/classify/5/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/5.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "T恤", "name": "T恤",
"key": "T恤", "key": "T恤",
"icon": "http://img.kiwifruits.cn/classify/5/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/6.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "套装", "name": "套装",
"key": "套装", "key": "套装",
"icon": "http://img.kiwifruits.cn/classify/5/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/7.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "运动裤", "name": "运动裤",
"key": "运动裤", "key": "运动裤",
"icon": "http://img.kiwifruits.cn/classify/5/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/8.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "马甲/背心", "name": "马甲/背心",
"key": "马甲背心", "key": "马甲背心",
"icon": "http://img.kiwifruits.cn/classify/5/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/9.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "POLO衫", "name": "POLO衫",
"key": "POLO衫", "key": "POLO衫",
"icon": "http://img.kiwifruits.cn/classify/5/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/10.jpg",
"cat": 12 "cat": 12
}, },
{ {
"name": "商务装", "name": "商务装",
"key": "商务装", "key": "商务装",
"icon": "http://img.kiwifruits.cn/classify/5/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/5/11.jpg",
"cat": 12 "cat": 12
} }
] ]
...@@ -433,67 +433,67 @@ export default[ ...@@ -433,67 +433,67 @@ export default[
{ {
"name": "单鞋", "name": "单鞋",
"key": "单鞋", "key": "单鞋",
"icon": "http://img.kiwifruits.cn/classify/6/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/1.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "皮鞋", "name": "皮鞋",
"key": "皮鞋", "key": "皮鞋",
"icon": "http://img.kiwifruits.cn/classify/6/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/2.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "帆布鞋", "name": "帆布鞋",
"key": "帆布鞋", "key": "帆布鞋",
"icon": "http://img.kiwifruits.cn/classify/6/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/3.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "北京老布鞋", "name": "北京老布鞋",
"key": "北京老布鞋", "key": "北京老布鞋",
"icon": "http://img.kiwifruits.cn/classify/6/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/4.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "运动鞋", "name": "运动鞋",
"key": "运动鞋", "key": "运动鞋",
"icon": "http://img.kiwifruits.cn/classify/6/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/5.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "拖鞋", "name": "拖鞋",
"key": "拖鞋", "key": "拖鞋",
"icon": "http://img.kiwifruits.cn/classify/6/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/6.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "凉鞋", "name": "凉鞋",
"key": "凉鞋", "key": "凉鞋",
"icon": "http://img.kiwifruits.cn/classify/6/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/7.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "休闲鞋", "name": "休闲鞋",
"key": "休闲鞋", "key": "休闲鞋",
"icon": "http://img.kiwifruits.cn/classify/6/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/8.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "高跟鞋", "name": "高跟鞋",
"key": "高跟鞋", "key": "高跟鞋",
"icon": "http://img.kiwifruits.cn/classify/6/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/9.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "老人鞋", "name": "老人鞋",
"key": "老人鞋", "key": "老人鞋",
"icon": "http://img.kiwifruits.cn/classify/6/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/10.jpg",
"cat": 5 "cat": 5
}, },
{ {
"name": "懒人鞋", "name": "懒人鞋",
"key": "懒人鞋", "key": "懒人鞋",
"icon": "http://img.kiwifruits.cn/classify/6/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/6/11.jpg",
"cat": 5 "cat": 5
} }
] ]
...@@ -504,85 +504,85 @@ export default[ ...@@ -504,85 +504,85 @@ export default[
{ {
"name": "数据线", "name": "数据线",
"key": "数据线", "key": "数据线",
"icon": "http://img.kiwifruits.cn/classify/7/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/1.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "耳机", "name": "耳机",
"key": "耳机", "key": "耳机",
"icon": "http://img.kiwifruits.cn/classify/7/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/2.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "生活家电", "name": "生活家电",
"key": "家电", "key": "家电",
"icon": "http://img.kiwifruits.cn/classify/7/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/3.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "电风扇", "name": "电风扇",
"key": "电风扇", "key": "电风扇",
"icon": "http://img.kiwifruits.cn/classify/7/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/4.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "电吹风", "name": "电吹风",
"key": "电吹风", "key": "电吹风",
"icon": "http://img.kiwifruits.cn/classify/7/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/5.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "手机壳", "name": "手机壳",
"key": "手机壳", "key": "手机壳",
"icon": "http://img.kiwifruits.cn/classify/7/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/6.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "榨汁机", "name": "榨汁机",
"key": "榨汁机", "key": "榨汁机",
"icon": "http://img.kiwifruits.cn/classify/7/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/7.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "小家电", "name": "小家电",
"key": "小家电", "key": "小家电",
"icon": "http://img.kiwifruits.cn/classify/7/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/8.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "数码电子", "name": "数码电子",
"key": "数码", "key": "数码",
"icon": "http://img.kiwifruits.cn/classify/7/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/9.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "电饭锅", "name": "电饭锅",
"key": "电饭锅", "key": "电饭锅",
"icon": "http://img.kiwifruits.cn/classify/7/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/10.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "手机支架", "name": "手机支架",
"key": "手机支架", "key": "手机支架",
"icon": "http://img.kiwifruits.cn/classify/7/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/11.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "剃须刀", "name": "剃须刀",
"key": "剃须刀", "key": "剃须刀",
"icon": "http://img.kiwifruits.cn/classify/7/12.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/12.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "充电宝", "name": "充电宝",
"key": "充电宝", "key": "充电宝",
"icon": "http://img.kiwifruits.cn/classify/7/13.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/13.jpg",
"cat": 8 "cat": 8
}, },
{ {
"name": "手机配件", "name": "手机配件",
"key": "手机配件", "key": "手机配件",
"icon": "http://img.kiwifruits.cn/classify/7/14.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/7/14.jpg",
"cat": 8 "cat": 8
} }
] ]
...@@ -593,85 +593,85 @@ export default[ ...@@ -593,85 +593,85 @@ export default[
{ {
"name": "婴童服饰", "name": "婴童服饰",
"key": "衣服", "key": "衣服",
"icon": "http://img.kiwifruits.cn/classify/8/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/1.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "玩具乐器", "name": "玩具乐器",
"key": "玩具乐器", "key": "玩具乐器",
"icon": "http://img.kiwifruits.cn/classify/8/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/2.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "尿不湿", "name": "尿不湿",
"key": "尿不湿", "key": "尿不湿",
"icon": "http://img.kiwifruits.cn/classify/8/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/3.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "安抚牙胶", "name": "安抚牙胶",
"key": "安抚牙胶", "key": "安抚牙胶",
"icon": "http://img.kiwifruits.cn/classify/8/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/4.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "奶瓶奶嘴", "name": "奶瓶奶嘴",
"key": "奶瓶奶嘴", "key": "奶瓶奶嘴",
"icon": "http://img.kiwifruits.cn/classify/8/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/5.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "孕妈用品", "name": "孕妈用品",
"key": "孕妈用品", "key": "孕妈用品",
"icon": "http://img.kiwifruits.cn/classify/8/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/6.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "宝宝用品", "name": "宝宝用品",
"key": "宝宝用品", "key": "宝宝用品",
"icon": "http://img.kiwifruits.cn/classify/8/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/7.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "婴童湿巾", "name": "婴童湿巾",
"key": "湿巾", "key": "湿巾",
"icon": "http://img.kiwifruits.cn/classify/8/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/8.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "喂养洗护", "name": "喂养洗护",
"key": "洗护", "key": "洗护",
"icon": "http://img.kiwifruits.cn/classify/8/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/9.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "婴童鞋靴", "name": "婴童鞋靴",
"key": "童鞋", "key": "童鞋",
"icon": "http://img.kiwifruits.cn/classify/8/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/10.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "口水巾", "name": "口水巾",
"key": "口水巾", "key": "口水巾",
"icon": "http://img.kiwifruits.cn/classify/8/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/11.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "营养辅食", "name": "营养辅食",
"key": "营养", "key": "营养",
"icon": "http://img.kiwifruits.cn/classify/8/12.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/12.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "婴幼书籍", "name": "婴幼书籍",
"key": "书籍", "key": "书籍",
"icon": "http://img.kiwifruits.cn/classify/8/13.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/13.jpg",
"cat": 2 "cat": 2
}, },
{ {
"name": "婴儿车", "name": "婴儿车",
"key": "婴儿车", "key": "婴儿车",
"icon": "http://img.kiwifruits.cn/classify/8/14.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/8/14.jpg",
"cat": 2 "cat": 2
} }
] ]
...@@ -682,67 +682,67 @@ export default[ ...@@ -682,67 +682,67 @@ export default[
{ {
"name": "单肩包", "name": "单肩包",
"key": "单肩包", "key": "单肩包",
"icon": "http://img.kiwifruits.cn/classify/9/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/1.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "斜挎包", "name": "斜挎包",
"key": "斜挎包", "key": "斜挎包",
"icon": "http://img.kiwifruits.cn/classify/9/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/2.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "女包", "name": "女包",
"key": "女包", "key": "女包",
"icon": "http://img.kiwifruits.cn/classify/9/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/3.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "男包", "name": "男包",
"key": "男包", "key": "男包",
"icon": "http://img.kiwifruits.cn/classify/9/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/4.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "双肩包", "name": "双肩包",
"key": "双肩包", "key": "双肩包",
"icon": "http://img.kiwifruits.cn/classify/9/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/5.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "小方包", "name": "小方包",
"key": "小方包", "key": "小方包",
"icon": "http://img.kiwifruits.cn/classify/9/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/6.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "钱包", "name": "钱包",
"key": "钱包", "key": "钱包",
"icon": "http://img.kiwifruits.cn/classify/9/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/7.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "旅行箱包", "name": "旅行箱包",
"key": "旅行箱包", "key": "旅行箱包",
"icon": "http://img.kiwifruits.cn/classify/9/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/8.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "零钱包", "name": "零钱包",
"key": "零钱包", "key": "零钱包",
"icon": "http://img.kiwifruits.cn/classify/9/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/9.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "手提包", "name": "手提包",
"key": "手提包", "key": "手提包",
"icon": "http://img.kiwifruits.cn/classify/9/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/10.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "胸包", "name": "胸包",
"key": "胸包", "key": "胸包",
"icon": "http://img.kiwifruits.cn/classify/9/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/9/11.jpg",
"cat": 0 "cat": 0
} }
] ]
...@@ -753,67 +753,67 @@ export default[ ...@@ -753,67 +753,67 @@ export default[
{ {
"name": "袜子", "name": "袜子",
"key": "袜子", "key": "袜子",
"icon": "http://img.kiwifruits.cn/classify/10/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/1.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "吊带背心", "name": "吊带背心",
"key": "吊带背心", "key": "吊带背心",
"icon": "http://img.kiwifruits.cn/classify/10/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/2.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "抹胸", "name": "抹胸",
"key": "抹胸", "key": "抹胸",
"icon": "http://img.kiwifruits.cn/classify/10/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/3.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "内裤", "name": "内裤",
"key": "内裤", "key": "内裤",
"icon": "http://img.kiwifruits.cn/classify/10/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/4.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "文胸", "name": "文胸",
"key": "文胸", "key": "文胸",
"icon": "http://img.kiwifruits.cn/classify/10/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/5.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "文胸套装", "name": "文胸套装",
"key": "文胸套装", "key": "文胸套装",
"icon": "http://img.kiwifruits.cn/classify/10/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/6.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "打底塑身", "name": "打底塑身",
"key": "打底塑身", "key": "打底塑身",
"icon": "http://img.kiwifruits.cn/classify/10/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/7.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "家居服", "name": "家居服",
"key": "家居服", "key": "家居服",
"icon": "http://img.kiwifruits.cn/classify/10/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/8.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "船袜", "name": "船袜",
"key": "船袜", "key": "船袜",
"icon": "http://img.kiwifruits.cn/classify/10/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/9.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "情侣睡衣", "name": "情侣睡衣",
"key": "情侣睡衣", "key": "情侣睡衣",
"icon": "http://img.kiwifruits.cn/classify/10/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/10.jpg",
"cat": 11 "cat": 11
}, },
{ {
"name": "丝袜", "name": "丝袜",
"key": "丝袜", "key": "丝袜",
"icon": "http://img.kiwifruits.cn/classify/10/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/10/11.jpg",
"cat": 11 "cat": 11
} }
] ]
...@@ -824,55 +824,55 @@ export default[ ...@@ -824,55 +824,55 @@ export default[
{ {
"name": "车市车品", "name": "车市车品",
"key": "车市车品", "key": "车市车品",
"icon": "http://img.kiwifruits.cn/classify/11/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/11/1.jpg",
"cat": 7 "cat": 7
}, },
{ {
"name": "办公文具", "name": "办公文具",
"key": "办公文具", "key": "办公文具",
"icon": "http://img.kiwifruits.cn/classify/11/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/11/2.jpg",
"cat": 7 "cat": 7
}, },
{ {
"name": "考试必备", "name": "考试必备",
"key": "考试必备", "key": "考试必备",
"icon": "http://img.kiwifruits.cn/classify/11/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/11/3.jpg",
"cat": 7 "cat": 7
}, },
{ {
"name": "笔记本", "name": "笔记本",
"key": "笔记本", "key": "笔记本",
"icon": "http://img.kiwifruits.cn/classify/11/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/11/4.jpg",
"cat": 7 "cat": 7
}, },
{ {
"name": "艺术礼品", "name": "艺术礼品",
"key": "礼品", "key": "礼品",
"icon": "http://img.kiwifruits.cn/classify/11/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/11/5.jpg",
"cat": 7 "cat": 7
}, },
{ {
"name": "书写工具", "name": "书写工具",
"key": "书写工具", "key": "书写工具",
"icon": "http://img.kiwifruits.cn/classify/11/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/11/6.jpg",
"cat": 7 "cat": 7
}, },
{ {
"name": "车载电器", "name": "车载电器",
"key": "车载电器", "key": "车载电器",
"icon": "http://img.kiwifruits.cn/classify/11/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/11/7.jpg",
"cat": 7 "cat": 7
}, },
{ {
"name": "图书音像", "name": "图书音像",
"key": "图书音像", "key": "图书音像",
"icon": "http://img.kiwifruits.cn/classify/11/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/11/8.jpg",
"cat": 7 "cat": 7
}, },
{ {
"name": "画具画材", "name": "画具画材",
"key": "画具画材", "key": "画具画材",
"icon": "http://img.kiwifruits.cn/classify/11/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/11/9.jpg",
"cat": 7 "cat": 7
} }
] ]
...@@ -883,67 +883,67 @@ export default[ ...@@ -883,67 +883,67 @@ export default[
{ {
"name": "太阳镜", "name": "太阳镜",
"key": "太阳镜", "key": "太阳镜",
"icon": "http://img.kiwifruits.cn/classify/12/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/1.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "皮带", "name": "皮带",
"key": "皮带", "key": "皮带",
"icon": "http://img.kiwifruits.cn/classify/12/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/2.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "棒球帽", "name": "棒球帽",
"key": "棒球帽", "key": "棒球帽",
"icon": "http://img.kiwifruits.cn/classify/12/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/3.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "手表", "name": "手表",
"key": "手表", "key": "手表",
"icon": "http://img.kiwifruits.cn/classify/12/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/4.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "发饰", "name": "发饰",
"key": "发饰", "key": "发饰",
"icon": "http://img.kiwifruits.cn/classify/12/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/5.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "项链", "name": "项链",
"key": "项链", "key": "项链",
"icon": "http://img.kiwifruits.cn/classify/12/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/6.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "手饰", "name": "手饰",
"key": "手饰", "key": "手饰",
"icon": "http://img.kiwifruits.cn/classify/12/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/7.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "耳环", "name": "耳环",
"key": "耳环", "key": "耳环",
"icon": "http://img.kiwifruits.cn/classify/12/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/8.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "帽子丝巾", "name": "帽子丝巾",
"key": "帽子丝巾", "key": "帽子丝巾",
"icon": "http://img.kiwifruits.cn/classify/12/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/9.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "眼镜墨镜", "name": "眼镜墨镜",
"key": "眼镜墨镜", "key": "眼镜墨镜",
"icon": "http://img.kiwifruits.cn/classify/12/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/10.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "发带发箍", "name": "发带发箍",
"key": "发带发箍", "key": "发带发箍",
"icon": "http://img.kiwifruits.cn/classify/12/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/12/11.jpg",
"cat": 0 "cat": 0
} }
] ]
...@@ -954,73 +954,73 @@ export default[ ...@@ -954,73 +954,73 @@ export default[
{ {
"name": "家居饰品", "name": "家居饰品",
"key": "家居饰品", "key": "家居饰品",
"icon": "http://img.kiwifruits.cn/classify/13/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/1.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "凉席", "name": "凉席",
"key": "凉席", "key": "凉席",
"icon": "http://img.kiwifruits.cn/classify/13/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/2.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "背枕靠枕", "name": "背枕靠枕",
"key": "靠枕", "key": "靠枕",
"icon": "http://img.kiwifruits.cn/classify/13/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/3.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "床上用品", "name": "床上用品",
"key": "床上用品", "key": "床上用品",
"icon": "http://img.kiwifruits.cn/classify/13/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/4.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "摆件", "name": "摆件",
"key": "摆件", "key": "摆件",
"icon": "http://img.kiwifruits.cn/classify/13/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/5.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "四件套", "name": "四件套",
"key": "四件套", "key": "四件套",
"icon": "http://img.kiwifruits.cn/classify/13/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/6.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "装饰品", "name": "装饰品",
"key": "装饰品", "key": "装饰品",
"icon": "http://img.kiwifruits.cn/classify/13/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/7.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "卫浴用品", "name": "卫浴用品",
"key": "卫浴", "key": "卫浴",
"icon": "http://img.kiwifruits.cn/classify/13/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/8.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "家居家装", "name": "家居家装",
"key": "家具", "key": "家具",
"icon": "http://img.kiwifruits.cn/classify/13/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/9.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "蚊帐", "name": "蚊帐",
"key": "蚊帐", "key": "蚊帐",
"icon": "http://img.kiwifruits.cn/classify/13/10.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/10.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "墙纸贴纸", "name": "墙纸贴纸",
"key": "墙纸", "key": "墙纸",
"icon": "http://img.kiwifruits.cn/classify/13/11.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/11.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "空调被", "name": "空调被",
"key": "空调被", "key": "空调被",
"icon": "http://img.kiwifruits.cn/classify/13/12.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/13/12.jpg",
"cat": 0 "cat": 0
} }
] ]
...@@ -1031,55 +1031,55 @@ export default[ ...@@ -1031,55 +1031,55 @@ export default[
{ {
"name": "游泳装备", "name": "游泳装备",
"key": "游泳", "key": "游泳",
"icon": "http://img.kiwifruits.cn/classify/14/1.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/14/1.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "泳镜", "name": "泳镜",
"key": "泳镜", "key": "泳镜",
"icon": "http://img.kiwifruits.cn/classify/14/2.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/14/2.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "户外装备", "name": "户外装备",
"key": "户外", "key": "户外",
"icon": "http://img.kiwifruits.cn/classify/14/3.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/14/3.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "健身服饰", "name": "健身服饰",
"key": "健身", "key": "健身",
"icon": "http://img.kiwifruits.cn/classify/14/4.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/14/4.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "泳衣", "name": "泳衣",
"key": "泳衣", "key": "泳衣",
"icon": "http://img.kiwifruits.cn/classify/14/5.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/14/5.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "瑜伽垫", "name": "瑜伽垫",
"key": "瑜伽垫", "key": "瑜伽垫",
"icon": "http://img.kiwifruits.cn/classify/14/6.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/14/6.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "瑜伽用品", "name": "瑜伽用品",
"key": "瑜伽", "key": "瑜伽",
"icon": "http://img.kiwifruits.cn/classify/14/7.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/14/7.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "健身装备", "name": "健身装备",
"key": "健身", "key": "健身",
"icon": "http://img.kiwifruits.cn/classify/14/8.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/14/8.jpg",
"cat": 0 "cat": 0
}, },
{ {
"name": "球迷用品", "name": "球迷用品",
"key": "球迷", "key": "球迷",
"icon": "http://img.kiwifruits.cn/classify/14/9.jpg", "icon": "https://cdn.uviewui.com/uview/common/classify/14/9.jpg",
"cat": 0 "cat": 0
} }
] ]
......
<template>
<view class="u-demo">
<view class="u-demo-wrap" style="background-color: #FFFFFF;">
<view class="u-demo-title">演示效果</view>
<view class="u-demo-area">
<u-calendar isFixed :minDate="minDate" :maxDate="maxDate" :btnType="btnType" :activeBgColor="activeBgColor"
:rangeBgColor="rangeBgColor" :rangeColor="rangeColor" :startText="startText" :endText="endText" :arrowType="arrowType"
:type="type" ref="calendar" @change="change"></-calendar>
</view>
</view>
<view class="u-config-wrap">
<view class="u-config-title u-border-bottom">
参数配置
</view>
<view class="u-config-item">
<view class="u-item-title">右侧按钮</view>
<u-subsection vibrateShort current="1" :list="['是', '否']" @change="showBtnChange"></u-subsection>
</view>
<view class="u-config-item">
<view class="u-item-title">显示错误信息</view>
<u-subsection vibrateShort current="1" :list="['是', '否']" @change="errorMessageChange"></u-subsection>
</view>
<view class="u-config-item">
<view class="u-item-title">是否必填</view>
<u-subsection vibrateShort current="1" :list="['是', '否']" @change="requiredChange"></u-subsection>
</view>
<view class="u-config-item">
<view class="u-item-title">显示左图标和右箭头</view>
<u-subsection vibrateShort current="1" :list="['是', '否']" @change="customChange"></u-subsection>
</view>
<view class="u-config-item">
<view class="u-item-title">第一个输入框为textarea类型</view>
<u-subsection vibrateShort current="1" :list="['是', '否']" @change="textareaChange"></u-subsection>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
type: 1,
status: [],
arrowType: 1,
minDate: "1920-01-01",
maxDate: "",
btnType: "primary",
activeBgColor: "#5677fc",
rangeBgColor: "rgba(86,119,252,0.1)",
rangeColor: "#5677fc",
startText: "开始",
endText: "结束",
result: ""
}
},
methods: {
showBtnChange(index) {
this.showBtn = index == 0 ? true : false;
},
errorMessageChange(index) {
this.errorMessage = index == 0 ? '手机号有误' : false
},
requiredChange(index) {
this.required = index == 0 ? true : false;
},
customChange(index) {
if(index == 0) {
this.icon1 = 'map';
this.icon2 = 'photo';
this.arrow = true;
} else {
this.icon1 = '';
this.icon2 = '';
this.arrow = false;
}
},
textareaChange(index) {
this.type = index == 0 ? 'textarea' : 'text';
}
}
}
</script>
<style lang="scss" scoped>
.u-demo {
}
</style>
<template> <template>
<view class="wrap"> <view class="wrap">
<u-form :model="model" :rules="rules" ref="uForm"> <u-form :model="model" :rules="rules" ref="uForm">
<u-form-item label="姓名" prop="name"> <u-form-item left-icon="map" label-width="120" :label-position="labelPosition" label="姓名" prop="name">
<u-input :border="border" placeholder="请输入姓名" v-model="model.name" type="text"></u-input> <u-input :border="border" placeholder="请输入姓名" v-model="model.name" type="text"></u-input>
</u-form-item> </u-form-item>
<u-form-item label="性别" prop="sex"> <u-form-item :label-position="labelPosition" label="性别" prop="sex">
<u-input :border="border" type="select" :select-open="actionSheetShow" v-model="model.sex" placeholder="请选择性别" @click="actionSheetShow = true"></u-input> <u-input :border="border" type="select" :select-open="actionSheetShow" v-model="model.sex" placeholder="请选择性别" @click="actionSheetShow = true"></u-input>
</u-form-item> </u-form-item>
<u-form-item label="简介" prop="intro"> <u-form-item :label-position="labelPosition" label="简介" prop="intro">
<u-input type="textarea" placeholder="请填写简介" v-model="model.intro" /> <u-input type="textarea" :border="border" placeholder="请填写简介" v-model="model.intro" />
</u-form-item> </u-form-item>
<u-form-item label="水果品种" label-width="150" prop="likeFruit"> <u-form-item :label-position="labelPosition" label="密码" prop="password">
<u-checkbox-group @change="checkboxGroupChange"> <u-input :border="border" type="text" :password="true" v-model="model.password" placeholder="请输入密码"></u-input>
</u-form-item>
<u-form-item :label-position="labelPosition" label="确认密码" label-width="150" prop="rePassword">
<u-input :border="border" type="text" :password="true" v-model="model.rePassword" placeholder="请确认密码"></u-input>
</u-form-item>
<u-form-item :label-position="labelPosition" label="水果品种" label-width="150" prop="likeFruit">
<u-checkbox-group @change="checkboxGroupChange" :width="radioCheckWidth" :wrap="radioCheckWrap">
<u-checkbox v-model="item.checked" v-for="(item, index) in checkboxList" :key="index" :name="item.name">{{ item.name }}</u-checkbox> <u-checkbox v-model="item.checked" v-for="(item, index) in checkboxList" :key="index" :name="item.name">{{ item.name }}</u-checkbox>
</u-checkbox-group> </u-checkbox-group>
</u-form-item> </u-form-item>
<u-form-item label="结算方式" prop="payType" label-width="150"> <u-form-item :label-position="labelPosition" label="结算方式" prop="payType" label-width="150">
<u-radio-group v-model="radio" @change="radioGroupChange"> <u-radio-group v-model="radio" @change="radioGroupChange" :width="radioCheckWidth" :wrap="radioCheckWrap">
<u-radio shape="circle" v-model="item.checked" v-for="(item, index) in radioList" :key="index" :name="item.name">{{ item.name }}</u-radio> <u-radio shape="circle" v-model="item.checked" v-for="(item, index) in radioList" :key="index" :name="item.name">{{ item.name }}</u-radio>
</u-radio-group> </u-radio-group>
</u-form-item> </u-form-item>
<u-form-item label="所在地区" prop="region" label-width="150"> <u-form-item :label-position="labelPosition" label="所在地区" prop="region" label-width="150">
<u-input :border="border" type="select" :select-open="pickerShow" v-model="model.region" placeholder="请选择地区" @click="pickerShow = true"></u-input> <u-input :border="border" type="select" :select-open="pickerShow" v-model="model.region" placeholder="请选择地区" @click="pickerShow = true"></u-input>
</u-form-item> </u-form-item>
<u-form-item label="所在地区" prop="goodsType" label-width="150"> <u-form-item :label-position="labelPosition" label="商品类型" prop="goodsType" label-width="150">
<u-input :border="border" type="select" :select-open="selectShow" v-model="model.goodsType" placeholder="请选择商品类型" @click="selectShow = true"></u-input> <u-input :border="border" type="select" :select-open="selectShow" v-model="model.goodsType" placeholder="请选择商品类型" @click="selectShow = true"></u-input>
</u-form-item> </u-form-item>
<u-form-item :label-position="labelPosition" label="手机号码" prop="phone" label-width="150">
<u-input :border="border" placeholder="请输入手机号" v-model="model.phone" type="number"></u-input>
</u-form-item>
<u-form-item :label-position="labelPosition" label="验证码" prop="code" label-width="150">
<u-input :border="border" placeholder="请输入验证码" v-model="model.code" type="text"></u-input>
<u-button slot="right" type="success" size="mini" @click="getCode">{{codeTips}}</u-button>
</u-form-item>
</u-form> </u-form>
<view class="agreement"> <view class="agreement">
<u-checkbox v-model="check" @change="checkboxChange"></u-checkbox> <u-checkbox v-model="check" @change="checkboxChange"></u-checkbox>
...@@ -37,6 +50,36 @@ ...@@ -37,6 +50,36 @@
<u-action-sheet :list="actionSheetList" v-model="actionSheetShow" @click="actionSheetCallback"></u-action-sheet> <u-action-sheet :list="actionSheetList" v-model="actionSheetShow" @click="actionSheetCallback"></u-action-sheet>
<u-select mode="single-column" :list="selectList" v-model="selectShow" @confirm="selectConfirm"></u-select> <u-select mode="single-column" :list="selectList" v-model="selectShow" @confirm="selectConfirm"></u-select>
<u-picker mode="region" v-model="pickerShow" @confirm="regionConfirm"></u-picker> <u-picker mode="region" v-model="pickerShow" @confirm="regionConfirm"></u-picker>
<u-verification-code seconds="60" ref="uCode" @change="codeChange"></u-verification-code>
<view class="u-config-wrap">
<view class="u-config-title u-border-bottom">
参数配置
</view>
<view class="u-config-item">
<view class="u-item-title">label对齐方式</view>
<u-subsection vibrateShort :list="['左边', '上方']" @change="labelPositionChange"></u-subsection>
</view>
<view class="u-config-item">
<view class="u-item-title">边框</view>
<u-subsection vibrateShort current="1" :list="['显示', '隐藏']" @change="borderChange"></u-subsection>
</view>
<view class="u-config-item">
<view class="u-item-title">radio、checkbox样式</view>
<u-subsection vibrateShort :list="['自适应', '换行', '50%宽度']" @change="radioCheckboxChange"></u-subsection>
</view>
<view class="u-config-item">
<view class="u-item-title">打乱顺序</view>
<u-subsection vibrateShort :current="1" :list="['是', '否']" @change="randomChange"></u-subsection>
</view>
<view class="u-config-item">
<view class="u-item-title">上方工具条</view>
<u-subsection vibrateShort :list="['显示', '隐藏']" @change="tooltipChange"></u-subsection>
</view>
<view class="u-config-item">
<view class="u-item-title">是否显示遮罩</view>
<u-subsection vibrateShort :list="['显示', '隐藏']" @change="maskChange"></u-subsection>
</view>
</view>
</view> </view>
</template> </template>
...@@ -54,6 +97,10 @@ export default { ...@@ -54,6 +97,10 @@ export default {
agreement: false, agreement: false,
region: '', region: '',
goodsType: '', goodsType: '',
phone: '',
code: '',
password: '',
rePassword: '',
}, },
selectList: [ selectList: [
...@@ -86,9 +133,8 @@ export default { ...@@ -86,9 +133,8 @@ export default {
{ {
validator: (rule, value, callback) => { validator: (rule, value, callback) => {
// 调用uView自带的js验证规则,详见:https://www.uviewui.com/js/test.html // 调用uView自带的js验证规则,详见:https://www.uviewui.com/js/test.html
//return that.$u.test.chinese(value); return this.$u.test.chinese(value);
}, },
validator1: 33,
message: '姓名必须为中文', message: '姓名必须为中文',
// 触发器可以同时用blur和change,二者之间用英文逗号隔开 // 触发器可以同时用blur和change,二者之间用英文逗号隔开
trigger: 'change,blur', trigger: 'change,blur',
...@@ -113,7 +159,7 @@ export default { ...@@ -113,7 +159,7 @@ export default {
}, },
// 正则校验示例,此处用正则校验是否中文,此处仅为示例,因为uView有this.$u.test.chinese可以判断是否中文 // 正则校验示例,此处用正则校验是否中文,此处仅为示例,因为uView有this.$u.test.chinese可以判断是否中文
{ {
pattern: "/^[\u4e00-\u9fa5]+$/gi", pattern: /^[\u4e00-\u9fa5]+$/gi,
message: '简介只能为中文', message: '简介只能为中文',
trigger: 'change', trigger: 'change',
}, },
...@@ -147,6 +193,61 @@ export default { ...@@ -147,6 +193,61 @@ export default {
trigger: 'change', trigger: 'change',
} }
], ],
phone: [
{
required: true,
message: '请输入手机号',
trigger: 'change,blur',
},
{
validator: (rule, value, callback) => {
// 调用uView自带的js验证规则,详见:https://www.uviewui.com/js/test.html
return this.$u.test.mobile(value);
},
message: '手机号码不正确',
// 触发器可以同时用blur和change,二者之间用英文逗号隔开
trigger: 'change,blur',
}
],
code: [
{
required: true,
message: '请输入验证码',
trigger: 'change,blur',
},
{
type: 'number',
message: '验证码只能为数字',
trigger: 'change,blur',
}
],
password: [
{
required: true,
message: '请输入密码',
trigger: 'change,blur',
},
{
// 正则不能含有两边的引号
pattern: /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]+\S{6,12}$/,
message: '需同时含有字母和数字,长度在6-12之间',
trigger: 'change,blur',
}
],
rePassword: [
{
required: true,
message: '请重新输入密码',
trigger: 'change,blur',
},
{
validator: (rule, value, callback) => {
return value === this.model.password;
},
message: '两次输入的密码不相等',
trigger: 'change,blur',
}
],
}, },
border: false, border: false,
check: false, check: false,
...@@ -210,17 +311,19 @@ export default { ...@@ -210,17 +311,19 @@ export default {
actionSheetShow: false, actionSheetShow: false,
pickerShow: false, pickerShow: false,
selectShow: false, selectShow: false,
radioCheckWidth: 'auto',
radioCheckWrap: false,
labelPosition: 'left',
codeTips: '',
}; };
}, },
computed: {
current() {
return this.show ? 0 : 1;
}
},
onLoad() { onLoad() {
},
onReady() {
this.$refs.uForm.setRules(this.rules);
}, },
methods: { methods: {
submit() { submit() {
...@@ -259,7 +362,46 @@ export default { ...@@ -259,7 +362,46 @@ export default {
e.map((val, index) => { e.map((val, index) => {
this.model.goodsType += this.model.goodsType == '' ? val.label : '-' + val.label; this.model.goodsType += this.model.goodsType == '' ? val.label : '-' + val.label;
}) })
} },
borderChange(index) {
this.border = !index;
},
radioCheckboxChange(index) {
if(index == 0) {
this.radioCheckWrap = false;
this.radioCheckWidth = 'auto';
} else if(index == 1) {
this.radioCheckWrap = true;
this.radioCheckWidth = 'auto';
} else if(index == 2) {
this.radioCheckWrap = false;
this.radioCheckWidth = '50%';
}
},
labelPositionChange(index) {
this.labelPosition = index == 0 ? 'left' : 'right';
},
codeChange(text) {
this.codeTips = text;
},
// 获取验证码
getCode() {
if(this.$refs.uCode.canGetCode) {
// 模拟向后端请求验证码
uni.showLoading({
title: '正在获取验证码'
})
setTimeout(() => {
uni.hideLoading();
// 这里此提示会被this.start()方法中的提示覆盖
this.$u.toast('验证码已发送');
// 通知验证码组件内部开始倒计时
this.$refs.uCode.start();
}, 2000);
} else {
this.$u.toast('倒计时结束后再发送');
}
},
} }
}; };
</script> </script>
......
...@@ -177,7 +177,6 @@ export default { ...@@ -177,7 +177,6 @@ export default {
let type = ['single-column', 'mutil-column', 'mutil-column-auto']; let type = ['single-column', 'mutil-column', 'mutil-column-auto'];
this.mode = type[index]; this.mode = type[index];
this.list = index == 0 ? this.list1 : index == 1 ? this.list2 : this.list3; this.list = index == 0 ? this.list1 : index == 1 ? this.list2 : this.list3;
console.log(this.list);
this.show = true; this.show = true;
}, },
confirm(e) { confirm(e) {
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
}) })
}, },
change(value) { change(value) {
// console.log(value, this.checked); // console.log(value);
} }
} }
} }
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment