xuxueyang
2024-09-12 25faadec893b34609c094fb878ef98d600823ccd
update
已修改1个文件
22 ■■■■ 文件已修改
sub_pages/customer/trade/trade.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;">
                &nbsp;
            </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 {