许成详 6 years ago
parent
commit
ae30bf14c5

+ 2
- 2
pages/ActivityDetail/index.js View File

@@ -289,7 +289,7 @@ Page({
289 289
           ActivityDetail: {
290 290
             Title: res.data.title,
291 291
             Publisher: '江北公司',
292
-            CreateDate: res.data.activityDate,
292
+            CreateDate: res.data.publicDate,
293 293
             Content: res.data.context,
294 294
             BeginDate: res.data.beginDate,
295 295
             EndDate: res.data.endDate,
@@ -309,7 +309,7 @@ Page({
309 309
           ActivityDetail: {
310 310
             Title: res.data.title,
311 311
             Publisher: '发布人',
312
-            CreateDate: res.data.createDate,
312
+            CreateDate: res.data.publicDate,
313 313
             Content: res.data.url,
314 314
             BeginDate: '',
315 315
             EndDate: ''

+ 1
- 1
pages/AppointmentHistory/index.wxml View File

@@ -20,7 +20,7 @@
20 20
         </view>
21 21
         <view class="line">
22 22
           <text>备注信息:</text>
23
-          <text style="line-height: 35rpx;">{{item.remark}}</text>
23
+          <text style="line-height: 35rpx;">{{item.remark || ''}}</text>
24 24
         </view>
25 25
         <view class="delete" hidden="{{DeleteIndex !== item.appointmentId}}">
26 26
           <view class="centerLabel" data-index="{{item.appointmentId}}" bindtap="DeleteItem">

+ 4
- 4
pages/EstateDetail/index.js View File

@@ -63,8 +63,6 @@ Page({
63 63
             Photos: photo || []
64 64
           }
65 65
         })
66
-        console.log(_that.data.EstateDetail.buildingApartment)
67
-        console.log(_that.data.EstateDetail.Photos)
68 66
       })
69 67
     })
70 68
   },
@@ -74,11 +72,13 @@ Page({
74 72
     EstateDetail: {},
75 73
     Collects: [],
76 74
     ShowMaxSwiper: false,
77
-    CurrentImgList: []
75
+    CurrentImgList: [],
76
+    CurrentIndex: 0
78 77
   },
79 78
   CloseMaxSwiper() { // 关闭大图
80 79
     this.setData({
81
-      ShowMaxSwiper: false
80
+      ShowMaxSwiper: false,
81
+      CurrentIndex: 0
82 82
     })
83 83
   },
84 84
   CheckMaxImg(e) { // 查看大图

+ 1
- 1
pages/EstateDetail/index.wxml View File

@@ -111,7 +111,7 @@
111 111
   </view>
112 112
 
113 113
   <view class="maxSwiper" hidden="{{!ShowMaxSwiper}}">
114
-    <swiper autoplay="{{false}}" indicator-dots="{{false}}">
114
+    <swiper autoplay="{{false}}" indicator-dots="{{false}}" current="{{CurrentIndex}}">
115 115
       <block wx:for="{{CurrentImgList}}" wx:for-item="item" wx:for-index="index" wx:key="key">
116 116
         <swiper-item>
117 117
           <view class="swiper-item">

+ 1
- 1
pages/components/Concessions/index.js View File

@@ -56,7 +56,7 @@ Component({
56 56
           arr.map((item) => {
57 57
             pArr.push({
58 58
               Title: item.title,
59
-              CreateDate: item.activityDate,
59
+              CreateDate: item.publicDate,
60 60
               Org: item.buildingName,
61 61
               Img: item.imgUrl,
62 62
               Id: item.activityId