refactor: 修改应用名称和调整菜单布局

- 将应用名称从'玄机排盘'改为'命理测算'
- 将'八字排盘'改为'四柱八字'
- 调整菜单布局,将紫微斗数放到六爻排盘上面
- 更新pages.json配置文件
- 更新首页和八字页面标题
This commit is contained in:
H1d3rOne committed 2026-03-06 04:47:42 +08:00
1 parent 3b1b5f0d88
commit 6acf02e174
6 files changed
+77 -23

No files matched your search

+15
View File
@@ -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.")
+25
View File
@@ -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": {}
}
@@ -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
}
}
+3 -3
View File
@@ -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"
}
+1 -1
View File
@@ -4,7 +4,7 @@
<view class="header-icon">
<text class="icon-text">八</text>
</view>
<text class="header-title">八字排盘</text>
<text class="header-title">四柱八字</text>
<text class="header-subtitle">四柱命理 · 推演人生</text>
</view>
+19 -19
View File
@@ -6,7 +6,7 @@
<text class="logo-text">玄</text>
</view>
</view>
<text class="title">玄机排盘</text>
<text class="title">命理测算</text>
<text class="subtitle">传承千年智慧 · 解读命运密码</text>
</view>
@@ -19,7 +19,7 @@
<view class="icon-glow" style="background: rgba(220, 38, 38, 0.3);"></view>
</view>
<view class="menu-content">
<text class="menu-name">八字排盘</text>
<text class="menu-name">四柱八字</text>
<text class="menu-desc">四柱命理 · 推演人生</text>
</view>
<view class="menu-arrow">
@@ -27,6 +27,22 @@
</view>
</view>
<view class="menu-item" @click="goToZiwei">
<view class="menu-icon-wrapper">
<view class="menu-icon" style="background: linear-gradient(135deg, #DB2777 0%, #BE185D 100%);">
<text class="icon-text">紫</text>
</view>
<view class="icon-glow" style="background: rgba(219, 39, 119, 0.3);"></view>
</view>
<view class="menu-content">
<text class="menu-name">紫微斗数</text>
<text class="menu-desc">帝王之术 · 星辰命盘</text>
</view>
<view class="menu-arrow">
<text class="arrow-text">›</text>
</view>
</view>
<view class="menu-item" @click="goToLiuyao">
<view class="menu-icon-wrapper">
<view class="menu-icon" style="background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);">
@@ -90,28 +106,12 @@
<text class="arrow-text">›</text>
</view>
</view>
<view class="menu-item" @click="goToZiwei">
<view class="menu-icon-wrapper">
<view class="menu-icon" style="background: linear-gradient(135deg, #DB2777 0%, #BE185D 100%);">
<text class="icon-text">紫</text>
</view>
<view class="icon-glow" style="background: rgba(219, 39, 119, 0.3);"></view>
</view>
<view class="menu-content">
<text class="menu-name">紫微斗数</text>
<text class="menu-desc">帝王之术 · 星辰命盘</text>
</view>
<view class="menu-arrow">
<text class="arrow-text">›</text>
</view>
</view>
</view>
<view class="footer">
<view class="footer-divider"></view>
<text class="footer-text">基于 lunar-javascript 开源库</text>
<text class="footer-copyright">© 2024 玄机排盘</text>
<text class="footer-copyright">© 2024 命理测算</text>
</view>
</view>
</template>