mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:03:27 +08:00
修复【uniapp】:商品详情页面,如果未登录状态下,也可以进行分享
This commit is contained in:
@@ -26,7 +26,8 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 积分兑换价格 -->
|
<!-- 积分兑换价格 -->
|
||||||
<Point v-if="!props.isActivityGoods" :flex="true" :data="props.goodsDetailData?.product" fontSize="24rpx"></Point>
|
<Point v-if="!props.isActivityGoods" :flex="true" :data="props.goodsDetailData?.product" fontSize="24rpx">
|
||||||
|
</Point>
|
||||||
|
|
||||||
<view class="name-box" v-if="props.goodsDetailData?.name || props.goodsDetailData?.brief">
|
<view class="name-box" v-if="props.goodsDetailData?.name || props.goodsDetailData?.brief">
|
||||||
<view class="name">{{ props.goodsDetailData?.name }}</view>
|
<view class="name">{{ props.goodsDetailData?.name }}</view>
|
||||||
@@ -124,9 +125,7 @@
|
|||||||
|
|
||||||
/** 分享弹框显示与否 */
|
/** 分享弹框显示与否 */
|
||||||
const handleToggleShowShare = () => {
|
const handleToggleShowShare = () => {
|
||||||
_useLoginStore.checkLogin(() => {
|
state.showShare = !state.showShare;
|
||||||
state.showShare = !state.showShare;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user