Commit e4d4f44a by biedb

激活领卡 修改

parent 150fb469
......@@ -16,6 +16,13 @@ App({
if (baseUserInfo) {
// wxService.getUserInfo()
}
if (options.referrerInfo.extraData!=null){
let urlData =options.referrerInfo.extraData.wx_activate_after_submit_url.split("?");
let url=urlData[0];
let parmas=urlData[1];
wxService.router(`${url}`).search(parmas);
}
},
onHide: function () {
this.globalData.loginFirst = false
......
......@@ -11,7 +11,8 @@
"pages/couponDetail/couponDetail",
"pages/consumptionDetails/consumptionDetails",
"pages/IntegralMall/IntegralMall",
"pages/integralMallDetail/integralMallDetail"
"pages/integralMallDetail/integralMallDetail",
"pages/activateCard/activateCardCallback"
],
"window": {
"backgroundTextStyle": "light",
......
// pages/activateCard/activateCardCallback.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
<!--pages/activateCard/activateCardCallback.wxml-->
<text>pages/activateCard/activateCardCallback.wxml</text>
/* pages/activateCard/activateCardCallback.wxss */
\ No newline at end of file
......@@ -37,7 +37,7 @@
"list": []
},
"miniprogram": {
"current": 10,
"current": 11,
"list": [
{
"id": -1,
......@@ -104,6 +104,11 @@
"name": "我的会员",
"pathName": "pages/memberOfOwn/memberOfOwn",
"query": ""
},
{
"id": -1,
"name": "激活领卡回调页面",
"pathName": "pages/activateCard/activateCardCallback"
}
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment