修改
This commit is contained in:
parent
6f83cdda89
commit
a9f851897d
@ -21,29 +21,14 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
phonecode: '',
|
phonecode: undefined,
|
||||||
logincode: '',
|
logincode: undefined,
|
||||||
timer: null,
|
timer: undefined,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onShow() {},
|
onShow() {
|
||||||
//1.分享给朋友
|
this.phonecode = undefined
|
||||||
onShareAppMessage(res) {
|
this.logincode = undefined
|
||||||
let pages = getCurrentPages();
|
|
||||||
let url = pages[pages.length - 1].$page.fullPath
|
|
||||||
return {
|
|
||||||
title: '泉医到家',
|
|
||||||
path: url,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//2.分享到朋友圈
|
|
||||||
onShareTimeline(res) {
|
|
||||||
let pages = getCurrentPages();
|
|
||||||
let url = pages[pages.length - 1].$page.fullPath
|
|
||||||
return {
|
|
||||||
title: '泉医到家',
|
|
||||||
path: url,
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getPhoneNumberp(val) {
|
getPhoneNumberp(val) {
|
||||||
@ -70,6 +55,8 @@
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
duration: '1500'
|
duration: '1500'
|
||||||
})
|
})
|
||||||
|
this.phonecode = undefined
|
||||||
|
this.logincode = undefined
|
||||||
uni.setStorageSync("Refresh", 'Refresh')
|
uni.setStorageSync("Refresh", 'Refresh')
|
||||||
if (this.timer) {
|
if (this.timer) {
|
||||||
clearTimeout(this.timer)
|
clearTimeout(this.timer)
|
||||||
@ -96,6 +83,23 @@
|
|||||||
that.login()
|
that.login()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
}, //1.分享给朋友
|
||||||
|
onShareAppMessage(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//2.分享到朋友圈
|
||||||
|
onShareTimeline(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user