Merge branch 'youda' of http://123.207.203.228:3000/shang/yfs into youda
This commit is contained in:
commit
5f3161e9d2
|
|
@ -67,6 +67,9 @@ const defaultConfig = {
|
|||
|
||||
// 配置类
|
||||
class ConfigManager {
|
||||
static getShareImageUrl() {
|
||||
return "https://image.zfunbox.cn/icon/fenxiang.jpg";//this.getAppSetting('share_image_url');
|
||||
}
|
||||
/**
|
||||
* 初始化并加载配置
|
||||
* 在应用启动时调用
|
||||
|
|
|
|||
|
|
@ -47,6 +47,14 @@ export default {
|
|||
guize: ''
|
||||
}
|
||||
},
|
||||
onShareAppMessage() {
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: imageUrl,
|
||||
title: "友达上线,来就送!",
|
||||
path: '/pages/shouye/index?pid=' + uni.getStorageSync('userinfo').ID
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
items(item) {
|
||||
this.$c.to({
|
||||
|
|
|
|||
|
|
@ -121,7 +121,14 @@ export default {
|
|||
endedLoaded: false, // 已结束数据是否已加载
|
||||
}
|
||||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: imageUrl,
|
||||
title: "友达上线,来就送!",
|
||||
path: '/pages/infinite/index'
|
||||
}
|
||||
},
|
||||
async onLoad() {
|
||||
this.loadOngoingData();
|
||||
},
|
||||
|
|
|
|||
|
|
@ -169,7 +169,9 @@ export default {
|
|||
PageContainer
|
||||
},
|
||||
onShareAppMessage() {
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: imageUrl,
|
||||
title: this.bonusData.title,
|
||||
path: '/pages/infinite/bonus_house_details?goods_id=' + this.goods_id
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,6 +95,14 @@ export default {
|
|||
components: {
|
||||
PageContainer
|
||||
},
|
||||
onShareAppMessage() {
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: imageUrl,
|
||||
title: "友达上线,来就送!",
|
||||
path: '/pages/infinite/index'
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tipVisible: false,
|
||||
|
|
|
|||
|
|
@ -26,6 +26,14 @@ export default {
|
|||
list: []
|
||||
}
|
||||
},
|
||||
onShareAppMessage() {
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: imageUrl,
|
||||
title: "友达上线,来就送!",
|
||||
path: '/pages/shouye/index?pid=' + uni.getStorageSync('userinfo').ID
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 获取福利屋菜单列表
|
||||
getWelfareList() {
|
||||
|
|
|
|||
|
|
@ -144,6 +144,14 @@ export default {
|
|||
components: {
|
||||
EmptyState: () => import('@/components/empty-state/empty-state.vue')
|
||||
},
|
||||
onShareAppMessage() {
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: imageUrl,
|
||||
title: "友达上线,来就送!",
|
||||
path: '/pages/shouye/index?pid=' + uni.getStorageSync('userinfo').ID
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
statusBarHeight: 0,
|
||||
|
|
|
|||
|
|
@ -176,9 +176,11 @@
|
|||
that.getData()
|
||||
},
|
||||
onShareAppMessage() {
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: imageUrl,
|
||||
title: "友达赏,正版潮玩手办一番赏",
|
||||
imageUrl: '',
|
||||
|
||||
path: '/pages/shouye/index?pid=' + uni.getStorageSync('pid')
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -245,10 +245,11 @@ export default {
|
|||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
let that = this;
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: imageUrl,
|
||||
title: this.$config.getAppSetting("app_name") + ",正版潮玩手办一番赏",
|
||||
imageUrl: that.advert[0].imgurl,
|
||||
|
||||
path: "/pages/shouye/index?pid=" + uni.getStorageSync("userinfo").ID,
|
||||
};
|
||||
},
|
||||
|
|
|
|||
|
|
@ -403,9 +403,10 @@
|
|||
uni.setStorageSync('page', this.$mp.page.route)
|
||||
},
|
||||
onShareAppMessage() {
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: imageUrl,
|
||||
title: "友达赏,正版潮玩手办一番赏",
|
||||
// imageUrl: '',
|
||||
path: '/pages/user/index?pid=' + uni.getStorageSync('userinfo').ID
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -88,7 +88,8 @@
|
|||
<image :src="logo_image" style="width: 100%;"></image>
|
||||
</view>
|
||||
<view style="text-align: center; margin-top: 20rpx;">
|
||||
<image show-menu-by-longpress style="width: 48px;height: 48px;" @click="saveImageToPhotosAlbum()" :src="getXiaZai()"></image>
|
||||
<image show-menu-by-longpress style="width: 48px;height: 48px;" @click="saveImageToPhotosAlbum()"
|
||||
:src="getXiaZai()"></image>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</view>
|
||||
|
|
@ -117,10 +118,10 @@
|
|||
onShareAppMessage() {
|
||||
let that = this;
|
||||
console.log();
|
||||
|
||||
let imageUrl = this.$config.getShareImageUrl();
|
||||
return {
|
||||
imageUrl: this.$imageBaseUrl+"/icon/share.jpg",
|
||||
title: "友达内测上线,来就送!",
|
||||
imageUrl: imageUrl,
|
||||
title: "友达上线,来就送!",
|
||||
path: '/pages/shouye/index?pid=' + uni.getStorageSync('userinfo').ID
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user