Fix:3894 【商城小程序】推荐商品列表开启价格面议的商品价格区域未显示为“价格面议”
This commit is contained in:
+23
-1
@@ -102,10 +102,13 @@
|
||||
<view class="v12-primary-border v12-radius-8 v12-px-1">{{ item.couponName }}</view>
|
||||
</view>
|
||||
<view class="v12-justify-between v12-align-center">
|
||||
<view class="v12-font-40 v12-font-bold v12-primary-text">
|
||||
<view class="v12-font-40 v12-font-bold v12-primary-text" v-if="!item.isNegotiable">
|
||||
<text class="">¥</text>
|
||||
<text class="price-txt price-red">{{ item.price }}</text>
|
||||
</view>
|
||||
<view v-if="item.isNegotiable === 1" class="v12-primary-text v12-font-32 v12-font-weight" @clicks.stop="goRoom(item)">
|
||||
价格面议
|
||||
</view>
|
||||
<view class="btn">
|
||||
<image
|
||||
:src="webUrl + '/home/icon-cart.png'"
|
||||
@@ -455,6 +458,25 @@ export default {
|
||||
this.pageToHideHandle()
|
||||
},
|
||||
methods: {
|
||||
goRoom(item) {
|
||||
return
|
||||
console.log(item);
|
||||
const params = {
|
||||
goodsId: item.id,
|
||||
goodsName: item.storeName,
|
||||
skuStr: '',
|
||||
price: item.price,
|
||||
seckillId: '',
|
||||
cover: item.image,
|
||||
goodsData: '',
|
||||
seckillData: '',
|
||||
isNegotiable: item.isNegotiable
|
||||
}
|
||||
const name = ''
|
||||
uni.navigateTo({
|
||||
url: `/pkg_common/views/room?id=${this.storeInfo.merId}&name=${name}¶ms=${JSON.stringify(params)}`
|
||||
})
|
||||
},
|
||||
toLoginHandle() {
|
||||
cookie.set('redirect', '/pages/cart')
|
||||
uni.reLaunch({
|
||||
|
||||
Reference in New Issue
Block a user