-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/mgz0227/legado-Harmony
- Loading branch information
Showing
11 changed files
with
400 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: BUG提交 / BUG Report | ||
description: Report bugs to developers | ||
labels: ["BUG"] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: 确认 / Assignments | ||
description: 提交issue请确保完成以下前提,否则该issue可能被忽略 / Make sure you read checkboxs below | ||
options: | ||
- label: 搜索现有issues,不存在相似或相关的issue / No similar or related issues | ||
required: true | ||
- label: 最新版依然存在此问题 / Latest beta app does not work | ||
required: true | ||
- label: 此问题和Xposed、Lsposed、Magisk、手机主题、浏览器插件等无关 / Make sure your machine is not touched by hook frameworks, plugins etc | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: 问题描述 / Describe Bugs | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: 复现步骤 / How to reproduce | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: 确认 / Assignment | ||
options: | ||
- label: 已经提交复现所需要的附加资料 / Submit additions related with bugs | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: 其他信息 / Additions | ||
placeholder: "请用```将提交的内容包裹" | ||
|
||
- type: textarea | ||
attributes: | ||
label: 日志提交 / Relevant log output | ||
description: 阅读日志位于我的-关于-崩溃日志、书架-右上角-日志,或者自行使用log工具抓取日志 | ||
placeholder: "请用```将日志内容包裹" | ||
|
||
- type: input | ||
attributes: | ||
label: 阅读版本 / Legado version | ||
placeholder: "1.1" | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Harmony OS版本 / Harmony OS version | ||
placeholder: "Harmony OS 4" | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: 机型 / Model | ||
placeholder: "mate 40" | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: 功能请求 / Features | ||
description: Request new features | ||
labels: ["需求"] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: 确认 / Assignments | ||
description: 提交issue请确保完成以下前提,否则该issue可能被忽略 / Make sure you read checkbox below | ||
options: | ||
- label: 搜索现有issues,不存在相似或相关的issue / No related requests | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: 功能描述 / Features | ||
placeholder: 请清晰的、详细的描述你想要的功能 | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: 期望实现方式 / How to implement | ||
placeholder: 阅读应该如何实现该功能 | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: 附加信息 / Additions | ||
placeholder: 其他的与功能相关的附加信息 | ||
- type: textarea | ||
attributes: | ||
label: 效果演示 / Demo | ||
placeholder: 可以手绘一些草图,或者提供可借鉴的图片 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* 自定义标题和内容 | ||
*/ | ||
@CustomDialog | ||
export default struct customizeDialogExample { | ||
|
||
controller?: CustomDialogController | ||
confirm: () => void = () => { | ||
} | ||
@Prop title:string = '标签锁' | ||
@Prop content:string = '长按底部tab栏书架图标可锁定分组标签栏,再次长按解锁,锁定后左右滑动将直接切换小说,漫画,有声书分组大类' | ||
|
||
build() { | ||
Column() { | ||
Text(`${this.title}` ).fontWeight(600).maxLines(1).minFontSize(12).maxFontSize(20).margin({ top: 20, bottom: 10 }) | ||
Row({ | ||
space:8 | ||
}){ | ||
Text(this.content) | ||
.width('70%') | ||
.fontColor('rgba(0, 0, 0, 0.45)').fontSize(14).fontWeight(400).lineHeight(22) | ||
} | ||
Row({space:24}) { | ||
Text('确认') | ||
.onClick(() => { | ||
if (this.controller != undefined) { | ||
this.controller.close() | ||
// this.confirm() | ||
} | ||
}) | ||
.borderRadius(15) | ||
.padding({left:30,right:30,top:10,bottom:10}) | ||
.fontColor(Color.White) | ||
.backgroundColor($r('app.color.theme_color')) | ||
}.padding({top:20,bottom:20}) | ||
} | ||
} | ||
} |
Oops, something went wrong.