|
@@ -158,14 +158,15 @@ export default {
|
158
|
158
|
if (this.$route.params.recordid == 0) {
|
159
|
159
|
this.recordid = this.game.record.RecordId
|
160
|
160
|
this.getRecord(this.recordid).then(() => {
|
161
|
|
- this.share(this.recordid)
|
|
161
|
+ // this.share(this.recordid)
|
162
|
162
|
})
|
163
|
163
|
} else {
|
164
|
164
|
this.recordid = this.$route.params.recordid
|
165
|
165
|
this.getRecord(this.recordid).then(() => {
|
166
|
|
- this.share(this.recordid)
|
|
166
|
+ // this.share(this.recordid)
|
167
|
167
|
})
|
168
|
168
|
}
|
|
169
|
+ this.share(this.recordid)
|
169
|
170
|
})
|
170
|
171
|
setInterval(() => {
|
171
|
172
|
this.time = new Date().getSeconds()
|
|
@@ -201,6 +202,9 @@ export default {
|
201
|
202
|
},
|
202
|
203
|
share (recordid) {
|
203
|
204
|
let link = `${window.location.origin}${window.location.pathname}#/supportDetail/other/${recordid}`
|
|
205
|
+
|
|
206
|
+ console.log('---share--link--->', link)
|
|
207
|
+
|
204
|
208
|
wxsdk({ url: encodeURIComponent(window.location.href.split('#')[0]) }, {
|
205
|
209
|
title: '热浪席卷盛夏,好友助力砍价',
|
206
|
210
|
desc: '悦见山星级泳池即将开放,18.8元抢鲜泳池体验+指定饮品~',
|