diff --git a/box/chavy.boxjs.html b/box/chavy.boxjs.html index 1c0884bd3..b9fc160d7 100644 --- a/box/chavy.boxjs.html +++ b/box/chavy.boxjs.html @@ -164,19 +164,19 @@ - - - - {{box.syscfgs.chavy.id}} - {{box.syscfgs.chavy.repo}} - - - - - - {{box.syscfgs.senku.id}} - {{box.syscfgs.senku.repo}} - + + + + + + + + + + + + + @@ -186,8 +186,8 @@ @@ -1248,6 +1248,7 @@

v{{ver.versio subview: null, bfsubview: null, // 数据类 + collaborators: [], contributors: [], isSaveUserCfgs: false, // 界面类 @@ -1831,7 +1832,7 @@

v{{ver.versio let bgimg = '' if (this.box.usercfgs.bgimg === '跟随系统') { const hasdark = this.bgimgs.find((bgimg) => bgimg.name == '暗黑' || bgimg.name == 'dark') - const haslight = this.bgimgs.find((bgimg) => bgimg.name == '明亮' || bgimg.name == 'light') + const haslight = this.bgimgs.find((bgimg) => bgimg.name == '明亮' || bgimg.name == 'light') const darkbgimg = hasdark ? hasdark.url : `` const lightbgimg = haslight ? haslight.url : `` this.isDarkMode ? (bgimg = darkbgimg) : (bgimg = lightbgimg) @@ -2247,9 +2248,12 @@

v{{ver.versio axios.get(url).then((resp) => { if (!resp) return resp.data.forEach((contributor) => { - if ([29748519, 39037656].includes(contributor.id)) return const { login: id, login, html_url: repo, avatar_url: icon } = contributor - this.ui.contributors.push({ id, login, repo, icon }) + if ([29748519, 39037656, 9592236].includes(contributor.id)) { + this.ui.collaborators.push({ id, login, repo, icon }) + } else { + this.ui.contributors.push({ id, login, repo, icon }) + } }) }) }, diff --git a/box/chavy.boxjs.js b/box/chavy.boxjs.js index 8be9cf186..bccea511c 100644 --- a/box/chavy.boxjs.js +++ b/box/chavy.boxjs.js @@ -3,7 +3,7 @@ const $ = new Env('BoxJs') // 为 eval 准备的上下文环境 const $eval_env = {} -$.version = '0.7.53' +$.version = '0.7.54' $.versionType = 'beta' /** @@ -278,10 +278,10 @@ function getSystemCfgs() { ], chavy: { id: 'ChavyLeung', icon: 'https://avatars3.githubusercontent.com/u/29748519', repo: 'https://github.com/chavyleung/scripts' }, senku: { id: 'GideonSenku', icon: 'https://avatars1.githubusercontent.com/u/39037656', repo: 'https://github.com/GideonSenku' }, + id77: { id: 'id77', icon: 'https://avatars0.githubusercontent.com/u/9592236', repo: 'https://github.com/id77' }, orz3: { id: 'Orz-3', icon: 'https://raw.githubusercontent.com/Orz-3/task/master/Orz-3.png', repo: 'https://github.com/Orz-3/' }, boxjs: { id: 'BoxJs', show: false, icon: 'https://raw.githubusercontent.com/Orz-3/task/master/box.png', icons: ['https://raw.githubusercontent.com/Orz-3/mini/master/box.png', 'https://raw.githubusercontent.com/Orz-3/task/master/box.png'], repo: 'https://github.com/chavyleung/scripts' }, - defaultIcons: ['https://raw.githubusercontent.com/Orz-3/mini/master/appstore.png', 'https://raw.githubusercontent.com/Orz-3/task/master/appstore.png'], - scontributors: [] + defaultIcons: ['https://raw.githubusercontent.com/Orz-3/mini/master/appstore.png', 'https://raw.githubusercontent.com/Orz-3/task/master/appstore.png'] } } diff --git a/box/release/box.release.tf.json b/box/release/box.release.tf.json index b9fe15a9a..0d1e192f3 100644 --- a/box/release/box.release.tf.json +++ b/box/release/box.release.tf.json @@ -1,5 +1,19 @@ { "releases": [ + { + "version": "0.7.54", + "tags": ["beta"], + "author": "@GideonSenku", + "icon": "https://avatars3.githubusercontent.com/u/29748519", + "repo": "https://github.com/chavyleung", + "msg": "更新[BoxJs TF]: 侧栏增加新的贡献者 @id77", + "notes": [ + { + "name": "贡献者", + "descs": ["新的贡献者 @id77"] + } + ] + }, { "version": "0.7.53", "tags": ["beta"],