| | |
| | | color: #000000; |
| | | line-height: 40rpx; |
| | | word-break: break-word; |
| | | min-height: 90rpx |
| | | } |
| | | |
| | | .price { |
| | |
| | | } |
| | | if (arr.length < 1) { |
| | | console.log('请选择商品', arr, this.ids) |
| | | this.$message.showToast('请选择商品') |
| | | return |
| | | } |
| | | this.$message.showLoading() |
| | |
| | | }, 300) |
| | | }, |
| | | async clickSwipeButton(item, check) { |
| | | // console.log('clickSwipeButton', e) |
| | | //删除商品,重新加载数据? |
| | | if (check) { |
| | | await this.$message.confirm('是否删除商品') |
| | |
| | | break |
| | | } |
| | | } |
| | | console.log('this.list', this.list) |
| | | // console.log('this.list', this.list) |
| | | // 解决滑动的swipe不自动关闭的问题 |
| | | if (check) { |
| | | let arr = this.list |
| | | this.list = [] |
| | | this.$nextTick(() => { |
| | | this.list = arr |
| | | }) |
| | | } |
| | | |
| | | |
| | | } |
| | | }, |
| | | |
| | |
| | | padding: 20rpx; |
| | | right: 0rpx; |
| | | // bottom: 160rpx; |
| | | bottom: 140rpx; |
| | | bottom: 130rpx; |
| | | z-index: 11; |
| | | } |
| | | |