| | |
| | | }, |
| | | methods: { |
| | | toDetail(item) { |
| | | if(item.status=='UP'){ |
| | | |
| | | }else{ |
| | | if (item.status == 'UP') { |
| | | |
| | | } else { |
| | | this.$message.showToast('已失效,无法查看详情') |
| | | return |
| | | } |
| | |
| | | }, |
| | | async submitShopping(dto) { |
| | | //提交到购物车中 |
| | | this.$message.showLoading() |
| | | // this.$message.showLoading() |
| | | await this.$store.dispatch('submitShopping', dto); |
| | | this.$message.hideLoading() |
| | | // this.$message.hideLoading() |
| | | }, |
| | | select_level(e) { |
| | | this.level_show = false |
| | |
| | | <view class="flex1 input"> |
| | | <u-input placeholder="请输入花名" v-model="query.name"> |
| | | <template slot="suffix"> |
| | | <uni-icons color="#20613D" type="search" size="24" @tap="refreshList"></uni-icons> |
| | | <uni-icons color="#20613D" type="search" size="24" @click="refreshList"></uni-icons> |
| | | </template> |
| | | </u-input> |
| | | </view> |
| | |
| | | <view class="flex"> |
| | | <view class="title"> |
| | | <span class="m-r-5" style="display: inline-block;" |
| | | v-if="item.categoryStr">{{item.categoryStr||''}}</span> |
| | | <span v-if="item.levelStr" class="m-r-5" |
| | | style="display: inline-block;">{{ item.levelStr || '' }}</span> |
| | | v-if="dto.categoryStr">{{dto.categoryStr||''}}</span> |
| | | <span v-if="dto.levelStr" class="m-r-5" |
| | | style="display: inline-block;">{{ dto.levelStr || '' }}</span> |
| | | {{ dto.name || '-' }} |
| | | </view> |
| | | <view class="price m-l-a m-r-0"> |
| | |
| | | } |
| | | } |
| | | |
| | | .trade-info-container { |
| | | background-color: #fff; |
| | | border-top-right-radius: 40rpx; |
| | | border-top-left-radius: 40rpx; |
| | | padding: 30rpx; |
| | | overflow: hidden; |
| | | .trade-list-container { |
| | | min-height: calc(100vh - 300rpx); |
| | | overflow-y: scroll; |
| | | border-top-right-radius: 40rpx; |
| | | border-top-left-radius: 40rpx; |
| | | padding: 20rpx; |
| | | |
| | | } |
| | | |
| | | .trade-info-container { |
| | | background-color: #fff; |
| | | border-radius: 40rpx; |
| | | margin-bottom: 20rpx; |
| | | padding: 20rpx; |
| | | |
| | | |
| | | .img { |
| | | width: 124rpx; |