|  |  | 
 |  |  |       }, | 
 |  |  |       methods: { | 
 |  |  |          toDetail(item) { | 
 |  |  |             if(item.status=='UP'){ | 
 |  |  | 					 | 
 |  |  |             }else{ | 
 |  |  |                this.$message.showToast('已失效,无法查看详情') | 
 |  |  |                return | 
 |  |  |             } | 
 |  |  |             uni.navigateTo({ | 
 |  |  |                url: `/sub_pages/customer/trade/detail?id=${item.id}` | 
 |  |  |             }) | 
 |  |  | 
 |  |  |          @cancel="order_show=false"></u-picker> | 
 |  |  |  | 
 |  |  |       <view class="trade-list-container"> | 
 |  |  |          <view class="trade-info-container flex" v-for="(dto,index) of list" :key="index" @click.stop="toDetail(dto)"> | 
 |  |  |          <view class="trade-info-container flex" v-for="(dto,index) of list" :key="index" | 
 |  |  |             @click.stop="toDetail(dto)"> | 
 |  |  |             <image class="img img100 br-4 m-r-10" :src="dto.url||dto.cover"></image> | 
 |  |  |             <view class="flex1"> | 
 |  |  |                <view class="flex"> | 
 |  |  | 
 |  |  |                      <view class="m-r-15">剩余:{{ dto.stock || 0 }}</view> | 
 |  |  |                      <view class="m-r-15">颜色:{{ dto.color || '-' }}</view> | 
 |  |  |                   </view> | 
 |  |  |                   <view class="button-icons flex m-l-a m-r-0 m-t-20"> | 
 |  |  |                   <view class="button-icons flex m-l-a m-r-0 m-t-20" v-if="dto.status=='UP'"> | 
 |  |  |                      <view class="m-r-0 gwc" @click.stop="submitShopping(dto)"> | 
 |  |  |                         + 购物车 | 
 |  |  |                      </view> | 
 |  |  | 
 |  |  |  | 
 |  |  | <style lang="scss" scoped> | 
 |  |  |    .page-collect { | 
 |  |  |       min-height: 99vh; | 
 |  |  |  | 
 |  |  |       .search-container { | 
 |  |  |          display: flex; | 
 |  |  |          margin: 12rpx 0rpx 20rpx 0rpx; |