Browse Source

修改至生成包含指定小程序页面和参数的二维码

李万涛 1 năm trước cách đây
mục cha
commit
94d3b4090e
100 tập tin đã thay đổi với 2664 bổ sung103 xóa
  1. 2 0
      App.vue
  2. 1539 0
      common/classify.data.js
  3. 12 0
      common/config.js
  4. 42 0
      components/tabBar/index.scss
  5. 65 0
      components/tabBar/index.vue
  6. 64 66
      manifest.json
  7. 60 7
      pages.json
  8. 86 0
      pages/category/index.scss
  9. 154 16
      pages/category/index.vue
  10. 33 0
      pages/category/index1.scss
  11. 72 0
      pages/category/index1.vue
  12. 1 2
      pages/index/index.vue
  13. 0 0
      pages/index2/index.scss
  14. 39 0
      pages/index2/index.vue
  15. 72 10
      pages/my/index.vue
  16. 0 0
      pages/qrPage/index.scss
  17. 144 0
      pages/qrPage/index.vue
  18. 2 2
      pages/service/index.vue
  19. BIN
      static/fonts/iconfont.ttf
  20. 0 0
      unpackage/dist/build/.automator/mp-weixin/.automator.json
  21. 4 0
      unpackage/dist/build/mp-weixin/app.js
  22. 96 0
      unpackage/dist/build/mp-weixin/app.json
  23. 3 0
      unpackage/dist/build/mp-weixin/app.wxss
  24. 0 0
      unpackage/dist/build/mp-weixin/common/main.js
  25. 0 0
      unpackage/dist/build/mp-weixin/common/main.wxss
  26. 2 0
      unpackage/dist/build/mp-weixin/common/runtime.js
  27. 0 0
      unpackage/dist/build/mp-weixin/common/vendor.js
  28. 10 0
      unpackage/dist/build/mp-weixin/components/navBar/index.js
  29. 6 0
      unpackage/dist/build/mp-weixin/components/navBar/index.json
  30. 1 0
      unpackage/dist/build/mp-weixin/components/navBar/index.wxml
  31. 1 0
      unpackage/dist/build/mp-weixin/components/navBar/index.wxss
  32. 0 0
      unpackage/dist/build/mp-weixin/pages/category/index.js
  33. 7 0
      unpackage/dist/build/mp-weixin/pages/category/index.json
  34. 1 0
      unpackage/dist/build/mp-weixin/pages/category/index.wxml
  35. 1 0
      unpackage/dist/build/mp-weixin/pages/category/index.wxss
  36. 0 0
      unpackage/dist/build/mp-weixin/pages/index/index.js
  37. 6 0
      unpackage/dist/build/mp-weixin/pages/index/index.json
  38. 1 0
      unpackage/dist/build/mp-weixin/pages/index/index.wxml
  39. 0 0
      unpackage/dist/build/mp-weixin/pages/index/index.wxss
  40. 1 0
      unpackage/dist/build/mp-weixin/pages/map/index.js
  41. 4 0
      unpackage/dist/build/mp-weixin/pages/map/index.json
  42. 1 0
      unpackage/dist/build/mp-weixin/pages/map/index.wxml
  43. 0 0
      unpackage/dist/build/mp-weixin/pages/map/index.wxss
  44. 0 0
      unpackage/dist/build/mp-weixin/pages/my/index.js
  45. 6 0
      unpackage/dist/build/mp-weixin/pages/my/index.json
  46. 1 0
      unpackage/dist/build/mp-weixin/pages/my/index.wxml
  47. 4 0
      unpackage/dist/build/mp-weixin/pages/my/index.wxss
  48. 0 0
      unpackage/dist/build/mp-weixin/pages/qrPage/index.js
  49. 4 0
      unpackage/dist/build/mp-weixin/pages/qrPage/index.json
  50. 1 0
      unpackage/dist/build/mp-weixin/pages/qrPage/index.wxml
  51. 0 0
      unpackage/dist/build/mp-weixin/pages/qrPage/index.wxss
  52. 1 0
      unpackage/dist/build/mp-weixin/pages/service/index.js
  53. 4 0
      unpackage/dist/build/mp-weixin/pages/service/index.json
  54. 1 0
      unpackage/dist/build/mp-weixin/pages/service/index.wxml
  55. 0 0
      unpackage/dist/build/mp-weixin/pages/service/index.wxss
  56. 30 0
      unpackage/dist/build/mp-weixin/project.config.json
  57. 7 0
      unpackage/dist/build/mp-weixin/project.private.config.json
  58. 20 0
      unpackage/dist/build/mp-weixin/static/customicons.css
  59. BIN
      unpackage/dist/build/mp-weixin/static/customicons.ttf
  60. BIN
      unpackage/dist/build/mp-weixin/static/fonts/iconfont.ttf
  61. BIN
      unpackage/dist/build/mp-weixin/static/tabbar/cat.png
  62. BIN
      unpackage/dist/build/mp-weixin/static/tabbar/cat_a.png
  63. BIN
      unpackage/dist/build/mp-weixin/static/tabbar/index.png
  64. BIN
      unpackage/dist/build/mp-weixin/static/tabbar/index_a.png
  65. BIN
      unpackage/dist/build/mp-weixin/static/tabbar/my.png
  66. BIN
      unpackage/dist/build/mp-weixin/static/tabbar/my_a.png
  67. BIN
      unpackage/dist/build/mp-weixin/static/tabbar/service.png
  68. BIN
      unpackage/dist/build/mp-weixin/static/tabbar/service_a.png
  69. 10 0
      unpackage/dist/build/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js
  70. 4 0
      unpackage/dist/build/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.json
  71. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.wxml
  72. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.wxss
  73. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.js
  74. 4 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.json
  75. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.wxml
  76. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.wxss
  77. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.js
  78. 7 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.json
  79. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.wxml
  80. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.wxss
  81. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js
  82. 4 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.json
  83. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.wxml
  84. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.wxss
  85. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.js
  86. 4 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.json
  87. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.wxml
  88. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.wxss
  89. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-sticky/u-sticky.js
  90. 4 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-sticky/u-sticky.json
  91. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-sticky/u-sticky.wxml
  92. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-sticky/u-sticky.wxss
  93. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.js
  94. 6 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.json
  95. 0 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.wxml
  96. 1 0
      unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.wxss
  97. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  98. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  99. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  100. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/category/index.js.map

+ 2 - 0
App.vue

xqd
@@ -3,6 +3,8 @@
 		onLaunch: function() {
 			console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')
 			console.log('App Launch')
+
+			// uni.hideTabBar()
 		},
 		onShow: function() {
 			console.log('App Show')

+ 1539 - 0
common/classify.data.js

xqd
@@ -0,0 +1,1539 @@
+export default [{
+		"name": "女装推荐啊哇..",
+		"foods": [{
+				"name": "A字裙xxxxxqqqqqqqqqssxxxxqqsdsdfsdfdsfdsfdsfdsfdsfdsfdsfdfgfdgfdg",
+				"key": "A字裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/1.jpg",
+				"cat": 10
+			},
+			{
+				"name": "T恤",
+				"key": "T恤",
+				"icon": "http://img.kiwifruits.cn/classify/1/2.jpg",
+				"cat": 10
+			},
+			{
+				"name": "半身裙",
+				"key": "半身裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/3.jpg",
+				"cat": 10
+			},
+			{
+				"name": "衬衫",
+				"key": "衬衫",
+				"icon": "http://img.kiwifruits.cn/classify/1/4.jpg",
+				"cat": 10
+			},
+			{
+				"name": "短裙",
+				"key": "短裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/5.jpg",
+				"cat": 10
+			},
+			{
+				"name": "阔腿裤",
+				"key": "阔腿裤",
+				"icon": "http://img.kiwifruits.cn/classify/1/6.jpg",
+				"cat": 10
+			},
+			{
+				"name": "连衣裙",
+				"key": "连衣裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/7.jpg",
+				"cat": 10
+			},
+			{
+				"name": "妈妈装",
+				"key": "妈妈装",
+				"icon": "http://img.kiwifruits.cn/classify/1/8.jpg",
+				"cat": 10
+			},
+			{
+				"name": "牛仔裤",
+				"key": "牛仔裤",
+				"icon": "http://img.kiwifruits.cn/classify/1/9.jpg",
+				"cat": 10
+			},
+			{
+				"name": "情侣装",
+				"key": "情侣装",
+				"icon": "http://img.kiwifruits.cn/classify/1/10.jpg",
+				"cat": 10
+			},
+			{
+				"name": "休闲裤",
+				"key": "休闲裤",
+				"icon": "http://img.kiwifruits.cn/classify/1/11.jpg",
+				"cat": 10
+			},
+			{
+				"name": "雪纺衫",
+				"key": "雪纺衫",
+				"icon": "http://img.kiwifruits.cn/classify/1/12.jpg",
+				"cat": 10
+			},
+			{
+				"name": "防晒衣",
+				"key": "防晒衣",
+				"icon": "http://img.kiwifruits.cn/classify/1/13.jpg",
+				"cat": 10
+			},
+			{
+				"name": "礼服/婚纱",
+				"key": "礼服婚纱",
+				"icon": "http://img.kiwifruits.cn/classify/1/14.jpg",
+				"cat": 10
+			}
+		]
+	},
+	{
+		"name": "美食",
+		"foods": [{
+				"name": "火锅",
+				"key": "火锅",
+				"icon": "http://img.kiwifruits.cn/classify/2/1.jpg",
+				"cat": 6
+			},
+			{
+				"name": "糕点饼干",
+				"key": "糕点饼干",
+				"icon": "http://img.kiwifruits.cn/classify/2/2.jpg",
+				"cat": 6
+			},
+			{
+				"name": "坚果果干",
+				"key": "坚果果干",
+				"icon": "http://img.kiwifruits.cn/classify/2/3.jpg",
+				"cat": 6
+			},
+			{
+				"name": "酒类",
+				"key": "酒类",
+				"icon": "http://img.kiwifruits.cn/classify/2/4.jpg",
+				"cat": 6
+			},
+			{
+				"name": "辣条",
+				"key": "辣条",
+				"icon": "http://img.kiwifruits.cn/classify/2/5.jpg",
+				"cat": 6
+			},
+			{
+				"name": "大礼包",
+				"key": "大礼包",
+				"icon": "http://img.kiwifruits.cn/classify/2/6.jpg",
+				"cat": 6
+			},
+			{
+				"name": "精品茗茶",
+				"key": "茶",
+				"icon": "http://img.kiwifruits.cn/classify/2/7.jpg",
+				"cat": 6
+			},
+			{
+				"name": "休闲食品",
+				"key": "休闲食品",
+				"icon": "http://img.kiwifruits.cn/classify/2/8.jpg",
+				"cat": 6
+			},
+			{
+				"name": "糖果巧克力",
+				"key": "糖果巧克力",
+				"icon": "http://img.kiwifruits.cn/classify/2/9.jpg",
+				"cat": 6
+			},
+			{
+				"name": "方便速食",
+				"key": "方便速食",
+				"icon": "http://img.kiwifruits.cn/classify/2/10.jpg",
+				"cat": 6
+			},
+			{
+				"name": "营养代餐",
+				"key": "营养代餐",
+				"icon": "http://img.kiwifruits.cn/classify/2/11.jpg",
+				"cat": 6
+			},
+			{
+				"name": "粮油副食",
+				"key": "粮油",
+				"icon": "http://img.kiwifruits.cn/classify/2/12.jpg",
+				"cat": 6
+			},
+			{
+				"name": "生鲜水果",
+				"key": "水果",
+				"icon": "http://img.kiwifruits.cn/classify/2/13.jpg",
+				"cat": 6
+			},
+			{
+				"name": "饮品",
+				"key": "饮品",
+				"icon": "http://img.kiwifruits.cn/classify/2/14.jpg",
+				"cat": 6
+			}
+		]
+	},
+	{
+		"name": "美妆",
+		"foods": [{
+				"name": "化妆刷",
+				"key": "化妆刷",
+				"icon": "http://img.kiwifruits.cn/classify/3/1.jpg",
+				"cat": 3
+			},
+			{
+				"name": "粉底",
+				"key": "粉底",
+				"icon": "http://img.kiwifruits.cn/classify/3/2.jpg",
+				"cat": 3
+			},
+			{
+				"name": "洗发护发",
+				"key": "洗发护发",
+				"icon": "http://img.kiwifruits.cn/classify/3/3.jpg",
+				"cat": 3
+			},
+			{
+				"name": "美容工具",
+				"key": "美容工具",
+				"icon": "http://img.kiwifruits.cn/classify/3/4.jpg",
+				"cat": 3
+			},
+			{
+				"name": "眼部护理",
+				"key": "眼部护理",
+				"icon": "http://img.kiwifruits.cn/classify/3/5.jpg",
+				"cat": 3
+			},
+			{
+				"name": "眉妆",
+				"key": "眉妆",
+				"icon": "http://img.kiwifruits.cn/classify/3/6.jpg",
+				"cat": 3
+			},
+			{
+				"name": "卸妆品",
+				"key": "卸妆品",
+				"icon": "http://img.kiwifruits.cn/classify/3/7.jpg",
+				"cat": 3
+			},
+			{
+				"name": "基础护肤",
+				"key": "基础护肤",
+				"icon": "http://img.kiwifruits.cn/classify/3/8.jpg",
+				"cat": 3
+			},
+			{
+				"name": "眼妆",
+				"key": "眼妆",
+				"icon": "http://img.kiwifruits.cn/classify/3/9.jpg",
+				"cat": 3
+			},
+			{
+				"name": "唇妆",
+				"key": "唇妆",
+				"icon": "http://img.kiwifruits.cn/classify/3/10.jpg",
+				"cat": 3
+			},
+			{
+				"name": "面膜",
+				"key": "面膜",
+				"icon": "http://img.kiwifruits.cn/classify/3/11.jpg",
+				"cat": 3
+			},
+			{
+				"name": "沐浴用品",
+				"key": "沐浴用品",
+				"icon": "http://img.kiwifruits.cn/classify/3/12.jpg",
+				"cat": 3
+			},
+			{
+				"name": "护肤套装",
+				"key": "护肤套装",
+				"icon": "http://img.kiwifruits.cn/classify/3/13.jpg",
+				"cat": 3
+			},
+			{
+				"name": "防晒品",
+				"key": "防晒品",
+				"icon": "http://img.kiwifruits.cn/classify/3/14.jpg",
+				"cat": 3
+			},
+			{
+				"name": "美甲",
+				"key": "美甲",
+				"icon": "http://img.kiwifruits.cn/classify/3/15.jpg",
+				"cat": 3
+			}
+
+		]
+	},
+	{
+		"name": "读书笔记,英语阅读",
+		"foods": [{
+				"name": "垃圾袋",
+				"key": "垃圾袋",
+				"icon": "http://img.kiwifruits.cn/classify/4/1.jpg",
+				"cat": 4
+			},
+			{
+				"name": "纸巾",
+				"key": "纸巾",
+				"icon": "http://img.kiwifruits.cn/classify/4/2.jpg",
+				"cat": 4
+			},
+			{
+				"name": "驱蚊用品",
+				"key": "驱蚊用品",
+				"icon": "http://img.kiwifruits.cn/classify/4/3.jpg",
+				"cat": 4
+			},
+			{
+				"name": "收纳神器",
+				"key": "收纳神器",
+				"icon": "http://img.kiwifruits.cn/classify/4/4.jpg",
+				"cat": 4
+			},
+			{
+				"name": "厨房用品",
+				"key": "厨房用品",
+				"icon": "http://img.kiwifruits.cn/classify/4/5.jpg",
+				"cat": 4
+			},
+			{
+				"name": "厨房烹饪",
+				"key": "烹饪",
+				"icon": "http://img.kiwifruits.cn/classify/4/6.jpg",
+				"cat": 4
+			},
+			{
+				"name": "衣物晾晒",
+				"key": "衣物晾晒",
+				"icon": "http://img.kiwifruits.cn/classify/4/7.jpg",
+				"cat": 4
+			},
+			{
+				"name": "衣物护理",
+				"key": "衣物护理",
+				"icon": "http://img.kiwifruits.cn/classify/4/8.jpg",
+				"cat": 4
+			},
+			{
+				"name": "宠物用品",
+				"key": "宠物用品",
+				"icon": "http://img.kiwifruits.cn/classify/4/9.jpg",
+				"cat": 4
+			},
+			{
+				"name": "医药保健",
+				"key": "医药",
+				"icon": "http://img.kiwifruits.cn/classify/4/10.jpg",
+				"cat": 4
+			},
+			{
+				"name": "日用百货",
+				"key": "百货",
+				"icon": "http://img.kiwifruits.cn/classify/4/11.jpg",
+				"cat": 4
+			},
+			{
+				"name": "清洁用品",
+				"key": "清洁",
+				"icon": "http://img.kiwifruits.cn/classify/4/12.jpg",
+				"cat": 4
+			},
+			{
+				"name": "绿植园艺",
+				"key": "绿植",
+				"icon": "http://img.kiwifruits.cn/classify/4/13.jpg",
+				"cat": 4
+			}
+		]
+	},
+	{
+		"name": "男装",
+		"foods": [{
+				"name": "爸爸装",
+				"key": "爸爸装",
+				"icon": "http://img.kiwifruits.cn/classify/5/1.jpg",
+				"cat": 12
+			},
+			{
+				"name": "牛仔裤",
+				"key": "牛仔裤",
+				"icon": "http://img.kiwifruits.cn/classify/5/2.jpg",
+				"cat": 12
+			},
+			{
+				"name": "衬衫",
+				"key": "衬衫",
+				"icon": "http://img.kiwifruits.cn/classify/5/3.jpg",
+				"cat": 12
+			},
+			{
+				"name": "休闲裤",
+				"key": "休闲裤",
+				"icon": "http://img.kiwifruits.cn/classify/5/4.jpg",
+				"cat": 12
+			},
+			{
+				"name": "外套",
+				"key": "外套",
+				"icon": "http://img.kiwifruits.cn/classify/5/5.jpg",
+				"cat": 12
+			},
+			{
+				"name": "T恤",
+				"key": "T恤",
+				"icon": "http://img.kiwifruits.cn/classify/5/6.jpg",
+				"cat": 12
+			},
+			{
+				"name": "套装",
+				"key": "套装",
+				"icon": "http://img.kiwifruits.cn/classify/5/7.jpg",
+				"cat": 12
+			},
+			{
+				"name": "运动裤",
+				"key": "运动裤",
+				"icon": "http://img.kiwifruits.cn/classify/5/8.jpg",
+				"cat": 12
+			},
+			{
+				"name": "马甲/背心",
+				"key": "马甲背心",
+				"icon": "http://img.kiwifruits.cn/classify/5/9.jpg",
+				"cat": 12
+			},
+			{
+				"name": "POLO衫",
+				"key": "POLO衫",
+				"icon": "http://img.kiwifruits.cn/classify/5/10.jpg",
+				"cat": 12
+			},
+			{
+				"name": "商务装",
+				"key": "商务装",
+				"icon": "http://img.kiwifruits.cn/classify/5/11.jpg",
+				"cat": 12
+			}
+		]
+	},
+	{
+		"name": "鞋品",
+		"foods": [{
+				"name": "单鞋",
+				"key": "单鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/1.jpg",
+				"cat": 5
+			},
+			{
+				"name": "皮鞋",
+				"key": "皮鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/2.jpg",
+				"cat": 5
+			},
+			{
+				"name": "帆布鞋",
+				"key": "帆布鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/3.jpg",
+				"cat": 5
+			},
+			{
+				"name": "北京老布鞋",
+				"key": "北京老布鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/4.jpg",
+				"cat": 5
+			},
+			{
+				"name": "运动鞋",
+				"key": "运动鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/5.jpg",
+				"cat": 5
+			},
+			{
+				"name": "拖鞋",
+				"key": "拖鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/6.jpg",
+				"cat": 5
+			},
+			{
+				"name": "凉鞋",
+				"key": "凉鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/7.jpg",
+				"cat": 5
+			},
+			{
+				"name": "休闲鞋",
+				"key": "休闲鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/8.jpg",
+				"cat": 5
+			},
+			{
+				"name": "高跟鞋",
+				"key": "高跟鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/9.jpg",
+				"cat": 5
+			},
+			{
+				"name": "老人鞋",
+				"key": "老人鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/10.jpg",
+				"cat": 5
+			},
+			{
+				"name": "懒人鞋",
+				"key": "懒人鞋",
+				"icon": "http://img.kiwifruits.cn/classify/6/11.jpg",
+				"cat": 5
+			}
+		]
+	},
+	{
+		"name": "数码家电",
+		"foods": [{
+				"name": "数据线",
+				"key": "数据线",
+				"icon": "http://img.kiwifruits.cn/classify/7/1.jpg",
+				"cat": 8
+			},
+			{
+				"name": "耳机",
+				"key": "耳机",
+				"icon": "http://img.kiwifruits.cn/classify/7/2.jpg",
+				"cat": 8
+			},
+			{
+				"name": "生活家电",
+				"key": "家电",
+				"icon": "http://img.kiwifruits.cn/classify/7/3.jpg",
+				"cat": 8
+			},
+			{
+				"name": "电风扇",
+				"key": "电风扇",
+				"icon": "http://img.kiwifruits.cn/classify/7/4.jpg",
+				"cat": 8
+			},
+			{
+				"name": "电吹风",
+				"key": "电吹风",
+				"icon": "http://img.kiwifruits.cn/classify/7/5.jpg",
+				"cat": 8
+			},
+			{
+				"name": "手机壳",
+				"key": "手机壳",
+				"icon": "http://img.kiwifruits.cn/classify/7/6.jpg",
+				"cat": 8
+			},
+			{
+				"name": "榨汁机",
+				"key": "榨汁机",
+				"icon": "http://img.kiwifruits.cn/classify/7/7.jpg",
+				"cat": 8
+			},
+			{
+				"name": "小家电",
+				"key": "小家电",
+				"icon": "http://img.kiwifruits.cn/classify/7/8.jpg",
+				"cat": 8
+			},
+			{
+				"name": "数码电子",
+				"key": "数码",
+				"icon": "http://img.kiwifruits.cn/classify/7/9.jpg",
+				"cat": 8
+			},
+			{
+				"name": "电饭锅",
+				"key": "电饭锅",
+				"icon": "http://img.kiwifruits.cn/classify/7/10.jpg",
+				"cat": 8
+			},
+			{
+				"name": "手机支架",
+				"key": "手机支架",
+				"icon": "http://img.kiwifruits.cn/classify/7/11.jpg",
+				"cat": 8
+			},
+			{
+				"name": "剃须刀",
+				"key": "剃须刀",
+				"icon": "http://img.kiwifruits.cn/classify/7/12.jpg",
+				"cat": 8
+			},
+			{
+				"name": "充电宝",
+				"key": "充电宝",
+				"icon": "http://img.kiwifruits.cn/classify/7/13.jpg",
+				"cat": 8
+			},
+			{
+				"name": "手机配件",
+				"key": "手机配件",
+				"icon": "http://img.kiwifruits.cn/classify/7/14.jpg",
+				"cat": 8
+			}
+		]
+	},
+	{
+		"name": "母婴",
+		"foods": [{
+				"name": "婴童服饰",
+				"key": "衣服",
+				"icon": "http://img.kiwifruits.cn/classify/8/1.jpg",
+				"cat": 2
+			},
+			{
+				"name": "玩具乐器",
+				"key": "玩具乐器",
+				"icon": "http://img.kiwifruits.cn/classify/8/2.jpg",
+				"cat": 2
+			},
+			{
+				"name": "尿不湿",
+				"key": "尿不湿",
+				"icon": "http://img.kiwifruits.cn/classify/8/3.jpg",
+				"cat": 2
+			},
+			{
+				"name": "安抚牙胶",
+				"key": "安抚牙胶",
+				"icon": "http://img.kiwifruits.cn/classify/8/4.jpg",
+				"cat": 2
+			},
+			{
+				"name": "奶瓶奶嘴",
+				"key": "奶瓶奶嘴",
+				"icon": "http://img.kiwifruits.cn/classify/8/5.jpg",
+				"cat": 2
+			},
+			{
+				"name": "孕妈用品",
+				"key": "孕妈用品",
+				"icon": "http://img.kiwifruits.cn/classify/8/6.jpg",
+				"cat": 2
+			},
+			{
+				"name": "宝宝用品",
+				"key": "宝宝用品",
+				"icon": "http://img.kiwifruits.cn/classify/8/7.jpg",
+				"cat": 2
+			},
+			{
+				"name": "婴童湿巾",
+				"key": "湿巾",
+				"icon": "http://img.kiwifruits.cn/classify/8/8.jpg",
+				"cat": 2
+			},
+			{
+				"name": "喂养洗护",
+				"key": "洗护",
+				"icon": "http://img.kiwifruits.cn/classify/8/9.jpg",
+				"cat": 2
+			},
+			{
+				"name": "婴童鞋靴",
+				"key": "童鞋",
+				"icon": "http://img.kiwifruits.cn/classify/8/10.jpg",
+				"cat": 2
+			},
+			{
+				"name": "口水巾",
+				"key": "口水巾",
+				"icon": "http://img.kiwifruits.cn/classify/8/11.jpg",
+				"cat": 2
+			},
+			{
+				"name": "营养辅食",
+				"key": "营养",
+				"icon": "http://img.kiwifruits.cn/classify/8/12.jpg",
+				"cat": 2
+			},
+			{
+				"name": "婴幼书籍",
+				"key": "书籍",
+				"icon": "http://img.kiwifruits.cn/classify/8/13.jpg",
+				"cat": 2
+			},
+			{
+				"name": "婴儿车",
+				"key": "婴儿车",
+				"icon": "http://img.kiwifruits.cn/classify/8/14.jpg",
+				"cat": 2
+			}
+		]
+	},
+	{
+		"name": "箱包",
+		"foods": [{
+				"name": "单肩包",
+				"key": "单肩包",
+				"icon": "http://img.kiwifruits.cn/classify/9/1.jpg",
+				"cat": 0
+			},
+			{
+				"name": "斜挎包",
+				"key": "斜挎包",
+				"icon": "http://img.kiwifruits.cn/classify/9/2.jpg",
+				"cat": 0
+			},
+			{
+				"name": "女包",
+				"key": "女包",
+				"icon": "http://img.kiwifruits.cn/classify/9/3.jpg",
+				"cat": 0
+			},
+			{
+				"name": "男包",
+				"key": "男包",
+				"icon": "http://img.kiwifruits.cn/classify/9/4.jpg",
+				"cat": 0
+			},
+			{
+				"name": "双肩包",
+				"key": "双肩包",
+				"icon": "http://img.kiwifruits.cn/classify/9/5.jpg",
+				"cat": 0
+			},
+			{
+				"name": "小方包",
+				"key": "小方包",
+				"icon": "http://img.kiwifruits.cn/classify/9/6.jpg",
+				"cat": 0
+			},
+			{
+				"name": "钱包",
+				"key": "钱包",
+				"icon": "http://img.kiwifruits.cn/classify/9/7.jpg",
+				"cat": 0
+			},
+			{
+				"name": "旅行箱包",
+				"key": "旅行箱包",
+				"icon": "http://img.kiwifruits.cn/classify/9/8.jpg",
+				"cat": 0
+			},
+			{
+				"name": "零钱包",
+				"key": "零钱包",
+				"icon": "http://img.kiwifruits.cn/classify/9/9.jpg",
+				"cat": 0
+			},
+			{
+				"name": "手提包",
+				"key": "手提包",
+				"icon": "http://img.kiwifruits.cn/classify/9/10.jpg",
+				"cat": 0
+			},
+			{
+				"name": "胸包",
+				"key": "胸包",
+				"icon": "http://img.kiwifruits.cn/classify/9/11.jpg",
+				"cat": 0
+			}
+		]
+	},
+	{
+		"name": "内衣",
+		"foods": [{
+				"name": "袜子",
+				"key": "袜子",
+				"icon": "http://img.kiwifruits.cn/classify/10/1.jpg",
+				"cat": 11
+			},
+			{
+				"name": "吊带背心",
+				"key": "吊带背心",
+				"icon": "http://img.kiwifruits.cn/classify/10/2.jpg",
+				"cat": 11
+			},
+			{
+				"name": "抹胸",
+				"key": "抹胸",
+				"icon": "http://img.kiwifruits.cn/classify/10/3.jpg",
+				"cat": 11
+			},
+			{
+				"name": "内裤",
+				"key": "内裤",
+				"icon": "http://img.kiwifruits.cn/classify/10/4.jpg",
+				"cat": 11
+			},
+			{
+				"name": "文胸",
+				"key": "文胸",
+				"icon": "http://img.kiwifruits.cn/classify/10/5.jpg",
+				"cat": 11
+			},
+			{
+				"name": "文胸套装",
+				"key": "文胸套装",
+				"icon": "http://img.kiwifruits.cn/classify/10/6.jpg",
+				"cat": 11
+			},
+			{
+				"name": "打底塑身",
+				"key": "打底塑身",
+				"icon": "http://img.kiwifruits.cn/classify/10/7.jpg",
+				"cat": 11
+			},
+			{
+				"name": "家居服",
+				"key": "家居服",
+				"icon": "http://img.kiwifruits.cn/classify/10/8.jpg",
+				"cat": 11
+			},
+			{
+				"name": "船袜",
+				"key": "船袜",
+				"icon": "http://img.kiwifruits.cn/classify/10/9.jpg",
+				"cat": 11
+			},
+			{
+				"name": "情侣睡衣",
+				"key": "情侣睡衣",
+				"icon": "http://img.kiwifruits.cn/classify/10/10.jpg",
+				"cat": 11
+			},
+			{
+				"name": "丝袜",
+				"key": "丝袜",
+				"icon": "http://img.kiwifruits.cn/classify/10/11.jpg",
+				"cat": 11
+			}
+		]
+	},
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+	{
+		"name": "女装推荐啊哇..",
+		"foods": [{
+				"name": "A字裙xxxxxqqqqqqqqqssxxxxqqsdsdfsdfdsfdsfdsfdsfdsfdsfdsfdfgfdgfdg",
+				"key": "A字裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/1.jpg",
+				"cat": 10
+			},
+			{
+				"name": "T恤",
+				"key": "T恤",
+				"icon": "http://img.kiwifruits.cn/classify/1/2.jpg",
+				"cat": 10
+			},
+			{
+				"name": "半身裙",
+				"key": "半身裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/3.jpg",
+				"cat": 10
+			},
+			{
+				"name": "衬衫",
+				"key": "衬衫",
+				"icon": "http://img.kiwifruits.cn/classify/1/4.jpg",
+				"cat": 10
+			},
+			{
+				"name": "短裙",
+				"key": "短裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/5.jpg",
+				"cat": 10
+			},
+			{
+				"name": "阔腿裤",
+				"key": "阔腿裤",
+				"icon": "http://img.kiwifruits.cn/classify/1/6.jpg",
+				"cat": 10
+			},
+			{
+				"name": "连衣裙",
+				"key": "连衣裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/7.jpg",
+				"cat": 10
+			},
+			{
+				"name": "妈妈装",
+				"key": "妈妈装",
+				"icon": "http://img.kiwifruits.cn/classify/1/8.jpg",
+				"cat": 10
+			},
+			{
+				"name": "牛仔裤",
+				"key": "牛仔裤",
+				"icon": "http://img.kiwifruits.cn/classify/1/9.jpg",
+				"cat": 10
+			},
+			{
+				"name": "情侣装",
+				"key": "情侣装",
+				"icon": "http://img.kiwifruits.cn/classify/1/10.jpg",
+				"cat": 10
+			},
+			{
+				"name": "休闲裤",
+				"key": "休闲裤",
+				"icon": "http://img.kiwifruits.cn/classify/1/11.jpg",
+				"cat": 10
+			},
+			{
+				"name": "雪纺衫",
+				"key": "雪纺衫",
+				"icon": "http://img.kiwifruits.cn/classify/1/12.jpg",
+				"cat": 10
+			},
+			{
+				"name": "防晒衣",
+				"key": "防晒衣",
+				"icon": "http://img.kiwifruits.cn/classify/1/13.jpg",
+				"cat": 10
+			},
+			{
+				"name": "礼服/婚纱",
+				"key": "礼服婚纱",
+				"icon": "http://img.kiwifruits.cn/classify/1/14.jpg",
+				"cat": 10
+			}
+		]
+	},
+	{
+		"name": "美食",
+		"foods": [{
+				"name": "火锅",
+				"key": "火锅",
+				"icon": "http://img.kiwifruits.cn/classify/2/1.jpg",
+				"cat": 6
+			},
+			{
+				"name": "糕点饼干",
+				"key": "糕点饼干",
+				"icon": "http://img.kiwifruits.cn/classify/2/2.jpg",
+				"cat": 6
+			},
+			{
+				"name": "坚果果干",
+				"key": "坚果果干",
+				"icon": "http://img.kiwifruits.cn/classify/2/3.jpg",
+				"cat": 6
+			},
+			{
+				"name": "酒类",
+				"key": "酒类",
+				"icon": "http://img.kiwifruits.cn/classify/2/4.jpg",
+				"cat": 6
+			},
+			{
+				"name": "辣条",
+				"key": "辣条",
+				"icon": "http://img.kiwifruits.cn/classify/2/5.jpg",
+				"cat": 6
+			},
+			{
+				"name": "大礼包",
+				"key": "大礼包",
+				"icon": "http://img.kiwifruits.cn/classify/2/6.jpg",
+				"cat": 6
+			},
+			{
+				"name": "精品茗茶",
+				"key": "茶",
+				"icon": "http://img.kiwifruits.cn/classify/2/7.jpg",
+				"cat": 6
+			},
+			{
+				"name": "休闲食品",
+				"key": "休闲食品",
+				"icon": "http://img.kiwifruits.cn/classify/2/8.jpg",
+				"cat": 6
+			},
+			{
+				"name": "糖果巧克力",
+				"key": "糖果巧克力",
+				"icon": "http://img.kiwifruits.cn/classify/2/9.jpg",
+				"cat": 6
+			},
+			{
+				"name": "方便速食",
+				"key": "方便速食",
+				"icon": "http://img.kiwifruits.cn/classify/2/10.jpg",
+				"cat": 6
+			},
+			{
+				"name": "营养代餐",
+				"key": "营养代餐",
+				"icon": "http://img.kiwifruits.cn/classify/2/11.jpg",
+				"cat": 6
+			},
+			{
+				"name": "粮油副食",
+				"key": "粮油",
+				"icon": "http://img.kiwifruits.cn/classify/2/12.jpg",
+				"cat": 6
+			},
+			{
+				"name": "生鲜水果",
+				"key": "水果",
+				"icon": "http://img.kiwifruits.cn/classify/2/13.jpg",
+				"cat": 6
+			},
+			{
+				"name": "饮品",
+				"key": "饮品",
+				"icon": "http://img.kiwifruits.cn/classify/2/14.jpg",
+				"cat": 6
+			}
+		]
+	},
+	{
+		"name": "美妆",
+		"foods": [{
+				"name": "化妆刷",
+				"key": "化妆刷",
+				"icon": "http://img.kiwifruits.cn/classify/3/1.jpg",
+				"cat": 3
+			},
+			{
+				"name": "粉底",
+				"key": "粉底",
+				"icon": "http://img.kiwifruits.cn/classify/3/2.jpg",
+				"cat": 3
+			},
+			{
+				"name": "洗发护发",
+				"key": "洗发护发",
+				"icon": "http://img.kiwifruits.cn/classify/3/3.jpg",
+				"cat": 3
+			},
+			{
+				"name": "美容工具",
+				"key": "美容工具",
+				"icon": "http://img.kiwifruits.cn/classify/3/4.jpg",
+				"cat": 3
+			},
+			{
+				"name": "眼部护理",
+				"key": "眼部护理",
+				"icon": "http://img.kiwifruits.cn/classify/3/5.jpg",
+				"cat": 3
+			},
+			{
+				"name": "眉妆",
+				"key": "眉妆",
+				"icon": "http://img.kiwifruits.cn/classify/3/6.jpg",
+				"cat": 3
+			},
+			{
+				"name": "卸妆品",
+				"key": "卸妆品",
+				"icon": "http://img.kiwifruits.cn/classify/3/7.jpg",
+				"cat": 3
+			},
+			{
+				"name": "基础护肤",
+				"key": "基础护肤",
+				"icon": "http://img.kiwifruits.cn/classify/3/8.jpg",
+				"cat": 3
+			},
+			{
+				"name": "眼妆",
+				"key": "眼妆",
+				"icon": "http://img.kiwifruits.cn/classify/3/9.jpg",
+				"cat": 3
+			},
+			{
+				"name": "唇妆",
+				"key": "唇妆",
+				"icon": "http://img.kiwifruits.cn/classify/3/10.jpg",
+				"cat": 3
+			},
+			{
+				"name": "面膜",
+				"key": "面膜",
+				"icon": "http://img.kiwifruits.cn/classify/3/11.jpg",
+				"cat": 3
+			},
+			{
+				"name": "沐浴用品",
+				"key": "沐浴用品",
+				"icon": "http://img.kiwifruits.cn/classify/3/12.jpg",
+				"cat": 3
+			},
+			{
+				"name": "护肤套装",
+				"key": "护肤套装",
+				"icon": "http://img.kiwifruits.cn/classify/3/13.jpg",
+				"cat": 3
+			},
+			{
+				"name": "防晒品",
+				"key": "防晒品",
+				"icon": "http://img.kiwifruits.cn/classify/3/14.jpg",
+				"cat": 3
+			},
+			{
+				"name": "美甲",
+				"key": "美甲",
+				"icon": "http://img.kiwifruits.cn/classify/3/15.jpg",
+				"cat": 3
+			}
+
+		]
+	},
+	{
+		"name": "读书笔记,英语阅读",
+		"foods": [{
+				"name": "垃圾袋",
+				"key": "垃圾袋",
+				"icon": "http://img.kiwifruits.cn/classify/4/1.jpg",
+				"cat": 4
+			},
+			{
+				"name": "纸巾",
+				"key": "纸巾",
+				"icon": "http://img.kiwifruits.cn/classify/4/2.jpg",
+				"cat": 4
+			},
+			{
+				"name": "驱蚊用品",
+				"key": "驱蚊用品",
+				"icon": "http://img.kiwifruits.cn/classify/4/3.jpg",
+				"cat": 4
+			},
+			{
+				"name": "收纳神器",
+				"key": "收纳神器",
+				"icon": "http://img.kiwifruits.cn/classify/4/4.jpg",
+				"cat": 4
+			},
+			{
+				"name": "厨房用品",
+				"key": "厨房用品",
+				"icon": "http://img.kiwifruits.cn/classify/4/5.jpg",
+				"cat": 4
+			},
+			{
+				"name": "厨房烹饪",
+				"key": "烹饪",
+				"icon": "http://img.kiwifruits.cn/classify/4/6.jpg",
+				"cat": 4
+			},
+			{
+				"name": "衣物晾晒",
+				"key": "衣物晾晒",
+				"icon": "http://img.kiwifruits.cn/classify/4/7.jpg",
+				"cat": 4
+			},
+			{
+				"name": "衣物护理",
+				"key": "衣物护理",
+				"icon": "http://img.kiwifruits.cn/classify/4/8.jpg",
+				"cat": 4
+			},
+			{
+				"name": "宠物用品",
+				"key": "宠物用品",
+				"icon": "http://img.kiwifruits.cn/classify/4/9.jpg",
+				"cat": 4
+			},
+			{
+				"name": "医药保健",
+				"key": "医药",
+				"icon": "http://img.kiwifruits.cn/classify/4/10.jpg",
+				"cat": 4
+			},
+			{
+				"name": "日用百货",
+				"key": "百货",
+				"icon": "http://img.kiwifruits.cn/classify/4/11.jpg",
+				"cat": 4
+			},
+			{
+				"name": "清洁用品",
+				"key": "清洁",
+				"icon": "http://img.kiwifruits.cn/classify/4/12.jpg",
+				"cat": 4
+			},
+			{
+				"name": "绿植园艺",
+				"key": "绿植",
+				"icon": "http://img.kiwifruits.cn/classify/4/13.jpg",
+				"cat": 4
+			}
+		]
+	},
+
+
+
+	{
+		"name": "女装推荐啊哇..",
+		"foods": [{
+				"name": "A字裙xxxxxqqqqqqqqqssxxxxqqsdsdfsdfdsfdsfdsfdsfdsfdsfdsfdfgfdgfdg",
+				"key": "A字裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/1.jpg",
+				"cat": 10
+			},
+			{
+				"name": "T恤",
+				"key": "T恤",
+				"icon": "http://img.kiwifruits.cn/classify/1/2.jpg",
+				"cat": 10
+			},
+			{
+				"name": "半身裙",
+				"key": "半身裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/3.jpg",
+				"cat": 10
+			},
+			{
+				"name": "衬衫",
+				"key": "衬衫",
+				"icon": "http://img.kiwifruits.cn/classify/1/4.jpg",
+				"cat": 10
+			},
+			{
+				"name": "短裙",
+				"key": "短裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/5.jpg",
+				"cat": 10
+			},
+			{
+				"name": "阔腿裤",
+				"key": "阔腿裤",
+				"icon": "http://img.kiwifruits.cn/classify/1/6.jpg",
+				"cat": 10
+			},
+			{
+				"name": "连衣裙",
+				"key": "连衣裙",
+				"icon": "http://img.kiwifruits.cn/classify/1/7.jpg",
+				"cat": 10
+			},
+			{
+				"name": "妈妈装",
+				"key": "妈妈装",
+				"icon": "http://img.kiwifruits.cn/classify/1/8.jpg",
+				"cat": 10
+			},
+			{
+				"name": "牛仔裤",
+				"key": "牛仔裤",
+				"icon": "http://img.kiwifruits.cn/classify/1/9.jpg",
+				"cat": 10
+			},
+			{
+				"name": "情侣装",
+				"key": "情侣装",
+				"icon": "http://img.kiwifruits.cn/classify/1/10.jpg",
+				"cat": 10
+			},
+			{
+				"name": "休闲裤",
+				"key": "休闲裤",
+				"icon": "http://img.kiwifruits.cn/classify/1/11.jpg",
+				"cat": 10
+			},
+			{
+				"name": "雪纺衫",
+				"key": "雪纺衫",
+				"icon": "http://img.kiwifruits.cn/classify/1/12.jpg",
+				"cat": 10
+			},
+			{
+				"name": "防晒衣",
+				"key": "防晒衣",
+				"icon": "http://img.kiwifruits.cn/classify/1/13.jpg",
+				"cat": 10
+			},
+			{
+				"name": "礼服/婚纱",
+				"key": "礼服婚纱",
+				"icon": "http://img.kiwifruits.cn/classify/1/14.jpg",
+				"cat": 10
+			}
+		]
+	},
+	{
+		"name": "美食",
+		"foods": [{
+				"name": "火锅",
+				"key": "火锅",
+				"icon": "http://img.kiwifruits.cn/classify/2/1.jpg",
+				"cat": 6
+			},
+			{
+				"name": "糕点饼干",
+				"key": "糕点饼干",
+				"icon": "http://img.kiwifruits.cn/classify/2/2.jpg",
+				"cat": 6
+			},
+			{
+				"name": "坚果果干",
+				"key": "坚果果干",
+				"icon": "http://img.kiwifruits.cn/classify/2/3.jpg",
+				"cat": 6
+			},
+			{
+				"name": "酒类",
+				"key": "酒类",
+				"icon": "http://img.kiwifruits.cn/classify/2/4.jpg",
+				"cat": 6
+			},
+			{
+				"name": "辣条",
+				"key": "辣条",
+				"icon": "http://img.kiwifruits.cn/classify/2/5.jpg",
+				"cat": 6
+			},
+			{
+				"name": "大礼包",
+				"key": "大礼包",
+				"icon": "http://img.kiwifruits.cn/classify/2/6.jpg",
+				"cat": 6
+			},
+			{
+				"name": "精品茗茶",
+				"key": "茶",
+				"icon": "http://img.kiwifruits.cn/classify/2/7.jpg",
+				"cat": 6
+			},
+			{
+				"name": "休闲食品",
+				"key": "休闲食品",
+				"icon": "http://img.kiwifruits.cn/classify/2/8.jpg",
+				"cat": 6
+			},
+			{
+				"name": "糖果巧克力",
+				"key": "糖果巧克力",
+				"icon": "http://img.kiwifruits.cn/classify/2/9.jpg",
+				"cat": 6
+			},
+			{
+				"name": "方便速食",
+				"key": "方便速食",
+				"icon": "http://img.kiwifruits.cn/classify/2/10.jpg",
+				"cat": 6
+			},
+			{
+				"name": "营养代餐",
+				"key": "营养代餐",
+				"icon": "http://img.kiwifruits.cn/classify/2/11.jpg",
+				"cat": 6
+			},
+			{
+				"name": "粮油副食",
+				"key": "粮油",
+				"icon": "http://img.kiwifruits.cn/classify/2/12.jpg",
+				"cat": 6
+			},
+			{
+				"name": "生鲜水果",
+				"key": "水果",
+				"icon": "http://img.kiwifruits.cn/classify/2/13.jpg",
+				"cat": 6
+			},
+			{
+				"name": "饮品",
+				"key": "饮品",
+				"icon": "http://img.kiwifruits.cn/classify/2/14.jpg",
+				"cat": 6
+			}
+		]
+	},
+	{
+		"name": "美妆",
+		"foods": [{
+				"name": "化妆刷",
+				"key": "化妆刷",
+				"icon": "http://img.kiwifruits.cn/classify/3/1.jpg",
+				"cat": 3
+			},
+			{
+				"name": "粉底",
+				"key": "粉底",
+				"icon": "http://img.kiwifruits.cn/classify/3/2.jpg",
+				"cat": 3
+			},
+			{
+				"name": "洗发护发",
+				"key": "洗发护发",
+				"icon": "http://img.kiwifruits.cn/classify/3/3.jpg",
+				"cat": 3
+			},
+			{
+				"name": "美容工具",
+				"key": "美容工具",
+				"icon": "http://img.kiwifruits.cn/classify/3/4.jpg",
+				"cat": 3
+			},
+			{
+				"name": "眼部护理",
+				"key": "眼部护理",
+				"icon": "http://img.kiwifruits.cn/classify/3/5.jpg",
+				"cat": 3
+			},
+			{
+				"name": "眉妆",
+				"key": "眉妆",
+				"icon": "http://img.kiwifruits.cn/classify/3/6.jpg",
+				"cat": 3
+			},
+			{
+				"name": "卸妆品",
+				"key": "卸妆品",
+				"icon": "http://img.kiwifruits.cn/classify/3/7.jpg",
+				"cat": 3
+			},
+			{
+				"name": "基础护肤",
+				"key": "基础护肤",
+				"icon": "http://img.kiwifruits.cn/classify/3/8.jpg",
+				"cat": 3
+			},
+			{
+				"name": "眼妆",
+				"key": "眼妆",
+				"icon": "http://img.kiwifruits.cn/classify/3/9.jpg",
+				"cat": 3
+			},
+			{
+				"name": "唇妆",
+				"key": "唇妆",
+				"icon": "http://img.kiwifruits.cn/classify/3/10.jpg",
+				"cat": 3
+			},
+			{
+				"name": "面膜",
+				"key": "面膜",
+				"icon": "http://img.kiwifruits.cn/classify/3/11.jpg",
+				"cat": 3
+			},
+			{
+				"name": "沐浴用品",
+				"key": "沐浴用品",
+				"icon": "http://img.kiwifruits.cn/classify/3/12.jpg",
+				"cat": 3
+			},
+			{
+				"name": "护肤套装",
+				"key": "护肤套装",
+				"icon": "http://img.kiwifruits.cn/classify/3/13.jpg",
+				"cat": 3
+			},
+			{
+				"name": "防晒品",
+				"key": "防晒品",
+				"icon": "http://img.kiwifruits.cn/classify/3/14.jpg",
+				"cat": 3
+			},
+			{
+				"name": "美甲",
+				"key": "美甲",
+				"icon": "http://img.kiwifruits.cn/classify/3/15.jpg",
+				"cat": 3
+			}
+
+		]
+	},
+	{
+		"name": "读书笔记,英语阅读",
+		"foods": [{
+				"name": "垃圾袋",
+				"key": "垃圾袋",
+				"icon": "http://img.kiwifruits.cn/classify/4/1.jpg",
+				"cat": 4
+			},
+			{
+				"name": "纸巾",
+				"key": "纸巾",
+				"icon": "http://img.kiwifruits.cn/classify/4/2.jpg",
+				"cat": 4
+			},
+			{
+				"name": "驱蚊用品",
+				"key": "驱蚊用品",
+				"icon": "http://img.kiwifruits.cn/classify/4/3.jpg",
+				"cat": 4
+			},
+			{
+				"name": "收纳神器",
+				"key": "收纳神器",
+				"icon": "http://img.kiwifruits.cn/classify/4/4.jpg",
+				"cat": 4
+			},
+			{
+				"name": "厨房用品",
+				"key": "厨房用品",
+				"icon": "http://img.kiwifruits.cn/classify/4/5.jpg",
+				"cat": 4
+			},
+			{
+				"name": "厨房烹饪",
+				"key": "烹饪",
+				"icon": "http://img.kiwifruits.cn/classify/4/6.jpg",
+				"cat": 4
+			},
+			{
+				"name": "衣物晾晒",
+				"key": "衣物晾晒",
+				"icon": "http://img.kiwifruits.cn/classify/4/7.jpg",
+				"cat": 4
+			},
+			{
+				"name": "衣物护理",
+				"key": "衣物护理",
+				"icon": "http://img.kiwifruits.cn/classify/4/8.jpg",
+				"cat": 4
+			},
+			{
+				"name": "宠物用品",
+				"key": "宠物用品",
+				"icon": "http://img.kiwifruits.cn/classify/4/9.jpg",
+				"cat": 4
+			},
+			{
+				"name": "医药保健",
+				"key": "医药",
+				"icon": "http://img.kiwifruits.cn/classify/4/10.jpg",
+				"cat": 4
+			},
+			{
+				"name": "日用百货",
+				"key": "百货",
+				"icon": "http://img.kiwifruits.cn/classify/4/11.jpg",
+				"cat": 4
+			},
+			{
+				"name": "清洁用品",
+				"key": "清洁",
+				"icon": "http://img.kiwifruits.cn/classify/4/12.jpg",
+				"cat": 4
+			},
+			{
+				"name": "绿植园艺",
+				"key": "绿植",
+				"icon": "http://img.kiwifruits.cn/classify/4/13.jpg",
+				"cat": 4
+			}
+		]
+	},
+]

+ 12 - 0
common/config.js

xqd
@@ -0,0 +1,12 @@
+let configUrl = {}
+if (process.env.NODE_ENV === 'development') {
+	configUrl = {
+		baseUrl: 'http://t16.9026.com/api/api/v1/common/uploadFile',
+	}
+} else {
+	configUrl = {
+		baseUrl: 'http://jmapi.tangyuhao.cn/index.php/api/api/v1/common/uploadFile',
+	}
+}
+
+module.exports = configUrl

+ 42 - 0
components/tabBar/index.scss

xqd
@@ -0,0 +1,42 @@
+	.navbar {
+			// background-image: url('https://img-home.csdnimg.cn/images/20230817060237.png') !important;
+			// background-size: 100% 100% !important;
+			background: green;
+			.narbar-flexd {
+				// background-image: url('https://img-home.csdnimg.cn/images/20230817060237.png') !important;
+				// background-size: 100% 100% !important;
+				
+				background: green;
+				position: fixed;
+				top: 0;
+				left: 0;
+				z-index: 99;
+				width: 100%;
+				// padding-bottom: 10rpx;
+				.narbar-content {
+					// height: 45px;
+					padding: 0 30px;
+					// margin-bottom: 10px;
+					display: flex;
+					box-sizing: border-box;
+					justify-content:center;
+					align-items: center;
+					.left{
+						position: absolute;
+						left: 5%;
+						font-weight: 600;
+					}
+					.title{
+						font-size: 16px;
+						color: #fff;
+						font-weight: 600;
+					}
+					
+				}
+	 
+				
+			}
+			.navHeight {
+				height: 60px;
+			}
+		}

+ 65 - 0
components/tabBar/index.vue

xqd
@@ -0,0 +1,65 @@
+<template>
+	<view>
+		<u-tabbar :value="name" :fixed="true" :placeholder="false" activeColor="#d81e06" :safeAreaInsetBottom="false"
+			:activeColor="'#F85252'" :inactiveColor="'#BFBFBF'">
+			<u-tabbar-item text="首页" name="Index" @click="goPage('Index')">
+				<image class="u-page__item__slot-icon" slot="active-icon" src="@/static/tabbar/index_a.png"
+					style="width: 50rpx; height: 50rpx;">
+				</image>
+				<image class="u-page__item__slot-icon" slot="inactive-icon" src="@/static/tabbar/index.png"
+					style="width: 50rpx; height: 50rpx;">
+				</image>
+			</u-tabbar-item>
+			<u-tabbar-item text="分类" name="Cat" @click="goPage('Cat')">
+				<image class="u-page__item__slot-icon" slot="active-icon" src="@/static/tabbar/cat_a.png"
+					style="width: 50rpx; height: 50rpx;">
+				</image>
+				<image class="u-page__item__slot-icon" slot="inactive-icon" src="@/static/tabbar/cat.png"
+					style="width: 50rpx; height: 50rpx;">
+				</image>
+			</u-tabbar-item>
+			<u-tabbar-item text="售后" name="Ser" @click="goPage('Ser')">
+				<image class="u-page__item__slot-icon" slot="active-icon" src="@/static/tabbar/service_a.png"
+					style="width: 50rpx; height: 50rpx;"></image>
+				<image class="u-page__item__slot-icon" slot="inactive-icon" src="@/static/tabbar/service.png"
+					style="width: 50rpx; height: 50rpx;">
+				</image>
+			</u-tabbar-item>
+			<!-- <u-tabbar-item text="我的" name="Mine" @click="goPage('Mine')">
+				<image class="u-page__item__slot-icon" slot="active-icon"
+					:src="'/static/active-icon/wode@2x.png'  | getStaticUrl " style="width: 50rpx; height: 50rpx;">
+				</image>
+				<image class="u-page__item__slot-icon" slot="inactive-icon"
+					:src="'/static/icon/wode@2x.png' | getStaticUrl" style="width: 50rpx; height: 50rpx;">
+				</image>
+			</u-tabbar-item> -->
+			<u-tabbar-item text="我的" name="My" @click="goPage('My')">
+				<image class="u-page__item__slot-icon" slot="active-icon" src="@/static/tabbar/my_a.png"
+					style="width: 50rpx; height: 50rpx;">
+				</image>
+				<image class="u-page__item__slot-icon" slot="inactive-icon" src="@/static/tabbar/my.png"
+					style="width: 50rpx; height: 50rpx;">
+				</image>
+			</u-tabbar-item>
+
+		</u-tabbar>
+	</view>
+
+</template>
+
+<script>
+	export default {
+		props: {
+			name: String
+		},
+		methods: {
+			goPage(name) {
+				this.$emit('changtab', name)
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	@import "./index.scss";
+</style>

+ 64 - 66
manifest.json

xqd
@@ -1,67 +1,65 @@
 {
-	"name": "jiancaiPro",
-	"appid": "__UNI__C046D51",
-	"description": "",
-	"versionName": "1.0.0",
-	"versionCode": "100",
-	"transformPx": false,
-	"app-plus": {
-		/* 5+App特有相关 */
-		"usingComponents": true,
-		"nvueCompiler": "uni-app",
-		"nvueStyleCompiler": "uni-app",
-		"splashscreen": {
-			"alwaysShowBeforeRender": true,
-			"waiting": true,
-			"autoclose": true,
-			"delay": 0
-		},
-		"modules": {},
-		/* 模块配置 */
-		"distribute": {
-			/* 应用发布信息 */
-			"android": {
-				/* android打包配置 */
-				"permissions": [
-					"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
-					"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
-					"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
-					"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
-					"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
-					"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.CAMERA\"/>",
-					"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
-					"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
-					"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
-					"<uses-feature android:name=\"android.hardware.camera\"/>",
-					"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
-				]
-			},
-			"ios": {},
-			/* ios打包配置 */
-			"sdkConfigs": {}
-		}
-	},
-	/* SDK配置 */
-	"quickapp": {},
-	/* 快应用特有相关 */
-	"mp-weixin": {
-		/* 小程序特有相关 */
-		"appid": "",
-		"setting": {
-			"urlCheck": false
-		},
-		"usingComponents": true,
-		"permission": {
-			"scope.userLocation": {
-				"desc": "用于小程序使用中为您提供位置信息"
-			}
-
-		},
-		"requiredPrivateInfos": ["getLocation", "choosePoi", "chooseAddress", "chooseLocation"]
-	},
-	"vueVersion": "2"
-}
+    "name" : "jiancaiPro",
+    "appid" : "__UNI__C046D51",
+    "description" : "",
+    "versionName" : "1.0.0",
+    "versionCode" : "100",
+    "transformPx" : false,
+    "app-plus" : {
+        /* 5+App特有相关 */
+        "usingComponents" : true,
+        "nvueCompiler" : "uni-app",
+        "nvueStyleCompiler" : "uni-app",
+        "splashscreen" : {
+            "alwaysShowBeforeRender" : true,
+            "waiting" : true,
+            "autoclose" : true,
+            "delay" : 0
+        },
+        "modules" : {},
+        /* 模块配置 */
+        "distribute" : {
+            /* 应用发布信息 */
+            "android" : {
+                /* android打包配置 */
+                "permissions" : [
+                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
+                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
+                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
+                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
+                ]
+            },
+            "ios" : {},
+            /* ios打包配置 */
+            "sdkConfigs" : {}
+        }
+    },
+    /* SDK配置 */
+    "quickapp" : {},
+    /* 快应用特有相关 */
+    "mp-weixin" : {
+        "appid" : "wx98ab2939999e13de",
+        "setting" : {
+            "urlCheck" : false
+        },
+        "usingComponents" : true,
+        "permission" : {
+            "scope.userLocation" : {
+                "desc" : "用于小程序使用中为您提供位置信息"
+            }
+        },
+        "requiredPrivateInfos" : [ "getLocation", "choosePoi", "chooseAddress", "chooseLocation" ]
+    },
+    "vueVersion" : "2"
+}

+ 60 - 7
pages.json

xqd xqd xqd
@@ -1,5 +1,12 @@
 {
-	"pages": [{
+	"pages": [
+		// {
+		// 	"path": "pages/home/index",
+		// 	"style": {
+		// 		"navigationBarTitleText": "自定义tabbar首页"
+		// 	}
+		// },
+		{
 			"path": "pages/index/index",
 			"style": {
 				"navigationBarTitleText": "首页"
@@ -28,10 +35,16 @@
 			"style": {
 				"navigationBarTitleText": "地图"
 			}
+		},
+		{
+			"path": "pages/qrPage/index",
+			"style": {
+				"navigationBarTitleText": "二维码页面"
+			}
 		}
 	],
 	"globalStyle": {
-		"navigationBarTextStyle": "black",
+		"navigationBarTextStyle": "white",
 		"navigationBarTitleText": "uni-app",
 		"navigationBarBackgroundColor": "#F8F8F8",
 		"backgroundColor": "#F8F8F8",
@@ -49,29 +62,69 @@
 		"fontSize": "12px", //字体大小
 		"spacing": "5px", //字体到图标的距离
 		"height": "50px", //底部高
-		"list": [{
+
+		// 引入字体图标库
+		"iconfontSrc": "static/fonts/iconfont.ttf",
+		"list": [
+			// {
+			// 	"pagePath": "pages/home/index",
+			// 	"text": "自定义首页",
+			// 	"iconPath": "static/tabbar/index.png",
+			// 	"selectedIconPath": "static/tabbar/index_a.png"
+			// },
+			{
 				"pagePath": "pages/index/index",
 				"text": "首页",
 				"iconPath": "static/tabbar/index.png",
-				"selectedIconPath": "static/tabbar/index_a.png"
+				"selectedIconPath": "static/tabbar/index_a.png",
+
+				// 优先级高于 iconPath,该属性依赖 tabbar 根节点的 iconfontSrc
+				"iconfont": {
+					"text": "\ue600", // &#xe605; 这是图标原始的编码
+					"selectedText": "\ue600", //&#xe603;
+					"fontSize": "17px", // 图标大小
+					"color": "#333", // 未选中时,图标的颜色
+					"selectedColor": "red" // 选中时,图标的颜色
+				}
 			},
 			{
 				"pagePath": "pages/category/index",
 				"text": "分类",
 				"iconPath": "static/tabbar/cat.png",
-				"selectedIconPath": "static/tabbar/cat_a.png"
+				"selectedIconPath": "static/tabbar/cat_a.png",
+				"iconfont": {
+					"text": "\ue750", // &#xe605; 这是图标原始的编码
+					"selectedText": "\ue750", //&#xe603;
+					"fontSize": "17px", // 图标大小
+					"color": "#333", // 未选中时,图标的颜色
+					"selectedColor": "red" // 选中时,图标的颜色
+				}
 			},
 			{
 				"pagePath": "pages/service/index",
 				"text": "售后",
 				"iconPath": "static/tabbar/service.png",
-				"selectedIconPath": "static/tabbar/service_a.png"
+				"selectedIconPath": "static/tabbar/service_a.png",
+				"iconfont": {
+					"text": "\ue60a", // &#xe605; 这是图标原始的编码
+					"selectedText": "\ue60a", //&#xe603;
+					"fontSize": "17px", // 图标大小
+					"color": "#333", // 未选中时,图标的颜色
+					"selectedColor": "red" // 选中时,图标的颜色
+				}
 			},
 			{
 				"pagePath": "pages/my/index",
 				"text": "我的",
 				"iconPath": "static/tabbar/my.png",
-				"selectedIconPath": "static/tabbar/my_a.png"
+				"selectedIconPath": "static/tabbar/my_a.png",
+				"iconfont": {
+					"text": "\ue8c6", // &#xe605; 这是图标原始的编码
+					"selectedText": "\ue8c6", //&#xe603;
+					"fontSize": "17px", // 图标大小
+					"color": "#333", // 未选中时,图标的颜色
+					"selectedColor": "red" // 选中时,图标的颜色
+				}
 			}
 		]
 	}

+ 86 - 0
pages/category/index.scss

xqd
@@ -0,0 +1,86 @@
+.page-body {
+	display: flex;
+	background: #fff;
+	overflow: hidden;
+	position: fixed;
+}
+
+.nav {
+	display: flex;
+	width: 100%;
+}
+
+.nav-left {
+	width: 25%;
+	background: #fafafa;
+}
+
+.nav-left-item {
+	height: 100upx;
+	border-right: solid 1px #f1f1f1;
+	border-bottom: solid 1px #f1f1f1;
+	font-size: 30upx;
+	display: flex;
+	align-items: center;
+	justify-content: center;
+}
+.nav-left-item:last-child {
+	border-bottom: none;
+}
+.nav-right {
+	width: 75%;
+}
+.box {
+	display: block;
+	overflow: hidden;
+	border-bottom: 20upx solid #f3f3f3;
+	/* min-height: 100vh; */
+	/*若您的子分类过少想使得每个子分类占满屏请放开上边注视 */
+}
+.box:last-child {
+	border: none;
+	min-height: 100vh;
+}
+.nav-right-item {
+	// width: 30%;
+	width:29%;
+	min-height: 220upx;
+	float: left;
+	text-align: center;
+	padding: 11upx;
+	font-size: 28upx;
+}
+
+
+.nav-right-item image {
+	width: 120upx;
+	height: 120upx;
+}
+
+.active {
+	color: #ff80ab;
+	background: #fff;
+	border-right: 0;
+}
+::-webkit-scrollbar {
+	width: 0;
+	height: 0;
+	color: transparent;
+}
+
+.right_item_name{
+	width: 100%;
+	// text-align: left;
+	word-break: break-all;
+	word-wrap: break-word;
+	display: -webkit-box;
+	    -webkit-line-clamp: 2;
+	    -webkit-box-orient: vertical;
+	    overflow: hidden;
+
+	
+}
+
+::v-deep .u-sticky{
+	top: 153rpx !important;
+}

+ 154 - 16
pages/category/index.vue

xqd
@@ -1,32 +1,170 @@
 <template>
-	<view class="container">
-		<navBar title="分类" :back="true" color="white" background="green" />
-		分类
+	<view class="">
+		<navBar title="分类" :back="false" color="white" background="green" />
 
-		<u-button text="测试打开地图并导航" @click="testMap" type="primary"></u-button>
+		<u-sticky bgColor="#fff">
+			<u-tabs :list="list1"></u-tabs>
+		</u-sticky>
+
+		<view class="page-body" :style="'height:' + height + 'px'">
+			<scroll-view class="nav-left" scroll-y :style="'height:' + height + 'px'" :scroll-top="scrollLeftTop"
+				scroll-with-animation>
+				<view class="nav-left-item" @click="categoryClickMain(index)" :key="index"
+					:class="index == categoryActive ? 'active' : ''" v-for="(item, index) in classifyData">
+					{{ item.name }}
+				</view>
+			</scroll-view>
+			<scroll-view class="nav-right" scroll-y :scroll-top="scrollTop" @scroll="scroll"
+				:style="'height:' + height + 'px'" scroll-with-animation>
+				<view v-for="(foods, index) in classifyData" :key="index" class="box">
+					<view style="margin-bottom:10upx;font-weight: 600;">{{foods.name}}</view>
+					<view :id="i == 0 ? 'first' : ''" class="nav-right-item" v-for="(item, i) in foods.foods" :key="i"
+						@click="cart(item.name)">
+						<image src="https://img.tnblog.net/bigclassimg/1net.png" />
+						<view class="right_item_name">{{ item.name }}</view>
+
+						<!-- 		<view class="item_bottom">
+							<view class="item_img">
+								<image src="https://img.tnblog.net/bigclassimg/1net.png" />
+							</view>
+							<view class="item_des">
+								<view class="right_item_name">{{ item.name }}</view>
+								<image src="https://img.tnblog.net/bigclassimg/1net.png" />
+							</view>
+						</view> -->
+					</view>
+				</view>
+			</scroll-view>
+		</view>
 	</view>
 </template>
 
 <script>
-	// import navBar from '@/components/navBar/index.vue'
+	import classifyData from '@/common/classify.data.js';
 	export default {
-		// components: {
-		// 	navBar
-		// },
 		data() {
 			return {
+				list1: [{
+					name: '关注',
+				}, {
+					name: '推荐',
+				}, {
+					name: '电影'
+				}, {
+					name: '科技'
+				}, {
+					name: '音乐'
+				}, {
+					name: '美食'
+				}, {
+					name: '文化'
+				}, {
+					name: '财经'
+				}, {
+					name: '手工'
+				}],
 
-			}
+
+
+
+
+				name: 'wkiwi',
+				height: 0,
+				categoryActive: 0,
+				scrollTop: 0,
+				scrollLeftTop: 0,
+				// scrollHeight: 0,
+				classifyData: classifyData,
+				arr: [0, 584, 1168, 1752, 2336, 2805, 3274, 3858, 4442, 4911, 5380, 5734, 6203, 6672,
+					7017
+				], //初始值,后边计算会根据手机适配覆盖
+				leftItemHeight: 51, //49行会计算出新值进行覆盖
+				navLeftHeight: 0, //左边scroll-view 内层nav的总高度
+				diff: 0, //左边scroll-view 内层nav的总高度与视口之差
+				tabBarHeight: 0 //如果此页面为Tab页面,自己改变高度值,,一般tab高度为51
+			};
+		},
+		created() {
+			//如果你的分类数据为后台异步获取请	将下方代码放置你的数据回调中
+			// this.$nextTick(()=>{
+			// 	this.getHeightList();
+			// })
+		},
+		onLoad: function() {
+			this.height = uni.getSystemInfoSync().windowHeight - this.tabBarHeight;
+		},
+		onReady() {
+			this.getHeightList();
 		},
 		methods: {
-			testMap() {
-				console.log('testMap()');
-				uni.navigateTo({
-					url: '/pages/map/index'
-				})
+			getHeightList() {
+				let _this = this;
+				let selectorQuery = uni.createSelectorQuery();
+				selectorQuery.selectAll('.nav-left-item').boundingClientRect(function(rects) {
+					_this.leftItemHeight = rects[0].height;
+					_this.navLeftHeight = _this.leftItemHeight * classifyData.length;
+					_this.diff = _this.navLeftHeight - _this.height;
+				});
+				selectorQuery
+					.selectAll('.box')
+					.boundingClientRect(function(rects) {
+						let arr = [0];
+						let top = 0;
+						rects.forEach(function(rect) {
+							// 					rect.id      // 节点的ID
+							// 					rect.dataset // 节点的dataset
+							// 					rect.left    // 节点的左边界坐标
+							// 					rect.right   // 节点的右边界坐标
+							// 					rect.top     // 节点的上边界坐标
+							// 					rect.bottom  // 节点的下边界坐标
+							// 					rect.width   // 节点的宽度
+							// 					rect.height  // 节点的高度
+							top += rect.height;
+							arr.push(top);
+						});
+						console.log(arr);
+						_this.arr = arr;
+					})
+					.exec();
+			},
+			scroll(e) {
+				let _this = this;
+				if (this.timeoutId) {
+					clearTimeout(this.timeoutId);
+				}
+				this.timeoutId = setTimeout(function() {
+					//节流
+					_this.scrollHeight = e.detail.scrollTop + 1 + _this.height / 2;
+					//+1不要删除,解决最后一项某种情况下翻到底部,左边按钮并不会切换至最后一个
+					//若想使切换参考线为屏幕顶部请删除 _this.height/2
+					for (let i = 0; i < _this.arr.length; i++) {
+						let height1 = _this.arr[i];
+						let height2 = _this.arr[i + 1];
+						if (!height2 || (_this.scrollHeight >= height1 && _this.scrollHeight < height2)) {
+							_this.categoryActive = i;
+							_this.diff > 0 && (_this.scrollLeftTop = Math.round((_this.categoryActive * _this
+								.diff) / (classifyData.length - 1)));
+							return false;
+						}
+					}
+					_this.categoryActive = 0;
+					_this.timeoutId = undefined;
+				}, 10);
+			},
+			categoryClickMain(index) {
+				this.categoryActive = index;
+				this.scrollTop == this.arr[index] ? (this.scrollTop = this.scrollTop + 1) : (this.scrollTop = this.arr[
+					index]); //防止两次相等造成点击不触发滚动时间
+			},
+			cart: function(text) {
+				uni.showToast({
+					title: text,
+					icon: 'none'
+				});
 			}
-		}
-	}
+		},
+		components: {}
+	};
 </script>
 
 <style lang="scss" scoped>

+ 33 - 0
pages/category/index1.scss

xqd
@@ -0,0 +1,33 @@
+.container {
+    display: flex;
+    flex-direction: column;
+    height: 100%;
+    padding: 20rpx;
+  }
+  .category-list {
+    flex: 1;
+  }
+  .category-scrollview {
+    white-space: nowrap;
+  }
+  .category-item {
+    display: inline-block;
+    padding: 10rpx 20rpx;
+    border-radius: 10rpx;
+    background-color: #f2f2f2;
+    margin-right: 20rpx;
+    color: #333;
+    font-size: 28rpx;
+  }
+  .goods-list {
+    flex: 1;
+    margin-top: 20rpx;
+  }
+  .goods-item {
+    margin-bottom: 10rpx;
+    padding: 10rpx 20rpx;
+    border-radius: 10rpx;
+    background-color: #f2f2f2;
+    color: #333;
+    font-size: 28rpx;
+  }

+ 72 - 0
pages/category/index1.vue

xqd
@@ -0,0 +1,72 @@
+<template>
+	<view class="">
+		<navBar title="分类" :back="false" color="white" background="green" />
+
+		<view class="container">
+			<view class="category-list">
+				<scroll-view class="category-scrollview" scroll-x>
+					<view class="category-item" v-for="(item, index) in categoryList" :key="index"
+						@click="selectCategory(item)">
+						{{ item.name }}
+					</view>
+				</scroll-view>
+			</view>
+			<view class="goods-list">
+				<view class="goods-item" v-for="(item, index) in selectedCategory.goodsList" :key="index">
+					{{ item.name }}
+				</view>
+			</view>
+		</view>
+	</view>
+
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				categoryList: [{
+						name: "分类1",
+						goodsList: [{
+							name: "商品1"
+						}, {
+							name: "商品2"
+						}, {
+							name: "商品3"
+						}]
+					},
+					{
+						name: "分类2",
+						goodsList: [{
+							name: "商品4"
+						}, {
+							name: "商品5"
+						}, {
+							name: "商品6"
+						}]
+					},
+					{
+						name: "分类3",
+						goodsList: [{
+							name: "商品7"
+						}, {
+							name: "商品8"
+						}, {
+							name: "商品9"
+						}]
+					}
+				],
+				selectedCategory: {}
+			}
+		},
+		methods: {
+			selectCategory(category) {
+				this.selectedCategory = category;
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	@import "./index.scss";
+</style>

+ 1 - 2
pages/index/index.vue

xqd
@@ -1,7 +1,6 @@
 <template>
 	<view class="container">
-		<navBar title="首页" :back="true" color="white" background="green" />
-		首页
+		<navBar title="首页" :back="false" color="white" background="green" />
 		<u-button text="测试网络请求" @click="testReq" type="primary"></u-button>
 		<u-button text="测试vuex仓库" @click="testStore" type="primary"></u-button>
 		<u-button text="测试登录-vuex仓库" @click="testLogin" type="primary"></u-button>

+ 0 - 0
pages/index2/index.scss


+ 39 - 0
pages/index2/index.vue

xqd
@@ -0,0 +1,39 @@
+<template>
+	<view class="index-container">
+		<view class="index-content">
+			<Index v-if="pageFlag === 'Index'" @click="changtab()"></Index>
+			<Cat v-else-if="pageFlag === 'Cat'"></Cat>
+			<Ser v-else-if="pageFlag === 'Ser'"></Ser>
+			<My v-else-if="pageFlag === 'My'"></My>
+		</view>
+		<tabBar :name="pageFlag" @changtab="changtab()"></tabBar>
+	</view>
+</template>
+
+<script>
+	import My from '@/components/my/index.vue';
+	import Index from "@/components/index/index.vue";
+	import Cat from "@/components/category/index.vue";
+	import Ser from "@/components/service/index.vue";
+	import tabBar from "@/components/tabBar/index.vue";
+	export default {
+		components: {
+			Ser,
+			Index,
+			Cat,
+			My,
+			tabBar
+		},
+		data: () => ({
+			pageFlag: 'Index'
+		}),
+		methods: {
+			changtab(name) {
+				this.pageFlag = name;
+			},
+		}
+	}
+</script>
+
+<style>
+</style>

+ 72 - 10
pages/my/index.vue

xqd xqd xqd xqd
@@ -1,7 +1,7 @@
 <template>
 	<view class="container">
-		<navBar title="我的" :back="true" color="white" background="green" />
-		我的
+		<navBar title="我的" :back="false" color="white" background="green" />
+
 
 		<u-button text="测试获取用户信息" @click="testGetUserInfo" type="primary"></u-button>
 
@@ -21,11 +21,21 @@
 
 
 		<button open-type="getPhoneNumber" @getphonenumber="getphonenumber">获取用户手机号</button>
+		<button @click="get_user">获取用户头像昵称等信息</button>
+
+		<view class="">
+			头像
+		</view>
+		<image :src="user_img" mode=""></image>
+		<view class="">
+			昵称:{{user_name}}
+		</view>
 	</view>
 </template>
 
 <script>
 	// import navBar from '@/components/navBar/index.vue'
+	import uploadUrl from '@/common/config.js'
 	export default {
 		// components: {
 		// 	navBar
@@ -36,19 +46,71 @@
 				nickName: '',
 				PhoneCode: '',
 				imgUrl: '',
-				isPhone: false
+				isPhone: false,
+
+				user_img: '', //微信头像
+				user_name: ''
 			}
 		},
 		methods: {
-			onChooseAvatar(e) {
-				this.avatarUrl = e.detail.avatarUrl
-				// this.upImg(this.avatarUrl)
+			get_user() { // 获取用户信息
+				let _this = this
+				// uni.getUserProfile({
+				// 	desc: '用户登录',
+				// 	success: res => {
+				// 		console.log(res) // 用户的信息
+				// 		this.user_img = res.userInfo.avatarUrl //微信头像
+				// 		this.user_name = res.userInfo.nickName // 微信昵称
+				// 	}
+				// })
+
+				uni.getUserInfo({
+					provider: 'weixin',
+					success: infoRes => {
+						console.log('getUserInfo返回值:', infoRes);
+						console.log('用户昵称为:' + infoRes.userInfo.nickName, infoRes.userInfo.avatarUrl);
+						this.user_img = infoRes.userInfo.avatarUrl //微信头像
+						this.user_name = infoRes.userInfo.nickName // 微信昵称
+
+						// _this.upImg(infoRes.userInfo.avatarUrl)
+					}
+				});
 			},
 
 			onChooseAvatar(e) {
-				this.avatarUrl = e.detail.avatarUrl
-				// this.upImg(this.avatarUrl)
+				console.log('onChooseAvatar返回值:', e);
+				// this.avatarUrl = e.detail.avatarUrl
+				this.upImg(e.detail.avatarUrl)
 			},
+			upImg(file) {
+				console.log('upImg的file', file)
+				let _this = this
+				uni.uploadFile({
+					url: uploadUrl.baseUrl, // 上传的 URL 地址
+					filePath: file, // 要上传的图片本地路径
+					name: 'file', // 上传图片时使用的字段名
+					header: { // 自定义请求头
+						'Content-Type': 'multipart/form-data'
+					},
+					formData: {
+						'fileType': 'images',
+						'dirName': 'cert'
+					},
+					success: function(uploadRes) {
+						let result = JSON.parse(uploadRes.data)
+						// localStorage.set('imgUrl', result.data.fileUrl)
+						if (result.code == 0) {
+							_this.avatarUrl = result.data.url
+							// _this.user_img = result.data.url
+							console.log('上传后的头像url地址', result.data.url)
+						}
+					},
+					fail: function(err) {
+						console.log('upload failed:', err)
+					}
+				})
+			},
+
 			inputName(e) {
 				this.nickName = e.detail.value
 			},
@@ -61,13 +123,13 @@
 						console.log('uni.login返回值:', res)
 						if (res.errMsg == 'login:ok') {
 							// 获取密钥 === 需要登录才可以获取密钥
-							return
+							// return
 							uni.request({
 								url: 'https://api.weixin.qq.com/sns/jscode2session', // 请求微信服务器
 								method: 'GET',
 								data: {
 									appid: 'wx98ab2939999e13de', //你的小程序的APPID
-									secret: '35d1d76914237d6c5d8ecd6d80271c20', //你的小程序秘钥secret,  
+									secret: '29bad412d9cc5a7f48ca88d2848db8d3', //你的小程序秘钥secret,  
 									js_code: res.code, //wx.login 登录成功后的code
 									grant_type: 'authorization_code' //此处为固定值
 								},

+ 0 - 0
pages/qrPage/index.scss


+ 144 - 0
pages/qrPage/index.vue

xqd
@@ -0,0 +1,144 @@
+<template>
+	<view class="container">
+		<navBar title="二维码进入的页面" :back="true" color="white" background="green" />
+		<button @click="getAccessToken">生成AccessToken</button>
+		<button @click="genQr">生成进入小程序的二维码</button>
+
+		<image :src="testUrl" mode=""></image>
+	</view>
+</template>
+
+<script>
+	// import navBar from '@/components/navBar/index.vue'
+	var util = require('@/utils/decodeQrQuery.js')
+	import {
+		getBase64Image
+	} from '@/utils/streamDown.js'
+
+	import uploadUrl from '@/common/config.js'
+	export default {
+		// components: {
+		// 	navBar
+		// },
+		data() {
+			return {
+				kcardCode: '',
+				testUrl: ''
+			}
+		},
+		onLoad(options) {
+
+			console.log('二维码页面onLoad:', options, getBase64Image);
+
+
+			// if (options.kcardCode) {
+			// 	console.log('需要获取的二维码参数kcardCode:', options.kcardCode);
+			// }
+
+			// var that = this;
+			// console.log("options携带参数:" + JSON.stringify(options))
+			// //在此函数中获取扫描普通链接二维码参数
+			// // 二维码链接内容会以参数q的形式带给页面,在onLoad事件中提取q参数并自行decodeURIComponent一次,即可获取原二维码的完整内容。
+			// if (options.q !== undefined) {
+			// 	let q = decodeURIComponent(options.q);
+
+			// 	console.log("url=" + q)
+			// 	console.log("kcardCode=" + util.getkcard(q, 'kcardCode'))
+			// 	var kcardCode = util.getkcard(q, 'kcardCode');
+
+			// 	console.log("解析获取到的kcardCode值:" + kcardCode);
+			// 	that.kcardCode = kcardCode
+			// } else {
+			// 	console.log("未获取到扫码信息:" + kcardCode);
+
+			// 	uni.showToast({
+			// 		title: '错误:未获取到扫码信息!',
+			// 		duration: 3000
+			// 	})
+
+			// 	return false
+			// }
+		},
+		onShow() {
+
+
+		},
+		methods: {
+			getAccessToken() {
+				let that = this
+				let appId = 'wx98ab2939999e13de'
+				let secret = '29bad412d9cc5a7f48ca88d2848db8d3'
+				wx.request({
+					url: `https://api.weixin.qq.com/cgi-bin/token?appid=${appId}&secret=${secret}&grant_type=client_credential`,
+					data: {},
+					header: {
+						'content-type': 'json'
+					},
+					success: function(res) {
+						console.log(res);
+						that.getUnlimitedQRCode(res.data.access_token)
+					}
+				})
+			},
+			// getWxQrCode(access_token) {
+			getUnlimitedQRCode(access_token) {
+				let that = this
+				wx.request({
+					url: `https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=${access_token}`,
+					responseType: 'arraybuffer',
+					data: JSON.stringify({
+						scene: 'kcardCode=123456',
+						page: 'pages/qrPage/index',
+						check_path: false
+					}),
+					header: {
+						'content-type': 'json',
+					},
+					method: 'POST',
+					success: function(res) {
+						console.log(res);
+						const base64 = wx.arrayBufferToBase64(res.data);
+						that.testUrl = 'data:image/jpeg;base64,' + base64;
+						console.log('testUrl----base64', that.testUrl, base64, res.data);
+					}
+				})
+			},
+			genQr() {
+
+			},
+
+			upImg(file) {
+				console.log('upImg的file', file)
+				let _this = this
+				uni.uploadFile({
+					url: uploadUrl.baseUrl, // 上传的 URL 地址
+					filePath: file, // 要上传的图片本地路径
+					name: 'file', // 上传图片时使用的字段名
+					header: { // 自定义请求头
+						'Content-Type': 'multipart/form-data'
+					},
+					formData: {
+						'fileType': 'images',
+						'dirName': 'cert'
+					},
+					success: function(uploadRes) {
+						let result = JSON.parse(uploadRes.data)
+						// localStorage.set('imgUrl', result.data.fileUrl)
+						if (result.code == 0) {
+							_this.avatarUrl = result.data.url
+							// _this.user_img = result.data.url
+							console.log('上传后的头像url地址', result.data.url)
+						}
+					},
+					fail: function(err) {
+						console.log('upload failed:', err)
+					}
+				})
+			},
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	@import "./index.scss";
+</style>

+ 2 - 2
pages/service/index.vue

xqd
@@ -1,7 +1,7 @@
 <template>
 	<view class="container">
-		<navBar title="售后" :back="true" color="white" background="green" />
-		售后
+		<navBar title="售后" :back="false" color="white" background="green" />
+
 	</view>
 </template>
 

BIN
static/fonts/iconfont.ttf


+ 0 - 0
unpackage/dist/build/.automator/mp-weixin/.automator.json


+ 4 - 0
unpackage/dist/build/mp-weixin/app.js

xqd
@@ -0,0 +1,4 @@
+
+require('./common/runtime.js')
+require('./common/vendor.js')
+require('./common/main.js')

+ 96 - 0
unpackage/dist/build/mp-weixin/app.json

xqd
@@ -0,0 +1,96 @@
+{
+  "pages": [
+    "pages/index/index",
+    "pages/category/index",
+    "pages/service/index",
+    "pages/my/index",
+    "pages/map/index",
+    "pages/qrPage/index"
+  ],
+  "subPackages": [],
+  "window": {
+    "navigationBarTextStyle": "white",
+    "navigationBarTitleText": "uni-app",
+    "navigationBarBackgroundColor": "#F8F8F8",
+    "backgroundColor": "#F8F8F8",
+    "navigationStyle": "custom"
+  },
+  "tabBar": {
+    "color": "black",
+    "selectedColor": "#1afa29",
+    "borderStyle": "black",
+    "backgroundColor": "#F8F8F8",
+    "fontSize": "12px",
+    "spacing": "5px",
+    "height": "50px",
+    "iconfontSrc": "static/fonts/iconfont.ttf",
+    "list": [
+      {
+        "pagePath": "pages/index/index",
+        "text": "首页",
+        "iconPath": "static/tabbar/index.png",
+        "selectedIconPath": "static/tabbar/index_a.png",
+        "iconfont": {
+          "text": "",
+          "selectedText": "",
+          "fontSize": "17px",
+          "color": "#333",
+          "selectedColor": "red"
+        }
+      },
+      {
+        "pagePath": "pages/category/index",
+        "text": "分类",
+        "iconPath": "static/tabbar/cat.png",
+        "selectedIconPath": "static/tabbar/cat_a.png",
+        "iconfont": {
+          "text": "",
+          "selectedText": "",
+          "fontSize": "17px",
+          "color": "#333",
+          "selectedColor": "red"
+        }
+      },
+      {
+        "pagePath": "pages/service/index",
+        "text": "售后",
+        "iconPath": "static/tabbar/service.png",
+        "selectedIconPath": "static/tabbar/service_a.png",
+        "iconfont": {
+          "text": "",
+          "selectedText": "",
+          "fontSize": "17px",
+          "color": "#333",
+          "selectedColor": "red"
+        }
+      },
+      {
+        "pagePath": "pages/my/index",
+        "text": "我的",
+        "iconPath": "static/tabbar/my.png",
+        "selectedIconPath": "static/tabbar/my_a.png",
+        "iconfont": {
+          "text": "",
+          "selectedText": "",
+          "fontSize": "17px",
+          "color": "#333",
+          "selectedColor": "red"
+        }
+      }
+    ]
+  },
+  "permission": {
+    "scope.userLocation": {
+      "desc": "用于小程序使用中为您提供位置信息"
+    }
+  },
+  "requiredPrivateInfos": [
+    "getLocation",
+    "choosePoi",
+    "chooseAddress",
+    "chooseLocation"
+  ],
+  "usingComponents": {
+    "nav-bar": "/components/navBar/index"
+  }
+}

+ 3 - 0
unpackage/dist/build/mp-weixin/app.wxss

xqd
@@ -0,0 +1,3 @@
+@import './common/main.wxss';
+
+[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/common/main.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/common/main.wxss


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 0
unpackage/dist/build/mp-weixin/common/runtime.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/common/vendor.js


+ 10 - 0
unpackage/dist/build/mp-weixin/components/navBar/index.js

xqd
@@ -0,0 +1,10 @@
+(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/navBar/index"],{"19a0":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{statusBarHeight:20,navBareight:45,windowWidth:375}},props:{title:{type:String,default:""},color:{type:String,default:"#fff"},background:{type:String,default:"transparent"},back:{type:Boolean,default:!1}},created:function(){var n=t.getSystemInfoSync(),e=n.statusBarHeight,a=n.windowWidth;this.statusBarHeight=e,this.windowWidth=a;var i=t.getMenuButtonBoundingClientRect(),o=i.top,u=i.bottom,r=i.left;this.navBareight=u-e+(o-e),this.windowWidth=r},methods:{onBack:function(){this.$emit("onBack"),t.navigateBack({delta:1})}}};n.default=e}).call(this,e("543d")["default"])},"77ea":function(t,n,e){"use strict";e.r(n);var a=e("82a3"),i=e("cb3a");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("f50a");var u=e("f0c5"),r=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"d336c544",null,!1,a["a"],void 0);n["default"]=r.exports},"82a3":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return a}));var a={uniIcons:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(e.bind(null,"f70d"))}},i=function(){var t=this.$createElement;this._self._c},o=[]},b821:function(t,n,e){},cb3a:function(t,n,e){"use strict";e.r(n);var a=e("19a0"),i=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=i.a},f50a:function(t,n,e){"use strict";var a=e("b821"),i=e.n(a);i.a}}]);
+;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
+    'components/navBar/index-create-component',
+    {
+        'components/navBar/index-create-component':(function(module, exports, __webpack_require__){
+            __webpack_require__('543d')['createComponent'](__webpack_require__("77ea"))
+        })
+    },
+    [['components/navBar/index-create-component']]
+]);

+ 6 - 0
unpackage/dist/build/mp-weixin/components/navBar/index.json

xqd
@@ -0,0 +1,6 @@
+{
+  "usingComponents": {
+    "uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons"
+  },
+  "component": true
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/components/navBar/index.wxml

xqd
@@ -0,0 +1 @@
+<view class="navbar data-v-d336c544" style="{{'height:'+(statusBarHeight+navBareight+'px')+';'+('background:'+(background)+';')}}"><view class="narbar-flexd data-v-d336c544" style="{{'background:'+(background)+';'}}"><view style="{{'height:'+(statusBarHeight+'px')+';'}}" class="data-v-d336c544"></view><view class="narbar-content data-v-d336c544" style="{{'height:'+(navBareight+'px')+';'}}"><block wx:if="{{back}}"><view data-event-opts="{{[['tap',[['onBack',['$event']]]]]}}" class="left data-v-d336c544" style="{{'color:'+(color)+';'+('padding-top:'+(paddingTop)+';')}}" bindtap="__e"><uni-icons vue-id="3a6d4f98-1" type="arrowleft" size="25" color="{{color}}" class="data-v-d336c544" bind:__l="__l"></uni-icons></view></block><view class="title data-v-d336c544" style="{{'color:'+(color)+';'}}">{{''+title+''}}</view></view></view><view class="navHeight data-v-d336c544" style="{{'height:'+(statusBarHeight+navBareight+'px')+';'}}"></view></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/components/navBar/index.wxss

xqd
@@ -0,0 +1 @@
+.navbar.data-v-d336c544{background:green}.navbar .narbar-flexd.data-v-d336c544{background:green;position:fixed;top:0;left:0;z-index:99;width:100%}.navbar .narbar-flexd .narbar-content.data-v-d336c544{padding:0 30px;display:flex;box-sizing:border-box;justify-content:center;align-items:center}.navbar .narbar-flexd .narbar-content .left.data-v-d336c544{position:absolute;left:5%;font-weight:600}.navbar .narbar-flexd .narbar-content .title.data-v-d336c544{font-size:16px;color:#fff;font-weight:600}.navbar .navHeight.data-v-d336c544{height:60px}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/category/index.js


+ 7 - 0
unpackage/dist/build/mp-weixin/pages/category/index.json

xqd
@@ -0,0 +1,7 @@
+{
+  "navigationBarTitleText": "分类",
+  "usingComponents": {
+    "u-sticky": "/uni_modules/uview-ui/components/u-sticky/u-sticky",
+    "u-tabs": "/uni_modules/uview-ui/components/u-tabs/u-tabs"
+  }
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/category/index.wxml

xqd
@@ -0,0 +1 @@
+<view class="data-v-72a26d37"><nav-bar vue-id="819668e8-1" title="分类" back="{{false}}" color="white" background="green" class="data-v-72a26d37" bind:__l="__l"></nav-bar><u-sticky vue-id="819668e8-2" bgColor="#fff" class="data-v-72a26d37" bind:__l="__l" vue-slots="{{['default']}}"><u-tabs vue-id="{{('819668e8-3')+','+('819668e8-2')}}" list="{{list1}}" class="data-v-72a26d37" bind:__l="__l"></u-tabs></u-sticky><view class="page-body data-v-72a26d37" style="{{('height:'+height+'px')}}"><scroll-view class="nav-left data-v-72a26d37" style="{{('height:'+height+'px')}}" scroll-y="{{true}}" scroll-top="{{scrollLeftTop}}" scroll-with-animation="{{true}}"><block wx:for="{{classifyData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['categoryClickMain',[index]]]]]}}" class="{{['nav-left-item','data-v-72a26d37',index==categoryActive?'active':'']}}" bindtap="__e">{{''+item.name+''}}</view></block></scroll-view><scroll-view class="nav-right data-v-72a26d37" style="{{('height:'+height+'px')}}" scroll-y="{{true}}" scroll-top="{{scrollTop}}" scroll-with-animation="{{true}}" data-event-opts="{{[['scroll',[['scroll',['$event']]]]]}}" bindscroll="__e"><block wx:for="{{classifyData}}" wx:for-item="foods" wx:for-index="index" wx:key="index"><view class="box data-v-72a26d37"><view style="margin-bottom:10rpx;font-weight:600;" class="data-v-72a26d37">{{foods.name}}</view><block wx:for="{{foods.foods}}" wx:for-item="item" wx:for-index="i" wx:key="i"><view class="nav-right-item data-v-72a26d37" id="{{i==0?'first':''}}" data-event-opts="{{[['tap',[['cart',['$0'],[[['classifyData','',index],['foods','',i,'name']]]]]]]}}" bindtap="__e"><image src="https://img.tnblog.net/bigclassimg/1net.png" class="data-v-72a26d37"></image><view class="right_item_name data-v-72a26d37">{{item.name}}</view></view></block></view></block></scroll-view></view></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/category/index.wxss

xqd
@@ -0,0 +1 @@
+.page-body.data-v-72a26d37{display:flex;background:#fff;overflow:hidden;position:fixed}.nav.data-v-72a26d37{display:flex;width:100%}.nav-left.data-v-72a26d37{width:25%;background:#fafafa}.nav-left-item.data-v-72a26d37{height:100rpx;border-right:solid 1px #f1f1f1;border-bottom:solid 1px #f1f1f1;font-size:30rpx;display:flex;align-items:center;justify-content:center}.nav-left-item.data-v-72a26d37:last-child{border-bottom:none}.nav-right.data-v-72a26d37{width:75%}.box.data-v-72a26d37{display:block;overflow:hidden;border-bottom:20rpx solid #f3f3f3}.box.data-v-72a26d37:last-child{border:none;min-height:100vh}.nav-right-item.data-v-72a26d37{width:29%;min-height:220rpx;float:left;text-align:center;padding:11rpx;font-size:28rpx}.nav-right-item image.data-v-72a26d37{width:120rpx;height:120rpx}.active.data-v-72a26d37{color:#ff80ab;background:#fff;border-right:0}.data-v-72a26d37::-webkit-scrollbar{width:0;height:0;color:transparent}.right_item_name.data-v-72a26d37{width:100%;word-break:break-all;word-wrap:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.data-v-72a26d37 .u-sticky{top:153rpx!important}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/index/index.js


+ 6 - 0
unpackage/dist/build/mp-weixin/pages/index/index.json

xqd
@@ -0,0 +1,6 @@
+{
+  "navigationBarTitleText": "首页",
+  "usingComponents": {
+    "u-button": "/uni_modules/uview-ui/components/u-button/u-button"
+  }
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/index/index.wxml

xqd
@@ -0,0 +1 @@
+<view class="container data-v-34fe0eec"><nav-bar vue-id="8dd740cc-1" title="首页" back="{{false}}" color="white" background="green" class="data-v-34fe0eec" bind:__l="__l"></nav-bar><u-button vue-id="8dd740cc-2" text="测试网络请求" type="primary" data-event-opts="{{[['^click',[['testReq']]]]}}" bind:click="__e" class="data-v-34fe0eec" bind:__l="__l"></u-button><u-button vue-id="8dd740cc-3" text="测试vuex仓库" type="primary" data-event-opts="{{[['^click',[['testStore']]]]}}" bind:click="__e" class="data-v-34fe0eec" bind:__l="__l"></u-button><u-button vue-id="8dd740cc-4" text="测试登录-vuex仓库" type="primary" data-event-opts="{{[['^click',[['testLogin']]]]}}" bind:click="__e" class="data-v-34fe0eec" bind:__l="__l"></u-button><u-button vue-id="8dd740cc-5" text="测试登录退出登录" type="primary" data-event-opts="{{[['^click',[['testLogout']]]]}}" bind:click="__e" class="data-v-34fe0eec" bind:__l="__l"></u-button></view>

+ 0 - 0
unpackage/dist/build/mp-weixin/pages/index/index.wxss


+ 1 - 0
unpackage/dist/build/mp-weixin/pages/map/index.js

xqd
@@ -0,0 +1 @@
+(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/map/index"],{2860:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t("72a5"),c={data:function(){return{}},onLoad:function(){new o({key:"W4IBZ-EVOCV-GJVPF-5QVLU-5ZJTJ-CNFUD"})},onShow:function(){},methods:{testQQMap:function(){n.chooseLocation({success:function(e){console.log("位置名称:"+e.name),console.log("详细地址:"+e.address),console.log("纬度:"+e.latitude),console.log("经度:"+e.longitude),n.openLocation({name:e.name,address:e.address,latitude:e.latitude,longitude:e.longitude,success:function(){console.log("success")}})}})}}};e.default=c}).call(this,t("543d")["default"])},"5f92":function(n,e,t){"use strict";t.d(e,"b",(function(){return o})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){}));var o=function(){var n=this.$createElement;this._self._c},c=[]},"6c17":function(n,e,t){"use strict";(function(n,e){var o=t("4ea4");t("2707");o(t("66fd"));var c=o(t("b1ac"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(c.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},b1ac:function(n,e,t){"use strict";t.r(e);var o=t("5f92"),c=t("c0b2");for(var u in c)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(u);t("e41c");var a=t("f0c5"),i=Object(a["a"])(c["default"],o["b"],o["c"],!1,null,"6d7ba81d",null,!1,o["a"],void 0);e["default"]=i.exports},c0b2:function(n,e,t){"use strict";t.r(e);var o=t("2860"),c=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=c.a},e41c:function(n,e,t){"use strict";var o=t("f0e6"),c=t.n(o);c.a},f0e6:function(n,e,t){}},[["6c17","common/runtime","common/vendor"]]]);

+ 4 - 0
unpackage/dist/build/mp-weixin/pages/map/index.json

xqd
@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "地图",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/map/index.wxml

xqd
@@ -0,0 +1 @@
+<view class="container data-v-6d7ba81d"><nav-bar vue-id="011aa5e0-1" title="地图" back="{{true}}" color="white" background="green" class="data-v-6d7ba81d" bind:__l="__l"></nav-bar><button data-event-opts="{{[['tap',[['testQQMap',['$event']]]]]}}" bindtap="__e" class="data-v-6d7ba81d">测试SDK</button></view>

+ 0 - 0
unpackage/dist/build/mp-weixin/pages/map/index.wxss


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/my/index.js


+ 6 - 0
unpackage/dist/build/mp-weixin/pages/my/index.json

xqd
@@ -0,0 +1,6 @@
+{
+  "navigationBarTitleText": "我的",
+  "usingComponents": {
+    "u-button": "/uni_modules/uview-ui/components/u-button/u-button"
+  }
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/my/index.wxml

xqd
@@ -0,0 +1 @@
+<view class="container data-v-daf6fe3a"><nav-bar vue-id="4a180d5e-1" title="我的" back="{{false}}" color="white" background="green" class="data-v-daf6fe3a" bind:__l="__l"></nav-bar><u-button vue-id="4a180d5e-2" text="测试获取用户信息" type="primary" data-event-opts="{{[['^click',[['testGetUserInfo']]]]}}" bind:click="__e" class="data-v-daf6fe3a" bind:__l="__l"></u-button><view class="choose-avatar-row data-v-daf6fe3a"><button class="avatar-wrapper data-v-daf6fe3a" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="avatar data-v-daf6fe3a" src="{{avatarUrl}}"></image></button><text class="data-v-daf6fe3a">点击选择头像</text></view><view class="choose-nickname-row data-v-daf6fe3a"><text class="data-v-daf6fe3a">昵称</text><input type="nickname" placeholder="请输入昵称" data-event-opts="{{[['input',[['__set_model',['','nickName','$event',[]]],['inputName',['$event']]]]]}}" value="{{nickName}}" bindinput="__e" class="data-v-daf6fe3a"/></view><button open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getphonenumber',['$event']]]]]}}" bindgetphonenumber="__e" class="data-v-daf6fe3a">获取用户手机号</button><button data-event-opts="{{[['tap',[['get_user',['$event']]]]]}}" bindtap="__e" class="data-v-daf6fe3a">获取用户头像昵称等信息</button><view class="data-v-daf6fe3a">头像</view><image src="{{user_img}}" mode class="data-v-daf6fe3a"></image><view class="data-v-daf6fe3a">{{'昵称:'+user_name+''}}</view></view>

+ 4 - 0
unpackage/dist/build/mp-weixin/pages/my/index.wxss

xqd
@@ -0,0 +1,4 @@
+view.data-v-daf6fe3a{box-sizing:border-box}.container.data-v-daf6fe3a{width:100%;height:100%;position:absolute;left:0;bottom:0;padding:0 20px;box-sizing:border-box;display:flex;flex-direction:column;background-color:#fff;border-top-left-radius:10px;border-top-right-radius:10px}.container .title.data-v-daf6fe3a{width:100%;height:12%;font-size:20px;font-weight:700;padding-top:20px}.container .title text.data-v-daf6fe3a:nth-child(2){display:block;font-size:14px;font-weight:400;margin-top:5px}.container .choose-avatar-row.data-v-daf6fe3a,
+.container .choose-nickname-row.data-v-daf6fe3a{width:100%;height:9%;display:flex;justify-content:flex-start;align-items:center;padding:10px 2px;font-size:14px;border-top:1px solid #ccc;border-bottom:1px solid #ccc}.container .choose-avatar-row .avatar-wrapper.data-v-daf6fe3a,
+.container .choose-nickname-row .avatar-wrapper.data-v-daf6fe3a{width:40px;height:40px;margin:0;padding:0;margin-right:10px}.container .choose-avatar-row .avatar-wrapper .avatar.data-v-daf6fe3a,
+.container .choose-nickname-row .avatar-wrapper .avatar.data-v-daf6fe3a{width:100%;height:100%}.container .choose-nickname-row.data-v-daf6fe3a{border-top:none}.container .choose-nickname-row text.data-v-daf6fe3a{width:45px;margin-right:10px}.container .login-row.data-v-daf6fe3a{width:100%;height:30%;padding-top:20px;display:flex}.container .login-row button.data-v-daf6fe3a{font-size:14px;width:30%;height:40px;display:flex;align-items:center;justify-content:center;border-color:transparent;color:#07c160}.container .login-row .inactive.data-v-daf6fe3a{color:#ccc}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/pages/qrPage/index.js


+ 4 - 0
unpackage/dist/build/mp-weixin/pages/qrPage/index.json

xqd
@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "二维码页面",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/qrPage/index.wxml

xqd
@@ -0,0 +1 @@
+<view class="container data-v-3c668c36"><nav-bar vue-id="1feea8ba-1" title="二维码进入的页面" back="{{true}}" color="white" background="green" class="data-v-3c668c36" bind:__l="__l"></nav-bar><button data-event-opts="{{[['tap',[['getAccessToken',['$event']]]]]}}" bindtap="__e" class="data-v-3c668c36">生成AccessToken</button><button data-event-opts="{{[['tap',[['genQr',['$event']]]]]}}" bindtap="__e" class="data-v-3c668c36">生成进入小程序的二维码</button><image src="{{testUrl}}" mode class="data-v-3c668c36"></image></view>

+ 0 - 0
unpackage/dist/build/mp-weixin/pages/qrPage/index.wxss


+ 1 - 0
unpackage/dist/build/mp-weixin/pages/service/index.js

xqd
@@ -0,0 +1 @@
+(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/service/index"],{"050b":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={data:function(){return{}},methods:{}}},"33c5":function(e,n,t){},"40bf":function(e,n,t){"use strict";(function(e,n){var u=t("4ea4");t("2707");u(t("66fd"));var c=u(t("d16f"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(c.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},5363:function(e,n,t){"use strict";var u=t("33c5"),c=t.n(u);c.a},a9ef:function(e,n,t){"use strict";t.r(n);var u=t("050b"),c=t.n(u);for(var f in u)["default"].indexOf(f)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(f);n["default"]=c.a},d16f:function(e,n,t){"use strict";t.r(n);var u=t("e32f"),c=t("a9ef");for(var f in c)["default"].indexOf(f)<0&&function(e){t.d(n,e,(function(){return c[e]}))}(f);t("5363");var a=t("f0c5"),r=Object(a["a"])(c["default"],u["b"],u["c"],!1,null,"27c54dd0",null,!1,u["a"],void 0);n["default"]=r.exports},e32f:function(e,n,t){"use strict";t.d(n,"b",(function(){return u})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){}));var u=function(){var e=this.$createElement;this._self._c},c=[]}},[["40bf","common/runtime","common/vendor"]]]);

+ 4 - 0
unpackage/dist/build/mp-weixin/pages/service/index.json

xqd
@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "售后",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/pages/service/index.wxml

xqd
@@ -0,0 +1 @@
+<view class="container data-v-27c54dd0"><nav-bar vue-id="d0a39cd2-1" title="售后" back="{{false}}" color="white" background="green" class="data-v-27c54dd0" bind:__l="__l"></nav-bar></view>

+ 0 - 0
unpackage/dist/build/mp-weixin/pages/service/index.wxss


+ 30 - 0
unpackage/dist/build/mp-weixin/project.config.json

xqd
@@ -0,0 +1,30 @@
+{
+  "description": "项目配置文件。",
+  "packOptions": {
+    "ignore": [],
+    "include": []
+  },
+  "setting": {
+    "urlCheck": false,
+    "es6": false,
+    "postcss": false,
+    "minified": false,
+    "newFeature": true,
+    "bigPackageSizeSupport": true,
+    "babelSetting": {
+      "ignore": [],
+      "disablePlugins": [],
+      "outputPath": ""
+    },
+    "condition": false
+  },
+  "compileType": "miniprogram",
+  "libVersion": "3.0.1",
+  "appid": "wx98ab2939999e13de",
+  "projectname": "jiancaiPro",
+  "condition": {},
+  "editorSetting": {
+    "tabIndent": "insertSpaces",
+    "tabSize": 2
+  }
+}

+ 7 - 0
unpackage/dist/build/mp-weixin/project.private.config.json

xqd
@@ -0,0 +1,7 @@
+{
+  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
+  "projectname": "mp-weixin",
+  "setting": {
+    "compileHotReLoad": true
+  }
+}

+ 20 - 0
unpackage/dist/build/mp-weixin/static/customicons.css

xqd
@@ -0,0 +1,20 @@
+@font-face {
+  font-family: "customicons"; /* Project id 2878519 */
+  src:url('/static/customicons.ttf') format('truetype');
+}
+
+.customicons {
+  font-family: "customicons" !important;
+}
+
+.youxi:before {
+  content: "\e60e";
+}
+
+.wenjian:before {
+  content: "\e60f";
+}
+
+.zhuanfa:before {
+  content: "\e610";
+}

BIN
unpackage/dist/build/mp-weixin/static/customicons.ttf


BIN
unpackage/dist/build/mp-weixin/static/fonts/iconfont.ttf


BIN
unpackage/dist/build/mp-weixin/static/tabbar/cat.png


BIN
unpackage/dist/build/mp-weixin/static/tabbar/cat_a.png


BIN
unpackage/dist/build/mp-weixin/static/tabbar/index.png


BIN
unpackage/dist/build/mp-weixin/static/tabbar/index_a.png


BIN
unpackage/dist/build/mp-weixin/static/tabbar/my.png


BIN
unpackage/dist/build/mp-weixin/static/tabbar/my_a.png


BIN
unpackage/dist/build/mp-weixin/static/tabbar/service.png


BIN
unpackage/dist/build/mp-weixin/static/tabbar/service_a.png


+ 10 - 0
unpackage/dist/build/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js

xqd
@@ -0,0 +1,10 @@
+(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-icons/components/uni-icons/uni-icons"],{"3f9d":function(n,t,e){"use strict";var i=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=i(e("9ed8")),c={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""}},data:function(){return{icons:u.default.glyphs}},computed:{unicode:function(){var n=this,t=this.icons.find((function(t){return t.font_class===n.type}));return t?unescape("%u".concat(t.unicode)):""},iconSize:function(){return function(n){return"number"===typeof n||/^[0-9]*$/g.test(n)?n+"px":n}(this.size)}},methods:{_onClick:function(){this.$emit("click")}}};t.default=c},5071:function(n,t,e){"use strict";e.r(t);var i=e("3f9d"),u=e.n(i);for(var c in i)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(c);t["default"]=u.a},7790:function(n,t,e){},"99dd":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){}));var i=function(){var n=this.$createElement;this._self._c},u=[]},ccb9:function(n,t,e){"use strict";var i=e("7790"),u=e.n(i);u.a},f70d:function(n,t,e){"use strict";e.r(t);var i=e("99dd"),u=e("5071");for(var c in u)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(c);e("ccb9");var o=e("f0c5"),r=Object(o["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=r.exports}}]);
+;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
+    'uni_modules/uni-icons/components/uni-icons/uni-icons-create-component',
+    {
+        'uni_modules/uni-icons/components/uni-icons/uni-icons-create-component':(function(module, exports, __webpack_require__){
+            __webpack_require__('543d')['createComponent'](__webpack_require__("f70d"))
+        })
+    },
+    [['uni_modules/uni-icons/components/uni-icons/uni-icons-create-component']]
+]);

+ 4 - 0
unpackage/dist/build/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.json

xqd
@@ -0,0 +1,4 @@
+{
+  "component": true,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.wxml

xqd
@@ -0,0 +1 @@
+<text data-event-opts="{{[['tap',[['_onClick',['$event']]]]]}}" class="{{['uni-icons','uniui-'+type,customPrefix,customPrefix?type:'']}}" style="{{'color:'+(color)+';'+('font-size:'+(iconSize)+';')}}" bindtap="__e"></text>

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.wxss


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.js


+ 4 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.json

xqd
@@ -0,0 +1,4 @@
+{
+  "component": true,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.wxml

xqd
@@ -0,0 +1 @@
+<block wx:if="{{$root.m0}}"><text class="{{['u-badge','data-v-361197e0',isDot?'u-badge--dot':'u-badge--not-dot',inverted&&'u-badge--inverted',shape==='horn'&&'u-badge--horn','u-badge--'+type+(inverted?'--inverted':'')]}}" style="{{$root.s0}}">{{isDot?'':showValue}}</text></block>

+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.wxss

xqd
@@ -0,0 +1 @@
+view.data-v-361197e0, scroll-view.data-v-361197e0, swiper-item.data-v-361197e0{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-badge.data-v-361197e0{border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot.data-v-361197e0{height:8px;width:8px}.u-badge--inverted.data-v-361197e0{font-size:13px}.u-badge--not-dot.data-v-361197e0{padding:2px 5px}.u-badge--horn.data-v-361197e0{border-bottom-left-radius:0}.u-badge--primary.data-v-361197e0{background-color:#3c9cff}.u-badge--primary--inverted.data-v-361197e0{color:#3c9cff}.u-badge--error.data-v-361197e0{background-color:#f56c6c}.u-badge--error--inverted.data-v-361197e0{color:#f56c6c}.u-badge--success.data-v-361197e0{background-color:#5ac725}.u-badge--success--inverted.data-v-361197e0{color:#5ac725}.u-badge--info.data-v-361197e0{background-color:#909399}.u-badge--info--inverted.data-v-361197e0{color:#909399}.u-badge--warning.data-v-361197e0{background-color:#f9ae3d}.u-badge--warning--inverted.data-v-361197e0{color:#f9ae3d}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.js


+ 7 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.json

xqd
@@ -0,0 +1,7 @@
+{
+  "usingComponents": {
+    "u-loading-icon": "/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon",
+    "u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon"
+  },
+  "component": true
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.wxml

xqd
@@ -0,0 +1 @@
+<button class="{{['u-button','u-reset-button','data-v-21c3eb91',bemClass]}}" style="{{$root.s0}}" hover-start-time="{{$root.m0}}" hover-stay-time="{{$root.m1}}" form-type="{{formType}}" open-type="{{openType}}" app-parameter="{{appParameter}}" hover-stop-propagation="{{hoverStopPropagation}}" send-message-title="{{sendMessageTitle}}" send-message-path="{{sendMessagePath}}" lang="{{lang}}" data-name="{{dataName}}" session-from="{{sessionFrom}}" send-message-img="{{sendMessageImg}}" show-message-card="{{showMessageCard}}" hover-class="{{!disabled&&!loading?'u-button--active':''}}" data-event-opts="{{[['getphonenumber',[['getphonenumber',['$event']]]],['getuserinfo',[['getuserinfo',['$event']]]],['error',[['error',['$event']]]],['opensetting',[['opensetting',['$event']]]],['launchapp',[['launchapp',['$event']]]],['tap',[['clickHandler',['$event']]]]]}}" bindgetphonenumber="__e" bindgetuserinfo="__e" binderror="__e" bindopensetting="__e" bindlaunchapp="__e" bindtap="__e"><block wx:if="{{loading}}"><u-loading-icon vue-id="522c48bd-1" mode="{{loadingMode}}" size="{{loadingSize*1.15}}" color="{{loadingColor}}" class="data-v-21c3eb91" bind:__l="__l"></u-loading-icon><text class="u-button__loading-text data-v-21c3eb91" style="{{'font-size:'+(textSize+'px')+';'}}">{{loadingText||text}}</text></block><block wx:else><block wx:if="{{icon}}"><u-icon vue-id="522c48bd-2" name="{{icon}}" color="{{iconColorCom}}" size="{{textSize*1.35}}" customStyle="{{({marginRight:'2px'})}}" class="data-v-21c3eb91" bind:__l="__l"></u-icon></block><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><text class="u-button__text data-v-21c3eb91" style="{{'font-size:'+(textSize+'px')+';'}}">{{text}}</text></block></block></button>

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.wxss


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js


+ 4 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.json

xqd
@@ -0,0 +1,4 @@
+{
+  "component": true,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.wxml

xqd
@@ -0,0 +1 @@
+<view data-event-opts="{{[['tap',[['clickHandler',['$event']]]]]}}" class="{{['u-icon','data-v-53601e10','u-icon--'+labelPos]}}" bindtap="__e"><block wx:if="{{isImg}}"><image class="u-icon__img data-v-53601e10" style="{{$root.s0}}" src="{{name}}" mode="{{imgMode}}"></image></block><block wx:else><text class="{{['u-icon__icon','data-v-53601e10',uClasses]}}" style="{{$root.s1}}" hover-class="{{hoverClass}}">{{icon}}</text></block><block wx:if="{{label!==''}}"><text class="u-icon__label data-v-53601e10" style="{{'color:'+(labelColor)+';'+('font-size:'+($root.g0)+';')+('margin-left:'+(labelPos=='right'?$root.g1:0)+';')+('margin-top:'+(labelPos=='bottom'?$root.g2:0)+';')+('margin-right:'+(labelPos=='left'?$root.g3:0)+';')+('margin-bottom:'+(labelPos=='top'?$root.g4:0)+';')}}">{{label}}</text></block></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.wxss

xqd
@@ -0,0 +1 @@
+view.data-v-53601e10, scroll-view.data-v-53601e10, swiper-item.data-v-53601e10{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}@font-face{font-family:uicon-iconfont;src:url(https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf) format("truetype")}.u-icon.data-v-53601e10{display:flex;align-items:center}.u-icon--left.data-v-53601e10{flex-direction:row-reverse;align-items:center}.u-icon--right.data-v-53601e10{flex-direction:row;align-items:center}.u-icon--top.data-v-53601e10{flex-direction:column-reverse;justify-content:center}.u-icon--bottom.data-v-53601e10{flex-direction:column;justify-content:center}.u-icon__icon.data-v-53601e10{font-family:uicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.u-icon__icon--primary.data-v-53601e10{color:#3c9cff}.u-icon__icon--success.data-v-53601e10{color:#5ac725}.u-icon__icon--error.data-v-53601e10{color:#f56c6c}.u-icon__icon--warning.data-v-53601e10{color:#f9ae3d}.u-icon__icon--info.data-v-53601e10{color:#909399}.u-icon__img.data-v-53601e10{height:auto;will-change:transform}.u-icon__label.data-v-53601e10{line-height:1}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.js


+ 4 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.json

xqd
@@ -0,0 +1,4 @@
+{
+  "component": true,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.wxml

xqd
@@ -0,0 +1 @@
+<block wx:if="{{show}}"><view class="{{['u-loading-icon','data-v-10a89718',vertical&&'u-loading-icon--vertical']}}" style="{{$root.s0}}"><block wx:if="{{!webviewHide}}"><view data-ref="ani" class="{{['u-loading-icon__spinner','data-v-10a89718','vue-ref','u-loading-icon__spinner--'+mode]}}" style="{{'color:'+(color)+';'+('width:'+($root.g0)+';')+('height:'+($root.g1)+';')+('border-top-color:'+(color)+';')+('border-bottom-color:'+(otherBorderColor)+';')+('border-left-color:'+(otherBorderColor)+';')+('border-right-color:'+(otherBorderColor)+';')+('animation-duration:'+(duration+'ms')+';')+('animation-timing-function:'+(mode==='semicircle'||mode==='circle'?timingFunction:'')+';')}}"><block wx:if="{{mode==='spinner'}}"><block class="data-v-10a89718"><block wx:for="{{array12}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="u-loading-icon__dot data-v-10a89718"></view></block></block></block></view></block><block wx:if="{{text}}"><text class="u-loading-icon__text data-v-10a89718" style="{{'font-size:'+($root.g2)+';'+('color:'+(textColor)+';')}}">{{text}}</text></block></view></block>

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.wxss


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-sticky/u-sticky.js


+ 4 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-sticky/u-sticky.json

xqd
@@ -0,0 +1,4 @@
+{
+  "usingComponents": {},
+  "component": true
+}

+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-sticky/u-sticky.wxml

xqd
@@ -0,0 +1 @@
+<view class="u-sticky data-v-fd44e92e" style="{{$root.s0}}" id="{{elId}}"><view class="u-sticky__content data-v-fd44e92e" style="{{$root.s1}}"><slot></slot></view></view>

+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-sticky/u-sticky.wxss

xqd
@@ -0,0 +1 @@
+.u-sticky.data-v-fd44e92e{position:-webkit-sticky;position:sticky}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.js


+ 6 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.json

xqd
@@ -0,0 +1,6 @@
+{
+  "usingComponents": {
+    "u-badge": "/uni_modules/uview-ui/components/u-badge/u-badge"
+  },
+  "component": true
+}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.wxml


+ 1 - 0
unpackage/dist/build/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.wxss

xqd
@@ -0,0 +1 @@
+view.data-v-bc26bc76, scroll-view.data-v-bc26bc76, swiper-item.data-v-bc26bc76{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabs__wrapper.data-v-bc26bc76{display:flex;flex-direction:row;align-items:center}.u-tabs__wrapper__scroll-view-wrapper.data-v-bc26bc76{flex:1;overflow:auto hidden}.u-tabs__wrapper__scroll-view.data-v-bc26bc76{display:flex;flex-direction:row;flex:1}.u-tabs__wrapper__nav.data-v-bc26bc76{display:flex;flex-direction:row;position:relative}.u-tabs__wrapper__nav__item.data-v-bc26bc76{padding:0 11px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-tabs__wrapper__nav__item--disabled.data-v-bc26bc76{cursor:not-allowed}.u-tabs__wrapper__nav__item__text.data-v-bc26bc76{font-size:15px;color:#606266}.u-tabs__wrapper__nav__item__text--disabled.data-v-bc26bc76{color:#c8c9cc!important}.u-tabs__wrapper__nav__line.data-v-bc26bc76{height:3px;background:#3c9cff;width:30px;position:absolute;bottom:2px;border-radius:100px;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.3s}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/category/index.js.map


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác