mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix: 样式修改
This commit is contained in:
parent
f615e9fda8
commit
a1c4c61d95
@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<div id="canvasInfo" :style="customStyle" class="bg">
|
||||
<el-row v-if="componentDataShow.length===0" style="height: 100%;" class="custom-position">
|
||||
{{ $t('panel.panel_null') }}
|
||||
</el-row>
|
||||
<ComponentWrapper
|
||||
v-for="(item, index) in componentDataInfo"
|
||||
:key="index"
|
||||
@ -148,4 +151,13 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
.custom-position {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 14px;
|
||||
flex-flow: row nowrap;
|
||||
color: #9ea6b2;
|
||||
}
|
||||
</style>
|
||||
|
@ -872,7 +872,8 @@ export default {
|
||||
clean_canvas: 'Clean Canvas',
|
||||
insert_picture: 'Insert Picture',
|
||||
redo: 'Redo',
|
||||
undo: 'UToolbar.vuendo'
|
||||
undo: 'UToolbar.vuendo',
|
||||
panel_null: 'This is a Empty Panel,You Can Edit and Enrich It'
|
||||
},
|
||||
plugin: {
|
||||
local_install: 'Local installation',
|
||||
|
@ -872,7 +872,8 @@ export default {
|
||||
clean_canvas: '清空畫布',
|
||||
insert_picture: '插入圖片',
|
||||
redo: '重做',
|
||||
undo: '撤銷'
|
||||
undo: '撤銷',
|
||||
panel_null: '这是个空的儀表盤,可以通过编辑来丰富内容'
|
||||
},
|
||||
plugin: {
|
||||
local_install: '本地安裝',
|
||||
|
@ -874,7 +874,8 @@ export default {
|
||||
clean_canvas: '清空画布',
|
||||
insert_picture: '插入图片',
|
||||
redo: '重做',
|
||||
undo: '撤销'
|
||||
undo: '撤销',
|
||||
panel_null: '这是个空的仪表板,可以通过编辑来丰富内容'
|
||||
},
|
||||
plugin: {
|
||||
local_install: '本地安装',
|
||||
|
@ -184,8 +184,8 @@ export default {
|
||||
nodeType: null,
|
||||
panelType: null,
|
||||
panelStyle: JSON.stringify({
|
||||
width: 1680,
|
||||
height: 1050,
|
||||
width: 1280,
|
||||
height: 720,
|
||||
scale: 100,
|
||||
openCommonStyle: true,
|
||||
panel: DEFAULT_PANEL_STYLE,
|
||||
@ -225,8 +225,8 @@ export default {
|
||||
nodeType: null,
|
||||
panelType: null,
|
||||
panelStyle: JSON.stringify({
|
||||
width: 1680,
|
||||
height: 1050,
|
||||
width: 1280,
|
||||
height: 720,
|
||||
scale: 100,
|
||||
openCommonStyle: true,
|
||||
panel: DEFAULT_PANEL_STYLE,
|
||||
|
@ -19,8 +19,8 @@ export const DEFAULT_PANEL_STYLE = {
|
||||
}
|
||||
|
||||
export const DEFAULT_COMMON_CANVAS_STYLE = {
|
||||
width: 1680,
|
||||
height: 1050,
|
||||
width: 1280,
|
||||
height: 720,
|
||||
scale: 100,
|
||||
openCommonStyle: true,
|
||||
panel: DEFAULT_PANEL_STYLE,
|
||||
|
Loading…
Reference in New Issue
Block a user