Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
d5ba0e3c
Commit
d5ba0e3c
authored
Apr 08, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情样式修改
parent
c9951cef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
13 deletions
+35
-13
filed.vue
components/page/filed.vue
+35
-13
No files found.
components/page/filed.vue
View file @
d5ba0e3c
<
template
>
<
template
>
<Col
:span=
"span"
class=
"filed-col"
>
<Col
:span=
"span"
class=
"filed-col"
>
<
label
v-text=
"name"
class=
"label"
></label
>
<
div
v-text=
"name"
class=
"label"
></div
>
<
span
>
<
p
>
<slot></slot>
<slot></slot>
</
span
>
</
p
>
</Col>
</Col>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'filed'
,
name
:
"filed"
,
props
:
{
props
:
{
name
:
{
name
:
{
type
:
String
type
:
String
...
@@ -18,29 +18,51 @@ export default {
...
@@ -18,29 +18,51 @@ export default {
default
:
12
default
:
12
}
}
}
}
}
}
;
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
.detail {
.detail {
display: table;
display: table;
height: 100%;
border-collapse: collapse;
border-collapse: collapse;
.ivu-row {
.ivu-row {
display: table-row
;
border: 1px solid #ddd
;
border-top:
1px solid #ddd
;
border-top:
none
;
border-left: 1px solid #ddd
;
height: 100%
;
.filed-col {
.filed-col {
display: table-cell;
max-width: 970px;
border-bottom: 1px solid #ddd;
border: 1px solid #ddd;
border-right: 1px solid #ddd;
border-right: none;
// margin: 0 0 -1px -1px;
margin: 0 -1px -1px -1px;
line-height: 30px;
box-sizing: border-box;
box-sizing: border-box;
line-height: 70px;
.label {
.label {
background: #e8eaf1;
background: #e8eaf1;
display: inline-block;
display: inline-block;
width: 100px;
width: 100px;
text-align: right;
text-align: right;
padding: 0 5px;
padding: 0 5px;
line-height: 40px;
float: left;
height: 100%;
}
p {
max-width: 870px;
height: 100%;
word-break: break-all;
word-wrap: break-word;
margin: 0 10px 0 110px;
line-height: 20px;
padding-top: 10px;
}
}
.ivu-col-span-24 {
.label {
height: 100%;
padding: 0.5% 5px;
}
p {
padding-top: 1%;
}
}
}
}
}
}
...
...
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