|
@@ -77,9 +77,9 @@ export default defineComponent({
|
|
|
location.origin +
|
|
|
`/accompany/colexiu-share.html?id=${moreData.value.id}&recomUserId=${state.user.data?.userId}&userType=${state.platformType}`
|
|
|
// 判断是否有活动
|
|
|
- // if (res.data.discount === 1) {
|
|
|
- url += `&activityId=${res.data.activityId}`
|
|
|
- // }
|
|
|
+ if (res.data.discount === 1) {
|
|
|
+ url += `&activityId=${res.data.activityId}`
|
|
|
+ }
|
|
|
shareDiscount.value = res.data.discount || 0
|
|
|
shareUrl.value = url
|
|
|
isMore.value = false
|
|
@@ -165,12 +165,7 @@ export default defineComponent({
|
|
|
</div>
|
|
|
))}
|
|
|
|
|
|
- <Popup
|
|
|
- v-model:show={isMore.value}
|
|
|
- position="bottom"
|
|
|
- round
|
|
|
- teleport="body"
|
|
|
- >
|
|
|
+ <Popup v-model:show={isMore.value} position="bottom" round teleport='body'>
|
|
|
<CellGroup border={false}>
|
|
|
<Cell
|
|
|
center
|