修复时钟信号源设置文本显示错误的问题

This commit is contained in:
fangxiang 2022-05-28 18:51:46 +08:00
parent 7d1ce84fcd
commit 6e9bd396d0
2 changed files with 23 additions and 22 deletions

View File

@ -287,6 +287,28 @@
<div class="q-mt-xs" v-if="clock_entity.type == 2"> <div class="q-mt-xs" v-if="clock_entity.type == 2">
<q-separator class="q-mb-md" /> <q-separator class="q-mb-md" />
<q-item> <q-item>
<q-item-section>
<q-btn
flat
no-caps
class="fit"
:style="{
'background-color': clock_entity.analog_second_color,
color:
getForegroundColor(clock_entity.analog_second_color) +
' !important',
}"
:label="$t('hour mark color')"
>
<q-popup-proxy
cover
transition-show="scale"
transition-hide="scale"
>
<q-color
v-model="clock_entity.analog_second_color"
/> </q-popup-proxy></q-btn
></q-item-section>
<q-item-section> <q-item-section>
<q-btn <q-btn
flat flat
@ -358,28 +380,6 @@
v-model="clock_entity.analog_minute_pointer_color" v-model="clock_entity.analog_minute_pointer_color"
/> </q-popup-proxy></q-btn /> </q-popup-proxy></q-btn
></q-item-section> ></q-item-section>
<q-item-section>
<q-btn
flat
no-caps
class="fit"
:style="{
'background-color': clock_entity.analog_second_color,
color:
getForegroundColor(clock_entity.analog_second_color) +
' !important',
}"
:label="$t('second mark color')"
>
<q-popup-proxy
cover
transition-show="scale"
transition-hide="scale"
>
<q-color
v-model="clock_entity.analog_second_color"
/> </q-popup-proxy></q-btn
></q-item-section>
<q-item-section> <q-item-section>
<q-btn <q-btn
flat flat

View File

@ -555,4 +555,5 @@ export default {
language: "中文", language: "中文",
english: "英文", english: "英文",
chinese: "中文", chinese: "中文",
"hour mark color": "时标",
}; };