Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
Z
zhxf_vue
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
葛齐林
zhxf_vue
Commits
783daef0
Commit
783daef0
authored
May 20, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
97832bde
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
34 deletions
+37
-34
cardWarp.vue
src/pages/components/cardWarp.vue
+5
-2
index.vue
src/pages/ol/kanban/index.vue
+32
-32
No files found.
src/pages/components/cardWarp.vue
View file @
783daef0
...
...
@@ -3,7 +3,7 @@
.card-header(
:style="{ height, 'line-height': height, background: bgcolor }"
)
span.card-title(:style="{'font-size':size+'px'}")
{{
title
}}
span.card-title(:style="{'font-size':size+'px'
,'font-weight':weight
}")
{{
title
}}
div(style="margin-left: 20px;color:#3A648A;")
slot(name="left")
span(style='font-size:12px;')
...
...
@@ -31,6 +31,10 @@ export default {
size
:
{
type
:
String
,
default
:
'15'
},
weight
:
{
type
:
String
,
default
:
'800'
}
}
}
...
...
@@ -51,7 +55,6 @@ export default {
justify-content
:
center
;
align-items
:
center
;
font-size
:
15px
;
// font-weight: 600;
}
}
.card-content
{
...
...
src/pages/ol/kanban/index.vue
View file @
783daef0
...
...
@@ -15,11 +15,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' :gutter='20' )
el-col(:span='3' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName",size='13' height="30px")
card-warp(:title="item.resourceName",size='13' height="30px"
weight='550'
)
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName",size='12' height="25px" style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName",size='12' height="25px"
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -30,11 +30,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' :gutter='20' )
el-col(:span='12' v-for="item in dataList[1].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName",size='12' height="25px" style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName",size='12' height="25px"
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -45,11 +45,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' :gutter='20' )
el-col(:span='12' v-for="item in dataList[2].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName",size='12' height="25px" style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName",size='12' height="25px"
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -60,11 +60,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' :gutter='20' )
el-col(:span='24' v-for="item in dataList[3].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -75,11 +75,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="item in dataList[4].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex')
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -90,11 +90,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="item in dataList[5].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -106,11 +106,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -121,11 +121,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' :gutter='20')
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -138,11 +138,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' :gutter='20' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -154,11 +154,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' :gutter='20')
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' :gutter='20' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -169,11 +169,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' :gutter='20')
el-col(:span='24' v-for="item in dataList[1].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -184,11 +184,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' :gutter='20')
el-col(:span='12' v-for="item in dataList[2].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -200,11 +200,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13' :gutter='20')
card-warp(:title="item.resourceName", height="30px" size='13' :gutter='20'
weight='550'
)
div(slot="content")
el-row(type='flex' :gutter='20')
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -216,11 +216,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' :gutter='20' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -232,11 +232,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' :gutter='20')
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' :gutter='20' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -247,11 +247,11 @@ el-container(style="padding: 0px; height: 77.6vh")
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="item in dataList[1].list")
card-warp(:title="item.resourceName", height="30px" size='13')
card-warp(:title="item.resourceName", height="30px" size='13'
weight='550'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName", height="25px" size='12'
weight='400'
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
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