Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
633b1111
Commit
633b1111
authored
Dec 07, 2021
by
Jianli Ou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、移动端首页对相应模块进行缩小
2、所有侧栏,默认展开状态
parent
7fa690ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletions
+24
-1
index.vue
src/views/Home/index.vue
+20
-0
SubNav.vue
src/views/comps/SubNav.vue
+4
-1
No files found.
src/views/Home/index.vue
View file @
633b1111
...
...
@@ -1862,6 +1862,9 @@ export default {
flex-direction
:
column
;
justify-content
:
center
;
border-top
:
1px
solid
#f0f5fa
;
@media
screen
and
(
max-width
:
992px
)
{
height
:
120px
;
}
}
.dzfw-tp
{
height
:
40px
;
...
...
@@ -1915,6 +1918,9 @@ export default {
padding
:
30px
0
;
//
height
:
433px
;
background-position
:
center
;
@media
screen
and
(
max-width
:
765px
)
{
padding
:
15px
0
;
}
.spqqsfz-cate
{
display
:
flex
;
align-items
:
center
;
...
...
@@ -1923,6 +1929,9 @@ export default {
color
:
#ffffff
;
font-size
:
18px
;
margin-bottom
:
30px
;
@media
screen
and
(
max-width
:
765px
)
{
margin-bottom
:
15px
;
}
//
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
.spqqsfz-cate-right
{
cursor
:
pointer
;
...
...
@@ -1940,12 +1949,18 @@ export default {
}
>
*
{
height
:
300px
;
@media
screen
and
(
max-width
:
992px
)
{
height
:
240px
;
}
}
.spqqsfz-cont-left
{
.spqqsfz-cont-left-tp
{
text-align
:
center
;
img
{
max-height
:
100%
;
@media
screen
and
(
max-width
:
992px
)
{
max-height
:
240px
;
}
}
}
}
...
...
@@ -2024,6 +2039,11 @@ export default {
.djwh-tp
{
img
{
width
:
100%
;
@media
screen
and
(
max-width
:
765px
)
{
width
:
calc
(
100%
-
40px
);
display
:
block
;
margin
:
0
20px
0
20px
;
}
}
}
.smallPCImages
{
...
...
src/views/comps/SubNav.vue
View file @
633b1111
...
...
@@ -3,6 +3,7 @@
:default-active=
"activeMenu"
class=
"el-menu-vertical gs-subnav"
:collapse=
"false"
:default-openeds=
"openeds"
@
select=
"handleSelect"
>
<template
v-for=
"submenu in subNav"
>
...
...
@@ -61,13 +62,15 @@ export default {
data
()
{
return
{
activeMenu
:
""
,
openeds
:
[]
};
},
computed
:
{
...
mapState
(
"system"
,
[
"subNav"
]),
},
created
()
{
// console.log(this.subNav);
console
.
log
(
this
.
subNav
);
this
.
openeds
=
this
.
subNav
.
map
(
nav
=>
nav
.
name
)
},
watch
:
{
subNav
:
{
...
...
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