1002884655 3 vuotta sitten
vanhempi
commit
9bf5eb18ef

+ 2
- 2
config/dev.js Näytä tiedosto

@@ -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://xlj.newlandsh.com"',
6
+    HOST: '"https://xlk.njyz.tech"',
7
+    // HOST: '"https://xlj.newlandsh.com"',
8 8
     // HOST: '"http://127.0.0.1:8567"',
9 9
     WSS_HOST: '"wss://xlk.njyz.tech"',
10 10
     OSS_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',

+ 1
- 1
project.config.json Näytä tiedosto

@@ -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,

+ 1
- 1
src/pages/chat/index.jsx Näytä tiedosto

@@ -70,7 +70,7 @@ export default withLayout((props) => {
70 70
                 <view className='flex-item'>
71 71
                   <view className='flex-h'>
72 72
                     <text className='flex-item'>{item.name}</text>
73
-                    <text>{formatDate(item.createDate, 'yyyy/M/d')}</text>
73
+                    <text>{formatDate(item.createDate, 'yyyy/MM/dd')}</text>
74 74
                   </view>
75 75
                   <view className='Msg'>
76 76
                     <text>{item.messageType === 'text' ? item.message : '[图片]'}</text>

+ 1
- 1
src/pages/index/activityDetail/CountDown.jsx Näytä tiedosto

@@ -7,7 +7,7 @@ export default (props) => {
7 7
 
8 8
   return (
9 9
     <view className='CountDown'>
10
-      <text>距离结束还有</text>
10
+      <text>距离报名结束还有</text>
11 11
       <text className='Red'>{CountDown[1]||0}</text>
12 12
       <text>天</text>
13 13
       <text className='Number' style={{ marginLeft: '40rpx' }}>{CountDown[2]||0}</text>

+ 3
- 3
src/pages/index/activityDetail/index.jsx Näytä tiedosto

@@ -164,7 +164,7 @@ export default withLayout((props) => {
164 164
         </view>
165 165
         <text className='Time'>
166 166
           报名截止时间:
167
-          {formatDate(detail.enlistEnd, 'yyyy/M/d')}
167
+          {formatDate(detail.enlistEnd, 'yyyy/MM/dd')}
168 168
         </text>
169 169
         <text className='Name'>{detail.title}</text>
170 170
         <view className='flex-h Address'>
@@ -177,7 +177,7 @@ export default withLayout((props) => {
177 177
           <text>时间:</text>
178 178
           <view className='flex-item'>
179 179
             <text>
180
-              {`${formatDate(detail.startDate, 'yyyy/M/d')} - ${formatDate(detail.endDate, 'yyyy/M/d')}`}
180
+              {`${formatDate(detail.startDate, 'yyyy/MM/dd')} - ${formatDate(detail.endDate, 'yyyy/MM/dd')}`}
181 181
             </text>
182 182
           </view>
183 183
         </view>
@@ -204,7 +204,7 @@ export default withLayout((props) => {
204 204
             </view>
205 205
           </view>
206 206
           <text className='Price'>{detail.groupBuyPrice || '价格待定'}</text>
207
-          <text className='Time'>时间:{formatDate(detail.startDate, 'yyyy/M/d')} - {formatDate(detail.endDate, 'yyyy/M/d')}</text>
207
+          <text className='Time'>时间:{formatDate(detail.startDate, 'yyyy/MM/dd')} - {formatDate(detail.endDate, 'yyyy/MM/dd')}</text>
208 208
         </view>
209 209
         <view className='Option'>
210 210
           <view>

+ 1
- 1
src/pages/index/buildingAround/index.jsx Näytä tiedosto

@@ -14,7 +14,7 @@ export default withLayout((props) => {
14 14
   const [DetailInfo, setDetailInfo] = useState({})
15 15
   const [loc, setLoc] = useState([])
16 16
   const [NavList, setNavList] = useState([])
17
-  const [CurrentNavId, setCurrentNavId] = useState(1)
17
+  const [CurrentNavId, setCurrentNavId] = useState(0)
18 18
   const [List, setList] = useState([])
19 19
   const [OtherList, setOtherList] = useState([])
20 20
   const [markers, setMarkers] = useState([])

+ 1
- 1
src/pages/index/buildingTakeLook/index.jsx Näytä tiedosto

@@ -59,7 +59,7 @@ export default withLayout((props) => {
59 59
             </view>
60 60
 
61 61
             <view className='CountDown'>
62
-              <text>距离结束还有</text>
62
+              <text>距离报名结束还有</text>
63 63
               <text className='Red'>7</text>
64 64
               <text>天</text>
65 65
               <text className='Number' style={{ marginLeft: '40rpx' }}>7</text>

+ 1
- 1
src/pages/index/components/ActivityListItem/index.jsx Näytä tiedosto

@@ -38,7 +38,7 @@ export default function ActivityListItem (props) {
38 38
           <text className={activityStatusDict[data.activityStatus]?.className}>{activityStatusDict[data.activityStatus]?.text}</text>
39 39
         </view>
40 40
         <view className='Time'>
41
-          <text>活动时间:{formatDate(data.startDate, 'yyyy/M/d')} - {formatDate(data.endDate, 'yyyy/M/d')}</text>
41
+          <text>活动时间:{formatDate(data.startDate, 'yyyy/MM/dd')} - {formatDate(data.endDate, 'yyyy/MM/dd')}</text>
42 42
         </view>
43 43
       </view>
44 44
     </view>

+ 1
- 1
src/subpackages/pages/marketing/components/ResidentListItem/index.jsx Näytä tiedosto

@@ -102,7 +102,7 @@ export default function ResidentListItem (props) {
102 102
       <view className='flex-h'>
103 103
         <text>报备时间:</text>
104 104
         <view className='flex-item'>
105
-          <text>{formatDate(data.createDate, 'yyyy/M/d')}</text>
105
+          <text>{formatDate(data.createDate, 'yyyy/MM/dd')}</text>
106 106
         </view>
107 107
       </view>
108 108
       <view className='Opt'>

+ 1
- 1
src/utils/chatDate.js Näytä tiedosto

@@ -25,7 +25,7 @@ export function getDateByStr(dtStr) {
25 25
   return new Date(t[0], t[1]-1, t[2], t[3] || 0, t[4] || 0, t[5] || 0)
26 26
 }
27 27
 
28
-//例子 getDateFormat(new Date().valueOf(),true,'yyyy/M/d')
28
+//例子 getDateFormat(new Date().valueOf(),true,'yyyy/MM/dd')
29 29
 export function formatDate(dt, fmt) {
30 30
   if (!dt) return dt;
31 31