Baozhangchao 3 years ago
parent
commit
362200f5c1

+ 2
- 1
config/dev.js View File

4
   },
4
   },
5
   defineConstants: {
5
   defineConstants: {
6
     // HOST: '"http://192.168.89.147:8080"',
6
     // HOST: '"http://192.168.89.147:8080"',
7
-    HOST: '"http://sgl-v2-test.njyunzhi.com"',
7
+    // HOST: '"http://sgl-v2-test.njyunzhi.com"',
8
+    HOST: '"http://sgl-v2.njyunzhi.com"',
8
     OSS: '"yz-shigongli.oss-accelerate.aliyuncs.com"',
9
     OSS: '"yz-shigongli.oss-accelerate.aliyuncs.com"',
9
     VERSION: '"2.0.33"',
10
     VERSION: '"2.0.33"',
10
   },
11
   },

+ 1
- 1
project.config.dev.json View File

2
   "miniprogramRoot": "./dist",
2
   "miniprogramRoot": "./dist",
3
   "projectname": "miniapp",
3
   "projectname": "miniapp",
4
   "description": "十公里",
4
   "description": "十公里",
5
-  "appid": "wx835627a9b9b3932a",
5
+  "appid": "wx06a7372d48d56843",
6
   "setting": {
6
   "setting": {
7
     "urlCheck": false,
7
     "urlCheck": false,
8
     "es6": false,
8
     "es6": false,

+ 1
- 1
project.config.json View File

2
   "miniprogramRoot": "./dist",
2
   "miniprogramRoot": "./dist",
3
   "projectname": "miniapp",
3
   "projectname": "miniapp",
4
   "description": "十公里",
4
   "description": "十公里",
5
-  "appid": "wx835627a9b9b3932a",
5
+  "appid": "wx06a7372d48d56843",
6
   "setting": {
6
   "setting": {
7
     "urlCheck": true,
7
     "urlCheck": true,
8
     "es6": false,
8
     "es6": false,

+ 1
- 1
src/components/foodCards/ShopNoteCard/index.jsx View File

202
                 {(item.title).toString().length > 25 ? (item.title).substring(0, 25) + '...' : (item.title)}
202
                 {(item.title).toString().length > 25 ? (item.title).substring(0, 25) + '...' : (item.title)}
203
               </View>
203
               </View>
204
               <View className='cpn-card-text' style={{ marginTop: '10rpx' }}>
204
               <View className='cpn-card-text' style={{ marginTop: '10rpx' }}>
205
-                <Text className='cpn-card-text_mn'>¥{`${(item.averagePrice == '' ? '0.00' : item.averagePrice / 100)?.toFixed(2)}元`}</Text>
205
+                <Text className='cpn-card-text_mn'>¥{`${(item.averagePrice == '' ? 0 / 100 : item.averagePrice / 100).toFixed(2)}元`}</Text>
206
                 {/* <Text className='cpn-card-text_rm'>{`门市价${(item.standardPrice / 100)?.toFixed(2)}元`}</Text> */}
206
                 {/* <Text className='cpn-card-text_rm'>{`门市价${(item.standardPrice / 100)?.toFixed(2)}元`}</Text> */}
207
               </View>
207
               </View>
208
               <View className='cpn-md-act'>
208
               <View className='cpn-md-act'>