From 25faadec893b34609c094fb878ef98d600823ccd Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期四, 12 九月 2024 16:44:49 +0800 Subject: [PATCH] update --- sub_pages/customer/trade/trade.vue | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/sub_pages/customer/trade/trade.vue b/sub_pages/customer/trade/trade.vue index 75e41e3..0f3df95 100644 --- a/sub_pages/customer/trade/trade.vue +++ b/sub_pages/customer/trade/trade.vue @@ -1,5 +1,6 @@ <template> - <view class="container-trade" :style="{'min-height':hidefooter?'':'calc(100vh - 20rpx)','max-height':hidefooter?'':'calc(100vh - 20rpx)'}"> + <view class="container-trade" + :style="{'min-height':hidefooter?'':'calc(100vh - 20rpx)','max-height':hidefooter?'':'calc(100vh - 20rpx)'}"> <view class="search-container m-t-12 flex" v-if="!hidefooter"> <!-- <view class="flex m-r-20"> <view class="m-r-10" style="line-height: 80rpx;" @click="changeSearchType"> @@ -36,7 +37,8 @@ </view> </view> - <view class="canteen-items" :style="{'min-height':hidefooter?'':'calc(100vh - 340rpx)','max-height':hidefooter?'':'calc(100vh - 340rpx)'}"> + <view class="canteen-items" + :style="{'min-height':hidefooter?'':'calc(100vh - 340rpx)','max-height':hidefooter?'':'calc(100vh - 340rpx)'}"> <view v-if="(!list||list.length==0)&&true" style="width: 100%;min-height: 200rpx;"> </view> @@ -63,12 +65,13 @@ <view class="desc m-l-a m-r-0">在售 {{item.stock||'0'}} 扎</view> </view> <view class="price"> - <view>¥{{item.priceLowMember || 0}}-{{item.priceHighMember||0}}/扎</view> + <view>¥<span class="p">{{item.priceLowMember || 0}}</span>~<span + class="p">{{item.priceHighMember||0}}</span>/扎</view> </view> <view class="flex info"> - <view class="m-r-15"> + <!-- <view class="m-r-15"> 库存:{{item.stock || 0}} - </view> + </view> --> <view> {{item.unit || ''}} </view> @@ -395,6 +398,7 @@ .container-trade { background-color: #FFFFFF; padding-top: 20rpx; + // overflow-x: scroll; .search-container { margin: 0rpx 30rpx 20rpx 30rpx; @@ -487,6 +491,8 @@ background-color: rgba(202, 229, 214, 0.57); border-radius: 4rpx; text-align: center; + padding-left: 15rpx; + padding-right: 15rpx; // margin-top: 12rpx; } @@ -498,6 +504,12 @@ line-height: 34rpx; text-align: left; margin-top: 12rpx; + + .p { + font-size: 40rpx; + font-weight: 600; + } + } .info { -- Gitblit v1.9.3