动态关联商品

version/0412
wangdong 6 months ago
parent 4a4844512c
commit 30a2ec4e99
  1. 8
      pages/squareDynamic/index.vue
  2. 12
      pages/user/index.vue

@ -24,13 +24,13 @@
<view v-if="item.imgs && item.imgs.length > 0" class="pic-list"> <view v-if="item.imgs && item.imgs.length > 0" class="pic-list">
<image v-for="(pic, k) in item.imgs" :key="k" :src="pic.external_url" mode="aspectFill" @click="previewImage(k, item.imgs)"></image> <image v-for="(pic, k) in item.imgs" :key="k" :src="pic.external_url" mode="aspectFill" @click="previewImage(k, item.imgs)"></image>
</view> </view>
<view class="goods"> <view v-if="item.goodsInfo" class="goods">
<view class="goods-box"> <view class="goods-box">
<image :src="item.goods_image" mode="aspectFill"></image> <image :src="item.goodsInfo.goods_image" mode="aspectFill"></image>
<view class="goods-info"> <view class="goods-info">
<view class="name">{{ item.goods_name }}</view> <view class="name">{{ item.goodsInfo.goods_name }}</view>
<view class="price"> <view class="price">
<text>{{ item.goods_price_min>0?Number(item.goods_price_min):0.00 }}</text> <text>{{ item.goodsInfo.goods_price_min>0?Number(item.goodsInfo.goods_price_min):0.00 }}</text>
<text @click="toGoodsDetail(item)">加购</text> <text @click="toGoodsDetail(item)">加购</text>
</view> </view>
</view> </view>

@ -398,6 +398,12 @@
投诉 投诉
</view> </view>
</view> </view>
<view class="serveIcon" v-if="userInfo.user_type == 40" @click="goJump('/pages/feedback/index')">
<image src="/static/feedback/feedback.png" class="icons"></image>
<view class="serveInfo">
意见反馈
</view>
</view>
<view class="serveIcon" @click="goJump('/pages/news/park/addressList')"> <view class="serveIcon" @click="goJump('/pages/news/park/addressList')">
<image :src="$picUrl+'/static/user/address.png'" class="icons"></image> <image :src="$picUrl+'/static/user/address.png'" class="icons"></image>
<view class="serveInfo"> <view class="serveInfo">
@ -509,12 +515,6 @@
进群有礼 进群有礼
</view> </view>
</view> </view>
<view class="serveIcon" v-if="userInfo.user_type == 40" @click="goJump('/pages/feedback/index')">
<image src="/static/feedback/feedback.png" class="icons"></image>
<view class="serveInfo">
意见反馈
</view>
</view>
</view> </view>
</view> </view>
<!-- 商品推荐 --> <!-- 商品推荐 -->

Loading…
Cancel
Save