Skip to content

Commit dcc7cf4

Browse files
committed
更新[BoxJs TF]: 全屏状态下上滑重新渲染壁纸
1 parent d9b5f17 commit dcc7cf4

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

‎box/chavy.boxjs.html‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,18 @@
449449
<v-main v-scroll="onScroll">
450450
<v-snackbar top app v-model="ui.snackbar.show" v-bind="ui.snackbar">{{ui.snackbar.msg}}</v-snackbar>
451451
<!-- 主页 -->
452-
<v-container fluid v-show="view === ''">
453-
<v-row no-gutters v-show="!isHidedAppIcons">
452+
<v-container
453+
fluid
454+
class="fill-height"
455+
v-show="view === ''"
456+
v-touch="{ up: () => {
457+
if (isWallpaper) {
458+
clearWallpaper()
459+
setWallpaper()
460+
}
461+
} }"
462+
>
463+
<v-row no-gutters v-show="!isHidedAppIcons" class="align-self-start">
454464
<v-col cols="3" md="2" v-for="(app, appIdx) in favApps" :key="app.id" class="d-flex justify-space-around">
455465
<div class="ma-2" @click="switchAppView(app.id)">
456466
<v-card v-if="isDarkMode" style="border-radius: 12px;">
@@ -588,6 +598,7 @@ <h2>脚本编辑器</h2>
588598
</v-btn>
589599
</v-subheader>
590600
</v-card>
601+
<div class="pa-0" id="container" style="width: inherit; height: inherit;"></div>
591602
</v-container>
592603
<!-- 应用详情 -->
593604
<v-container fluid v-if="view === 'app' && !!curapp">

0 commit comments

Comments
 (0)