Baozhangchao 3 years ago
parent
commit
362200f5c1

+ 2
- 1
config/dev.js View File

@@ -4,7 +4,8 @@ module.exports = {
4 4
   },
5 5
   defineConstants: {
6 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 9
     OSS: '"yz-shigongli.oss-accelerate.aliyuncs.com"',
9 10
     VERSION: '"2.0.33"',
10 11
   },

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

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

+ 1
- 1
project.config.json View File

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

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

@@ -202,7 +202,7 @@ export default (props) => {
202 202
                 {(item.title).toString().length > 25 ? (item.title).substring(0, 25) + '...' : (item.title)}
203 203
               </View>
204 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 206
                 {/* <Text className='cpn-card-text_rm'>{`门市价${(item.standardPrice / 100)?.toFixed(2)}元`}</Text> */}
207 207
               </View>
208 208
               <View className='cpn-md-act'>