fix: 修改商户生成码推广链接
parent
0799a89b0e
commit
e2f85963ca
|
@ -346,7 +346,7 @@ export default {
|
|||
},
|
||||
handleQRCode(row) {
|
||||
const baseUrl = 'http://yuxy.perrymake.com'
|
||||
const url =`${baseUrl}/pages/index/index?redirectUrl=${baseUrl}&tenantId=${row.id}`
|
||||
const url =`${baseUrl}/pages/member_application/index?redirectUrl=${baseUrl}&tenantId=${row.id}`
|
||||
QRCode.toCanvas(document.getElementById(`id-${row.id}`), url, {
|
||||
scale: 2
|
||||
}, function (error) {
|
||||
|
|
|
@ -567,30 +567,31 @@
|
|||
"selectedColor": "#fc4141",
|
||||
"borderStyle": "white",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/images/tabbar/nav_icon_shop.png",
|
||||
"selectedIconPath": "static/images/1-002.png",
|
||||
"text": "商城"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/goods_cate/goods_cate",
|
||||
"iconPath": "static/images/tabbar/nav_icon_sort.png",
|
||||
"selectedIconPath": "static/images/2-002.png",
|
||||
"text": "分类"
|
||||
},
|
||||
"list": [
|
||||
// {
|
||||
// "pagePath": "pages/index/index",
|
||||
// "iconPath": "static/images/tabbar/nav_icon_shop.png",
|
||||
// "selectedIconPath": "static/images/1-002.png",
|
||||
// "text": "商城"
|
||||
// },
|
||||
// {
|
||||
// "pagePath": "pages/goods_cate/goods_cate",
|
||||
// "iconPath": "static/images/tabbar/nav_icon_sort.png",
|
||||
// "selectedIconPath": "static/images/2-002.png",
|
||||
// "text": "分类"
|
||||
// },
|
||||
{
|
||||
"pagePath": "pages/member_application/index",
|
||||
"iconPath": "static/images/2-001.png",
|
||||
"selectedIconPath": "static/images/tabbar/nav_icon_member_active.png",
|
||||
"text": "会员申请"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/order_addcart/order_addcart",
|
||||
"iconPath": "static/images/tabbar/nav_icon_cart.png",
|
||||
"selectedIconPath": "static/images/3-002.png",
|
||||
"text": "购物车"
|
||||
},
|
||||
// {
|
||||
// "pagePath": "pages/order_addcart/order_addcart",
|
||||
// "iconPath": "static/images/tabbar/nav_icon_cart.png",
|
||||
// "selectedIconPath": "static/images/3-002.png",
|
||||
// "text": "购物车"
|
||||
// },
|
||||
{
|
||||
"pagePath": "pages/user/index",
|
||||
"iconPath": "static/images/tabbar/nav_icon_my.png",
|
||||
|
|
|
@ -269,10 +269,11 @@
|
|||
getUserInfo().then(res => {
|
||||
this.$store.commit("UPDATE_USERINFO", res.data);
|
||||
// let backUrl = this.$Cache.get(BACK_URL) || "/pages/index/index";
|
||||
let backUrl = "/pages/index/index";
|
||||
if (backUrl.indexOf('/pages/users/login/index') !== -1) {
|
||||
backUrl = '/pages/index/index';
|
||||
}
|
||||
let backUrl = "/pages/member_application/index";
|
||||
// let backUrl = "/pages/index/index";
|
||||
// if (backUrl.indexOf('/pages/users/login/index') !== -1) {
|
||||
// backUrl = '/pages/index/index';
|
||||
// }
|
||||
uni.reLaunch({
|
||||
url: backUrl
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue