mirror of
https://github.com/zwpro/coupons.git
synced 2025-12-11 17:32:49 +00:00
随机分享文字
This commit is contained in:
parent
89391fcf48
commit
910fb187f4
@ -137,10 +137,14 @@ export default {
|
|||||||
this.changeTab(this.current)
|
this.changeTab(this.current)
|
||||||
},
|
},
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
return {
|
var messages = [{
|
||||||
title: '美团饿了么大额红包,每日可领',
|
title: '美团饿了么大额红包,每日可领!',
|
||||||
path: '/pages/index/index'
|
path: '/pages/index/index'
|
||||||
}
|
},{
|
||||||
|
title: '吃了这么多年外卖,你知道这个秘密吗?',
|
||||||
|
path: '/pages/index/index'
|
||||||
|
}];
|
||||||
|
return messages[Math.floor(Math.random()*messages.length)];
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changeTab(index) {
|
changeTab(index) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user