diff --git a/AppScope/app.json5 b/AppScope/app.json5 index 5cbe6fb..35956ed 100644 --- a/AppScope/app.json5 +++ b/AppScope/app.json5 @@ -2,8 +2,8 @@ "app": { "bundleName": "synccalendar.yangyq.net", "vendor": "yangyq", - "versionCode": 10000, - "versionName": "0.1.0", + "versionCode": 10200, + "versionName": "0.2.0", "buildVersion": "1", "icon": "$media:layered_image", "label": "$string:app_name" diff --git a/README.md b/README.md index d255163..924cff3 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ 一款以**同步为核心**的鸿蒙原生日历应用,基于 HarmonyOS NEXT(ArkTS / Stage 模型)开发。对接标准 CalDAV 服务器(群晖、Nextcloud、Radicale、Baikal 等),让你的日程真正掌握在自己手里——不经过第三方云服务,数据始终同步在你自己的 NAS 上。 - 应用市场送审版本:**0.1.0** | 仓库当前:**0.1.0**(versionCode 10000) -- 官网: | 问题反馈: +- 官网: | 问题反馈: - 开源协议:Apache License 2.0 --- @@ -337,7 +337,7 @@ hvigorw assembleApp --mode project -p product=default -p buildMode=release | 软件特性 | | | 隐私政策 | | | 用户服务协议 | | -| 问题反馈 | | +| 问题反馈 | | 网站备案:**鲁ICP备17014997号-6A** diff --git a/entry/src/main/ets/common/AppSettings.ets b/entry/src/main/ets/common/AppSettings.ets index cd0a8b4..4adbaf9 100644 --- a/entry/src/main/ets/common/AppSettings.ets +++ b/entry/src/main/ets/common/AppSettings.ets @@ -61,11 +61,20 @@ export class AppSettings { static readonly FEATURES_URL: string = 'https://synccalendar.yangyq.net/sf.html'; /** 使用帮助网址 */ static readonly HELP_URL: string = 'https://synccalendar.yangyq.net/uh.html'; + /** + * ⭐ 问题反馈网址。 + * + * 换到 FeedLite(多站点共用一套反馈平台),`?sw=` 指定本项目站点标识。 + * 旧地址 synccalendar.yangyq.net/feedback/ 是自建 PHP 论坛, + * 里面还有 3 条历史反馈(含一条完整 PR 贡献),服务暂不删除。 + */ + static readonly FEEDBACK_URL: string = 'https://feedlite.yangyq.net/?sw=synccalendar'; /** 文档标题(内置浏览器标题栏用) */ static readonly PRIVACY_TITLE: string = '隐私政策'; static readonly AGREEMENT_TITLE: string = '用户服务协议'; static readonly FEATURES_TITLE: string = '软件特性'; static readonly HELP_TITLE: string = '使用帮助'; + static readonly FEEDBACK_TITLE: string = '问题反馈'; /** * 是否已同意《隐私政策》与《用户协议》(首启同意弹窗)。 diff --git a/entry/src/main/ets/pages/SettingsPage.ets b/entry/src/main/ets/pages/SettingsPage.ets index 193a03e..0c4bd32 100644 --- a/entry/src/main/ets/pages/SettingsPage.ets +++ b/entry/src/main/ets/pages/SettingsPage.ets @@ -1697,6 +1697,36 @@ struct SettingsPage { this.openDoc(AppSettings.HELP_TITLE, AppSettings.HELP_URL); }) + // FEEDBACK_CARD 问题反馈(FeedLite 平台,?sw=synccalendar 指定本项目站点) + Column({ space: 8 }) { + Row({ space: 10 }) { + Column({ space: 2 }) { + Text('问题反馈') + .fontSize(15) + .fontWeight(FontWeight.Medium) + .fontColor($r('app.color.text_primary')) + Text('遇到问题或有建议,点这里告诉我们') + .fontSize(12) + .fontColor($r('app.color.text_secondary')) + } + .alignItems(HorizontalAlign.Start) + .layoutWeight(1) + Text('›') + .fontSize(18) + .fontColor($r('app.color.text_hint')) + } + .width('100%') + } + .alignItems(HorizontalAlign.Start) + .width('100%') + .padding(14) + .borderRadius(12) + .backgroundColor($r('app.color.card_bg')) + .border({ width: 1, color: $r('app.color.shadow_color') }) + .onClick(() => { + this.openDoc(AppSettings.FEEDBACK_TITLE, AppSettings.FEEDBACK_URL); + }) + // 隐私政策与用户协议(点击弹层;bindSheet 挂在本卡片上,避免与其它弹层冲突) Column({ space: 8 }) { Row({ space: 10 }) {