fix(wish-tree): 图片扩展名改为 .jpg
Publish Mini Program Dev Version / publish (push) Failing after 1m38s
Build and Deploy Server / build (push) Failing after 3s

- 实际格式是 JPEG,扩展名从 .png 改为 .jpg
- 大小 332KB,远低于微信 2M 限制
This commit is contained in:
gouki
2026-08-08 17:14:30 +00:00
parent 531d342eb6
commit daebda22ee
9 changed files with 118 additions and 5 deletions

Before

Width:  |  Height:  |  Size: 332 KiB

After

Width:  |  Height:  |  Size: 332 KiB

+7 -1
View File
@@ -1,3 +1,5 @@
const versionInfo = require('../../utils/version.js');
Page({
data: {
userInfo: null,
@@ -6,7 +8,11 @@ Page({
solarTime: true,
showBuddhist: false,
highlightLunar: true,
bookmarks: []
bookmarks: [],
version: versionInfo.version,
buildNumber: versionInfo.buildNumber,
buildTime: versionInfo.buildTime,
commitSha: versionInfo.commitSha
},
onLoad() {
+2 -1
View File
@@ -92,7 +92,8 @@
<view class="card">
<view class="section-title">关于</view>
<view class="text-sm text-muted">
<text>老黄历小程序 v1.0.1</text>
<text>老黄历小程序 v{{version}}</text>
<text class="block mt-1" wx:if="{{buildNumber !== '0'}}">构建 #{{buildNumber}} ({{commitSha}})</text>
<text class="block mt-1">提供农历、黄历、八字、许愿等功能</text>
</view>
</view>
+1 -1
View File
@@ -35,7 +35,7 @@
<!-- 许愿树 -->
<view class="tree-container">
<image
src="/images/wish-tree.png"
src="/images/wish-tree.jpg"
class="tree-image"
mode="aspectFit"
/>
+11
View File
@@ -0,0 +1,11 @@
/**
* 版本号配置文件
* 此文件由 CI 构建时自动生成,请勿手动修改
*/
module.exports = {
version: "1.0.1", // 会被 CI 替换为实际版本号
buildNumber: "0", // 会被 CI 替换为构建编号
buildTime: "2026-08-08T00:00:00Z", // 会被 CI 替换为构建时间
commitSha: "unknown", // 会被 CI 替换为 Git commit SHA
};