为平板模式下英文做适配
This commit is contained in:
parent
75311073cb
commit
2c498c05f0
|
@ -28,7 +28,7 @@
|
|||
|
||||
<q-separator />
|
||||
<!-- height: 80vh -->
|
||||
<q-card-section class="scroll" style="width: 60vw;padding: 0;">
|
||||
<q-card-section class="scroll" :style="{width: is_pad_style,padding: 0}">
|
||||
<div class="row" style="border: 1px solid #b0bec5; text-align: center">
|
||||
<div class="col-2" style="border-right: 1px solid #b0bec5">
|
||||
<p class="text-center">{{ $t("Projector") }}</p>
|
||||
|
@ -243,6 +243,13 @@ export default defineComponent({
|
|||
const showDialog = async () => {
|
||||
show_dialog.value = true;
|
||||
};
|
||||
const is_pad_style=computed(()=>{
|
||||
let url=window.location.href
|
||||
if(url.indexOf("pad")!=-1){
|
||||
return ""
|
||||
}
|
||||
return "60vw"
|
||||
})
|
||||
const select_configuration = ref(false)
|
||||
const del_dialog = ref(false)
|
||||
const config_projectors=ref(null)
|
||||
|
@ -777,7 +784,8 @@ export default defineComponent({
|
|||
now_select_projectorlayout,
|
||||
projectorlayout,
|
||||
btn_options,
|
||||
projectors_that_can_display
|
||||
projectors_that_can_display,
|
||||
is_pad_style
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
@ -436,7 +436,7 @@ export default {
|
|||
"line color": "Line Color",
|
||||
"center line color": "center line color",
|
||||
"center circle color": "center circle color",
|
||||
"Whether to operate synchronously": "Whether to operate synchronously",
|
||||
"Whether to operate synchronously": "synchronous operation",
|
||||
"Select saved configuration": "Configuration list",
|
||||
"read saved configuration": "Configuration list",
|
||||
"please choose": "please choose",
|
||||
|
|
Loading…
Reference in New Issue