Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
7593e5c0
Commit
7593e5c0
authored
Feb 15, 2019
by
a123456
Browse files
Signed-off-by: a123456 <1209165801@qq.com>
parent
9d217107
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
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
.
selec
te
d
List.splice
(
event
.newIndex
,
0
,
that
.addInputType
)
;
modelFormVue
.
formI
te
m
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
15
px
6px
3
0px
;
padding
:
6px
20
px
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
15
px 6px
3
0px;
padding: 6px
20
px 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
Supports
Markdown
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