feat(ywq): 添加列表样式切换功能
- 新增 SignViewModeConfigView 组件用于配置列表样式 - 在 YWQMineView 中添加列表样式切换入口- 使用 ViewType 枚举定义列表样式类型 - 在 RouterBuilder 中注册 SignViewModeConfigView路由 - 更新 BJCALocalStorageKeys,添加保存列表样式类型的键
这个提交包含在:
父节点
bba2a173f4
当前提交
4908affb85
@ -116,6 +116,9 @@ export struct XWebview {
|
||||
.width('100%')
|
||||
|
||||
Web({ src: this.url ?? 'www.example.com', controller: this.controller })
|
||||
.javaScriptAccess(true)
|
||||
.domStorageAccess(true)
|
||||
.geolocationAccess(true)
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
.visibility(this.errorInfo == null ? Visibility.Visible : Visibility.None)
|
||||
@ -184,6 +187,7 @@ export struct XWebview {
|
||||
} else {
|
||||
this.errorInfo = '错误码:-1\n未知错误'
|
||||
}
|
||||
ToolsHelper.log(this.errorInfo)
|
||||
})
|
||||
.onHttpErrorReceive((event) => { // 加载失败
|
||||
if (this.progress > 65) {
|
||||
@ -194,6 +198,7 @@ export struct XWebview {
|
||||
} else {
|
||||
this.errorInfo = '错误码:-1\n未知错误'
|
||||
}
|
||||
ToolsHelper.log(this.errorInfo)
|
||||
})
|
||||
.onProgressChange((event) => { // 加载进度
|
||||
if (event) {
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户