...
|
...
|
@@ -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));
|
|
|
|
...
|
...
|
|