zlisen 4 年之前
父節點
當前提交
91d94aa307
共有 4 個檔案被更改,包括 6 行新增5 行删除
  1. 2
    2
      config/dev.js
  2. 1
    1
      package.json
  3. 1
    1
      src/pages/house/household/index.config.js
  4. 2
    1
      src/pages/share/index.jsx

+ 2
- 2
config/dev.js 查看文件

6
   defineConstants: {
6
   defineConstants: {
7
     // HOST: '"http://localhost:7080"',
7
     // HOST: '"http://localhost:7080"',
8
     // HOST: '"https://sgl.ycjcjy.com"',
8
     // HOST: '"https://sgl.ycjcjy.com"',
9
-    // HOST: '"http://192.168.31.211:7080"',
10
-    HOST: '"http://192.168.211.105:7080"',
9
+    HOST: '"http://192.168.31.211:7080"',
10
+    // HOST: '"http://192.168.211.105:7080"',
11
  
11
  
12
     // OSS_PATH: "https://njcj.oss-cn-shanghai.aliyuncs.com/",
12
     // OSS_PATH: "https://njcj.oss-cn-shanghai.aliyuncs.com/",
13
     // OSS_FAST_PATH: "https://njcj.oss-accelerate.aliyuncs.com/",
13
     // OSS_FAST_PATH: "https://njcj.oss-accelerate.aliyuncs.com/",

+ 1
- 1
package.json 查看文件

1
 {
1
 {
2
   "name": "shigongliApp",
2
   "name": "shigongliApp",
3
-  "version": "1.0.0",
3
+  "version": "0.0.10",
4
   "private": true,
4
   "private": true,
5
   "description": "十公里小程序",
5
   "description": "十公里小程序",
6
   "templateInfo": {
6
   "templateInfo": {

+ 1
- 1
src/pages/house/household/index.config.js 查看文件

1
 export default {
1
 export default {
2
-    navigationBarTitleText: '民宿房源管理',
2
+    navigationBarTitleText: '查看入住人',
3
 }
3
 }

+ 2
- 1
src/pages/share/index.jsx 查看文件

16
 //         array: [{ msg: '1' }, { msg: '2' }]
16
 //         array: [{ msg: '1' }, { msg: '2' }]
17
 //     }
17
 //     }
18
 // })
18
 // })
19
+const defaultImgUrl= 'https://zhiyun-image.oss-cn-shanghai.aliyuncs.com/shigongli/shigongli_share_default-min.jpg'
19
 
20
 
20
 const Index = () => {
21
 const Index = () => {
21
     const router = useRouter()
22
     const router = useRouter()
64
 
65
 
65
                     const share = {
66
                     const share = {
66
                         title: `欢迎来到${title}`,
67
                         title: `欢迎来到${title}`,
67
-                        imageUrl: (res.data.data || {}).image,
68
+                        imageUrl: (res.data.data || {}).image||defaultImgUrl,
68
                         path: `/pages/index/index?houseId=${houseId}&personNum=${personNum}&startTime=${startTime}&endTime=${endTime}&orderId=${orderId}`
69
                         path: `/pages/index/index?houseId=${houseId}&personNum=${personNum}&startTime=${startTime}&endTime=${endTime}&orderId=${orderId}`
69
                     }
70
                     }
70
 
71