【功能完善】积分商城分享
parent
7017561242
commit
530410fcf0
|
@ -241,7 +241,7 @@
|
|||
padding: 20rpx;
|
||||
color: #fff;
|
||||
background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
|
||||
margin-top: 18px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 9px;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
|
@ -249,7 +249,7 @@
|
|||
&.admin {
|
||||
background: #fff;
|
||||
color: #333;
|
||||
margin-top: 18px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 9px;
|
||||
border-radius: 0 10px 10px 10px;
|
||||
}
|
||||
|
|
|
@ -171,7 +171,6 @@
|
|||
}
|
||||
|
||||
// 分享信息
|
||||
// TODO puhui999: 下次 fix
|
||||
const shareInfo = computed(() => {
|
||||
if (isEmpty(unref(activity))) return {};
|
||||
return sheep.$platform.share.getShareInfo(
|
||||
|
@ -179,7 +178,7 @@
|
|||
title: activity.value.name,
|
||||
image: sheep.$url.cdn(state.goodsInfo.picUrl),
|
||||
params: {
|
||||
page: '4',
|
||||
page: '6',
|
||||
query: activity.value.id,
|
||||
},
|
||||
},
|
||||
|
@ -187,8 +186,8 @@
|
|||
type: 'goods', // 商品海报
|
||||
title: activity.value.name, // 商品标题
|
||||
image: sheep.$url.cdn(state.goodsInfo.picUrl), // 商品主图
|
||||
price: state.goodsInfo.price, // 商品价格
|
||||
marketPrice: state.goodsInfo.marketPrice, // 商品原价
|
||||
price: (getShowPrice.value.price || 0) + ` + ${getShowPrice.value.point} 积分`, // 积分价格
|
||||
marketPrice: fen2yuan(state.goodsInfo.marketPrice), // 商品原价
|
||||
},
|
||||
);
|
||||
});
|
||||
|
|
|
@ -158,6 +158,13 @@ const decryptSpm = (spm) => {
|
|||
id: shareParamsArray[2],
|
||||
};
|
||||
break;
|
||||
case '6':
|
||||
// 积分商品
|
||||
shareParams.page = '/pages/goods/point';
|
||||
shareParams.query = {
|
||||
id: shareParamsArray[2],
|
||||
};
|
||||
break;
|
||||
}
|
||||
shareParams.platform = platformMap[shareParamsArray[3] - 1];
|
||||
shareParams.from = fromMap[shareParamsArray[4] - 1];
|
||||
|
|
Loading…
Reference in New Issue