作者 赵毅

物流信息修改

@@ -50,6 +50,7 @@ App({ @@ -50,6 +50,7 @@ App({
50 if (entrance_type == '1' || url == '/getopenid/get' || url.indexOf('address') > -1 || url.indexOf('/wb/wb')>-1) { 50 if (entrance_type == '1' || url == '/getopenid/get' || url.indexOf('address') > -1 || url.indexOf('/wb/wb')>-1) {
51 //劳保商城入口 51 //劳保商城入口
52 baseUrl = 'https://binhai.w.broing.cn/api'; 52 baseUrl = 'https://binhai.w.broing.cn/api';
  53 + // baseUrl = 'http://bhng.cn/api'
53 } else if (entrance_type == '2') { 54 } else if (entrance_type == '2') {
54 //工会商城入口 55 //工会商城入口
55 baseUrl = 'https://binhaigh.w.broing.cn/api'; 56 baseUrl = 'https://binhaigh.w.broing.cn/api';
@@ -45,7 +45,11 @@ Page({ @@ -45,7 +45,11 @@ Page({
45 }, 45 },
46 lookMoreInfo(e){ 46 lookMoreInfo(e){
47 let index = e.currentTarget.dataset.index; 47 let index = e.currentTarget.dataset.index;
48 - this.info[index].open = !this.info[index].open; 48 + console.log(this.data.info[index]);
  49 + if( this.data.info[index] == undefined){
  50 + this.data.info[index].open=false;
  51 + }
  52 + this.data.info[index].open = !this.data.info[index].open;
49 this.setData({ 53 this.setData({
50 info: this.data.info 54 info: this.data.info
51 }) 55 })
1 { 1 {
2 - "description": "项目配置文件",  
3 - "packOptions": {  
4 - "ignore": [] 2 + "description": "项目配置文件",
  3 + "packOptions": {
  4 + "ignore": []
  5 + },
  6 + "setting": {
  7 + "urlCheck": false,
  8 + "es6": true,
  9 + "enhance": false,
  10 + "postcss": true,
  11 + "preloadBackgroundData": false,
  12 + "minified": true,
  13 + "newFeature": false,
  14 + "coverView": true,
  15 + "nodeModules": false,
  16 + "autoAudits": false,
  17 + "showShadowRootInWxmlPanel": true,
  18 + "scopeDataCheck": false,
  19 + "uglifyFileName": false,
  20 + "checkInvalidKey": true,
  21 + "checkSiteMap": true,
  22 + "uploadWithSourceMap": true,
  23 + "compileHotReLoad": true,
  24 + "lazyloadPlaceholderEnable": false,
  25 + "useMultiFrameRuntime": true,
  26 + "useApiHook": true,
  27 + "useApiHostProcess": true,
  28 + "babelSetting": {
  29 + "ignore": [],
  30 + "disablePlugins": [],
  31 + "outputPath": ""
5 }, 32 },
6 - "setting": {  
7 - "urlCheck": true,  
8 - "es6": true,  
9 - "enhance": false,  
10 - "postcss": true,  
11 - "preloadBackgroundData": false,  
12 - "minified": true,  
13 - "newFeature": false,  
14 - "coverView": true,  
15 - "nodeModules": false,  
16 - "autoAudits": false,  
17 - "showShadowRootInWxmlPanel": true,  
18 - "scopeDataCheck": false,  
19 - "uglifyFileName": false,  
20 - "checkInvalidKey": true,  
21 - "checkSiteMap": true,  
22 - "uploadWithSourceMap": true,  
23 - "compileHotReLoad": true,  
24 - "lazyloadPlaceholderEnable": false,  
25 - "useMultiFrameRuntime": false,  
26 - "useApiHook": false,  
27 - "useApiHostProcess": false,  
28 - "babelSetting": {  
29 - "ignore": [],  
30 - "disablePlugins": [],  
31 - "outputPath": ""  
32 - },  
33 - "useIsolateContext": false,  
34 - "userConfirmedBundleSwitch": false,  
35 - "packNpmManually": false,  
36 - "packNpmRelationList": [],  
37 - "minifyWXSS": true,  
38 - "disableUseStrict": false,  
39 - "minifyWXML": true,  
40 - "showES6CompileOption": false,  
41 - "useCompilerPlugins": false,  
42 - "ignoreUploadUnusedFiles": true 33 + "useIsolateContext": false,
  34 + "userConfirmedBundleSwitch": false,
  35 + "packNpmManually": false,
  36 + "packNpmRelationList": [],
  37 + "minifyWXSS": true,
  38 + "disableUseStrict": false,
  39 + "minifyWXML": true,
  40 + "showES6CompileOption": false,
  41 + "useCompilerPlugins": false,
  42 + "ignoreUploadUnusedFiles": true
  43 + },
  44 + "compileType": "miniprogram",
  45 + "libVersion": "2.22.0",
  46 + "appid": "wx73497072e7340d61",
  47 + "projectname": "binhaineigouopen",
  48 + "debugOptions": {
  49 + "hidedInDevtools": []
  50 + },
  51 + "isGameTourist": false,
  52 + "simulatorType": "wechat",
  53 + "simulatorPluginLibVersion": {},
  54 + "condition": {
  55 + "plugin": {
  56 + "list": []
43 }, 57 },
44 - "compileType": "miniprogram",  
45 - "libVersion": "2.22.0",  
46 - "appid": "wx73497072e7340d61",  
47 - "projectname": "binhaineigouopen",  
48 - "debugOptions": {  
49 - "hidedInDevtools": [] 58 + "game": {
  59 + "list": []
50 }, 60 },
51 - "isGameTourist": false,  
52 - "simulatorType": "wechat",  
53 - "simulatorPluginLibVersion": {},  
54 - "condition": {  
55 - "plugin": {  
56 - "list": []  
57 - },  
58 - "game": {  
59 - "list": []  
60 - },  
61 - "gamePlugin": {  
62 - "list": []  
63 - },  
64 - "miniprogram": {  
65 - "list": [  
66 - {  
67 - "id": 0,  
68 - "name": "123",  
69 - "pathName": "pages/login/login",  
70 - "query": "",  
71 - "scene": null  
72 - },  
73 - {  
74 - "id": 1,  
75 - "name": "pages/shop_detail/shop_detail",  
76 - "pathName": "pages/order/order",  
77 - "query": "",  
78 - "scene": null  
79 - },  
80 - {  
81 - "id": 2,  
82 - "name": "公众号模拟",  
83 - "pathName": "pages/register/register",  
84 - "query": "",  
85 - "scene": 1058  
86 - },  
87 - {  
88 - "id": -1,  
89 - "name": "自定义菜单",  
90 - "pathName": "pages/register/register",  
91 - "query": "",  
92 - "scene": 1035,  
93 - "referrerInfo": {  
94 - "appId": "wx017596efd78a16f0"  
95 - }  
96 - },  
97 - {  
98 - "id": -1,  
99 - "name": "个人中心",  
100 - "pathName": "pages/my/my",  
101 - "query": "",  
102 - "scene": null  
103 - },  
104 - {  
105 - "id": -1,  
106 - "name": "商品列表",  
107 - "pathName": "pages/classify/classify",  
108 - "query": "",  
109 - "scene": null  
110 - },  
111 - {  
112 - "id": -1,  
113 - "name": "活动套餐",  
114 - "pathName": "pages/search/search_result/search_result",  
115 - "query": "",  
116 - "scene": null  
117 - },  
118 - {  
119 - "id": -1,  
120 - "name": "足迹",  
121 - "pathName": "pages/zuji/zuji",  
122 - "query": "",  
123 - "scene": null  
124 - },  
125 - {  
126 - "id": -1,  
127 - "name": "首页",  
128 - "pathName": "pages/index/index",  
129 - "query": "",  
130 - "scene": null  
131 - },  
132 - {  
133 - "id": -1,  
134 - "name": "注册",  
135 - "pathName": "pages/register/register",  
136 - "query": "",  
137 - "scene": null  
138 - },  
139 - {  
140 - "id": -1,  
141 - "name": "pages/shop_detail/shop_detail",  
142 - "pathName": "pages/shop_detail/shop_detail",  
143 - "query": "id=774",  
144 - "scene": null  
145 - },  
146 - {  
147 - "id": -1,  
148 - "name": "pages/classify/classify",  
149 - "pathName": "pages/classify/classify",  
150 - "query": "",  
151 - "scene": null  
152 - },  
153 - {  
154 - "id": -1,  
155 - "name": "pages/classify/classify",  
156 - "pathName": "pages/classify/classify",  
157 - "query": "",  
158 - "scene": null  
159 - },  
160 - {  
161 - "name": "确定顶",  
162 - "pathName": "pages/order/order",  
163 - "query": "type=3&info={\"shop_id\":12,\"num\":1}&id=12",  
164 - "scene": null  
165 - },  
166 - {  
167 - "name": "pages/shop_cart/shop_cart",  
168 - "pathName": "pages/shop_cart/shop_cart",  
169 - "query": "",  
170 - "scene": null  
171 - },  
172 - {  
173 - "name": "packageA/pages/index/index",  
174 - "pathName": "packageA/pages/index/index",  
175 - "query": "",  
176 - "scene": null  
177 - },  
178 - {  
179 - "name": "确认订单",  
180 - "pathName": "packageA/pages/order/order",  
181 - "query": "type=3&info={\"shop_id\":3232,\"num\":1}&id=3232",  
182 - "scene": null  
183 - },  
184 - {  
185 - "name": "packageA/pages/logistics/logistics",  
186 - "pathName": "packageA/pages/logistics/logistics",  
187 - "query": "order=K7J527500103601",  
188 - "scene": null  
189 - }  
190 - ] 61 + "gamePlugin": {
  62 + "list": []
  63 + },
  64 + "miniprogram": {
  65 + "list": [
  66 + {
  67 + "id": 0,
  68 + "name": "123",
  69 + "pathName": "pages/login/login",
  70 + "query": "",
  71 + "scene": null
  72 + },
  73 + {
  74 + "id": 1,
  75 + "name": "pages/shop_detail/shop_detail",
  76 + "pathName": "pages/order/order",
  77 + "query": "",
  78 + "scene": null
  79 + },
  80 + {
  81 + "id": 2,
  82 + "name": "公众号模拟",
  83 + "pathName": "pages/register/register",
  84 + "query": "",
  85 + "scene": 1058
  86 + },
  87 + {
  88 + "id": -1,
  89 + "name": "自定义菜单",
  90 + "pathName": "pages/register/register",
  91 + "query": "",
  92 + "scene": 1035,
  93 + "referrerInfo": {
  94 + "appId": "wx017596efd78a16f0"
  95 + }
  96 + },
  97 + {
  98 + "id": -1,
  99 + "name": "个人中心",
  100 + "pathName": "pages/my/my",
  101 + "query": "",
  102 + "scene": null
  103 + },
  104 + {
  105 + "id": -1,
  106 + "name": "商品列表",
  107 + "pathName": "pages/classify/classify",
  108 + "query": "",
  109 + "scene": null
  110 + },
  111 + {
  112 + "id": -1,
  113 + "name": "活动套餐",
  114 + "pathName": "pages/search/search_result/search_result",
  115 + "query": "",
  116 + "scene": null
  117 + },
  118 + {
  119 + "id": -1,
  120 + "name": "足迹",
  121 + "pathName": "pages/zuji/zuji",
  122 + "query": "",
  123 + "scene": null
  124 + },
  125 + {
  126 + "id": -1,
  127 + "name": "首页",
  128 + "pathName": "pages/index/index",
  129 + "query": "",
  130 + "scene": null
  131 + },
  132 + {
  133 + "id": -1,
  134 + "name": "注册",
  135 + "pathName": "pages/register/register",
  136 + "query": "",
  137 + "scene": null
  138 + },
  139 + {
  140 + "id": -1,
  141 + "name": "pages/shop_detail/shop_detail",
  142 + "pathName": "pages/shop_detail/shop_detail",
  143 + "query": "id=774",
  144 + "scene": null
  145 + },
  146 + {
  147 + "id": -1,
  148 + "name": "pages/classify/classify",
  149 + "pathName": "pages/classify/classify",
  150 + "query": "",
  151 + "scene": null
  152 + },
  153 + {
  154 + "id": -1,
  155 + "name": "pages/classify/classify",
  156 + "pathName": "pages/classify/classify",
  157 + "query": "",
  158 + "scene": null
  159 + },
  160 + {
  161 + "name": "确定顶",
  162 + "pathName": "pages/order/order",
  163 + "query": "type=3&info={\"shop_id\":12,\"num\":1}&id=12",
  164 + "scene": null
  165 + },
  166 + {
  167 + "name": "pages/shop_cart/shop_cart",
  168 + "pathName": "pages/shop_cart/shop_cart",
  169 + "query": "",
  170 + "scene": null
  171 + },
  172 + {
  173 + "name": "packageA/pages/index/index",
  174 + "pathName": "packageA/pages/index/index",
  175 + "query": "",
  176 + "scene": null
  177 + },
  178 + {
  179 + "name": "确认订单",
  180 + "pathName": "packageA/pages/order/order",
  181 + "query": "type=3&info={\"shop_id\":3232,\"num\":1}&id=3232",
  182 + "scene": null
  183 + },
  184 + {
  185 + "name": "packageA/pages/logistics/logistics",
  186 + "pathName": "packageA/pages/logistics/logistics",
  187 + "query": "order=K7J527500103601",
  188 + "scene": null
191 } 189 }
  190 + ]
192 } 191 }
  192 + }
193 } 193 }