From 11e47853b39c6c0acd7074bb1727e4295b70d643 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期一, 15 九月 2025 13:36:43 +0800 Subject: [PATCH] 优化 --- bicycle/pages/operationList/operationList.vue | 32 +++++++++++++++++++++++--------- 1 files changed, 23 insertions(+), 9 deletions(-) diff --git a/bicycle/pages/operationList/operationList.vue b/bicycle/pages/operationList/operationList.vue index 9a0ef1f..e9a5b52 100644 --- a/bicycle/pages/operationList/operationList.vue +++ b/bicycle/pages/operationList/operationList.vue @@ -296,9 +296,16 @@ 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) { @@ -317,11 +324,18 @@ 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) { @@ -437,7 +451,7 @@ } .shaixuan_footer { width: 100%; - height: 96rpx; + height: 140rpx; padding: 0 20rpx; box-sizing: border-box; display: flex; -- Gitblit v1.9.3