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
5fc3fd9b
Commit
5fc3fd9b
authored
Jun 30, 2021
by
苏咏卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回首页,首页app二维码下载
parent
da2d8b47
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
124 additions
and
55 deletions
+124
-55
src/assets/images/App.png
+0
-0
src/views/home.vue
+37
-4
src/views/unified/entrance.vue
+87
-51
No files found.
src/assets/images/App.png
0 → 100644
View file @
5fc3fd9b
6.47 KB
src/views/home.vue
View file @
5fc3fd9b
...
...
@@ -16,10 +16,17 @@
<div
class=
"arrow"
>
<img
src=
"./../assets/images/方向箭头.png"
alt=
""
/>
</div>
<img
class=
"qrCode"
src=
"./../assets/images/App.png"
alt=
""
/>
<div
class=
"downloadInfo"
>
请使用浏览器下载
</div>
<!--
<el-popover
placement=
"bottom"
width=
"140"
trigger=
"hover"
>
<img
class=
"qrCode"
src=
"./../assets/images/App.png"
alt=
""
/>
<div
class=
"downloadInfo"
>
请使用浏览器下载
</div>
<el-button
slot=
"reference"
class=
"elBottom"
>
App下载
</el-button>
</el-popover>
-->
<div
class=
"Jump-box"
>
<div
class=
"Jump"
v-for=
"(item, index) in num"
:key=
"index"
>
<router-link
:to=
"
{
path:item.path,query:{ params:item.TapId}
}">
<router-link
:to=
"
{
path: item.path, query: { params: item.TapId }
}">
<div
class=
"content"
>
<div>
<img
:src=
"item.icon"
class=
"dataList-img"
/>
...
...
@@ -29,8 +36,7 @@
</router-link>
</div>
</div>
<div
class=
"footerTxt"
>
©2021 广西壮族自治区民政厅 版权所有
</div>
<div
class=
"footerTxt"
>
©2021 广西壮族自治区民政厅 版权所有
</div>
</div>
</
template
>
...
...
@@ -97,7 +103,7 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.footerTxt
{
.footerTxt
{
margin-top
:
50px
;
color
:
#fff
;
width
:
100%
;
...
...
@@ -164,4 +170,30 @@ h2 {
position
:
absolute
;
z-index
:
-1
;
}
.qrCode
{
position
:
fixed
;
top
:
20px
;
right
:
20px
;
width
:
120px
;
height
:
120px
;
}
.elBottom
{
position
:
fixed
;
top
:
20px
;
right
:
20px
;
font-size
:
16px
;
color
:
#888
;
background-color
:
#041B44
;
border
:
none
;
}
.downloadInfo
{
position
:
fixed
;
top
:
150px
;
right
:
16px
;
color
:
#fff
;
text-align
:
center
;
}
</
style
>
\ No newline at end of file
src/views/unified/entrance.vue
View file @
5fc3fd9b
...
...
@@ -9,22 +9,41 @@
<img
src=
"./../../assets/images/标题左边素材.png"
alt=
""
class=
"about"
/>
<div
class=
"title-text"
>
民政数据分析系统
<img
src=
"./../../assets/images/标题下划线.png"
alt=
""
class=
"underline"
/>
<img
src=
"./../../assets/images/标题下划线.png"
alt=
""
class=
"underline"
/>
</div>
<img
src=
"./../../assets/images/标题右边素材.png"
alt=
""
class=
"about"
/>
</div>
<router-link
:to=
"
{ path: '/homes' }">
<div
class=
"content"
>
<div></div>
<div
class=
"returnHome"
>
返回首页
</div>
</div>
</router-link>
<br
/>
<br
/>
<br>
<el-row
:gutter=
"18"
>
<el-col
:span=
"12"
: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>
<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>
<br>
<br
/
>
<el-row
:gutter=
"18"
>
<el-col
:span=
"24"
:offset=
"0"
>
<div
class=
"hez"
v-if=
"TapId == '0'"
>
<div
class=
"hez"
v-if=
"TapId == '0'"
>
<population></population>
</div>
<div
class=
"hez"
v-if=
"TapId == '1'"
>
...
...
@@ -51,20 +70,19 @@
</el-col>
</el-row>
<div
class=
"footerTxt"
>
©2021 广西壮族自治区民政厅 版权所有
</div>
<div
class=
"footerTxt"
>
©2021 广西壮族自治区民政厅 版权所有
</div>
</div>
</
template
>
<
script
>
import
population
from
"./tapSwitch/population.vue"
;
import
mechanism
from
"./tapSwitch/mechanism"
import
mechanism
from
"./tapSwitch/mechanism"
;
import
marriage
from
"./tapSwitch/marriage.vue"
;
import
socialAssistance
from
"./tapSwitch/socialAssistance.vue"
;
import
childWelfare
from
"./tapSwitch/childWelfare.vue"
;
import
provide
from
"./tapSwitch/provide.vue"
;
import
socialOrganization
from
"./tapSwitch/socialOrganization.vue"
;
import
subsidies
from
"./tapSwitch/subsidies.vue"
import
subsidies
from
"./tapSwitch/subsidies.vue"
;
export
default
{
components
:
{
population
,
...
...
@@ -74,60 +92,66 @@ export default {
provide
,
socialOrganization
,
mechanism
,
subsidies
subsidies
,
},
data
()
{
return
{
activeName
:
"overall"
,
switchLiet
:[{
name
:
"人口专题"
,
id
:
'0'
,
switchLiet
:
[
{
name
:
"人口专题"
,
id
:
"0"
,
},
{
name
:
"机构专题"
,
id
:
"1"
,
},
{
name
:
"婚姻"
,
id
:
"2"
,
},
{
name
:
"社会救助"
,
id
:
"3"
,
},
{
name
:
"儿童福利"
,
id
:
"4"
,
},
{
name
:
"殡葬"
,
id
:
"5"
,
},
{
name
:
"社会组织"
,
id
:
"6"
,
},
{
name
:
"机构专题"
,
id
:
'1'
,
},{
name
:
"婚姻"
,
id
:
'2'
,
},{
name
:
"社会救助"
,
id
:
'3'
,
},{
name
:
"儿童福利"
,
id
:
'4'
,
},{
name
:
"殡葬"
,
id
:
'5'
,
},{
name
:
"社会组织"
,
id
:
'6'
,
},{
name
:
"两项补贴"
,
id
:
'7'
,
},],
TapId
:
''
,
name
:
"两项补贴"
,
id
:
"7"
,
},
],
TapId
:
""
,
};
},
created
(){
created
()
{
if
(
this
.
$route
.
query
==
{})
{
this
.
TapId
=
'0'
}
else
{
console
.
log
(
'值'
,
this
.
$route
.
query
);
this
.
TapId
=
this
.
$route
.
query
.
params
this
.
TapId
=
"0"
;
}
else
{
console
.
log
(
"值"
,
this
.
$route
.
query
);
this
.
TapId
=
this
.
$route
.
query
.
params
;
}
},
methods
:
{
handleClick
(
tab
,
event
)
{
if
(
tab
.
index
==
1
)
{
if
(
tab
.
index
==
1
)
{
this
.
$refs
.
marriage
.
click
();
}
console
.
log
(
tab
,
event
);
},
getTapId
(
e
){
this
.
TapId
=
e
getTapId
(
e
)
{
this
.
TapId
=
e
;
},
},
};
...
...
@@ -140,27 +164,27 @@ export default {
position
:
absolute
;
z-index
:
-1
;
}
.footerTxt
{
.footerTxt
{
margin-top
:
20px
;
color
:
#fff
;
width
:
100%
;
text-align
:
center
;
font-size
:
16px
;
}
.switchMa
{
.switchMa
{
margin
:
0
10px
;
cursor
:
pointer
cursor
:
pointer
;
//
background-color
:
#0b0f4e
;
}
.white
{
.white
{
color
:
#fff
;
}
.blue
{
.blue
{
color
:
#3974c7
;
border-bottom
:
2px
solid
#3974c7
;
padding-bottom
:
6px
;
}
.hez
{
.hez
{
width
:
98%
;
//
background-color
:
blueviolet
;
height
:
20px
;
...
...
@@ -230,4 +254,15 @@ export default {
.underline
{
width
:
100%
;
}
.returnHome
{
position
:
fixed
;
top
:
30px
;
right
:
30px
;
font-size
:
18px
;
color
:
#fff
;
cursor
:
pointer
;
display
:
flex
;
justify-content
:
flex-end
;
}
</
style
>
\ No newline at end of file
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