Browse Source

信息修改

1002884655 3 years ago
parent
commit
8a435ff82f

+ 2
- 2
config/dev.js View File

3
     NODE_ENV: '"development"'
3
     NODE_ENV: '"development"'
4
   },
4
   },
5
   defineConstants: {
5
   defineConstants: {
6
-    // HOST: '"https://xlk.njyz.tech"',
7
-    HOST: '"https://www.newhousehold.cn"',
6
+    HOST: '"https://xlk.njyz.tech"',
7
+    // HOST: '"https://www.newhousehold.cn"',
8
     // HOST: '"http://127.0.0.1:8567"',
8
     // HOST: '"http://127.0.0.1:8567"',
9
     WSS_HOST: '"wss://www.newhousehold.cn"',
9
     WSS_HOST: '"wss://www.newhousehold.cn"',
10
     // WSS_HOST: '"wss://xlk.njyz.tech"',
10
     // WSS_HOST: '"wss://xlk.njyz.tech"',

+ 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": "wxc96058d57e77f373",
5
+	"appid": "wxe44244d1a5ea3364",
6
 	"setting": {
6
 	"setting": {
7
 		"urlCheck": false,
7
 		"urlCheck": false,
8
 		"es6": false,
8
 		"es6": false,

+ 2
- 2
src/pages/index/courseDetail/index.jsx View File

27
   });
27
   });
28
   useShare(
28
   useShare(
29
     {
29
     {
30
-      title: shareContent.shareContentTitle || detail?.title,
30
+      title: shareContent.shareContentTitle || detail?.name,
31
       path: `${router.path}?${paramsRef.current}`,
31
       path: `${router.path}?${paramsRef.current}`,
32
-      image: shareContent.shareContentImg || getImgURL(detail?.curriculumImg),
32
+      // image: shareContent.shareContentImg || getImgURL(detail?.curriculumImg),
33
     },
33
     },
34
     trackData
34
     trackData
35
   );
35
   );

+ 2
- 1
src/pages/mine/components/UserDetailViewRecord/index.jsx View File

3
 import { ScrollView } from '@tarojs/components'
3
 import { ScrollView } from '@tarojs/components'
4
 import { fetch } from '@/utils/request'
4
 import { fetch } from '@/utils/request'
5
 import { API_VISIT_RECORD } from '@/constants/api'
5
 import { API_VISIT_RECORD } from '@/constants/api'
6
+import { formatDate } from '@/utils/chatDate'
6
 import './index.scss'
7
 import './index.scss'
7
 
8
 
8
 export default function UserDetailViewRecord (props) {
9
 export default function UserDetailViewRecord (props) {
66
                   <view className='flex-item'>
67
                   <view className='flex-item'>
67
                     <text>{item.activityName || item.buildingName}</text>
68
                     <text>{item.activityName || item.buildingName}</text>
68
                   </view>
69
                   </view>
69
-                  <text>{item.visitTime}</text>
70
+                  <text>{formatDate(item.visitTime, 'yyyy-MM-dd hh:mm:ss')}</text>
70
                 </view>
71
                 </view>
71
               ))
72
               ))
72
             }
73
             }