Commit e4d4f44a by biedb

激活领卡 修改

parent 150fb469
...@@ -16,6 +16,13 @@ App({ ...@@ -16,6 +16,13 @@ App({
if (baseUserInfo) { if (baseUserInfo) {
// wxService.getUserInfo() // 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 () { onHide: function () {
this.globalData.loginFirst = false this.globalData.loginFirst = false
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
"pages/couponDetail/couponDetail", "pages/couponDetail/couponDetail",
"pages/consumptionDetails/consumptionDetails", "pages/consumptionDetails/consumptionDetails",
"pages/IntegralMall/IntegralMall", "pages/IntegralMall/IntegralMall",
"pages/integralMallDetail/integralMallDetail" "pages/integralMallDetail/integralMallDetail",
"pages/activateCard/activateCardCallback"
], ],
"window": { "window": {
"backgroundTextStyle": "light", "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 @@ ...@@ -37,7 +37,7 @@
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": 10, "current": 11,
"list": [ "list": [
{ {
"id": -1, "id": -1,
...@@ -104,6 +104,11 @@ ...@@ -104,6 +104,11 @@
"name": "我的会员", "name": "我的会员",
"pathName": "pages/memberOfOwn/memberOfOwn", "pathName": "pages/memberOfOwn/memberOfOwn",
"query": "" "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