Files
lunar-mini/mini/app.json
T
gouki 82c1a8d694
Publish Mini Program Dev Version / publish (push) Successful in 2m8s
首页老黄历全面升级 + 修复农历转换核心bug
【重要修复】重写农历双向转换算法(原来全错):
- solarToLunar/lunarToSolar 改用标准算法(基准1900-01-31正月初一,UTC避免时区误差)
- 验证:2026春节2-17、中秋9-25、端午6-19、2023闰二月全部正确

【首页大日历】
- 日期数字加大到240rpx,超醒目
- 节假日红色喜庆卡片+红数字(春节/国庆/中秋等法定假日)
- 工作日绿色卡片+绿数字(一眼知道要上班)
- 周末红色数字+米黄卡片
- 节气显示具体时刻(如 立秋 20:29)
- 初一/十五金色标记(可在设置关闭)
- 佛历提醒:距下一佛诞还有几天(可在设置开启)

【全屏放大弹窗(老年友好)】
- 大日历卡片/宜忌/详情/节日速查 点击均可全屏放大
- 宜忌放大后字号44rpx,详情放大后40rpx

【月历视图】
- swiper 左右滑动换月,预计算5个月居中显示
- 滑到边缘自动补月,可无限滚动
- 点选日期切回日视图

【节日速查】
- 首页显示近期5个节日(中秋/重阳等)+公历日期+倒计时
- 点击直接跳到该日老黄历

【设置页】
- 新增'显示佛历提醒'开关(默认关)
- 新增'初一十五高亮'开关(默认开)
2026-08-07 12:49:57 +00:00

69 lines
1.8 KiB
JSON

{
"pages": [
"pages/home/home",
"pages/calendar/calendar",
"pages/day-detail/day-detail",
"pages/bazi/bazi",
"pages/fortune/fortune",
"pages/divination/divination",
"pages/solar-terms/solar-terms",
"pages/settings/settings",
"pages/wish-tree/wish-tree",
"pages/wish-detail/wish-detail",
"pages/wiki/wiki"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#C41E3A",
"navigationBarTitleText": "老黄历",
"navigationBarTextStyle": "white",
"backgroundColor": "#FFFBF5"
},
"tabBar": {
"color": "#9E8E7E",
"selectedColor": "#C41E3A",
"backgroundColor": "#FFFFFF",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/home/home",
"text": "老黄历",
"iconPath": "images/home.png",
"selectedIconPath": "images/home-active.png"
},
{
"pagePath": "pages/wish-tree/wish-tree",
"text": "许愿",
"iconPath": "images/wish.png",
"selectedIconPath": "images/wish-active.png"
},
{
"pagePath": "pages/bazi/bazi",
"text": "八字",
"iconPath": "images/bazi.png",
"selectedIconPath": "images/bazi-active.png"
},
{
"pagePath": "pages/wiki/wiki",
"text": "百科",
"iconPath": "images/wiki.png",
"selectedIconPath": "images/wiki-active.png"
},
{
"pagePath": "pages/settings/settings",
"text": "我的",
"iconPath": "images/me.png",
"selectedIconPath": "images/me-active.png"
}
]
},
"style": "v2",
"sitemapLocation": "sitemap.json",
"lazyCodeLoading": "requiredComponents",
"permission": {
"scope.record": {
"desc": "用于许愿树吹风互动效果"
}
}
}