添加开源软件声明&bugs修复

This commit is contained in:
Searchstars
2024-12-14 22:34:22 +08:00
parent 221432bbdf
commit e873d226b5
9 changed files with 88 additions and 4 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ export default {
global.DEVICE_INFO = this.DEVICE_INFO global.DEVICE_INFO = this.DEVICE_INFO
console.log("appinit > initBgImg") console.log("appinit > initBgImg")
bgimg.Init() this.bgimg.Init()
global.bgimg = this.bgimg
console.log("appinit > createBiliClient") console.log("appinit > createBiliClient")
this.biliclient = new BilibiliClient() this.biliclient = new BilibiliClient()
+1
View File
@@ -23,6 +23,7 @@ export function Init(){
} }
export function GetBackgroundImageSrc(){ export function GetBackgroundImageSrc(){
global.logger.log("[GetBackgroundImageSrc] Getting")
var pageName = router.getState().name var pageName = router.getState().name
global.logger.log("[GetBackgroundImageSrc]", router.getState().name, BGIMG_PAGES_MAP[pageName]) global.logger.log("[GetBackgroundImageSrc]", router.getState().name, BGIMG_PAGES_MAP[pageName])
return BGIMG_PAGES_MAP[pageName] return BGIMG_PAGES_MAP[pageName]
@@ -2,7 +2,7 @@
<template> <template>
<div class="inputpanel"> <div class="inputpanel">
<input-method if="{{global_show}}" style="position: absolute" hide={{keyboardHide}} @complete="InputEvent" @delete="InputDelete" @screentype="{{screentype}}" vibratemode="short"></input-method> <input-method if="{{global_show}}" style="position: absolute" hide={{keyboardHide}} @complete="InputEvent" @delete="InputDelete" screentype="{{screentype}}" vibratemode="short"></input-method>
<div class="inputactions"> <div class="inputactions">
<div style="margin-left: 35px" @click="ExitInput"> <div style="margin-left: 35px" @click="ExitInput">
<image class="inputaction_img" src="/common/textinput_back.png"></image> <image class="inputaction_img" src="/common/textinput_back.png"></image>
+1
View File
@@ -6,6 +6,7 @@
"buildTime": "Build Time", "buildTime": "Build Time",
"builder": "Builder", "builder": "Builder",
"moreResources": "For more resources, visit", "moreResources": "For more resources, visit",
"osw": "OpenSource Project/Software Statement",
"disclaimer": "Disclaimer" "disclaimer": "Disclaimer"
}, },
"arealist": { "arealist": {
+4
View File
@@ -8,6 +8,7 @@
"builder": "构建者", "builder": "构建者",
"developers": "参与开发的人员", "developers": "参与开发的人员",
"moreResources": "更多资源请访问", "moreResources": "更多资源请访问",
"osw": "开源项目/软件声明",
"disclaimer": "免责声明" "disclaimer": "免责声明"
}, },
"arealist": { "arealist": {
@@ -119,5 +120,8 @@
"logOut": "退出登录", "logOut": "退出登录",
"donation": "捐赠", "donation": "捐赠",
"about": "关于应用" "about": "关于应用"
},
"opensoftware": {
"title": "开源软件声明"
} }
} }
+3
View File
@@ -118,6 +118,9 @@
}, },
"pages/app/features/dynamic": { "pages/app/features/dynamic": {
"component": "dynamic" "component": "dynamic"
},
"pages/app/features/settings/opensoftware": {
"component": "opensoftware"
} }
} }
} }
+2 -2
View File
@@ -4,8 +4,8 @@
<template> <template>
<div class="page"> <div class="page">
<image style="position: absolute; left: 0px" src="{{this.$app.$def.bgimg.GetBackgroundImageSrc()}}"></image> <image style="position: absolute; left: 0px" src="{{this.$app.$def.bgimg.GetBackgroundImageSrc()}}"></image>
<scroll class="scroll" scroll-y="true"> <scroll class="scroll" scroll-y="true" bounces="true">
<switch-bar title="动态" static></switch-bar> <switch-bar title="dynamic.title"></switch-bar>
<div class="waterfall" if="show_content"> <div class="waterfall" if="show_content">
<div class="waterfall-column"> <div class="waterfall-column">
<dyn-show for="{{dynamic.render_split_1}}" dyn="{{$item}}"></dyn-show> <dyn-show for="{{dynamic.render_split_1}}" dyn="{{$item}}"></dyn-show>
@@ -57,6 +57,9 @@
{{ $t("about.moreResources") }} {{ $t("about.moreResources") }}
</text> </text>
<text class="text" style="margin-top: 5px">bandbbs.cn</text> <text class="text" style="margin-top: 5px">bandbbs.cn</text>
<div @click="OpenOpenSoftwareWarning" class="disclaimer-btn" style="margin-top: 20px;">
<text style="font-size: 28px; font-weight: 600">{{ $t("about.osw") }}</text>
</div>
<div @click="OpenDisclaimer" class="disclaimer-btn" style="margin-top: 20px;"> <div @click="OpenDisclaimer" class="disclaimer-btn" style="margin-top: 20px;">
<text style="font-size: 28px; font-weight: 600">{{ $t("about.disclaimer") }}</text> <text style="font-size: 28px; font-weight: 600">{{ $t("about.disclaimer") }}</text>
</div> </div>
@@ -84,6 +87,11 @@ export default {
text: "本项目与哔哩哔哩(Bilibili)官方无任何关联,包括但不限于 哔哩哔哩股份有限公司 上海幻电信息科技有限公司 上海宽娱数码科技有限公司,本项目所使用的所有API接口均来自https://github.com/SocialSisterYi/bilibili-API-collect,经过来自各界网友的测试与修正,本人未对哔哩哔哩(Bilibili)的任何客户端进行任何逆向工程(包括但不限于 反编译、反汇编、抓包、拆包)操作" text: "本项目与哔哩哔哩(Bilibili)官方无任何关联,包括但不限于 哔哩哔哩股份有限公司 上海幻电信息科技有限公司 上海宽娱数码科技有限公司,本项目所使用的所有API接口均来自https://github.com/SocialSisterYi/bilibili-API-collect,经过来自各界网友的测试与修正,本人未对哔哩哔哩(Bilibili)的任何客户端进行任何逆向工程(包括但不限于 反编译、反汇编、抓包、拆包)操作"
} }
}) })
},
OpenOpenSoftwareWarning(){
router.push({
uri: "pages/app/features/settings/opensoftware"
})
} }
} }
</script> </script>
File diff suppressed because one or more lines are too long