add
This commit is contained in:
parent
2a1e112e57
commit
ca9c5bfbf1
|
@ -246,7 +246,7 @@
|
||||||
let shareStr = '?id=' + STORE_INFO.id;
|
let shareStr = '?id=' + STORE_INFO.id;
|
||||||
if (userStore.userInfo.user_ship == 1) {
|
if (userStore.userInfo.user_ship == 1) {
|
||||||
shareStr = shareStr + '&spread_uid=' + userStore.userInfo.id + '&real_name=' + (userStore.userInfo
|
shareStr = shareStr + '&spread_uid=' + userStore.userInfo.id + '&real_name=' + (userStore.userInfo
|
||||||
.real_name || userStore.userInfo.nickname)
|
.nickname)
|
||||||
}
|
}
|
||||||
let shareInfo = {
|
let shareInfo = {
|
||||||
title: userStore.userInfo.nickname,
|
title: userStore.userInfo.nickname,
|
||||||
|
@ -558,10 +558,18 @@
|
||||||
store_id: ''
|
store_id: ''
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const getShareInfo = () => {
|
||||||
|
if (uni.getStorageSync('SHARE_INFO')) {
|
||||||
|
shareInfo.value = (uni.getStorageSync('SHARE_INFO'))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
getShareInfo()
|
||||||
|
|
||||||
onLoad(async (opt) => {
|
onLoad(async (opt) => {
|
||||||
where.value.store_id = opt.id || STORE_INFO.id;
|
where.value.store_id = opt.id || STORE_INFO.id;
|
||||||
// 店铺id
|
// 店铺id
|
||||||
if (opt.id) {
|
if (opt.id) {
|
||||||
|
console.log('opt', opt)
|
||||||
where.value.store_id = opt.id;
|
where.value.store_id = opt.id;
|
||||||
const info = await shopDetailApi({
|
const info = await shopDetailApi({
|
||||||
store_id: opt.id
|
store_id: opt.id
|
||||||
|
|
|
@ -91,8 +91,9 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="row"
|
<!-- <view class="row"
|
||||||
v-if="userInfo.user_ship == 4 || userInfo.user_ship == 5 || userInfo.user_ship == 6 || userInfo.user_ship == 1">
|
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">
|
<view class="icon-text">
|
||||||
<image src="@/static/icon/YEZF.png" style="width:40rpx;height: 40rpx;" />
|
<image src="@/static/icon/YEZF.png" style="width:40rpx;height: 40rpx;" />
|
||||||
<text style="margin-left: 20rpx;font-size: 26rpx;">余额支付</text>
|
<text style="margin-left: 20rpx;font-size: 26rpx;">余额支付</text>
|
||||||
|
|
Loading…
Reference in New Issue