release 1.3.1

This commit is contained in:
Developer
2026-04-01 18:40:21 +08:00
parent 91ef47f991
commit f0a62ed68b
60 changed files with 1750 additions and 313 deletions

View File

@@ -1,9 +1,9 @@
{
"app": {
"bundleName": "app.whushu.poes",
"vendor": "example",
"versionCode": 26032601,
"versionName": "1.5.0",
"bundleName": "app.wushu.poes",
"vendor": "微风暴",
"versionCode": 26040101,
"versionName": "1.3.1",
"icon": "$media:app_icon",
"label": "$string:app_name"
}

View File

@@ -2,7 +2,7 @@
"string": [
{
"name": "app_name",
"value": "flutter_application_2"
"value": "情景诗词"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@@ -5,35 +5,41 @@
"name": "default",
"type": "HarmonyOS",
"material": {
"certpath": "C:\\Users\\无书\\.ohos\\config\\default_ohos_hWyPJmkoRvc13RxcUC3NSaiad5bS6MHBrY9nkKd-288=.cer",
"certpath": "C:/Users/无书/.ohos/config/default_ohos_hWyPJmkoRvc13RxcUC3NSaiad5bS6MHBrY9nkKd-288=.cer",
"keyAlias": "debugKey",
"keyPassword": "0000001BF7F4F2744D33517095133386B3CAD90A3AB42BFD0069CF7CBFDFCAEE521062FD5D9C3EBA827534",
"profile": "C:\\Users\\无书\\.ohos\\config\\default_ohos_hWyPJmkoRvc13RxcUC3NSaiad5bS6MHBrY9nkKd-288=.p7b",
"keyPassword": "0000001B675E31900A26DD43D5BAE7CDC29AC560497DAE61594206507C57058DF31D24E44F7E7847222D72",
"profile": "C:/Users/无书/.ohos/config/default_ohos_hWyPJmkoRvc13RxcUC3NSaiad5bS6MHBrY9nkKd-288=.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "C:\\Users\\无书\\.ohos\\config\\default_ohos_hWyPJmkoRvc13RxcUC3NSaiad5bS6MHBrY9nkKd-288=.p12",
"storePassword": "0000001B8B77ACFC8F396F2040DA9156A7482FCF2AADA0B573BCAD12D0612BC813F694D501263B5961FB96"
"storeFile": "C:/Users/无书/.ohos/config/default_ohos_hWyPJmkoRvc13RxcUC3NSaiad5bS6MHBrY9nkKd-288=.p12",
"storePassword": "0000001BC2CC19FF457937BA7ADA3E0A3DD48065FC3A82D6186E7055C2164A061265A691D49E0783D3A718"
}
},
{
"name": "rele",
"name": "release",
"type": "HarmonyOS",
"material": {
"certpath": "C:/Users/无书/Desktop/签名/520kiss123.cer",
"certpath": "D:/zhshu/520kiss123.cer",
"keyAlias": "520kiss123",
"keyPassword": "0000001AFB03935394E980F7E15F953FCD2AE86B72D10BFA1CD63ED86241692114C64F73093C17F2B715",
"profile": "C:/Users/无书/Desktop/签名/520kiss123.p7b",
"keyPassword": "0000001ADC811A155E80C47E61C324586F0FA08B1F383DB23026B17B7076AAE123458B9A5FE2DE812751",
"profile": "D:/zhshu/520kiss123Release.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "C:/Users/无书/Desktop/签名/520kiss123.p12",
"storePassword": "0000001A7E63450C86AEA2810CF4C8A92877AA980D6BCE46E392AEA3F4446CEBB21D1733E5F7581EBF22"
"storeFile": "D:/zhshu/520kiss123.p12",
"storePassword": "0000001AA1C222C2D3454B69525FC0FFF7AD37F3966FCDC782DC9BF88D3F5A241892C1FB35EB36B01888"
}
}
],
"products": [
{
"name": "default",
// "signingConfig": "default",
"signingConfig": "default",
"compatibleSdkVersion": "5.0.0(12)",
"compatibleSdkVersion": "5.0.5(17)",
"runtimeOS": "HarmonyOS",
"targetSdkVersion": "6.0.2(22)"
},
{
"name": "release",
"signingConfig": "release",
"compatibleSdkVersion": "5.0.1(13)",
"runtimeOS": "HarmonyOS",
"targetSdkVersion": "6.0.2(22)"
}
@@ -58,7 +64,8 @@
{
"name": "default",
"applyToProducts": [
"default"
"default",
"release"
]
}
]

View File

@@ -6,8 +6,8 @@ import { preferences } from '@kit.ArkData';
struct WidgetSettings {
@State selectedStyle: string = 'classic';
@State showTime: boolean = true;
@State showWeather: boolean = true;
@State showQuote: boolean = true;
@State showWeather: boolean = false;
@State showQuote: boolean = false;
@State quoteText: string = '床前明月光,疑是地上霜。';
@State authorText: string = '李白《静夜思》';
private preference: preferences.Preferences | null = null;
@@ -26,11 +26,11 @@ struct WidgetSettings {
this.showTime = Boolean(showTimeVal);
console.info('[WidgetSettings] showTime raw value: ' + showTimeVal + ', type: ' + typeof showTimeVal + ', parsed: ' + this.showTime);
const showWeatherVal = await this.preference.get('showWeather', true);
const showWeatherVal = await this.preference.get('showWeather', false);
this.showWeather = Boolean(showWeatherVal);
console.info('[WidgetSettings] showWeather raw value: ' + showWeatherVal + ', type: ' + typeof showWeatherVal + ', parsed: ' + this.showWeather);
const showQuoteVal = await this.preference.get('showQuote', true);
const showQuoteVal = await this.preference.get('showQuote', false);
this.showQuote = Boolean(showQuoteVal);
this.quoteText = await this.preference.get('quote', '床前明月光,疑是地上霜。') as string;

View File

@@ -6,7 +6,7 @@
},
{
"name": "EntryAbility_desc",
"value": "📜 诗词卡片主程序"
"value": "诗词卡片主程序"
},
{
"name": "EntryAbility_label",
@@ -18,7 +18,7 @@
},
{
"name": "WidgetFormAbility_label",
"value": "📜 每日诗词"
"value": "每日诗词"
},
{
"name": "WidgetMenuAbility_desc",
@@ -26,23 +26,23 @@
},
{
"name": "WidgetMenuAbility_label",
"value": "⚙️ 卡片选项"
"value": "情景诗词"
},
{
"name": "shortcut_add_widget",
"value": " 笔记"
"value": "笔记"
},
{
"name": "shortcut_widget_settings",
"value": "🔧 卡片信息"
"value": "卡片信息"
},
{
"name": "shortcut_open_app",
"value": "📱 打开应用"
"value": "打开应用"
},
{
"name": "menu_style_classic",
"value": "🎨 经典风格"
"value": "经典风格"
},
{
"name": "menu_style_classic_desc",
@@ -50,7 +50,7 @@
},
{
"name": "menu_style_modern",
"value": "现代风格"
"value": "现代风格"
},
{
"name": "menu_style_modern_desc",
@@ -58,7 +58,7 @@
},
{
"name": "menu_style_minimal",
"value": "极简风格"
"value": "极简风格"
},
{
"name": "menu_style_minimal_desc",
@@ -66,7 +66,7 @@
},
{
"name": "menu_style_elegant",
"value": "💎 优雅风格"
"value": "优雅风格"
},
{
"name": "menu_style_elegant_desc",
@@ -74,27 +74,27 @@
},
{
"name": "widget_display_name_small",
"value": "🎋 诗词短句"
"value": "诗词短句"
},
{
"name": "widget_display_name_medium",
"value": "📖 经典诗词"
"value": "经典诗词"
},
{
"name": "widget_display_name_large",
"value": "🎨 诗词意境"
"value": "诗词意境"
},
{
"name": "widget_desc_small",
"value": "📱 小尺寸2x2卡片展示精选诗词短句"
"value": "小尺寸2x2卡片展示精选诗词短句"
},
{
"name": "widget_desc_medium",
"value": "📱 中等尺寸2x4卡片展示经典诗词作品"
"value": "中等尺寸2x4卡片展示经典诗词作品"
},
{
"name": "widget_desc_large",
"value": "📱 大尺寸4x4卡片完整展示诗词意境"
"value": "大尺寸4x4卡片完整展示诗词意境"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

View File

@@ -6,7 +6,7 @@
"icon": "$media:icon",
"wants": [
{
"bundleName": "app.whushu.poes",
"bundleName": "app.wushu.poes",
"moduleName": "entry",
"abilityName": "EntryAbility"
}

View File

@@ -10,7 +10,7 @@
},
{
"name": "EntryAbility_label",
"value": "📜 Poetry Card"
"value": "Poetry Card"
},
{
"name": "WidgetFormAbility_desc",
@@ -18,7 +18,7 @@
},
{
"name": "WidgetFormAbility_label",
"value": "📜 Daily Poetry"
"value": "Daily Poetry"
},
{
"name": "WidgetMenuAbility_desc",
@@ -26,31 +26,31 @@
},
{
"name": "WidgetMenuAbility_label",
"value": "⚙️ Widget Options"
"value": "Widget Options"
},
{
"name": "widget_display_name_small",
"value": "🎋 Poetry Phrase"
"value": "Poetry Phrase"
},
{
"name": "widget_display_name_medium",
"value": "📖 Classic Poetry"
"value": "Classic Poetry"
},
{
"name": "widget_display_name_large",
"value": "🎨 Poetry Mood"
"value": "Poetry Mood"
},
{
"name": "widget_desc_small",
"value": "📱 Small 2x2 card, showing selected poetry phrases"
"value": "Small 2x2 card, showing selected poetry phrases"
},
{
"name": "widget_desc_medium",
"value": "📱 Medium 2x4 card, showing classic poetry works"
"value": "Medium 2x4 card, showing classic poetry works"
},
{
"name": "widget_desc_large",
"value": "📱 Large 4x4 card, showing complete poetry mood"
"value": "Large 4x4 card, showing complete poetry mood"
}
]
}
}

View File

@@ -18,7 +18,7 @@
},
{
"name": "WidgetFormAbility_label",
"value": "📜 每日诗词"
"value": "每日诗词"
},
{
"name": "WidgetMenuAbility_desc",
@@ -26,31 +26,31 @@
},
{
"name": "WidgetMenuAbility_label",
"value": "⚙️ 卡片选项"
"value": "情景诗词"
},
{
"name": "widget_display_name_small",
"value": "🎋 诗词短句"
"value": "诗词短句"
},
{
"name": "widget_display_name_medium",
"value": "📖 经典诗词"
"value": "经典诗词"
},
{
"name": "widget_display_name_large",
"value": "🎨 诗词意境"
"value": "诗词意境"
},
{
"name": "widget_desc_small",
"value": "📱 小尺寸2x2卡片展示精选诗词短句"
"value": "小尺寸2x2卡片展示精选诗词短句"
},
{
"name": "widget_desc_medium",
"value": "📱 中等尺寸2x4卡片展示经典诗词作品"
"value": "中等尺寸2x4卡片展示经典诗词作品"
},
{
"name": "widget_desc_large",
"value": "📱 大尺寸4x4卡片完整展示诗词意境"
"value": "大尺寸4x4卡片完整展示诗词意境"
}
]
}

View File

@@ -1,7 +1,7 @@
{
"modelVersion": "5.1.0",
"name": "flutter_application_2",
"version": "1.0.0",
"name": "情景诗词",
"version": "1.3.1",
"description": "Please describe the basic information.",
"main": "",
"author": "",