wangfei 6 år sedan
förälder
incheckning
d9f714bbbf

+ 5
- 2
app.js Visa fil

@@ -116,8 +116,11 @@ App({
116 116
     ShareDate: {
117 117
       title: '银城地产·江北公司',
118 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 Visa fil

@@ -319,10 +319,14 @@ Page({
319 319
     })
320 320
   },
321 321
   onShareAppMessage: function () {
322
+    var shareImg = app.globalData.ActivityImg
323
+    if (this.data.Type == 1) {
324
+      shareImg = app.globalData.DongtaiImg
325
+    }
322 326
     return {
323 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 Visa fil

@@ -1,4 +1,7 @@
1 1
 // pages/SelfServiceTool/IntegralSettlementPolicy/index.js
2
+
3
+const app = getApp()
4
+
2 5
 Page({
3 6
 
4 7
   /**
@@ -54,9 +57,9 @@ Page({
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 Visa fil

@@ -53,5 +53,11 @@ Page({
53 53
     wx.navigateTo({
54 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 Visa fil

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

+ 1
- 1
pages/SelfServiceTool/MortgageCalculator/index.js Visa fil

@@ -407,7 +407,7 @@ Page({
407 407
     return {
408 408
       title: '房贷计算器',
409 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 Visa fil

@@ -152,5 +152,11 @@ Page({
152 152
       TapOff: true,
153 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 Visa fil

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