Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
7593e5c0
Commit
7593e5c0
authored
Feb 15, 2019
by
a123456
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: a123456 <1209165801@qq.com>
parent
9d217107
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
7 deletions
+15
-7
form.ftl
src/main/webapp/WEB-INF/manager/mdiy/diy-model/form.ftl
+0
-0
index.ftl
src/main/webapp/WEB-INF/manager/mdiy/diy-model/index.ftl
+1
-1
model-form.css
src/main/webapp/static/mdiy/css/model-form.css
+7
-3
model-form.less
src/main/webapp/static/mdiy/less/model-form.less
+7
-3
No files found.
src/main/webapp/WEB-INF/manager/mdiy/diy-model/form.ftl
View file @
7593e5c0
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/manager/mdiy/diy-model/index.ftl
View file @
7593e5c0
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
//拖动成功后删除拖动过来的元素
//拖动成功后删除拖动过来的元素
event.item.parentNode.removeChild(event.item);
event.item.parentNode.removeChild(event.item);
//想素组添加拖动过来的选项选项
//想素组添加拖动过来的选项选项
modelFormVue.
selected
List.splice(event.newIndex, 0, that.addInputType);
modelFormVue.
formItem
List.splice(event.newIndex, 0, that.addInputType);
},
},
});
});
})
})
...
...
src/main/webapp/static/mdiy/css/model-form.css
View file @
7593e5c0
...
@@ -196,7 +196,7 @@ textarea::-webkit-input-placeholder {
...
@@ -196,7 +196,7 @@ textarea::-webkit-input-placeholder {
margin
:
8px
;
margin
:
8px
;
}
}
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
{
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
{
padding
:
6px
15px
6px
3
0px
;
padding
:
6px
20px
6px
2
0px
;
border
:
1px
solid
transparent
;
border
:
1px
solid
transparent
;
}
}
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.unit-input
{
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.unit-input
{
...
@@ -208,7 +208,7 @@ textarea::-webkit-input-placeholder {
...
@@ -208,7 +208,7 @@ textarea::-webkit-input-placeholder {
}
}
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.el-form-item__content
.del-but
{
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.el-form-item__content
.del-but
{
visibility
:
hidden
;
visibility
:
hidden
;
padding-left
:
15
px
;
padding-left
:
20
px
;
margin-left
:
auto
;
margin-left
:
auto
;
}
}
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.el-radio
{
.ms-mdiy-model-form
.ms-editor-body-layout
.ms-form-item
.el-radio
{
...
@@ -226,16 +226,20 @@ textarea::-webkit-input-placeholder {
...
@@ -226,16 +226,20 @@ textarea::-webkit-input-placeholder {
.ms-mdiy-model-form
.ms-editor-attr-layout
{
.ms-mdiy-model-form
.ms-editor-attr-layout
{
background
:
#fff
;
background
:
#fff
;
min-width
:
20%
;
min-width
:
20%
;
padding
:
20px
;
display
:
flex
;
flex-wrap
:
wrap
;
}
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-header-title
{
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-header-title
{
border-left
:
1px
solid
#e6e6e6
;
border-left
:
1px
solid
#e6e6e6
;
width
:
100%
;
}
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
{
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
{
width
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
{
.ms-mdiy-model-form
.ms-editor-attr-layout
.ms-editor-attr
.form
{
padding
:
15px
;
height
:
calc
(
100vh
-
200px
);
height
:
calc
(
100vh
-
200px
);
overflow
:
auto
;
overflow
:
auto
;
}
}
...
...
src/main/webapp/static/mdiy/less/model-form.less
View file @
7593e5c0
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
background: #fff;
background: #fff;
margin: 8px;
margin: 8px;
.ms-form-item {
.ms-form-item {
padding: 6px
15px 6px 3
0px;
padding: 6px
20px 6px 2
0px;
border: 1px solid transparent;
border: 1px solid transparent;
//单位输入框
//单位输入框
.unit-input {
.unit-input {
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
align-items: flex-start;
align-items: flex-start;
.del-but {
.del-but {
visibility: hidden;
visibility: hidden;
padding-left:
15
px;
padding-left:
20
px;
margin-left: auto;
margin-left: auto;
}
}
}
}
...
@@ -80,14 +80,18 @@
...
@@ -80,14 +80,18 @@
.ms-editor-attr-layout {
.ms-editor-attr-layout {
background: #fff;
background: #fff;
min-width: 20%;
min-width: 20%;
padding: 20px;
display: flex;
flex-wrap: wrap;
.ms-header-title {
.ms-header-title {
border-left: 1px solid @borderColor;
border-left: 1px solid @borderColor;
width: 100%;
}
}
.ms-editor-attr {
.ms-editor-attr {
width: 100%;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
.form {
.form {
padding: 15px;
height: ~'calc(100vh - 200px)';
height: ~'calc(100vh - 200px)';
overflow: auto;
overflow: auto;
.el-form-item__label {
.el-form-item__label {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment