许成详 6 years ago
parent
commit
ae30bf14c5

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

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

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

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

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

63
             Photos: photo || []
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
     EstateDetail: {},
72
     EstateDetail: {},
75
     Collects: [],
73
     Collects: [],
76
     ShowMaxSwiper: false,
74
     ShowMaxSwiper: false,
77
-    CurrentImgList: []
75
+    CurrentImgList: [],
76
+    CurrentIndex: 0
78
   },
77
   },
79
   CloseMaxSwiper() { // 关闭大图
78
   CloseMaxSwiper() { // 关闭大图
80
     this.setData({
79
     this.setData({
81
-      ShowMaxSwiper: false
80
+      ShowMaxSwiper: false,
81
+      CurrentIndex: 0
82
     })
82
     })
83
   },
83
   },
84
   CheckMaxImg(e) { // 查看大图
84
   CheckMaxImg(e) { // 查看大图

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

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

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

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