完善无界模式显示全屏效果

This commit is contained in:
miao 2023-02-08 09:57:15 +08:00 committed by fangxiang
parent 33413fbb27
commit c6c4522be7
1 changed files with 7 additions and 3 deletions

View File

@ -470,7 +470,7 @@
<q-separator vertical inset /> <q-separator vertical inset />
<q-item v-if="false"> <q-item v-if="isfan">
<q-item-section avatar style="margin-right: 0px; padding-right: 0px"> <q-item-section avatar style="margin-right: 0px; padding-right: 0px">
<!-- <q-icon class="text-white rotate" name="img:svgs/fan.svg" /> --> <!-- <q-icon class="text-white rotate" name="img:svgs/fan.svg" /> -->
<!-- <q-icon class="text-white rotate" name="img:new_icon/fan.png" /> --> <!-- <q-icon class="text-white rotate" name="img:new_icon/fan.png" /> -->
@ -484,7 +484,7 @@
{{ $store.state.fan_temp.toFixed(1) }} {{ $store.state.fan_temp.toFixed(1) }}
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item> <q-item v-else>
<q-item-section avatar style="margin-right: 0px; padding-right: 0px"> <q-item-section avatar style="margin-right: 0px; padding-right: 0px">
<q-btn <q-btn
@click="isfullbtn()" @click="isfullbtn()"
@ -692,7 +692,10 @@ export default defineComponent({
show_device_list.value = show_device_list.value =
typeof (<any>window).user_search?.hide_device_list == "undefined"; typeof (<any>window).user_search?.hide_device_list == "undefined";
}); });
let isfan=ref(true)
if ((window as any).$wujie) {
isfan.value=false
}
return { return {
show_advanced_menu, show_advanced_menu,
plan_running, plan_running,
@ -703,6 +706,7 @@ export default defineComponent({
power_flag, power_flag,
fan, fan,
isfull, isfull,
isfan,
async backupDB() { async backupDB() {
let client = GlobalData.getInstance().getCurrentClient(); let client = GlobalData.getInstance().getCurrentClient();
if (client) { if (client) {