release 1.3.1
@@ -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"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"string": [
|
||||
{
|
||||
"name": "app_name",
|
||||
"value": "flutter_application_2"
|
||||
"value": "情景诗词"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 65 KiB |
@@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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卡片,完整展示诗词意境"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 37 KiB |
BIN
ohos/entry/src/main/resources/base/media/icon_216.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
ohos/entry/src/main/resources/base/media/icon_48.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
ohos/entry/src/main/resources/base/media/icon_512.png
Normal file
|
After Width: | Height: | Size: 425 KiB |
BIN
ohos/entry/src/main/resources/base/media/icon_72.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
ohos/entry/src/main/resources/base/media/icon_96.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
ohos/entry/src/main/resources/base/media/icon_large.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
ohos/entry/src/main/resources/base/media/icon_small.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
ohos/entry/src/main/resources/base/media/icon_xlarge.png
Normal file
|
After Width: | Height: | Size: 114 KiB |
@@ -6,7 +6,7 @@
|
||||
"icon": "$media:icon",
|
||||
"wants": [
|
||||
{
|
||||
"bundleName": "app.whushu.poes",
|
||||
"bundleName": "app.wushu.poes",
|
||||
"moduleName": "entry",
|
||||
"abilityName": "EntryAbility"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -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卡片,完整展示诗词意境"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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": "",
|
||||
|
||||