提交 a1c4c61d authored 作者: wangjiahao's avatar wangjiahao

fix: 样式修改

上级 f615e9fd
<template> <template>
<div id="canvasInfo" :style="customStyle" class="bg"> <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 <ComponentWrapper
v-for="(item, index) in componentDataInfo" v-for="(item, index) in componentDataInfo"
:key="index" :key="index"
...@@ -148,4 +151,13 @@ export default { ...@@ -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> </style>
...@@ -872,7 +872,8 @@ export default { ...@@ -872,7 +872,8 @@ export default {
clean_canvas: 'Clean Canvas', clean_canvas: 'Clean Canvas',
insert_picture: 'Insert Picture', insert_picture: 'Insert Picture',
redo: 'Redo', redo: 'Redo',
undo: 'UToolbar.vuendo' undo: 'UToolbar.vuendo',
panel_null: 'This is a Empty Panel,You Can Edit and Enrich It'
}, },
plugin: { plugin: {
local_install: 'Local installation', local_install: 'Local installation',
......
...@@ -872,7 +872,8 @@ export default { ...@@ -872,7 +872,8 @@ export default {
clean_canvas: '清空畫布', clean_canvas: '清空畫布',
insert_picture: '插入圖片', insert_picture: '插入圖片',
redo: '重做', redo: '重做',
undo: '撤銷' undo: '撤銷',
panel_null: '这是个空的儀表盤,可以通过编辑来丰富内容'
}, },
plugin: { plugin: {
local_install: '本地安裝', local_install: '本地安裝',
......
...@@ -874,7 +874,8 @@ export default { ...@@ -874,7 +874,8 @@ export default {
clean_canvas: '清空画布', clean_canvas: '清空画布',
insert_picture: '插入图片', insert_picture: '插入图片',
redo: '重做', redo: '重做',
undo: '撤销' undo: '撤销',
panel_null: '这是个空的仪表板,可以通过编辑来丰富内容'
}, },
plugin: { plugin: {
local_install: '本地安装', local_install: '本地安装',
......
...@@ -184,8 +184,8 @@ export default { ...@@ -184,8 +184,8 @@ export default {
nodeType: null, nodeType: null,
panelType: null, panelType: null,
panelStyle: JSON.stringify({ panelStyle: JSON.stringify({
width: 1680, width: 1280,
height: 1050, height: 720,
scale: 100, scale: 100,
openCommonStyle: true, openCommonStyle: true,
panel: DEFAULT_PANEL_STYLE, panel: DEFAULT_PANEL_STYLE,
...@@ -225,8 +225,8 @@ export default { ...@@ -225,8 +225,8 @@ export default {
nodeType: null, nodeType: null,
panelType: null, panelType: null,
panelStyle: JSON.stringify({ panelStyle: JSON.stringify({
width: 1680, width: 1280,
height: 1050, height: 720,
scale: 100, scale: 100,
openCommonStyle: true, openCommonStyle: true,
panel: DEFAULT_PANEL_STYLE, panel: DEFAULT_PANEL_STYLE,
......
...@@ -19,8 +19,8 @@ export const DEFAULT_PANEL_STYLE = { ...@@ -19,8 +19,8 @@ export const DEFAULT_PANEL_STYLE = {
} }
export const DEFAULT_COMMON_CANVAS_STYLE = { export const DEFAULT_COMMON_CANVAS_STYLE = {
width: 1680, width: 1280,
height: 1050, height: 720,
scale: 100, scale: 100,
openCommonStyle: true, openCommonStyle: true,
panel: DEFAULT_PANEL_STYLE, panel: DEFAULT_PANEL_STYLE,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论