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