This commit is contained in:
zmj 2024-06-22 11:27:11 +08:00
parent 94ba867c2b
commit d49221bcb4
3 changed files with 153 additions and 143 deletions

View File

@ -14,8 +14,13 @@
</view> </view>
<view class="row"> <view class="row">
<view>商品价格</view> <view>商品价格</view>
<view>¥ {{datas.price}}</view> <view>¥ {{datas.price}} / {{datas.unit_name }}</view>
</view> </view>
<view class="row" v-if="datas.batch>0">
<view>起批量</view>
<view>{{datas.batch}}{{datas.unit_name }}起批 </view>
</view>
<view class="row"> <view class="row">
<view>小计</view> <view>小计</view>
<view style="color: #F55726;" v-if="+datas.cart_num<+datas.batch"> <view style="color: #F55726;" v-if="+datas.cart_num<+datas.batch">

View File

@ -144,12 +144,17 @@
<text>{{item.spec}}</text> <text>{{item.spec}}</text>
</view> </view>
</view> </view>
<view style="display: flex;" v-if='userStore?.userInfo?.user_ship==1'> <view style="display: flex;" v-if='item.batch>0'>
<view class="price" style="margin-right: 10rpx;">{{item.vip_price}}</view> <view>{{item.batch}}{{item.unit_name }}起卖</view>
<text class='price'>会员价</text> </view>
<view style="display: flex;align-items: center;" v-if='userStore?.userInfo?.user_ship==1'>
<text class='price' style="font-size: 24rpx;">会员价</text>
<text class="price" style="margin-right: 10rpx;">{{item.vip_price}}
</text>
<text class='price' style="font-size: 24rpx;">/{{item.unit_name}}</text>
</view> </view>
<view class="price-btn"> <view class="price-btn">
<view class="price" style="font-size: 24rpx;">{{item.price}}</view> <view class="price" style="font-size: 24rpx;">{{item.price}}/{{item.unit_name}}</view>
<view class="btn"> <view class="btn">
<u--icon name="plus-circle-fill" size="20" color="#20b128"></u--icon> <u--icon name="plus-circle-fill" size="20" color="#20b128"></u--icon>
</view> </view>

View File

@ -67,7 +67,7 @@
<view class="row" v-if="[4,5,6].includes(userInfo.user_ship)" style="color: red;"> <view class="row" v-if="[4,5,6].includes(userInfo.user_ship)" style="color: red;">
<view>优惠减免</view> <view>优惠减免</view>
<view> <view>
<text>-¥</text>{{ c_price(orderInfo.preferential_amount, 0) }}<text>.{{ c_price(orderInfo.preferential_amount, 1) }}</text> <text>-¥</text>{{ c_price(orderInfo.activity_price, 0) }}<text>.{{ c_price(orderInfo.activity_price, 1) }}</text>
</view> </view>
</view> </view>
<view class="row" v-if="userInfo.user_ship==1 "> <view class="row" v-if="userInfo.user_ship==1 ">