From 0cd930ca1f4aa998d4a516d83efe92f9e3a3f02b Mon Sep 17 00:00:00 2001 From: Chavy Date: Fri, 14 Aug 2020 20:30:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0[BoxJs=20TF]:=20=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E6=98=BE=E7=A4=BA=E6=94=B6=E8=97=8F=E5=BA=94=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- box/chavy.boxjs.html | 41 ++++++++++++++++++++------------- box/chavy.boxjs.js | 2 +- box/release/box.release.tf.json | 13 +++++++++++ 3 files changed, 39 insertions(+), 17 deletions(-) diff --git a/box/chavy.boxjs.html b/box/chavy.boxjs.html index 155076afa..e9c84bf44 100644 --- a/box/chavy.boxjs.html +++ b/box/chavy.boxjs.html @@ -44,6 +44,7 @@ box-sizing: border-box; } .v-main.safe { + background: none; margin-bottom: 56px; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); @@ -60,7 +61,7 @@
- + {{ui.snackbar.msg}} @@ -305,11 +306,26 @@ - - + + + + + + + + + + + {{app.name}} + + + + + + - + @@ -847,6 +863,7 @@

{{curapp.name}}

+

{{curbak.name}}

@@ -924,12 +941,6 @@

{{curbak.name}}

{{box.usercfgs.isLeftBoxIcon ? 'mdi-format-horizontal-align-right' : 'mdi-format-horizontal-align-left'}} - mdi-refresh @@ -962,9 +973,6 @@

v{{ver.versio -

@@ -1301,11 +1309,12 @@

v{{ver.versio this.ui.isCors = true } // 根据路径跳转视图 + const defview = '/' if (!this.isCors) { const path = location.pathname - this.path = path === '/' ? '/app' : path + this.path = path === '/' ? defview : path } else { - this.path = '/app' + this.path = defview } // 监听浏览器后退事件 window.addEventListener('popstate', () => (this.path = path), false) @@ -1375,7 +1384,7 @@

v{{ver.versio this.$vuetify.theme.themes.light.primary = this.box.usercfgs.color_light_primary || '#F7BB0E' this.$vuetify.theme.themes.dark.primary = this.box.usercfgs.color_dark_primary || '#2196F3' }, - // 复制文件 + // 复制文本 copy(str) { this.$copyText(str).then( (e) => { diff --git a/box/chavy.boxjs.js b/box/chavy.boxjs.js index b667cb7ae..650143c78 100644 --- a/box/chavy.boxjs.js +++ b/box/chavy.boxjs.js @@ -1,6 +1,6 @@ const $ = new Env('BoxJs') -$.version = '0.7.10' +$.version = '0.7.11' $.versionType = 'beta' /** diff --git a/box/release/box.release.tf.json b/box/release/box.release.tf.json index 9e7e0cea3..00d97d5e0 100644 --- a/box/release/box.release.tf.json +++ b/box/release/box.release.tf.json @@ -1,5 +1,18 @@ { "releases": [ + { + "version": "0.7.11", + "tags": ["beta"], + "author": "@chavyleung", + "icon": "https://avatars3.githubusercontent.com/u/29748519", + "repo": "https://github.com/chavyleung", + "notes": [ + { + "name": "新增", + "descs": ["首页显示收藏应用"] + } + ] + }, { "version": "0.7.10", "tags": ["beta"],