评论商品接口有问题
This commit is contained in:
@@ -22,7 +22,10 @@
|
||||
|
||||
const onShare = () => {
|
||||
// productId
|
||||
navigateTo('/pages/shop-together/share')
|
||||
navigateTo('/pages/shop-together/share', {
|
||||
id: viewData.value.id,
|
||||
productId: viewData.value.productId
|
||||
})
|
||||
}
|
||||
|
||||
onLoad(e => {
|
||||
@@ -39,10 +42,12 @@
|
||||
<view class="state-box">发起人</view>
|
||||
<view class="left-box">
|
||||
<image
|
||||
src="https://wx1.sinaimg.cn/mw690/92eeb099gy1i29hl0ne80j21jk2bcash.jpg"
|
||||
mode="scaleToFill"
|
||||
v-if="topUser?.avatar"
|
||||
:src="topUser?.avatar"
|
||||
mode="aspectFill"
|
||||
class="avatar"
|
||||
></image>
|
||||
<uni-icons v-else type="contact-filled" size="64"></uni-icons>
|
||||
<view class="name-box">
|
||||
<text>{{ topUser.userName }}</text>
|
||||
<text>ID:{{ topUser.userId }}</text>
|
||||
@@ -68,7 +73,12 @@
|
||||
class="left-img"
|
||||
></image>
|
||||
<view class="right-content">
|
||||
<text class="product-name">{{ viewData.productName }}</text>
|
||||
<view>
|
||||
<text class="product-name">{{ viewData.productName }}</text>
|
||||
<text v-if="viewData.activityType" class="num-box">
|
||||
{{ viewData.activityType }} 人拼团
|
||||
</text>
|
||||
</view>
|
||||
<view class="line-box">
|
||||
<view class="rmb-box">
|
||||
<text></text>
|
||||
|
||||
Reference in New Issue
Block a user