| | |
| | | that.$u.api.updateLockStatus({ |
| | | ids: id, |
| | | lockStatus: lockStatus === 0 ? 1 : 0 |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | that.getList(1) |
| | | }).then(res1 => { |
| | | if (res1.code === 200) { |
| | | uni.showToast({ |
| | | title: res1.data, |
| | | icon: 'none', |
| | | mask: true |
| | | }) |
| | | setTimeout(() => { |
| | | that.getList(1) |
| | | }, 1500) |
| | | } |
| | | }) |
| | | } else if (res.cancel) { |
| | |
| | | that.$u.api.updateLockStatus({ |
| | | ids: that.selectIds.join(','), |
| | | lockStatus: lockStatus === 0 ? 1 : 0 |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | that.show1 = false |
| | | that.selectIds = [] |
| | | that.getList(1) |
| | | }).then(res1 => { |
| | | if (res1.code === 200) { |
| | | uni.showToast({ |
| | | title: res1.data, |
| | | icon: 'none', |
| | | mask: true |
| | | }) |
| | | setTimeout(() => { |
| | | that.show1 = false |
| | | that.selectIds = [] |
| | | that.getList(1) |
| | | }, 1500) |
| | | } |
| | | }) |
| | | } else if (res.cancel) { |
| | |
| | | } |
| | | .shaixuan_footer { |
| | | width: 100%; |
| | | height: 96rpx; |
| | | height: 140rpx; |
| | | padding: 0 20rpx; |
| | | box-sizing: border-box; |
| | | display: flex; |