Authored by htoooth

fix

... ... @@ -378,4 +378,4 @@ App({
getMiniappType() {
return config.mini_app_type;
}
});
\ No newline at end of file
});
... ...
... ... @@ -7,7 +7,8 @@ export function getQRCodeSource(code) {
let param = {
md5Param: code,
miniapp_type: 4
}
};
return api.get({
url: '/wechat/miniapp/getMiniAppRealParam',
data: param
... ... @@ -22,4 +23,4 @@ export function getQRCodeSource(code) {
}).catch(error => {
return error;
});
}
\ No newline at end of file
}
... ...
... ... @@ -205,9 +205,9 @@ Page(Object.assign({
initActionSheet() {
let actionSheet = this.data.actionSheet;
//user_union_type 有值 需要显示 联盟share按钮
// user_union_type 有值 需要显示 联盟share按钮
if (app.globalData.userUnionType) { //user_union_type_imageUrl
if (app.globalData.userUnionType) { // user_union_type_imageUrl
let actionsheetParam = [{
name: '分享给朋友',
className: 'action-class',
... ... @@ -224,7 +224,7 @@ Page(Object.assign({
actionSheet.unionUserImageUrl = app.globalData.userUnionTypeImageUrl;
actionSheet.actions = actionsheetParam;
} else if (app.globalData.userInfo.uid) {
//登录状态
// 登录状态
actionSheet.unionUserImageUrl = app.globalData.userNounionTypeImageUrl;
}
this.setData({
... ... @@ -322,7 +322,7 @@ Page(Object.assign({
} else if (app.globalData.userInfo.uid) {
router.goUrl('https://activity.yoho.cn/feature/2601.html?title=有货有赚');
} else {
//未登录 状态去登录
// 未登录 状态去登录
this.goLogin();
}
},
... ... @@ -793,4 +793,4 @@ Page(Object.assign({
getUserWechatId() {
return app.getUnionID() || app.getOpenID();
}
}, Actionsheet));
\ No newline at end of file
}, Actionsheet));
... ...
... ... @@ -205,9 +205,9 @@ Page(Object.assign({
initActionSheet() {
let actionSheet = this.data.actionSheet;
//user_union_type 有值 需要显示 联盟share按钮
// user_union_type 有值 需要显示 联盟share按钮
if (app.globalData.userUnionType) { //user_union_type_imageUrl
if (app.globalData.userUnionType) { // user_union_type_imageUrl
let actionsheetParam = [{
name: '分享给朋友',
className: 'action-class',
... ... @@ -224,7 +224,7 @@ Page(Object.assign({
actionSheet.unionUserImageUrl = app.globalData.userUnionTypeImageUrl;
actionSheet.actions = actionsheetParam;
} else if (app.globalData.userInfo.uid) {
//登录状态
// 登录状态
actionSheet.unionUserImageUrl = app.globalData.userNounionTypeImageUrl;
}
this.setData({
... ... @@ -358,7 +358,7 @@ Page(Object.assign({
} else if (app.globalData.userInfo.uid) {
router.goUrl('https://activity.yoho.cn/feature/2601.html?title=有货有赚');
} else {
//未登录 状态去登录
// 未登录 状态去登录
let pages = getCurrentPages();
let referer = pages[pages.length - 1].route + '?' + decodeURIComponent(stringify(this.data.shareInfo));
... ... @@ -726,4 +726,4 @@ Page(Object.assign({
}
return new_time;
}
}, Actionsheet));
\ No newline at end of file
}, Actionsheet));
... ...
... ... @@ -259,4 +259,4 @@ Page({
ctx.stroke();
},
});
\ No newline at end of file
});
... ...
... ... @@ -171,4 +171,4 @@ Page({
});
}
},
});
\ No newline at end of file
});
... ...