diff --git a/src/router/modules/form.js b/src/router/modules/form.js
index b8ddda5..e70ea39 100644
--- a/src/router/modules/form.js
+++ b/src/router/modules/form.js
@@ -9,11 +9,31 @@ export default [
meta: {requireLogin: true},
component: () => import(/* webpackChunkName: 'root' */ '@/views/form/editor')
},
+ {
+ path: 'editor',
+ meta: {requireLogin: true},
+ component: () => import(/* webpackChunkName: 'root' */ '@/views/form/editor')
+ },
{
path: 'logic',
meta: {requireLogin: true},
component: () => import(/* webpackChunkName: 'root' */ '@/views/form/logic')
},
+ {
+ path: 'preview',
+ meta: {requireLogin: true},
+ component: () => import(/* webpackChunkName: 'root' */ '@/views/form/PreView')
+ },
+ {
+ path: 'setting',
+ meta: {requireLogin: true},
+ component: () => import(/* webpackChunkName: 'root' */ '@/views/form/setting')
+ },
+ {
+ path: 'publish',
+ meta: {requireLogin: true},
+ component: () => import(/* webpackChunkName: 'root' */ '@/views/form/publish')
+ },
{
path: 'statistics',
meta: {requireLogin: true},
diff --git a/src/views/form/logic.vue b/src/views/form/logic.vue
index fcdad6d..ee6c2b9 100644
--- a/src/views/form/logic.vue
+++ b/src/views/form/logic.vue
@@ -294,6 +294,9 @@ export default {
padding-top: 20px;
}
}
+::v-deep .el-scrollbar__wrap {
+ overflow-x: hidden;
+}
.not-logic-container {
.el-icon-circle-plus-outline {
font-size: 20px;
diff --git a/src/views/form/newIndex.vue b/src/views/form/newIndex.vue
index 03b9e58..afcf439 100644
--- a/src/views/form/newIndex.vue
+++ b/src/views/form/newIndex.vue
@@ -1,12 +1,12 @@
@@ -37,7 +69,11 @@
@@ -50,13 +86,21 @@ export default {
::v-deep .el-card__body {
padding: 0;
}
+::v-deep .el-menu {
+ border: none;
+ background-color: transparent;
+}
.header-container {
width: 100%;
height: 60px;
.el-icon-back {
font-size: 22px;
font-weight: 550;
+ cursor: pointer;
color: #000;
+ &:hover {
+ color: rgb(32, 160, 255);
+ }
}
.header-logo {
height: 60px;
@@ -66,5 +110,36 @@ export default {
.main-container {
width: 100vw;
height: calc(100vh - 60px);
+ display: flex;
+ flex-direction: row;
+ .right-content-container {
+ width: calc(100vw - 100px);
+ height: calc(100vh - 60px);
+ }
+}
+.left-menu-container {
+ max-width: 100px;
+ text-align: center;
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ border-right: solid 1px #e6e6e6;
+ .el-menu-vertical:not(.el-menu--collapse) {
+ width: 100px;
+ min-height: 400px;
+ }
+ .el-icon-d-arrow-left,
+ .el-icon-d-arrow-right {
+ font-size: 19px;
+ cursor: pointer;
+ font-weight: 550;
+ color: #000;
+ margin-bottom: 100px;
+ &:hover {
+ color: rgb(32, 160, 255);
+ }
+ }
}
+