diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico index 1adebf94e1..3bfb47b230 100644 Binary files a/frontend/public/favicon.ico and b/frontend/public/favicon.ico differ diff --git a/frontend/src/assets/DataEase-color.png b/frontend/src/assets/DataEase-color.png index c3c0ccd022..a903a7cc61 100644 Binary files a/frontend/src/assets/DataEase-color.png and b/frontend/src/assets/DataEase-color.png differ diff --git a/frontend/src/components/canvas/components/Editor/PreviewEject.vue b/frontend/src/components/canvas/components/Editor/PreviewEject.vue index 62bad79e79..9e84d2b3eb 100644 --- a/frontend/src/components/canvas/components/Editor/PreviewEject.vue +++ b/frontend/src/components/canvas/components/Editor/PreviewEject.vue @@ -57,7 +57,7 @@ export default { customStyle() { let style = {} if (this.canvasStyleData.openCommonStyle) { - if (this.canvasStyleData.panel.backgroundType === 'image'&&this.canvasStyleData.panel.imageUrl) { + if (this.canvasStyleData.panel.backgroundType === 'image' && this.canvasStyleData.panel.imageUrl) { style = { width: '100%', height: '100%', @@ -80,6 +80,7 @@ export default { mounted() { const _this = this + debugger // 加载数据 _this.restore() const erd = elementResizeDetectorMaker() diff --git a/frontend/src/views/panel/ViewSelect/index.vue b/frontend/src/views/panel/ViewSelect/index.vue index a902115051..83367c9260 100644 --- a/frontend/src/views/panel/ViewSelect/index.vue +++ b/frontend/src/views/panel/ViewSelect/index.vue @@ -128,7 +128,7 @@ export default { overflow-y : auto } .detail-class { - width: 100%; + width: 300px; position: fixed; bottom: 0px; } diff --git a/frontend/src/views/panel/edit/index.vue b/frontend/src/views/panel/edit/index.vue index 151d316117..6eb9dd3a68 100644 --- a/frontend/src/views/panel/edit/index.vue +++ b/frontend/src/views/panel/edit/index.vue @@ -11,66 +11,81 @@ - - - -
-
- -
- + + +
+
+ +
+ +
+ +
+
+ {{ $t('panel.view') }}
- -
-
- {{ $t('panel.view') }} +
+ +
+
+
+ +
+
+
+
-
- -
-
-
- -
-
-
- -
-
-
- {{ $t('panel.module') }} -
+
+
+ {{ $t('panel.module') }}
-
-
-
-
- - - -
-
-
- +
+ + + + + + + + + + + - - -
- -
-
- - + + + + + + + + +
+ +
+
+ { this.show = false }) @@ -222,7 +239,10 @@ export default { this.$router.replace('/panel/index') }, showPanel(type) { - this.show = !this.show + debugger + if (this.showIndex === -1 || this.showIndex === type) { + this.show = !this.show + } this.showIndex = type }, addEventClick() { @@ -230,7 +250,7 @@ export default { }, closeSidebar(evt) { const parent = evt.target.closest('.button-div-class') - const self = evt.target.closest('.leftPanel') + const self = evt.target.closest('.el-drawer__wrapper') // 点击样式按钮 排除 const stick = evt.target.closest('.el-icon-magic-stick') if (!parent && !self && !stick) { @@ -239,13 +259,13 @@ export default { this.showIndex = -1 } }, - insertToBody() { - this.$nextTick(() => { - const elx = this.$refs.leftPanel - const body = document.querySelector('body') - body.insertBefore(elx, body.firstChild) - }) - }, + // insertToBody() { + // this.$nextTick(() => { + // const elx = this.$refs.leftPanel + // const body = document.querySelector('body') + // body.insertBefore(elx, body.firstChild) + // }) + // }, resetID(data) { if (data) { @@ -422,4 +442,19 @@ export default { } } +.this_canvas{ + height: calc(100vh - 91px); + overflow: auto; +} +.el-main{ + height: calc(100vh - 91px); + padding: 0!important; + overflow: auto; + position: relative; +} + +.el-main >>> .el-drawer__wrapper{ + width: 310px!important; +} +