This commit is contained in:
shefengchun 2023-01-05 08:43:56 +08:00
commit 973a38fee4
3 changed files with 54 additions and 4 deletions

View File

@ -62,7 +62,8 @@
<q-tab <q-tab
v-if=" v-if="
$store.state.advanced_debug || $store.state.advanced_debug ||
(!$store.state.custom_defines.is_custom_isv && /*!$store.state.custom_defines.is_custom_isv */ (!$store.state
.custom_defines.function_output_board &&
$store.state.isLedPlayer()) $store.state.isLedPlayer())
" "
name="graphics" name="graphics"

View File

@ -556,7 +556,7 @@ export default {
"启用镜像输出后第二个输出可能需要等待1~2分钟才会有画面!", "启用镜像输出后第二个输出可能需要等待1~2分钟才会有画面!",
"i have known": "我已知晓", "i have known": "我已知晓",
"output setting": "输出设置", "output setting": "输出设置",
language: "中文", language: "语言",
english: "英文", english: "英文",
chinese: "中文", chinese: "中文",
"hour mark color": "时标", "hour mark color": "时标",

View File

@ -1,6 +1,10 @@
<template> <template>
<div> <div>
<q-toolbar style="background-color: #3e9acd" class="shadow-2 text-white" @dragstart.prevent> <q-toolbar
style="background-color: #3e9acd"
class="shadow-2 text-white"
@dragstart.prevent
>
<q-btn-dropdown <q-btn-dropdown
stretch stretch
no-caps no-caps
@ -46,6 +50,7 @@
/> />
<q-btn <q-btn
v-if="$store.state.custom_defines.function_output_board"
stretch stretch
no-caps no-caps
:disable="!$store.state.power_state" :disable="!$store.state.power_state"
@ -58,6 +63,20 @@
/> />
<q-btn <q-btn
stretch
no-caps
v-else
:disable="!$store.state.power_state"
flat
stack
icon="img:new_icon/full_screen_icon.png"
class="q-mr-sm"
:label="$t('full screen window')"
@click="fullscreenWindow"
/>
<q-btn
v-if="$store.state.custom_defines.function_output_board"
stretch stretch
no-caps no-caps
:disable="!$store.state.power_state" :disable="!$store.state.power_state"
@ -68,6 +87,18 @@
class="q-mr-sm" class="q-mr-sm"
@click="switchOutputBoardState" @click="switchOutputBoardState"
/> />
<q-btn
stretch
no-caps
v-else
:disable="!$store.state.power_state"
flat
stack
icon="img:new_icon/exit_full_screen_icon.png"
class="q-mr-sm"
:label="$t('restore window size')"
@click="exitFullscreenWindow"
/>
<q-btn <q-btn
stretch stretch
@ -194,7 +225,11 @@
:label="$t('other setting')" :label="$t('other setting')"
class="q-mr-sm" class="q-mr-sm"
> >
<q-list style="background-color: #3e9acd" class="shadow-2 text-white" @dragstart.prevent> <q-list
style="background-color: #3e9acd"
class="shadow-2 text-white"
@dragstart.prevent
>
<q-item <q-item
clickable clickable
v-close-popup v-close-popup
@ -293,6 +328,20 @@
{{ $t("about") }} {{ $t("about") }}
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item
clickable
v-if="$store.state.factory_mode"
v-close-popup
@click="$refs.register_dialog.showDialog()"
>
<q-item-section avatar>
<!-- <q-icon name="devices" /> -->
<q-icon name="lock_open" />
</q-item-section>
<q-item-section>
{{ $t("register device") }}
</q-item-section>
</q-item>
<q-item <q-item
v-if="$store.state.advanced_debug" v-if="$store.state.advanced_debug"
clickable clickable