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; }