This commit is contained in:
zmj 2024-06-18 15:50:26 +08:00
parent 2a1e112e57
commit ca9c5bfbf1
2 changed files with 12 additions and 3 deletions

View File

@ -246,7 +246,7 @@
let shareStr = '?id=' + STORE_INFO.id;
if (userStore.userInfo.user_ship == 1) {
shareStr = shareStr + '&spread_uid=' + userStore.userInfo.id + '&real_name=' + (userStore.userInfo
.real_name || userStore.userInfo.nickname)
.nickname)
}
let shareInfo = {
title: userStore.userInfo.nickname,
@ -558,10 +558,18 @@
store_id: ''
});
const getShareInfo = () => {
if (uni.getStorageSync('SHARE_INFO')) {
shareInfo.value = (uni.getStorageSync('SHARE_INFO'))
}
}
getShareInfo()
onLoad(async (opt) => {
where.value.store_id = opt.id || STORE_INFO.id;
// id
if (opt.id) {
console.log('opt', opt)
where.value.store_id = opt.id;
const info = await shopDetailApi({
store_id: opt.id

View File

@ -91,8 +91,9 @@
</view>
</view>
<view class="row"
v-if="userInfo.user_ship == 4 || userInfo.user_ship == 5 || userInfo.user_ship == 6 || userInfo.user_ship == 1">
<!-- <view class="row"
v-if="userInfo.user_ship == 4 || userInfo.user_ship == 5 || userInfo.user_ship == 6 || userInfo.user_ship == 1"> -->
<view class="row">
<view class="icon-text">
<image src="@/static/icon/YEZF.png" style="width:40rpx;height: 40rpx;" />
<text style="margin-left: 20rpx;font-size: 26rpx;">余额支付</text>