为了减少代码体积,删除了集采价的注释信息

This commit is contained in:
wangxiaowei 2024-06-20 02:13:01 +08:00
parent 9b1edd913f
commit 99024fc258

@ -21,13 +21,6 @@
<price-format class="muted" :firstSize="24" :secondSize="24" :subscript-size="24"
line-through :price="item.market_price || item.price"></price-format>
</view>
<!-- <view v-if="p_id == 0 && userInfo.u_id && userInfo.wholesale_state == 2 && item.wholesale_price > 0">
<view>
<text class="xs lighter">批发价:</text>
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34" :second-size="26"
:subscript-size="26" :price="item.wholesale_price" :weight="500"></price-format>
</view>
</view> -->
</view>
</view>
</router-link>
@ -53,13 +46,6 @@
<price-format class="muted" :firstSize="24" :secondSize="24" :subscript-size="24"
line-through :price="item.market_price || item.price"></price-format>
</view>
<!-- <view v-if="p_id == 0 && userInfo.u_id && userInfo.wholesale_state == 2 && item.wholesale_price > 0">
<view>
<text class="xs lighter">批发价:</text>
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34" :second-size="26"
:subscript-size="26" :price="item.wholesale_price" :weight="500"></price-format>
</view>
</view> -->
</view>
</view>
</router-link>
@ -87,13 +73,6 @@
line-through :price="item.market_price || item.price"></price-format>
</view>
</view>
<!-- <view v-if="p_id == 0 && userInfo.u_id && userInfo.wholesale_state == 2 && item.wholesale_price > 0">
<view>
<text class="xs lighter">批发价:</text>
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34" :second-size="26"
:subscript-size="26" :price="item.wholesale_price" :weight="500"></price-format>
</view>
</view> -->
</view>
</view>
</router-link>
@ -121,13 +100,6 @@
<price-format class="muted" :firstSize="22" :secondSize="22" :subscript-size="22"
line-through :price="item.market_price || item.price"></price-format>
</view>
<!-- <view v-if="p_id == 0 && userInfo.u_id && userInfo.wholesale_state == 2 && item.wholesale_price > 0">
<view>
<text class="xs lighter">批发价:</text>
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34" :second-size="26"
:subscript-size="26" :price="item.wholesale_price" :weight="500"></price-format>
</view>
</view> -->
</view>
<image v-if="index < 3 && type == 'row-hot'" class="paixu" :src="'/static/images/No.' + index + '.png'"></image>
</view>
@ -152,15 +124,7 @@
<view class="muted xxs">原价<price-format :first-size="24" :second-size="24"
:subscript-size="24" :price="item.market_price"></price-format>
</view>
<!-- <view class="muted xxs">{{item.sales_total}}人购买</view> -->
</view>
<!-- <view v-if="p_id == 0 && userInfo.u_id && userInfo.wholesale_state == 2 && item.wholesale_price > 0">
<view>
<text class="xs lighter">批发价:</text>
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34" :second-size="26"
:subscript-size="26" :price="item.wholesale_price" :weight="500"></price-format>
</view>
</view> -->
<view class="btn flex row-between m-t-20">
<price-format v-if="p_id == 0" :color="colorConfig.primary" class="m-r-10" :first-size="34" :second-size="26"
:subscript-size="26" :price="item.min_price" :weight="500"></price-format>
@ -180,7 +144,6 @@
</view>
<view class="goods-info m-l-20 flex-1">
<view class="goods-name line-2 m-b-10">{{item.name}}</view>
<!-- <text class="sale br60 xxs">已有{{item.sales_total}}人购买</text> -->
<view class="row-between flex m-t-10">
<view class="price mt10 row" v-if="p_id > 0">
@ -198,13 +161,6 @@
line-through :price="item.market_price"></price-format>
</view>
<!-- <view v-if="p_id == 0 && userInfo.u_id && userInfo.wholesale_state == 2 && item.wholesale_price > 0">
<view>
<text class="xs lighter">批发价:</text>
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34" :second-size="26"
:subscript-size="26" :price="item.wholesale_price" :weight="500"></price-format>
</view>
</view> -->
<button class="bg-primary br60 white btn" size="xs">立即抢购</button>
</view>
</view>
@ -239,13 +195,6 @@
line-through :price="item.market_price"></price-format>
</view>
<!-- <view v-if="p_id == 0 && userInfo.u_id && userInfo.wholesale_state == 2 && item.wholesale_price > 0">
<view>
<text class="xs lighter">批发价:</text>
<price-format :color="colorConfig.primary" class="m-r-10" :first-size="34" :second-size="26"
:subscript-size="26" :price="item.wholesale_price" :weight="500"></price-format>
</view>
</view> -->
<button class="bg-primary br60 white btn" size="xs">立即抢购</button>
</view>
</view>