| | |
| | | <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"> |
| | |
| | | |
| | | </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> |
| | |
| | | <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> |
| | |
| | | .container-trade { |
| | | background-color: #FFFFFF; |
| | | padding-top: 20rpx; |
| | | |
| | | // overflow-x: scroll; |
| | | .search-container { |
| | | margin: 0rpx 30rpx 20rpx 30rpx; |
| | |
| | | background-color: rgba(202, 229, 214, 0.57); |
| | | border-radius: 4rpx; |
| | | text-align: center; |
| | | padding-left: 15rpx; |
| | | padding-right: 15rpx; |
| | | // margin-top: 12rpx; |
| | | |
| | | } |
| | |
| | | line-height: 34rpx; |
| | | text-align: left; |
| | | margin-top: 12rpx; |
| | | |
| | | .p { |
| | | font-size: 40rpx; |
| | | font-weight: 600; |
| | | } |
| | | |
| | | } |
| | | |
| | | .info { |