feat(home): 节气精确查表+佛历倒计时随日期+老黄历方框+CI修复
- 节气改用2000-2060精确查表(天文算法生成),修复立秋显示为大暑 - 佛历倒计时/节日速查以当前选中日期为基准,切换日期实时更新 - 大日历顶部节日区/佛历区固定高度,空着也占位不再跳动 - 大日期加老黄历式方框(双线边框,节假日红/工作日绿) - 修复npm test脚本exit码导致CI在测试步骤中断 - workflow增加workflow_dispatch支持手动触发
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
name: Publish Mini Program Dev Version
|
name: Publish Mini Program Dev Version
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
"description": "祈福小助手 - 万年历微信小程序",
|
"description": "祈福小助手 - 万年历微信小程序",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"No tests yet\" && exit 0",
|
"test": "echo \"No tests yet\"",
|
||||||
"upload": "node ci/upload-ci.cjs",
|
"upload": "node ci/upload-ci.cjs",
|
||||||
"preview": "node ci/preview-ci.cjs"
|
"preview": "node ci/preview-ci.cjs"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
padding-bottom: 40rpx;
|
padding-bottom: 40rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===== 老黄历大日历卡片 ===== */
|
/* ===== 老黄历大日历卡片(节气精确查表版) ===== */
|
||||||
.almanac-card {
|
.almanac-card {
|
||||||
border-radius: 24rpx;
|
border-radius: 24rpx;
|
||||||
padding: 32rpx 24rpx 24rpx;
|
padding: 32rpx 24rpx 24rpx;
|
||||||
@@ -619,3 +619,4 @@
|
|||||||
padding: 4rpx 24rpx;
|
padding: 4rpx 24rpx;
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user