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
f36f4add
Commit
f36f4add
authored
May 14, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filed 样试
parent
c5779eec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
filed.vue
components/page/filed.vue
+9
-7
No files found.
components/page/filed.vue
View file @
f36f4add
<
template
>
<Col
:span=
"span"
class=
"filed-col"
>
<div
class=
"label"
>
<label
v-text=
"name"
></label>
<label
v-text=
"name"
></label>
</div>
<div
class=
"value"
>
<slot></slot>
...
...
@@ -40,7 +40,7 @@ export default {
display: flex;
flex-direction: row;
line-height: 40px;
>.label {
>
.label {
background: #f7f7f7;
flex-grow: 0;
width: 120px;
...
...
@@ -49,25 +49,27 @@ export default {
border-right: 1px solid #ddd;
flex-shrink: 0;
}
>.value {
>
.value {
word-break: break-all;
word-wrap: break-word;
flex-grow: 1;
padding-left: 10px;
>
div
{
>
div
{
line-height: 30px;
}
}
}
}
}
.new
_
detail {
.new
-
detail {
.ivu-row {
width: 100% !important;
.filed-col {
box-sizing: border-box;
line-height: 70px;
>.label {
display: flex;
flex-direction: row;
> .label {
display: inline-block;
width: 100px;
text-align: right;
...
...
@@ -75,7 +77,7 @@ export default {
height: 100%;
font-weight: bold;
}
>
p
{
>
.value
{
text-align: left;
height: 100%;
word-break: break-all;
...
...
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