|
@@ -132,6 +132,22 @@ Page({
|
|
|
})
|
|
|
},
|
|
|
|
|
|
+ // 授权手机号--券包
|
|
|
+ getPhoneNumberCoupon(e) {
|
|
|
+ getPhoneNumberSync(e, async () => {
|
|
|
+ let nums = await this.getCountNum();
|
|
|
+ this.setData({
|
|
|
+ isLogin: true,
|
|
|
+ mobileTop: getMobileCache(),
|
|
|
+ countNum: nums,
|
|
|
+ });
|
|
|
+ const url = "../../luckDraw/profile"
|
|
|
+ wx.navigateTo({
|
|
|
+ url
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
toHistorical(e) {
|
|
|
const url = "../historical/historical?id=" + e.currentTarget.dataset.id
|
|
|
wx.navigateTo({
|
|
@@ -160,6 +176,13 @@ Page({
|
|
|
})
|
|
|
},
|
|
|
|
|
|
+ toCoupon(e) {
|
|
|
+ const url = "../../luckDraw/profile?id=" + e.currentTarget.dataset.id
|
|
|
+ wx.navigateTo({
|
|
|
+ url
|
|
|
+ })
|
|
|
+},
|
|
|
+
|
|
|
/**
|
|
|
* 生命周期函数--监听页面初次渲染完成
|
|
|
*/
|