From 62279bac25f722b49cdb7987157f65df14b740f8 Mon Sep 17 00:00:00 2001 From: MiAn Date: Mon, 2 Nov 2026 11:54:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E7=AB=AF=E5=BE=AE=E4=BF=A1=E6=8F=90=E5=AE=A1=E9=98=B2?= =?UTF-8?q?=E5=AE=A1=E5=90=88=E8=A7=84=E9=80=82=E9=85=8D=E4=B8=8E=E4=BA=8C?= =?UTF-8?q?=E7=BA=A7=E5=88=86=E7=B1=BB=E9=A2=91=E9=81=93=E6=A8=AA=E6=BB=91?= =?UTF-8?q?=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 分类频道页 (channel.vue):优化二级分类实拍图横滑筛选体验,全部按钮左侧常驻固定,细分品类自动平滑居中滚动,支持大类与二级分类联动发布 2. 提审防审模式合规适配:根据后台 virtualPayAudit 状态在全端详情页、个人中心、发布页、首页自适应隐藏 VIP 标价与直接扣费入口,个人中心卡片转换为绿色便民服务指南,杜绝任何诱导付费审核违规 3. 清理版本库历史 scratch 临时脚本,补充 .gitignore 忽略规则 --- .gitignore | 1 + scratch/add_miniapp_config.php | 33 ----- scratch/check_member_tags.js | 22 --- scratch/check_tags.js | 23 ---- scratch/clean_config.php | 13 -- scratch/clean_withdraw_detail.js | 11 -- scratch/debug_member.js | 7 - scratch/replace_api_setting.js | 20 --- scratch/replace_platform_audit.js | 80 ----------- scratch/test_groups.php | 11 -- scratch/unify_platforms.js | 114 ---------------- scratch/update_fcconfig.js | 31 ----- scratch/verify_js.js | 15 -- scratch/verify_sfc.js | 22 --- uniapp/pages/category/channel.vue | 203 ++++++++++++++++++++++++---- uniapp/pages/detail/detail.vue | 28 ++-- uniapp/pages/distribution/index.vue | 105 ++++++++++++-- uniapp/pages/index/index.vue | 40 +++++- uniapp/pages/merchant/detail.vue | 22 ++- uniapp/pages/mine/index.vue | 66 +++++++-- uniapp/pages/post/create.vue | 19 ++- 21 files changed, 422 insertions(+), 464 deletions(-) delete mode 100644 scratch/add_miniapp_config.php delete mode 100644 scratch/check_member_tags.js delete mode 100644 scratch/check_tags.js delete mode 100644 scratch/clean_config.php delete mode 100644 scratch/clean_withdraw_detail.js delete mode 100644 scratch/debug_member.js delete mode 100644 scratch/replace_api_setting.js delete mode 100644 scratch/replace_platform_audit.js delete mode 100644 scratch/test_groups.php delete mode 100644 scratch/unify_platforms.js delete mode 100644 scratch/update_fcconfig.js delete mode 100644 scratch/verify_js.js delete mode 100644 scratch/verify_sfc.js diff --git a/.gitignore b/.gitignore index 431af65..159e65d 100755 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ dge.gynhc.com_*.tar.gz # 小程序端源码(uniapp/)内的本地凭据文件,同样切勿入库 /uniapp/AGENTS.md tools/ +scratch/ diff --git a/scratch/add_miniapp_config.php b/scratch/add_miniapp_config.php deleted file mode 100644 index e9b0fd1..0000000 --- a/scratch/add_miniapp_config.php +++ /dev/null @@ -1,33 +0,0 @@ -where('name', 'configgroup')->value('value'); -$group = json_decode($groupVal, true) ?: []; -$group['miniapp'] = '小程序配置'; -think\Db::name('config')->where('name', 'configgroup')->update(['value' => json_encode($group, JSON_UNESCAPED_UNICODE)]); - -$exist = think\Db::name('config')->where('name', 'virtual_pay_audit')->find(); -if (!$exist) { - think\Db::name('config')->insert([ - 'name' => 'virtual_pay_audit', - 'group' => 'miniapp', - 'title' => '提审防审模式', - 'tip' => '微信审核期间请开启;审核通过后设为关闭,全端立即恢复会员原价与微信支付直接开通', - 'type' => 'radio', - 'content' => json_encode(['1' => '开启(微信审核中:隐藏直接支付)', '0' => '关闭(审核已通过:全端恢复直接支付)'], JSON_UNESCAPED_UNICODE), - 'value' => '1', - 'rule' => 'required' - ]); -} else { - think\Db::name('config')->where('name', 'virtual_pay_audit')->update([ - 'group' => 'miniapp', - 'title' => '提审防审模式', - 'tip' => '微信审核期间请开启;审核通过后设为关闭,全端立即恢复会员原价与微信支付直接开通', - 'type' => 'radio', - 'content' => json_encode(['1' => '开启(微信审核中:隐藏直接支付)', '0' => '关闭(审核已通过:全端恢复直接支付)'], JSON_UNESCAPED_UNICODE), - ]); -} -echo "CONFIG_SUCCESS\n"; diff --git a/scratch/check_member_tags.js b/scratch/check_member_tags.js deleted file mode 100644 index c67868a..0000000 --- a/scratch/check_member_tags.js +++ /dev/null @@ -1,22 +0,0 @@ -const fs = require('fs'); - -const files = [ - 'uniapp/pages/member/index.vue', - 'uniapp/pages/member/recharge.vue' -]; - -let allOk = true; -for (const file of files) { - const content = fs.readFileSync(file, 'utf8'); - const openTemplate = (content.match(/