From 4ed234454b2b9f5738120d2b671d691e5f2e078c Mon Sep 17 00:00:00 2001 From: XingQue Date: Sat, 27 Jun 2026 02:53:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=90=8E=E5=8F=B0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=82=B9=E5=8D=95=E5=95=86=E5=93=81=E6=AD=A3=E5=B8=B8/?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E5=B1=95=E7=A4=BA=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- src/views/miniapp/MiniappConfig.vue | 38 ++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/src/views/miniapp/MiniappConfig.vue b/src/views/miniapp/MiniappConfig.vue index e65c22a..b5fc079 100644 --- a/src/views/miniapp/MiniappConfig.vue +++ b/src/views/miniapp/MiniappConfig.vue @@ -12,6 +12,33 @@ + + + + + + 正常运营(shenhezhuangtai = 1) + 审核专用(shenhezhuangtai = 2) + + + + + 商品/类型/专区在后台商品管理里分别标记审核状态。选「正常运营」只展示标记为 1 的数据;选「审核专用」只展示标记为 2 的数据(提审微信时用)。 + + + + 保存 + 刷新 + + + + @@ -115,7 +142,7 @@ import request from '@/utils/request' const username = ref(localStorage.getItem('username') || '') const hasPermission = ref(true) -const activeTab = ref('sys') +const activeTab = ref('shop') const ossBaseUrl = ref(window.$ossURL || '') const sysLoading = ref(false) @@ -132,6 +159,7 @@ const sysForm = reactive({ weixin_shanghu_miyao: '', weixin_notify_url: '', notify_base_url: '', + shangpin_shenhe_mode: 2, }) const assetGroup = ref('paihangbang') @@ -167,6 +195,7 @@ const loadSysConfig = async () => { weixin_shanghu_miyao: '', weixin_notify_url: res.data.weixin_notify_url || '', notify_base_url: res.data.notify_base_url || '', + shangpin_shenhe_mode: res.data.shangpin_shenhe_mode ?? 2, }) } else { ElMessage.error(res.msg || '加载失败') @@ -321,6 +350,13 @@ onMounted(() => { .asset-hint { margin-bottom: 12px; } +.shop-hint { + margin-bottom: 16px; +} +.shop-form { + max-width: 720px; + margin-top: 12px; +} .asset-table { margin-top: 8px; }