Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
civil-front
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
civil
civil-front
Commits
046603a7
Commit
046603a7
authored
Jun 28, 2021
by
李耀锟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
f089c18a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
103 additions
and
20 deletions
+103
-20
src/views/unified/entrance.vue
+1
-1
src/views/unified/tapSwitch/mechanism.vue
+102
-19
No files found.
src/views/unified/entrance.vue
View file @
046603a7
...
...
@@ -17,7 +17,7 @@
<br
/>
<br>
<el-row
:gutter=
"18"
>
<el-col
:span=
"1
1"
:offset=
"13
"
class=
"top"
>
<el-col
:span=
"1
2"
:offset=
"12
"
class=
"top"
>
<div
class=
"switchMa"
:class=
"TapId == item.id? 'blue ':'white'"
v-for=
"item in switchLiet"
:key=
"item.id"
@
click=
"getTapId(item.id)"
>
{{
item
.
name
}}
</div>
</el-col>
</el-row>
...
...
src/views/unified/tapSwitch/mechanism.vue
View file @
046603a7
...
...
@@ -37,18 +37,24 @@
<div
class=
"wians"
>
<div
class=
"title"
>
敬老院
</div>
<div
class=
"mechanismNum"
>
1000个
</div>
<el-table
:data=
"tableData"
stripe
style=
"width: 300px; background-color: #051d3f; color: #2177b9"
>
<el-table-column
prop=
"date"
label=
"排名"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"区域名称"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"数量"
align=
"center"
>
</el-table-column>
</el-table>
<div
class=
"datalist"
>
<el-table
:data=
"tableData"
stripe
height=
"400"
:header-cell-style=
"
{ background: '#042465', color: '#fff'}"
:cell-style="{ background: '#022872', color: '#fff'}"
style="width: 300px;margib-left:10px"
>
<el-table-column
prop=
"date"
label=
"排名"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"区域名称"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"数量"
align=
"center"
>
</el-table-column>
</el-table>
</div>
</div>
</el-col>
...
...
@@ -61,13 +67,13 @@
<br
/>
<br
/><br
/><br
/>
<el-row
:gutter=
"18"
>
<el-col
:span=
"
18"
:offset=
"6
"
>
<el-col
:span=
"
24"
:offset=
"2
"
>
<div
class=
"classification"
>
社团:1234
</div>
</el-col>
<el-col
:span=
"
18"
:offset=
"6
"
>
<el-col
:span=
"
24"
:offset=
"2
"
>
<div
class=
"classification"
>
民非:1234
</div>
</el-col>
<el-col
:span=
"
18"
:offset=
"6
"
>
<el-col
:span=
"
24"
:offset=
"2
"
>
<div
class=
"classification"
>
基金会:1234
</div>
</el-col>
</el-row>
...
...
@@ -91,14 +97,65 @@ export default {
return
{
tableData
:
[
{
date
:
"
2016-05-02
"
,
date
:
"
1
"
,
name
:
"王小虎"
,
address
:
"
上海市普陀区金沙江路 1518 弄
"
,
address
:
"
1518
"
,
},
{
date
:
"2
016-05-04
"
,
date
:
"2"
,
name
:
"王小虎"
,
address
:
"上海市普陀区金沙江路 1517 弄"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
{
date
:
"2"
,
name
:
"王小虎"
,
address
:
"1517"
,
},
],
};
...
...
@@ -471,6 +528,32 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.el-table
th
{
overflow
:
hidden
;
background-color
:
#082C61
;
}
.el-table--small
{
background-color
:
#082C61
;
}
::v-deep
{
.
el-table__body-wrapper
::
-webkit-scrollbar-thumb
{
background-color
:
#ddd
;
border-radius
:
3px
;
}
.el-table__body-wrapper
::-webkit-scrollbar
{
width
:
4px
;
//
横向滚动条
height
:
4px
;
//
纵向滚动条
必写
}
}
.datalist
{
z-index
:
99
;
width
:
300px
;
overflow
:
hidden
;
margin
:
auto
;
}
.classification
{
font-size
:
18px
;
color
:
#fff
;
...
...
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