wangfei 6 anos atrás
pai
commit
d9f714bbbf

+ 5
- 2
app.js Ver arquivo

116
     ShareDate: {
116
     ShareDate: {
117
       title: '银城地产·江北公司',
117
       title: '银城地产·江北公司',
118
       path: '/pages/index/index',
118
       path: '/pages/index/index',
119
-      imageUrl: 'https://whole-estate.oss-cn-beijing.aliyuncs.com/notebaike-1.jpg'
119
+      imageUrl: 'http://whole-estate.oss-cn-beijing.aliyuncs.com/1553767983706.png?Expires=1555595371&OSSAccessKeyId=LTAIkc75dpkJw8Lb'
120
     },
120
     },
121
-    ShareImg: 'https://whole-estate.oss-cn-beijing.aliyuncs.com/notebaike-1.jpg'
121
+    ShareImg: 'http://whole-estate.oss-cn-beijing.aliyuncs.com/1553767983706.png?Expires=1555595371&OSSAccessKeyId=LTAIkc75dpkJw8Lb',
122
+    FdShareImg: 'https://whole-estate.oss-cn-beijing.aliyuncs.com/xiaogongju-share.jpg',
123
+    ActivityImg: 'https://whole-estate.oss-cn-beijing.aliyuncs.com/activity-share.jpg',
124
+    DongtaiImg: 'https://whole-estate.oss-cn-beijing.aliyuncs.com/dongtai-share.jpg'
122
   }
125
   }
123
 })
126
 })

+ 6
- 2
pages/ActivityDetail/index.js Ver arquivo

319
     })
319
     })
320
   },
320
   },
321
   onShareAppMessage: function () {
321
   onShareAppMessage: function () {
322
+    var shareImg = app.globalData.ActivityImg
323
+    if (this.data.Type == 1) {
324
+      shareImg = app.globalData.DongtaiImg
325
+    }
322
     return {
326
     return {
323
       title: this.data.ActivityDetail.Title,
327
       title: this.data.ActivityDetail.Title,
324
-      path: '/pages/ActivityDetail/index?id=' + this.data.ActivityDetail.ActivityId + '&type=2',
325
-      imageUrl: app.globalData.ShareImg
328
+      path: '/pages/ActivityDetail/index?id=' + this.data.Id + '&type='+this.data.Type,
329
+      imageUrl: shareImg
326
     }
330
     }
327
   }
331
   }
328
 })
332
 })

+ 7
- 4
pages/SelfServiceTool/AboutYinCheng/index.js Ver arquivo

1
 // pages/SelfServiceTool/IntegralSettlementPolicy/index.js
1
 // pages/SelfServiceTool/IntegralSettlementPolicy/index.js
2
+
3
+const app = getApp()
4
+
2
 Page({
5
 Page({
3
 
6
 
4
   /**
7
   /**
54
   },
57
   },
55
 
58
 
56
   /**
59
   /**
57
-   * 用户点击右上角分享
58
-   */
59
-  onShareAppMessage: function() {
60
-
60
+ * 用户点击右上角分享
61
+ */
62
+  onShareAppMessage: function () {
63
+    return app.globalData.ShareDate
61
   }
64
   }
62
 })
65
 })

+ 6
- 0
pages/SelfServiceTool/Cyclopedia/index.js Ver arquivo

53
     wx.navigateTo({
53
     wx.navigateTo({
54
       url: '/pages/SelfServiceTool/Cyclopedia/Detail?id=' + e.target.dataset.id + '&type=' + e.target.dataset.type,
54
       url: '/pages/SelfServiceTool/Cyclopedia/Detail?id=' + e.target.dataset.id + '&type=' + e.target.dataset.type,
55
     })
55
     })
56
+  },
57
+    /**
58
+   * 用户点击右上角分享
59
+   */
60
+  onShareAppMessage: function () {
61
+    return app.globalData.ShareDate
56
   }
62
   }
57
 })
63
 })

+ 4
- 1
pages/SelfServiceTool/IntegralSettlementPolicy/index.js Ver arquivo

1
 // pages/SelfServiceTool/IntegralSettlementPolicy/index.js
1
 // pages/SelfServiceTool/IntegralSettlementPolicy/index.js
2
+
3
+const app = getApp()
4
+
2
 Page({
5
 Page({
3
 
6
 
4
   /**
7
   /**
58
    * 用户点击右上角分享
61
    * 用户点击右上角分享
59
    */
62
    */
60
   onShareAppMessage: function () {
63
   onShareAppMessage: function () {
61
-
64
+    return app.globalData.ShareDate
62
   }
65
   }
63
 })
66
 })

+ 1
- 1
pages/SelfServiceTool/MortgageCalculator/index.js Ver arquivo

407
     return {
407
     return {
408
       title: '房贷计算器',
408
       title: '房贷计算器',
409
       path: '/pages/SelfServiceTool/MortgageCalculator/index',
409
       path: '/pages/SelfServiceTool/MortgageCalculator/index',
410
-      imageUrl: app.globalData.ShareImg
410
+      imageUrl: app.globalData.FdShareImg
411
     }
411
     }
412
   }
412
   }
413
 })
413
 })

+ 6
- 0
pages/SelfServiceTool/QualifyingTest/index.js Ver arquivo

152
       TapOff: true,
152
       TapOff: true,
153
       CanSubmit: false
153
       CanSubmit: false
154
     })
154
     })
155
+  },
156
+  /**
157
+ * 用户点击右上角分享
158
+ */
159
+  onShareAppMessage: function () {
160
+    return app.globalData.ShareDate
155
   }
161
   }
156
 })
162
 })

+ 1
- 1
pages/components/SubIndex/index.js Ver arquivo

21
     }, {
21
     }, {
22
       value: '电话咨询',
22
       value: '电话咨询',
23
       icon: '/assets/images/icon7.png',
23
       icon: '/assets/images/icon7.png',
24
-      remark: '客服热线:025-12345678'
24
+      remark: '客服热线:025-86505555'
25
     }],
25
     }],
26
     EstateList: []
26
     EstateList: []
27
   },
27
   },