+
@@ -54,6 +55,26 @@ export default {
methods: {
getStyle,
+ getOutStyleDefault(style) {
+ const result = {};
+ ['width', 'left'].forEach(attr => {
+ result[attr] = style[attr] + 'px'
+ });
+ ['height', 'top'].forEach(attr => {
+ result[attr] = style[attr] + 'px'
+ })
+ result['rotate'] = style['rotate']
+ result['opacity'] = style['opacity']
+
+ return result
+ // return style
+ },
+
+ getComponentStyleDefault(style) {
+ return getStyle(style, ['top', 'left', 'width', 'height', 'rotate'])
+ // return style
+ },
+
handleClick() {
const events = this.config.events
Object.keys(events).forEach(event => {
@@ -68,4 +89,8 @@ export default {
.component {
position: absolute;
}
+
+.gap_class{
+ padding:3px;
+}
diff --git a/frontend/src/components/canvas/components/Editor/index.vue b/frontend/src/components/canvas/components/Editor/index.vue
index 9b4565389e..95865b38a7 100644
--- a/frontend/src/components/canvas/components/Editor/index.vue
+++ b/frontend/src/components/canvas/components/Editor/index.vue
@@ -28,7 +28,7 @@
class-name-active="de-drag-active"
:class="{'gap_class':canvasStyleData.panel.gap==='yes'}"
:snap="true"
- :snap-tolerance="5"
+ :snap-tolerance="1"
@refLineParams="getRefLineParams"
>
diff --git a/frontend/src/layout/index.vue b/frontend/src/layout/index.vue
index 87884310d7..0ff45e8d3a 100644
--- a/frontend/src/layout/index.vue
+++ b/frontend/src/layout/index.vue
@@ -4,7 +4,7 @@
-
+
@@ -116,4 +116,10 @@ export default {
.la-main-container {
padding: 0px !important;
}
+ .le-aside-container {
+ .sidebar-container {
+ width: 100% !important;
+ position: initial !important;
+ }
+ }
diff --git a/frontend/src/styles/topbar.scss b/frontend/src/styles/topbar.scss
index 2403e9733b..fbe970c7bf 100644
--- a/frontend/src/styles/topbar.scss
+++ b/frontend/src/styles/topbar.scss
@@ -32,12 +32,12 @@
.nav-item {
display: inline-block;
- .el-menu-item {
+ .el-menu-item:not(.is-active) {
// color: rgb(191, 203, 217);
color: $menuText;
&:hover {
- background-color: $subMenuHover !important;
- color: $subMenuActiveText !important;
+ background-color: $menuHover !important;
+ // color: $subMenuActiveText !important;
}
&:focus {
background-color: $subMenuHover !important;
diff --git a/frontend/src/views/panel/edit/index.vue b/frontend/src/views/panel/edit/index.vue
index f6ed8155d5..b950dd6996 100644
--- a/frontend/src/views/panel/edit/index.vue
+++ b/frontend/src/views/panel/edit/index.vue
@@ -135,7 +135,7 @@
-
+
diff --git a/frontend/src/views/panel/list/PanelViewShow.vue b/frontend/src/views/panel/list/PanelViewShow.vue
index f9f30d7dec..86dd1a4d30 100644
--- a/frontend/src/views/panel/list/PanelViewShow.vue
+++ b/frontend/src/views/panel/list/PanelViewShow.vue
@@ -47,7 +47,7 @@
diff --git a/frontend/src/views/system/user/index.vue b/frontend/src/views/system/user/index.vue
index 2daea9bb59..2cfa1a189c 100644
--- a/frontend/src/views/system/user/index.vue
+++ b/frontend/src/views/system/user/index.vue
@@ -197,7 +197,7 @@ export default {
searchConfig: {
useQuickSearch: true,
useComplexSearch: true,
- quickPlaceholder: '按名称搜索',
+ quickPlaceholder: '按姓名搜索',
components: [
{ field: 'nick_name', label: '姓名', component: 'FuComplexInput' },
{