|
164 | 164 | <!-- 侧栏 --> |
165 | 165 | <v-navigation-drawer app v-model="ui.naviDrawer.show" height="100%" temporary right disable-route-watcher> |
166 | 166 | <v-list dense nav> |
167 | | - <v-list-item dense @click="open(box.syscfgs.chavy.repo)"> |
168 | | - <v-list-item-avatar><img :src="box.syscfgs.chavy.icon" /></v-list-item-avatar> |
169 | | - <v-list-item-content> |
170 | | - <v-list-item-title>{{box.syscfgs.chavy.id}}</v-list-item-title> |
171 | | - <v-list-item-subtitle>{{box.syscfgs.chavy.repo}}</v-list-item-subtitle> |
172 | | - </v-list-item-content> |
173 | | - </v-list-item> |
174 | | - <v-list-item dense @click="open(box.syscfgs.senku.repo)"> |
175 | | - <v-list-item-avatar><img :src="box.syscfgs.senku.icon" /></v-list-item-avatar> |
176 | | - <v-list-item-content> |
177 | | - <v-list-item-title>{{box.syscfgs.senku.id}}</v-list-item-title> |
178 | | - <v-list-item-subtitle>{{box.syscfgs.senku.repo}}</v-list-item-subtitle> |
179 | | - </v-list-item-content> |
| 167 | + <v-list-item dense> |
| 168 | + <v-list-item-avatar @click="open(box.syscfgs.boxjs.repo)" class="elevation-3"> |
| 169 | + <v-img :src="box.syscfgs.boxjs.icon"></v-img> |
| 170 | + </v-list-item-avatar> |
| 171 | + <v-row justify="start" no-gutters> |
| 172 | + <v-col v-for="(c, cIdx) in ui.collaborators" cols="4" :key="c.id"> |
| 173 | + <a> |
| 174 | + <v-avatar size="40" @click="open(c.repo)" class="elevation-3"> |
| 175 | + <img :src="c.icon" /> |
| 176 | + </v-avatar> |
| 177 | + </a> |
| 178 | + </v-col> |
| 179 | + </v-row> |
180 | 180 | </v-list-item> |
181 | 181 | <v-divider></v-divider> |
182 | 182 | <v-list-item class="pt-1"> |
|
186 | 186 | <v-tooltip bottom> |
187 | 187 | <template v-slot:activator="{ on, attrs }"> |
188 | 188 | <a> |
189 | | - <v-avatar v-on="on" class="ma-1" size="26" @click="open(c.repo)"> |
190 | | - <img :src="c.icon" /> |
| 189 | + <v-avatar v-on="on" class="ma-1 elevation-3" size="26" @click="open(c.repo)"> |
| 190 | + <v-img :src="c.icon"></v-img> |
191 | 191 | </v-avatar> |
192 | 192 | </a> |
193 | 193 | </template> |
@@ -1248,6 +1248,7 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio |
1248 | 1248 | subview: null, |
1249 | 1249 | bfsubview: null, |
1250 | 1250 | // 数据类 |
| 1251 | + collaborators: [], |
1251 | 1252 | contributors: [], |
1252 | 1253 | isSaveUserCfgs: false, |
1253 | 1254 | // 界面类 |
@@ -1831,7 +1832,7 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio |
1831 | 1832 | let bgimg = '' |
1832 | 1833 | if (this.box.usercfgs.bgimg === '跟随系统') { |
1833 | 1834 | const hasdark = this.bgimgs.find((bgimg) => bgimg.name == '暗黑' || bgimg.name == 'dark') |
1834 | | - const haslight = this.bgimgs.find((bgimg) => bgimg.name == '明亮' || bgimg.name == 'light') |
| 1835 | + const haslight = this.bgimgs.find((bgimg) => bgimg.name == '明亮' || bgimg.name == 'light') |
1835 | 1836 | const darkbgimg = hasdark ? hasdark.url : `` |
1836 | 1837 | const lightbgimg = haslight ? haslight.url : `` |
1837 | 1838 | this.isDarkMode ? (bgimg = darkbgimg) : (bgimg = lightbgimg) |
@@ -2247,9 +2248,12 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio |
2247 | 2248 | axios.get(url).then((resp) => { |
2248 | 2249 | if (!resp) return |
2249 | 2250 | resp.data.forEach((contributor) => { |
2250 | | - if ([29748519, 39037656].includes(contributor.id)) return |
2251 | 2251 | const { login: id, login, html_url: repo, avatar_url: icon } = contributor |
2252 | | - this.ui.contributors.push({ id, login, repo, icon }) |
| 2252 | + if ([29748519, 39037656, 9592236].includes(contributor.id)) { |
| 2253 | + this.ui.collaborators.push({ id, login, repo, icon }) |
| 2254 | + } else { |
| 2255 | + this.ui.contributors.push({ id, login, repo, icon }) |
| 2256 | + } |
2253 | 2257 | }) |
2254 | 2258 | }) |
2255 | 2259 | }, |
|
0 commit comments