yuxingxing 2 роки тому
батько
коміт
7ec2c60d83

+ 14 - 1
mock/index.js

@@ -2,11 +2,24 @@ const Mock = require('better-mock/dist/mock.mp.js')
 const diyRes = require('./json/diy_res.json')
 const navigationRes = require('./json/navigation_res.json')
 const menuRes = require('./json/menu_res.json')
+const home_good_list_res = require('./json/home_good_list_res.json')
+const category_list_res = require('./json/category_list_res.json')
+const products_list_res = require('./json/products_list_res.json')
+const products_detail_res = require('./json/products_detail_res.json')
+
+
 // 模块数据
 Mock.mock('api/mock/diy', diyRes)
 
-
 Mock.mock('api/mock/navigation', navigationRes)
 
 Mock.mock('api/mock/menu', menuRes)
 
+Mock.mock('api/groom/list', home_good_list_res)
+
+Mock.mock('api/mock/getCategoryList', category_list_res)
+
+Mock.mock('api/mock/Productslist', products_list_res)
+
+Mock.mock('api/mock/product/detail', products_detail_res)
+

+ 449 - 0
mock/json/category_list_res.json

@@ -0,0 +1,449 @@
+[
+    {
+      "id": 53,
+      "pid": 0,
+      "cate_name": "官方商城",
+      "pic": "https://demo26.crmeb.net/uploads/attach/2021/11/20211116/824a04a0e24bcb86d13e2a8ddc7d84dd.png",
+      "big_pic": "https://demo26.crmeb.net/uploads/attach/2021/11/20211116/824a04a0e24bcb86d13e2a8ddc7d84dd.png",
+      "children": [
+        {
+          "id": 82,
+          "cate_name": "vans",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2021/11/20211115/bb948cb243c5de122bb16357675a675b.png",
+          "big_pic": ""
+        },
+        {
+          "id": 72,
+          "cate_name": "双星",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2021/11/02/4cd4e20c2bb96d32f0fc9d42e784fbe7.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/26643185e7c4f818da86c50f5c10b4c4.jpg"
+        },
+        {
+          "id": 71,
+          "cate_name": "贵人鸟",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/d98f44760a3249a523482332811bae90.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/d98f44760a3249a523482332811bae90.jpg"
+        },
+        {
+          "id": 70,
+          "cate_name": "回力",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/f466b8bbf8624f65fdab9d015e7d1829.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/f466b8bbf8624f65fdab9d015e7d1829.jpg"
+        },
+        {
+          "id": 69,
+          "cate_name": "鸿星尔克",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/46aeb79196eb813d8d45cd1751281b78.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/46aeb79196eb813d8d45cd1751281b78.jpg"
+        },
+        {
+          "id": 68,
+          "cate_name": "卡帕",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/048efeae2771b83230ea6a3494c5e24f.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/048efeae2771b83230ea6a3494c5e24f.jpg"
+        },
+        {
+          "id": 67,
+          "cate_name": "美津侬",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/5c1df7f18f66a93f96e509a4fef557e1.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/5c1df7f18f66a93f96e509a4fef557e1.jpg"
+        },
+        {
+          "id": 66,
+          "cate_name": "锐步",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/385bc821aed0e9612b5c4f6a12c911b9.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/385bc821aed0e9612b5c4f6a12c911b9.jpg"
+        },
+        {
+          "id": 65,
+          "cate_name": "乔丹",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/1e50cfdfb14a920ff2afed365ee324f4.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/1e50cfdfb14a920ff2afed365ee324f4.jpg"
+        },
+        {
+          "id": 64,
+          "cate_name": "361",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/0c7ca46ee84ef0d54f5096ad3d4966b6.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/0c7ca46ee84ef0d54f5096ad3d4966b6.jpg"
+        },
+        {
+          "id": 63,
+          "cate_name": "特步",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/f4670fd2e386daffa005f7ae9beb1c9a.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/f4670fd2e386daffa005f7ae9beb1c9a.jpg"
+        },
+        {
+          "id": 62,
+          "cate_name": "匹克",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/ba65ba7d76057e26e8db479145db52ae.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/ba65ba7d76057e26e8db479145db52ae.jpg"
+        },
+        {
+          "id": 61,
+          "cate_name": "安踏",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/cf80f09fea958f9e5e5ad8ae817e2145.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/cf80f09fea958f9e5e5ad8ae817e2145.jpg"
+        },
+        {
+          "id": 60,
+          "cate_name": "斐乐",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/7bb39c79ded9fa4bec8d8a277e7f3772.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/7bb39c79ded9fa4bec8d8a277e7f3772.jpg"
+        },
+        {
+          "id": 59,
+          "cate_name": "李宁",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/a14444850285d9d05b4b01c24f0d975a.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/a14444850285d9d05b4b01c24f0d975a.jpg"
+        },
+        {
+          "id": 57,
+          "cate_name": "阿迪达斯",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/9db0d4906fac5f9f766b16c1ce01bdf3.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/9db0d4906fac5f9f766b16c1ce01bdf3.jpg"
+        },
+        {
+          "id": 56,
+          "cate_name": "新百伦",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/09e8d12dc7a3d56eee8306eb34606a07.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/09e8d12dc7a3d56eee8306eb34606a07.jpg"
+        },
+        {
+          "id": 55,
+          "cate_name": "耐克",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/b29c89da80f486fb3fe4be307afe569c.jpg",
+          "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/b29c89da80f486fb3fe4be307afe569c.jpg"
+        },
+        {
+          "id": 54,
+          "cate_name": "新品上市",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/08/20200825/d868c5367cbf6501343364fe2ea452bf.jpg",
+          "big_pic": ""
+        }
+      ]
+    },
+    {
+      "id": 8,
+      "pid": 0,
+      "cate_name": "电子产品",
+      "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce67cb47cf3e.jpg",
+      "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201013/d2a316f8e8dd3b8ba4335c8197fb4ff2.png",
+      "children": [
+        {
+          "id": 36,
+          "cate_name": "电脑",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63dc10cba6.png",
+          "big_pic": ""
+        },
+        {
+          "id": 37,
+          "cate_name": "手机",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63ded4251d.png",
+          "big_pic": ""
+        },
+        {
+          "id": 319,
+          "cate_name": "111",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2022/09/20220930/62cdf726dc5b06e576a5da722a721417.gif",
+          "big_pic": "https://demo26.crmeb.net/uploads/attach/2022/10/20221008/badef9fb35ab6525da208b87ecab2b2a.png"
+        },
+        {
+          "id": 38,
+          "cate_name": "配件耗材",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63e7c819ba.png",
+          "big_pic": ""
+        },
+        {
+          "id": 321,
+          "cate_name": "Ghhbv",
+          "pic": "",
+          "big_pic": ""
+        },
+        {
+          "id": 315,
+          "cate_name": "礼品卡",
+          "pic": "",
+          "big_pic": ""
+        },
+        {
+          "id": 81,
+          "cate_name": "手表配饰",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2021/11/20211115/66ae80de3aa3ca7ad390131cd92dc32b.png",
+          "big_pic": ""
+        }
+      ]
+    },
+    {
+      "id": 1,
+      "pid": 0,
+      "cate_name": "家电",
+      "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce67494ba063.jpg",
+      "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201013/ac3afff89b11579477fec875f215422a.png",
+      "children": [
+        {
+          "id": 10,
+          "cate_name": "生活家电",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce6192f88c26.jpg",
+          "big_pic": "https://demo26.crmeb.net/uploads/attach/2021/11/20211116/20494298146fb2d226fb635bab1f4c8f.jpg"
+        },
+        {
+          "id": 11,
+          "cate_name": "小家电",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce619be8d613.png",
+          "big_pic": ""
+        },
+        {
+          "id": 13,
+          "cate_name": "厨房大电",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61b83b2b66.png",
+          "big_pic": ""
+        },
+        {
+          "id": 14,
+          "cate_name": "卫浴电器",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61bd7708d9.png",
+          "big_pic": ""
+        },
+        {
+          "id": 12,
+          "cate_name": "卫浴清洁",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61a5796050.png",
+          "big_pic": ""
+        },
+        {
+          "id": 215,
+          "cate_name": "小小家电",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2022/02/08/04cc07d6f36ad218a7fd336b0b40eb82.jpg",
+          "big_pic": ""
+        },
+        {
+          "id": 15,
+          "cate_name": "净化污染",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61c3295999.png",
+          "big_pic": ""
+        }
+      ]
+    },
+    {
+      "id": 3,
+      "pid": 0,
+      "cate_name": "家具软装",
+      "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce676b9d1321.jpg",
+      "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201013/9558cf872c5d357db73afc7f2c3b9f77.png",
+      "children": [
+        {
+          "id": 22,
+          "cate_name": "居家家具",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce6208cf3d21.png",
+          "big_pic": ""
+        },
+        {
+          "id": 23,
+          "cate_name": "光源照明",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce620de405bf.png",
+          "big_pic": ""
+        },
+        {
+          "id": 24,
+          "cate_name": "家饰软装",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce62122c5596.png",
+          "big_pic": ""
+        }
+      ]
+    },
+    {
+      "id": 7,
+      "pid": 0,
+      "cate_name": "运动器材",
+      "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce6779d7f2a6.jpg",
+      "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201013/1723f8c48fd0fa34f45947a14fe98111.png",
+      "children": [
+        {
+          "id": 25,
+          "cate_name": "健身体育",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce621a572e3e.png",
+          "big_pic": ""
+        },
+        {
+          "id": 26,
+          "cate_name": "运动服饰",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce621dc41bc0.png",
+          "big_pic": ""
+        },
+        {
+          "id": 27,
+          "cate_name": "户外装备",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce62206f10cb.png",
+          "big_pic": ""
+        },
+        {
+          "id": 44,
+          "cate_name": "车载电器",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce6405a35beb.png",
+          "big_pic": ""
+        },
+        {
+          "id": 43,
+          "cate_name": "骑行配件",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce64016d056a.png",
+          "big_pic": ""
+        },
+        {
+          "id": 28,
+          "cate_name": "出行车品",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce6225beb050.png",
+          "big_pic": ""
+        }
+      ]
+    },
+    {
+      "id": 6,
+      "pid": 0,
+      "cate_name": "美妆个护",
+      "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63b393f1f0.png",
+      "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201013/1e13cf47fd7f0476b204579e9816cf60.png",
+      "children": [
+        {
+          "id": 29,
+          "cate_name": "口腔清洁",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63a3d96929.jpg",
+          "big_pic": ""
+        },
+        {
+          "id": 30,
+          "cate_name": "美妆工具",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63a7f8a15b.png",
+          "big_pic": ""
+        },
+        {
+          "id": 31,
+          "cate_name": "护肤护理",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63afb81671.png",
+          "big_pic": ""
+        },
+        {
+          "id": 32,
+          "cate_name": "彩妆香氛",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63b393f1f0.png",
+          "big_pic": ""
+        },
+        {
+          "id": 79,
+          "cate_name": "包包",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2021/11/20211113/747a6efc7df9fc45859de767c412114a.png",
+          "big_pic": ""
+        },
+        {
+          "id": 45,
+          "cate_name": "按摩器械",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce640f3094e9.png",
+          "big_pic": ""
+        }
+      ]
+    },
+    {
+      "id": 4,
+      "pid": 0,
+      "cate_name": "居家餐厨",
+      "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce67625a7b91.jpg",
+      "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201013/ac3afff89b11579477fec875f215422a.png",
+      "children": [
+        {
+          "id": 33,
+          "cate_name": "床品件套",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63bf08f630.png",
+          "big_pic": ""
+        },
+        {
+          "id": 34,
+          "cate_name": "家饰摆件",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63c2f1bd05.png",
+          "big_pic": ""
+        },
+        {
+          "id": 35,
+          "cate_name": "餐厨锅具",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce63c6d6ddc1.png",
+          "big_pic": ""
+        }
+      ]
+    },
+    {
+      "id": 2,
+      "pid": 0,
+      "cate_name": "电视影音",
+      "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61ec2a0491.png",
+      "big_pic": "http://demo26.crmeb.net/uploads/attach/2020/10/20201013/f1223c0a864ea44322f5a934deb723b4.png",
+      "children": [
+        {
+          "id": 19,
+          "cate_name": "电视",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61ec2a0491.png",
+          "big_pic": ""
+        },
+        {
+          "id": 16,
+          "cate_name": "投影",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61e0d501d4.png",
+          "big_pic": ""
+        },
+        {
+          "id": 17,
+          "cate_name": "音箱",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61e50d5101.png",
+          "big_pic": ""
+        },
+        {
+          "id": 18,
+          "cate_name": "耳机",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2021/11/20211115/99c9c827afe1ee0da760f34684a90fbd.png",
+          "big_pic": ""
+        },
+        {
+          "id": 20,
+          "cate_name": "麦克风",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61f0549a18.png",
+          "big_pic": ""
+        },
+        {
+          "id": 21,
+          "cate_name": "影音周边",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2019/05/23/5ce61f3584517.png",
+          "big_pic": ""
+        }
+      ]
+    },
+    {
+      "id": 49,
+      "pid": 0,
+      "cate_name": "时尚服装",
+      "pic": "http://demo26.crmeb.net/uploads/attach/2020/08/20200818/360203f5ff8b9bcf1032d087cd0297e6.png",
+      "big_pic": "https://demo26.crmeb.net/uploads/attach/2022/01/20220126/ac2cc382a08c8f25610998f1c48a8cad.png",
+      "children": [
+        {
+          "id": 96,
+          "cate_name": "时尚服装",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2021/12/20211210/e0ccd5a9103909277f328747b40c5ccf.jpg",
+          "big_pic": "https://demo26.crmeb.net/uploads/attach/2021/12/20211210/97800f14d4241e6c6c29509e7c729780.jpg"
+        },
+        {
+          "id": 83,
+          "cate_name": "帽子",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2021/11/20211116/86e815992a8f9b1246c0b643a2983793.png",
+          "big_pic": ""
+        },
+        {
+          "id": 77,
+          "cate_name": "上衣",
+          "pic": "https://demo26.crmeb.net/uploads/attach/2021/09/03/c4d09ac13d579f5860ced44f8fb86c69.jpg",
+          "big_pic": ""
+        },
+        {
+          "id": 50,
+          "cate_name": "大衣",
+          "pic": "http://demo26.crmeb.net/uploads/attach/2020/08/20200818/26e3bd824ad0755e4aec88370d79fea2.jpg",
+          "big_pic": ""
+        }
+      ]
+    }
+  ]

+ 529 - 0
mock/json/home_good_list_res.json

@@ -0,0 +1,529 @@
+{
+    "banner": [
+      {
+        "id": 1179,
+        "img": "https://demo26.crmeb.net/uploads/attach/2022/09/20220930/d429c20fef2c26248e1b2b46fd14f650.png",
+        "comment": "1",
+        "link": "/pages/index/index"
+      }
+    ],
+    "list": [
+      {
+        "id": 119,
+        "image": "https://demo26.crmeb.net/uploads/attach/2021/12/10/mid_738c68638ab29effeff2e98365ec6dd6.jpg",
+        "store_name": "微星(MSI)GK50Z 机械键盘 红轴 RGB光效 有线 游戏电竞办公键盘 104键 吃鸡键盘 黑色",
+        "store_info": "ceshi123",
+        "cate_id": "38",
+        "price": "0.01",
+        "ot_price": "199.00",
+        "sales": "133",
+        "unit_name": "件",
+        "sort": 999,
+        "activity": [],
+        "stock": 24857,
+        "vip_price": 0,
+        "is_vip": 0,
+        "couponId": [
+          {
+            "id": 23,
+            "product_id": 119,
+            "issue_coupon_id": 218,
+            "title": "",
+            "add_time": 1664522680
+          }
+        ],
+        "star": [
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 2,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 3,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 3,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 4,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 2,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          },
+          {
+            "product_score": 5,
+            "product_id": 119
+          }
+        ],
+        "checkCoupon": false
+      },
+      {
+        "id": 88,
+        "image": "https://demo26.crmeb.net/uploads/attach/2022/01/20220128/mid_e2fd950c316c7ded99baa5772e5488eb.png",
+        "store_name": "诺米家居 矿石博览馆系列藤条香氛无火香薰精油卧室助眠除臭 纯洁100ml",
+        "store_info": "",
+        "cate_id": "39,32",
+        "price": "55.00",
+        "ot_price": "59.00",
+        "sales": "171",
+        "unit_name": "瓶",
+        "sort": 998,
+        "activity": [],
+        "stock": 177,
+        "vip_price": "54.00",
+        "is_vip": 1,
+        "couponId": [],
+        "star": [
+          {
+            "product_score": 5,
+            "product_id": 88
+          },
+          {
+            "product_score": 4,
+            "product_id": 88
+          },
+          {
+            "product_score": 5,
+            "product_id": 88
+          },
+          {
+            "product_score": 3,
+            "product_id": 88
+          },
+          {
+            "product_score": 5,
+            "product_id": 88
+          },
+          {
+            "product_score": 5,
+            "product_id": 88
+          },
+          {
+            "product_score": 5,
+            "product_id": 88
+          },
+          {
+            "product_score": 3,
+            "product_id": 88
+          },
+          {
+            "product_score": 5,
+            "product_id": 88
+          },
+          {
+            "product_score": 5,
+            "product_id": 88
+          },
+          {
+            "product_score": 5,
+            "product_id": 88
+          },
+          {
+            "product_score": 2,
+            "product_id": 88
+          },
+          {
+            "product_score": 4,
+            "product_id": 88
+          },
+          {
+            "product_score": 5,
+            "product_id": 88
+          }
+        ],
+        "checkCoupon": false
+      },
+      {
+        "id": 96,
+        "image": "//img.alicdn.com/imgextra/i4/2200771672907/O1CN01eQniQj1XLS3UAwrPV_!!2200771672907.jpg",
+        "store_name": "MIUCHO可爱卡通学生通勤手提电脑包13.3寸14寸女适用苹果联想小米",
+        "store_info": "",
+        "cate_id": "36,38",
+        "price": "99.00",
+        "ot_price": "185.00",
+        "sales": "35",
+        "unit_name": "件",
+        "sort": 102,
+        "activity": [],
+        "stock": 577,
+        "vip_price": "85.00",
+        "is_vip": 1,
+        "couponId": [],
+        "star": [
+          {
+            "product_score": 5,
+            "product_id": 96
+          },
+          {
+            "product_score": 5,
+            "product_id": 96
+          },
+          {
+            "product_score": 5,
+            "product_id": 96
+          }
+        ],
+        "checkCoupon": false
+      },
+      {
+        "id": 95,
+        "image": "https://demo26.crmeb.net/uploads/attach/2021/11/20211113/mid_3da27c9e0f57d6dbfd235e1ddfd7eb5a.png",
+        "store_name": "陈以二原创油画棒手机壳 | 芥末奶油天空 透明边硅胶软壳iphone13",
+        "store_info": "",
+        "cate_id": "37,38",
+        "price": "249.00",
+        "ot_price": "200.00",
+        "sales": "18",
+        "unit_name": "件",
+        "sort": 101,
+        "activity": [],
+        "stock": 753,
+        "vip_price": 0,
+        "is_vip": 0,
+        "couponId": [],
+        "star": [
+          {
+            "product_score": 5,
+            "product_id": 95
+          },
+          {
+            "product_score": 5,
+            "product_id": 95
+          }
+        ],
+        "checkCoupon": false
+      },
+      {
+        "id": 97,
+        "image": "https://demo26.crmeb.net/uploads/attach/2021/11/20211113/mid_0d407b8541efd8c8f87e5ac581d1421c.png",
+        "store_name": "仟佰家 干花花束真花手工落地高枝装饰摆件招财莲蓬插花居客厅摆设 干花组合6025【不含花瓶】 干花包",
+        "store_info": "仟佰家 干花花束真花手工落地高枝装饰摆件招财莲蓬插花居客厅摆设 干花组合6025【不含花瓶】 干花包",
+        "cate_id": "22,24",
+        "price": "306.00",
+        "ot_price": "299.00",
+        "sales": "2",
+        "unit_name": "件",
+        "sort": 100,
+        "activity": [],
+        "stock": 12384,
+        "vip_price": 0,
+        "is_vip": 0,
+        "couponId": [],
+        "star": [],
+        "checkCoupon": false
+      },
+      {
+        "id": 62,
+        "image": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/9508488b156bddb7af17b02fefe4bc8f.jpg",
+        "store_name": "美的(Midea)吸尘器V1手持吸尘器家用除螨无线",
+        "store_info": "美的手持吸尘器 家用除螨无线",
+        "cate_id": "10,11,12,15",
+        "price": "999.00",
+        "ot_price": "1299.00",
+        "sales": "162",
+        "unit_name": "件",
+        "sort": 0,
+        "activity": [],
+        "stock": 331,
+        "vip_price": 0,
+        "is_vip": 0,
+        "couponId": [],
+        "star": [],
+        "checkCoupon": true
+      },
+      {
+        "id": 51,
+        "image": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/118bccc3d5499881dd7178c43ebb9346.jpg",
+        "store_name": "极度空间 中秋贺卡 生日卡片 创意3D明信片感恩卡*10",
+        "store_info": "极度空间 中秋贺卡 生日卡片 创意3D明信片感恩卡*10",
+        "cate_id": "40,34",
+        "price": "100.00",
+        "ot_price": "1000.00",
+        "sales": "39",
+        "unit_name": "件",
+        "sort": 0,
+        "activity": [],
+        "stock": 761,
+        "vip_price": 0,
+        "is_vip": 0,
+        "couponId": [],
+        "star": [
+          {
+            "product_score": 5,
+            "product_id": 51
+          }
+        ],
+        "checkCoupon": true
+      },
+      {
+        "id": 45,
+        "image": "http://demo26.crmeb.net/uploads/attach/2020/10/20201014/1bfcaad092adb917739ec681f55fb255.jpg",
+        "store_name": "Adidas阿迪达斯男装 2020秋季新款运动服户外跑步训练健身透气舒适时尚休闲夹克外套GD5462 GD5462 L",
+        "store_info": "Adidas阿迪达斯男装 2020秋季新款运动服户外跑步训练健身透气舒适时尚休闲夹克外套GD5462 GD5462 L",
+        "cate_id": "26,27,50,54",
+        "price": "200.00",
+        "ot_price": "500.00",
+        "sales": "11",
+        "unit_name": "件",
+        "sort": 0,
+        "activity": [],
+        "stock": 4984,
+        "vip_price": "120.00",
+        "is_vip": 1,
+        "couponId": [],
+        "star": [
+          {
+            "product_score": 5,
+            "product_id": 45
+          },
+          {
+            "product_score": 5,
+            "product_id": 45
+          },
+          {
+            "product_score": 2,
+            "product_id": 45
+          }
+        ],
+        "checkCoupon": false
+      },
+      {
+        "id": 41,
+        "image": "http://demo26.crmeb.net/uploads/attach/2020/10/13/a23b5bc300cc6a965082368f8c657b3d.jpg",
+        "store_name": "华为智选摄像头智能家居监控器无线高清网络摄像头家用全景智能摄像机1080P夜间清晰人像AI智能看护",
+        "store_info": "华为智选摄像头智能家居监控器无线高清网络摄像头家用全景智能摄像机1080P夜间清晰人像AI智能看护",
+        "cate_id": "11,21",
+        "price": "500.00",
+        "ot_price": "1000.00",
+        "sales": "92",
+        "unit_name": "件",
+        "sort": 0,
+        "activity": [],
+        "stock": 1983,
+        "vip_price": 0,
+        "is_vip": 0,
+        "couponId": [],
+        "star": [],
+        "checkCoupon": false
+      }
+    ]
+  }

Різницю між файлами не показано, бо вона завелика
+ 2832 - 0
mock/json/products_detail_res.json


Різницю між файлами не показано, бо вона завелика
+ 68 - 0
mock/json/products_list_res.json


+ 3 - 3
pages/annex/special/index.vue

@@ -344,9 +344,9 @@
 			getTempIds() {
 				let messageTmplIds = wx.getStorageSync(SUBSCRIBE_MESSAGE);
 				if (!messageTmplIds) {
-					getTempIds().then(res => {
-						if (res.data) wx.setStorageSync(SUBSCRIBE_MESSAGE, JSON.stringify(res.data));
-					});
+					// getTempIds().then(res => {
+					// 	if (res.data) wx.setStorageSync(SUBSCRIBE_MESSAGE, JSON.stringify(res.data));
+					// });
 				}
 			},
 			// #endif

+ 28 - 14
pages/goods/goods_list/index.vue

@@ -214,20 +214,34 @@
 				if (isPage === true) that.$set(that, 'productList', []);
 				that.loading = true;
 				that.loadTitle = '';
-				getProductslist(that.where).then(res => {
-					let list = res.data;
-					let productList = that.$util.SplitArray(list, that.productList);
-					let loadend = list.length < that.where.limit;
-					that.loadend = loadend;
-					that.loading = false;
-					that.loadTitle = loadend ? that.$t(`没有更多内容啦~`) : that.$t(`加载更多`);
-					that.$set(that, 'productList', productList);
-					that.$set(that.where, 'page', that.where.page + 1);
-					if (!that.productList.length) this.get_host_product();
-				}).catch(err => {
-					that.loading = false;
-					that.loadTitle = that.$t(`加载更多`);
-				});
+				uni.request({
+					url:'api/mock/Productslist',
+					success:res=>{
+						let list = res.data;
+						let productList = that.$util.SplitArray(list, that.productList);
+						let loadend = list.length < that.where.limit;
+						that.loadend = loadend;
+						that.loading = false;
+						that.loadTitle = loadend ? that.$t(`没有更多内容啦~`) : that.$t(`加载更多`);
+						that.$set(that, 'productList', productList);
+						that.$set(that.where, 'page', that.where.page + 1);
+						if (!that.productList.length) this.get_host_product();
+						}
+				})
+				// getProductslist(that.where).then(res => {
+				// 	let list = res.data;
+				// 	let productList = that.$util.SplitArray(list, that.productList);
+				// 	let loadend = list.length < that.where.limit;
+				// 	that.loadend = loadend;
+				// 	that.loading = false;
+				// 	that.loadTitle = loadend ? that.$t(`没有更多内容啦~`) : that.$t(`加载更多`);
+				// 	that.$set(that, 'productList', productList);
+				// 	that.$set(that.where, 'page', that.where.page + 1);
+				// 	if (!that.productList.length) this.get_host_product();
+				// }).catch(err => {
+				// 	that.loading = false;
+				// 	that.loadTitle = that.$t(`加载更多`);
+				// });
 			},
 		},
 		onPullDownRefresh() {

+ 7 - 2
pages/goods_cate/goods_cate.vue

@@ -58,7 +58,12 @@
 				}
 			},
 			classStyle() {
-				colorChange('category').then(res => {
+				let res = {
+					data:{
+						status: 1
+					}
+				}
+				// colorChange('category').then(res => {
 					let status = res.data.status;
 					this.status = res.data.status
 					this.category = status
@@ -85,7 +90,7 @@
 							this.$refs.classOne.getNav();
 						}
 					}
-				})
+				// })
 			}
 		},
 		onReachBottom: function() {

+ 12 - 3
pages/goods_cate/goods_cate1.vue

@@ -205,12 +205,21 @@
 			},
 			getAllCategory: function() {
 				let that = this;
-				getCategoryList().then(res => {
-					that.productList = res.data;
-					that.$nextTick(res => {
+				uni.request({
+					url:'api/mock/getCategoryList',
+					success:res=>{
+						that.productList = res.data;
+						that.$nextTick(res => {
 						that.infoScroll();
 					})
+					}
 				})
+				// getCategoryList().then(res => {
+				// 	that.productList = res.data;
+				// 	that.$nextTick(res => {
+				// 		that.infoScroll();
+				// 	})
+				// })
 			},
 			scroll: function(e) {
 				let scrollTop = e.detail.scrollTop;

+ 130 - 14
pages/goods_details/index.vue

@@ -700,7 +700,7 @@
 		onShareAppMessage: function() {
 			let that = this;
 			that.$set(that, "actionSheetHidden", !that.actionSheetHidden);
-			userShare();
+			// userShare();
 			return {
 				title: that.storeInfo.store_name || "",
 				imageUrl: that.storeInfo.image || "",
@@ -1017,9 +1017,10 @@
 			 */
 			getGoodsDetails: function() {
 				let that = this;
-				getProductDetail(that.id)
-					.then((res) => {
-						let storeInfo = res.data.storeInfo;
+				uni.request({
+					url:'api/mock/product/detail',
+					success:res=>{
+					let storeInfo = res.data.storeInfo;
 						let good_list = res.data.good_list || [];
 						let count = Math.ceil(good_list.length / 6);
 						let goodArray = new Array();
@@ -1130,16 +1131,131 @@
 						setTimeout(() => {
 							this.showSkeleton = false;
 						}, 100);
-					})
-					.catch((err) => {
-						//状态异常返回上级页面
-						return that.$util.Tips({
-							title: err.toString(),
-						}, {
-							tab: 3,
-							url: 1,
-						});
-					});
+					}
+				})
+				// getProductDetail(that.id)
+				// 	.then((res) => {
+				// 		let storeInfo = res.data.storeInfo;
+				// 		let good_list = res.data.good_list || [];
+				// 		let count = Math.ceil(good_list.length / 6);
+				// 		let goodArray = new Array();
+				// 		for (let i = 0; i < count; i++) {
+				// 			let list = good_list.slice(i * 6, i * 6 + 6);
+				// 			if (list.length)
+				// 				goodArray.push({
+				// 					list: list,
+				// 				});
+				// 		}
+				// 		that.$set(that, "storeInfo", storeInfo);
+				// 		that.$set(that, "description", storeInfo.description);
+				// 		if (this.description) {
+				// 			this.description = this.description.replace(
+				// 				/<img/gi,
+				// 				'<img style="max-width:100%;height:auto;float:left;display:block" '
+				// 			);
+				// 			this.description = this.description.replace(
+				// 				/<video/gi,
+				// 				'<video style="width:100%;height:300px;display:block" '
+				// 			);
+
+				// 		}
+				// 		that.$set(that, 'presale_pay_status', res.data.storeInfo
+				// 			.presale_pay_status); // 1未开始; 2进行中; 3已结束
+				// 		that.$set(that, "reply", res.data.reply ? [res.data.reply] : []);
+				// 		that.$set(that, "replyCount", res.data.replyCount);
+				// 		that.$set(that, "replyChance", res.data.replyChance);
+				// 		that.$set(that.attr, "productAttr", res.data.productAttr);
+				// 		that.$set(that, "productValue", res.data.productValue);
+				// 		that.$set(that, "is_vip", res.data.storeInfo.is_vip);
+				// 		that.$set(that.sharePacket, "priceName", res.data.priceName);
+				// 		that.$set(
+				// 			that.sharePacket,
+				// 			"isState",
+				// 			res.data.priceName != 0 ? true : false
+				// 		);
+				// 		that.$set(that, "systemStore", res.data.system_store);
+				// 		that.$set(that, "storeSelfMention", res.data.store_self_mention);
+				// 		that.$set(that, "good_list", goodArray);
+				// 		// that.$set(that, "PromotionCode", storeInfo.code_base);
+				// 		that.$set(
+				// 			that,
+				// 			"activity",
+				// 			res.data.activity ? res.data.activity : []
+				// 		);
+				// 		that.$set(that, "couponList", res.data.coupons);
+				// 		that.$set(
+				// 			that,
+				// 			"routineContact",
+				// 			Number(res.data.routine_contact_type)
+				// 		);
+				// 		uni.setNavigationBarTitle({
+				// 			title: storeInfo.store_name.substring(0, 7) + "...",
+				// 		});
+				// 		for (let key in res.data.productValue) {
+				// 			let obj = res.data.productValue[key];
+				// 			that.skuArr.push(obj);
+				// 		}
+				// 		this.$set(this, "selectSku", that.skuArr[0]);
+				// 		that.$set(
+				// 			that,
+				// 			"diff",
+				// 			that.$util.$h.Sub(storeInfo.price, storeInfo.vip_price)
+				// 		);
+				// 		var navList = [that.$t(`商品`), that.$t(`详情`)];
+				// 		if (res.data.replyCount) {
+				// 			navList.splice(1, 0, that.$t(`评价`));
+				// 		}
+				// 		// if (goodArray.length) {
+				// 		// 	navList.splice(-1, 0, '推荐');
+				// 		// }
+				// 		that.$set(that, "navList", navList);
+				// 		that.$set(that, "storeImage", that.storeInfo.image);
+				// 		that.$set(that, "svip_price_open", res.data.svip_price_open);
+				// 		// #ifdef H5
+				// 		if (that.isLogin) {
+				// 			that.ShareInfo();
+				// 		}
+				// 		// #endif
+				// 		if (that.isLogin) {
+				// 			that.getUserInfo();
+				// 		}
+				// 		// #ifdef H5 || APP-PLUS
+				// 		this.getImageBase64();
+				// 		// #endif
+				// 		this.$nextTick(() => {
+				// 			if (good_list.length) {
+				// 				// #ifndef APP-PLUS
+				// 				that.setClientHeight();
+				// 				// #endif
+				// 				// #ifdef APP-PLUS
+
+				// 				setTimeout(() => {
+				// 					that.setClientHeight();
+				// 				}, 1000);
+				// 				// #endif
+				// 			}
+				// 		});
+				// 		setTimeout(function() {
+				// 			that.infoScroll();
+				// 		}, 500);
+				// 		// #ifndef H5
+				// 		that.downloadFilestoreImage();
+				// 		// #endif
+				// 		that.DefaultSelect();
+				// 		that.getCartCount();
+				// 		setTimeout(() => {
+				// 			this.showSkeleton = false;
+				// 		}, 100);
+				// 	})
+				// 	.catch((err) => {
+				// 		//状态异常返回上级页面
+				// 		return that.$util.Tips({
+				// 			title: err.toString(),
+				// 		}, {
+				// 			tab: 3,
+				// 			url: 1,
+				// 		});
+				// 	});
 			},
 			infoScroll: function() {
 				var that = this,

+ 34 - 19
pages/index/diy/index.vue

@@ -501,9 +501,9 @@ export default {
 			})
 			this.diyData();
 			this.getIndexData();
-			getShare().then(res => {
-				this.shareInfo = res.data;
-			});
+			// getShare().then(res => {
+			// 	this.shareInfo = res.data;
+			// });
 		},
 		goICP() {
 			// #ifdef H5
@@ -686,9 +686,9 @@ export default {
 		getTempIds() {
 			let messageTmplIds = wx.getStorageSync(SUBSCRIBE_MESSAGE);
 			if (!messageTmplIds) {
-				getTempIds().then(res => {
-					if (res.data) wx.setStorageSync(SUBSCRIBE_MESSAGE, JSON.stringify(res.data));
-				});
+				// getTempIds().then(res => {
+				// 	if (res.data) wx.setStorageSync(SUBSCRIBE_MESSAGE, JSON.stringify(res.data));
+				// });
 			}
 		},
 		// #endif
@@ -806,16 +806,12 @@ export default {
 			if (onloadH) {
 				that.$set(that, 'iSshowH', true);
 			}
-			getGroomList(type, {
-				page: that.page,
-				limit: this.numConfig
-			})
-				.then(({
-					data
-				}) => {
+			uni.request({
+				url:'api/groom/list',
+				success:res=>{
 					that.$set(that, 'iSshowH', false);
 					let maxPage = Math.ceil(this.numConfig / this.limit);
-					let list = data.list,
+					let list = res.data.list,
 						loadend = list.length < that.limit || that.page >= maxPage;
 					let tempArr = that.$util.SplitArray(list, that.tempArr);
 					that.$set(that, 'tempArr', tempArr.slice(0, this.numConfig));
@@ -823,11 +819,30 @@ export default {
 					that.loadTitle = loadend ? that.$t(`没有更多内容啦~`) : that.$t(`加载更多`);
 					that.page = that.page + 1;
 					that.loading = false;
-				})
-				.catch(res => {
-					that.loading = false;
-					that.loadTitle = that.$t(`加载更多`);
-				});
+				}
+			})
+			// getGroomList(type, {
+			// 	page: that.page,
+			// 	limit: this.numConfig
+			// })
+			// 	.then(({
+			// 		data
+			// 	}) => {
+			// 		that.$set(that, 'iSshowH', false);
+			// 		let maxPage = Math.ceil(this.numConfig / this.limit);
+			// 		let list = data.list,
+			// 			loadend = list.length < that.limit || that.page >= maxPage;
+			// 		let tempArr = that.$util.SplitArray(list, that.tempArr);
+			// 		that.$set(that, 'tempArr', tempArr.slice(0, this.numConfig));
+			// 		that.loadend = loadend;
+			// 		that.loadTitle = loadend ? that.$t(`没有更多内容啦~`) : that.$t(`加载更多`);
+			// 		that.page = that.page + 1;
+			// 		that.loading = false;
+			// 	})
+			// 	.catch(res => {
+			// 		that.loading = false;
+			// 		that.loadTitle = that.$t(`加载更多`);
+			// 	});
 		},
 		goRouter(item) {
 			var pages = getCurrentPages();

+ 25 - 25
pages/index/index.vue

@@ -30,31 +30,31 @@
 			// 微信分享;
 			setOpenShare: function() {
 				let that = this;
-				getShare().then((res) => {
-					let data = res.data;
-					this.shareInfo = data;
-					// #ifdef H5
-					let url = location.href;
-					if (this.$store.state.app.uid) {
-						url =
-							url.indexOf("?") === -1 ?
-							url + "?spread=" + this.$store.state.app.uid :
-							url + "&spread=" + this.$store.state.app.uid;
-					}
-					if (that.$wechat.isWeixin()) {
-						let configAppMessage = {
-							desc: data.synopsis,
-							title: data.title,
-							link: url,
-							imgUrl: data.img,
-						};
-						that.$wechat.wechatEvevt(
-							["updateAppMessageShareData", "updateTimelineShareData"],
-							configAppMessage
-						);
-					}
-					// #endif
-				});
+				// getShare().then((res) => {
+				// 	let data = res.data;
+				// 	this.shareInfo = data;
+				// 	// #ifdef H5
+				// 	let url = location.href;
+				// 	if (this.$store.state.app.uid) {
+				// 		url =
+				// 			url.indexOf("?") === -1 ?
+				// 			url + "?spread=" + this.$store.state.app.uid :
+				// 			url + "&spread=" + this.$store.state.app.uid;
+				// 	}
+				// 	if (that.$wechat.isWeixin()) {
+				// 		let configAppMessage = {
+				// 			desc: data.synopsis,
+				// 			title: data.title,
+				// 			link: url,
+				// 			imgUrl: data.img,
+				// 		};
+				// 		that.$wechat.wechatEvevt(
+				// 			["updateAppMessageShareData", "updateTimelineShareData"],
+				// 			configAppMessage
+				// 		);
+				// 	}
+				// 	// #endif
+				// });
 			},
 		},
 		onReachBottom: function() {

Деякі файли не було показано, через те що забагато файлів було змінено