Merge branch 'youda' of http://123.207.203.228:3000/shang/yfs into youda

This commit is contained in:
18631081161 2025-04-25 11:55:47 +08:00
commit 5f3161e9d2
12 changed files with 2437 additions and 2389 deletions

View File

@ -236,5 +236,4 @@ button.hide {
transform: scale(1); transform: scale(1);
} }
} }
</style> </style>

View File

@ -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');
}
/** /**
* 初始化并加载配置 * 初始化并加载配置
* 在应用启动时调用 * 在应用启动时调用

View File

@ -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({

View File

@ -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();
}, },

View File

@ -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
} }

View File

@ -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,

View File

@ -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() {

View File

@ -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,

View File

@ -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')
} }
}, },

View File

@ -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,
}; };
}, },

View File

@ -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
} }
}, },

View File

@ -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
} }
}, },