8686 < div id ="BG "> </ div >
8787 < div id ="app " v-cloak >
8888 < v-app v-if ="box " :style ="appViewStyle ">
89- < v-app-bar app v-bind ="appBarBind " v-show ="!box.usercfgs.isHidedSearchBar ">
89+ < v-app-bar app v-bind ="appBarBind " v-if ="!box.usercfgs.isHidedSearchBar ">
9090 <!-- 搜索条 -->
9191 < v-autocomplete v-bind ="ui.searchBar " :label ="title " @click ="ui.searchDialog.show = true " hide-no-data hide-details solo >
9292 < template #prepend-inner >
@@ -1075,7 +1075,7 @@ <h2>{{curbak.name}}</h2>
10751075 </ v-bottom-navigation >
10761076 < v-fab-transition >
10771077 < v-speed-dial
1078- v-show ="!box.usercfgs.isHideBoxIcon "
1078+ v-show ="!box.usercfgs.isHideBoxIcon && !isWallpaperMode "
10791079 direction ="top "
10801080 fixed
10811081 fab
@@ -1091,7 +1091,10 @@ <h2>{{curbak.name}}</h2>
10911091 v-touch ="{
10921092 left: () => box.usercfgs.isLeftBoxIcon = true,
10931093 right: () => box.usercfgs.isLeftBoxIcon = false,
1094- up: () => reload(),
1094+ up: () => {
1095+ clearWallpaper()
1096+ setWallpaper()
1097+ },
10951098 down: () => isWallpaperMode = !!!isWallpaperMode
10961099 } "
10971100 >
@@ -1732,14 +1735,20 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio
17321735 onScroll ( event ) {
17331736 const currentY = event . currentTarget . scrollY
17341737 const historyY = this . ui . scrollY [ this . path ]
1735- console . log ( `historyY: ${ historyY } , currentY: ${ currentY } ` )
17361738 this . ui . scrollY [ this . path ] = event . currentTarget . scrollY
17371739 // 下拉显示/隐藏顶栏
17381740 // 回弹时才触发显示与隐藏, 1 秒内不重复触发
17391741 if ( currentY < historyY && currentY < - 80 && ! this . ui . isWaitToggleSearchBar ) {
1740- this . ui . isWaitToggleSearchBar = true
1741- this . box . usercfgs . isHidedSearchBar = ! this . box . usercfgs . isHidedSearchBar
1742- this . toggleWaitSearchBar ( )
1742+ // 壁纸模式: 取消模式模式
1743+ if ( this . isWallpaperMode ) {
1744+ this . isWallpaperMode = false
1745+ }
1746+ // 非壁纸模式: 显示&隐藏顶栏
1747+ else {
1748+ this . ui . isWaitToggleSearchBar = true
1749+ this . box . usercfgs . isHidedSearchBar = ! this . box . usercfgs . isHidedSearchBar
1750+ this . toggleWaitSearchBar ( )
1751+ }
17431752 }
17441753 } ,
17451754 setWallpaper ( ) {
0 commit comments