From 6acf02e174bf369cbf219154e1f329f8c72a08b7 Mon Sep 17 00:00:00 2001 From: H1d3rOne Date: Fri, 6 Mar 2026 04:47:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=90=8D=E7=A7=B0=E5=92=8C=E8=B0=83=E6=95=B4=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将应用名称从'玄机排盘'改为'命理测算' - 将'八字排盘'改为'四柱八字' - 调整菜单布局,将紫微斗数放到六爻排盘上面 - 更新pages.json配置文件 - 更新首页和八字页面标题 --- show_files.py | 15 ++++++++ xuan-deduct-uniapp/project.config.json | 25 ++++++++++++ .../project.private.config.json | 14 +++++++ xuan-deduct-uniapp/src/pages.json | 6 +-- xuan-deduct-uniapp/src/pages/bazi/bazi.vue | 2 +- xuan-deduct-uniapp/src/pages/index/index.vue | 38 +++++++++---------- 6 files changed, 77 insertions(+), 23 deletions(-) create mode 100644 show_files.py create mode 100644 xuan-deduct-uniapp/project.config.json create mode 100644 xuan-deduct-uniapp/project.private.config.json diff --git a/show_files.py b/show_files.py new file mode 100644 index 0000000..ed70d64 --- /dev/null +++ b/show_files.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 +import json +import sys + +# 读取JSON文件 +with open('/tmp/files_to_push.json', 'r', encoding='utf-8') as f: + all_files = json.load(f) + +print(f"Total files: {len(all_files)}") +print("\nFiles to push:") +for i, file_info in enumerate(all_files, 1): + print(f"{i}. {file_info['path']}") + +print("\n\nTo push these files, use the GitHub MCP push_files tool.") +print("Due to the large number of files, they should be pushed in batches.") diff --git a/xuan-deduct-uniapp/project.config.json b/xuan-deduct-uniapp/project.config.json new file mode 100644 index 0000000..2a32b7c --- /dev/null +++ b/xuan-deduct-uniapp/project.config.json @@ -0,0 +1,25 @@ +{ + "setting": { + "es6": true, + "postcss": true, + "minified": true, + "uglifyFileName": false, + "enhance": true, + "packNpmRelationList": [], + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" + }, + "useCompilerPlugins": false, + "minifyWXML": true + }, + "compileType": "miniprogram", + "simulatorPluginLibVersion": {}, + "packOptions": { + "ignore": [], + "include": [] + }, + "appid": "wxbae101ca6e1f61e6", + "editorSetting": {} +} \ No newline at end of file diff --git a/xuan-deduct-uniapp/project.private.config.json b/xuan-deduct-uniapp/project.private.config.json new file mode 100644 index 0000000..81a5a4e --- /dev/null +++ b/xuan-deduct-uniapp/project.private.config.json @@ -0,0 +1,14 @@ +{ + "libVersion": "3.14.3", + "projectname": "xuan-deduct-uniapp", + "setting": { + "urlCheck": true, + "coverView": true, + "lazyloadPlaceholderEnable": false, + "skylineRenderEnable": false, + "preloadBackgroundData": false, + "autoAudits": false, + "showShadowRootInWxmlPanel": true, + "compileHotReLoad": true + } +} \ No newline at end of file diff --git a/xuan-deduct-uniapp/src/pages.json b/xuan-deduct-uniapp/src/pages.json index 50e8175..b4c55d2 100644 --- a/xuan-deduct-uniapp/src/pages.json +++ b/xuan-deduct-uniapp/src/pages.json @@ -3,7 +3,7 @@ { "path": "pages/index/index", "style": { - "navigationBarTitleText": "玄机排盘", + "navigationBarTitleText": "命理测算", "navigationBarBackgroundColor": "#DB2777", "navigationBarTextStyle": "white", "navigationStyle": "custom" @@ -12,7 +12,7 @@ { "path": "pages/bazi/bazi", "style": { - "navigationBarTitleText": "八字排盘", + "navigationBarTitleText": "四柱八字", "navigationBarBackgroundColor": "#DC2626", "navigationBarTextStyle": "white" } @@ -108,7 +108,7 @@ ], "globalStyle": { "navigationBarTextStyle": "white", - "navigationBarTitleText": "玄机排盘", + "navigationBarTitleText": "命理测算", "navigationBarBackgroundColor": "#DB2777", "backgroundColor": "#FDF2F8" } diff --git a/xuan-deduct-uniapp/src/pages/bazi/bazi.vue b/xuan-deduct-uniapp/src/pages/bazi/bazi.vue index 7b4c9a3..556d750 100644 --- a/xuan-deduct-uniapp/src/pages/bazi/bazi.vue +++ b/xuan-deduct-uniapp/src/pages/bazi/bazi.vue @@ -4,7 +4,7 @@ 八 - 八字排盘 + 四柱八字 四柱命理 · 推演人生 diff --git a/xuan-deduct-uniapp/src/pages/index/index.vue b/xuan-deduct-uniapp/src/pages/index/index.vue index 21359b5..e0202ad 100644 --- a/xuan-deduct-uniapp/src/pages/index/index.vue +++ b/xuan-deduct-uniapp/src/pages/index/index.vue @@ -6,7 +6,7 @@ 玄 - 玄机排盘 + 命理测算 传承千年智慧 · 解读命运密码 @@ -19,7 +19,7 @@ - 八字排盘 + 四柱八字 四柱命理 · 推演人生 @@ -27,6 +27,22 @@ + + + + 紫 + + + + + 紫微斗数 + 帝王之术 · 星辰命盘 + + + › + + + @@ -90,28 +106,12 @@ › - - - - - 紫 - - - - - 紫微斗数 - 帝王之术 · 星辰命盘 - - - › - - 基于 lunar-javascript 开源库 - © 2024 玄机排盘 + © 2024 命理测算