瀏覽代碼

信息修改

1002884655 3 年之前
父節點
當前提交
8a435ff82f

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

@@ -3,8 +3,8 @@ module.exports = {
3 3
     NODE_ENV: '"development"'
4 4
   },
5 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 8
     // HOST: '"http://127.0.0.1:8567"',
9 9
     WSS_HOST: '"wss://www.newhousehold.cn"',
10 10
     // WSS_HOST: '"wss://xlk.njyz.tech"',

+ 1
- 1
project.config.json 查看文件

@@ -2,7 +2,7 @@
2 2
 	"miniprogramRoot": "dist/",
3 3
 	"projectname": "miniapp",
4 4
 	"description": "",
5
-	"appid": "wxc96058d57e77f373",
5
+	"appid": "wxe44244d1a5ea3364",
6 6
 	"setting": {
7 7
 		"urlCheck": false,
8 8
 		"es6": false,

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

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

+ 2
- 1
src/pages/mine/components/UserDetailViewRecord/index.jsx 查看文件

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