作者 zhangwei

shop

1 { 1 {
2 "pages": [ 2 "pages": [
3 "pages/index/index", 3 "pages/index/index",
  4 + "pages/homeindex/homeindex",
  5 +
4 "pages/kind/detail_1/detail_1", 6 "pages/kind/detail_1/detail_1",
5 7
6 - "pages/homeindex/homeindex", 8 +
7 "pages/kind/kind", 9 "pages/kind/kind",
8 "pages/homeindex/result/result", 10 "pages/homeindex/result/result",
9 "pages/homeindex/search/search", 11 "pages/homeindex/search/search",
@@ -49,7 +49,7 @@ Page({ @@ -49,7 +49,7 @@ Page({
49 console.log(res) 49 console.log(res)
50 that.setData({ 50 that.setData({
51 detailCon: res.data, 51 detailCon: res.data,
52 - content: res.content, 52 + content: res.data.content,
53 now_time: res.data.now_time, 53 now_time: res.data.now_time,
54 }) 54 })
55 WxParse.wxParse('content', 'html', this.data.content, this, 5); 55 WxParse.wxParse('content', 'html', this.data.content, this, 5);
@@ -72,7 +72,7 @@ Page({ @@ -72,7 +72,7 @@ Page({
72 app.post(url, params, header).then((res) => { 72 app.post(url, params, header).then((res) => {
73 console.log(res) 73 console.log(res)
74 that.setData({ 74 that.setData({
75 - assess: res.data.list 75 + assess: res.data
76 }) 76 })
77 }).catch((err) => { 77 }).catch((err) => {
78 console.log(err) 78 console.log(err)
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 <text class='ware_2Txt2'>{{item.origin}}</text> 20 <text class='ware_2Txt2'>{{item.origin}}</text>
21 </view> 21 </view>
22 <view class='ware_3'> 22 <view class='ware_3'>
23 - <progress percent="42" show-info color="#B5DE96" border-radius="8" font-size="24rpx" stroke-width="16rpx" /> 23 + <progress percent="" show-info color="#B5DE96" border-radius="8" font-size="24rpx" stroke-width="16rpx" />
24 </view> 24 </view>
25 <view class='ware_4'> 25 <view class='ware_4'>
26 <text>现有{{item.numb}}份,目标{{item.group}}份</text> 26 <text>现有{{item.numb}}份,目标{{item.group}}份</text>
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 }, 13 },
14 "compileType": "miniprogram", 14 "compileType": "miniprogram",
15 "libVersion": "2.6.1", 15 "libVersion": "2.6.1",
16 - "appid": "wxd577c8d542ca150e", 16 + "appid": "wx9f7abdcb841c8fb1",
17 "projectname": "shop", 17 "projectname": "shop",
18 "debugOptions": { 18 "debugOptions": {
19 "hidedInDevtools": [] 19 "hidedInDevtools": []