|
@@ -84,7 +84,7 @@ Page({
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- // 授权手机号--历史订单
|
|
|
+ // 授权手机号--意见反馈
|
|
|
getPhoneNumberFee(e) {
|
|
|
getPhoneNumberSync(e, async () => {
|
|
|
let nums = await this.getCountNum();
|
|
@@ -100,6 +100,38 @@ Page({
|
|
|
})
|
|
|
},
|
|
|
|
|
|
+ // 授权手机号--签到
|
|
|
+ getPhoneNumberSigin(e) {
|
|
|
+ getPhoneNumberSync(e, async () => {
|
|
|
+ let nums = await this.getCountNum();
|
|
|
+ this.setData({
|
|
|
+ isLogin: true,
|
|
|
+ mobileTop: getMobileCache(),
|
|
|
+ countNum: nums,
|
|
|
+ });
|
|
|
+ const url = "../../signIn/activity/activity"
|
|
|
+ wx.navigateTo({
|
|
|
+ url
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
+ // 授权手机号--抽奖
|
|
|
+ getPhoneNumberLuck(e) {
|
|
|
+ getPhoneNumberSync(e, async () => {
|
|
|
+ let nums = await this.getCountNum();
|
|
|
+ this.setData({
|
|
|
+ isLogin: true,
|
|
|
+ mobileTop: getMobileCache(),
|
|
|
+ countNum: nums,
|
|
|
+ });
|
|
|
+ const url = "./../luckDraw/index"
|
|
|
+ wx.navigateTo({
|
|
|
+ url
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
toHistorical(e) {
|
|
|
const url = "../historical/historical?id=" + e.currentTarget.dataset.id
|
|
|
wx.navigateTo({
|
|
@@ -114,6 +146,20 @@ Page({
|
|
|
})
|
|
|
},
|
|
|
|
|
|
+ toSigIn(e) {
|
|
|
+ const url = "../../signIn/activity/activity?id=" + e.currentTarget.dataset.id
|
|
|
+ wx.navigateTo({
|
|
|
+ url
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
+ toLuck(e) {
|
|
|
+ const url = "../../luckDraw/index?id=" + e.currentTarget.dataset.id
|
|
|
+ wx.navigateTo({
|
|
|
+ url
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
/**
|
|
|
* 生命周期函数--监听页面初次渲染完成
|
|
|
*/
|