From d701c729289436e6d6f73f67dd2e53abb046a0fb Mon Sep 17 00:00:00 2001 From: "pikachu1995@126.com" Date: Sun, 7 Dec 2025 13:48:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor(page-decoration):=20=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=A1=B5=E9=9D=A2=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=EF=BC=8C=E4=BD=BF=E7=94=A8Tabs=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=9B=BF=E6=8D=A2=E5=88=86=E7=B1=BB=E5=8D=A1=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feat(wap): 为移动端页面列表添加类型标签页功能 fix(dialog): 修复对话框确认后未隐藏的问题 style: 统一移动端页面管理样式,优化表格布局 --- manager/src/views/goods/goods-info/goods.vue | 12 +- .../src/views/page-decoration/floorList.vue | 154 ++++------------- .../src/views/page-decoration/wap/wapList.vue | 156 ++++-------------- .../src/views/sys/log-manage/logManage.vue | 6 +- .../setting-manage/pay/PAYMENT_SUPPORT.vue | 10 +- seller/src/views/shop/wap/wapList.vue | 16 +- 6 files changed, 98 insertions(+), 256 deletions(-) diff --git a/manager/src/views/goods/goods-info/goods.vue b/manager/src/views/goods/goods-info/goods.vue index 4d0c6151..51767992 100644 --- a/manager/src/views/goods/goods-info/goods.vue +++ b/manager/src/views/goods/goods-info/goods.vue @@ -309,11 +309,12 @@ export default { }, // 上架 upper(v) { - DialogPlugin.confirm({ + const dlg = DialogPlugin.confirm({ header: "确认上架", content: "您确认要上架 " + v.goodsName + " ?", theme: "warning", onConfirm: () => { + dlg.hide(); const params = { goodsId: v.id }; upGoods(params).then((res) => { if (res.success) { @@ -364,11 +365,12 @@ export default { this.goodsAuditForm.authFlag = "REFUSE"; } - DialogPlugin.confirm({ + const dlg = DialogPlugin.confirm({ header: "确认审核", content: "您确认要审核" + examine + " " + v.goodsName + " ?", theme: "warning", onConfirm: () => { + dlg.hide(); this.goodsAuditForm.goodsIds = v.id; const formData = new FormData(); formData.append('goodsIds', v.id); @@ -395,11 +397,12 @@ export default { // 确认审核(二次确认) confirmAudit() { const auditText = this.goodsAuditForm.auth_flag === 1 ? '通过' : '拒绝'; - DialogPlugin.confirm({ + const dlg = DialogPlugin.confirm({ header: '确认审核', content: `您确认要审核${auditText} "${this.currentAuditGoods.goodsName}" 吗?`, theme: 'warning', onConfirm: () => { + dlg.hide(); this.submitAudit(); }, }); @@ -515,11 +518,12 @@ export default { const actionText = this.batchAuditForm.auth_flag === 1 ? '通过' : '拒绝'; const goodsNames = this.selectedRows.map(item => item.goodsName).join('、'); - DialogPlugin.confirm({ + const dlg = DialogPlugin.confirm({ header: `确认批量审核${actionText}`, content: `您确认要${actionText}以下商品的审核吗?\n${goodsNames}`, theme: 'warning', onConfirm: () => { + dlg.hide(); const goodsIds = this.selectedRows.map(item => item.id); const formData = new FormData(); formData.append('goodsId', goodsIds); diff --git a/manager/src/views/page-decoration/floorList.vue b/manager/src/views/page-decoration/floorList.vue index 75b12435..ff74ba89 100644 --- a/manager/src/views/page-decoration/floorList.vue +++ b/manager/src/views/page-decoration/floorList.vue @@ -1,62 +1,40 @@