Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
441db2cb
authored
2020-04-15 15:53:13 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
e0d6fcbb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
11 deletions
src/components/home/dropdown/dropdown.scss
src/components/home/header/header.scss
src/components/home/header/header.vue
src/pages/vhis-detail/vhis-detail.scss
src/components/home/dropdown/dropdown.scss
View file @
441db2c
...
...
@@ -96,6 +96,23 @@
@media
(
max-width
:
1100px
)
{
.drop-list
{
margin
:
0
-2px
;
margin
:
0
28px
;
min-width
:
auto
;
.list
{
width
:
11rem
;
left
:
50%
;
transform
:
translateX
(
-50%
);
//居中处理
}
}
.drop-list
:lang
(
en
)
{
margin
:
0
22px
;
}
}
@media
(
max-width
:
1000px
)
{
// .drop-list {
// margin: 0 20px;
// }
}
...
...
src/components/home/header/header.scss
View file @
441db2c
...
...
@@ -62,6 +62,7 @@ $navHeiM: 6rem;
.nav-item.search
{
flex
:
1
1
auto
;
// width: 0;
}
.nav-item.auth
{
...
...
@@ -115,12 +116,23 @@ $navHeiM: 6rem;
@media
(
max-width
:
1200px
)
{
.v-header
{
@include
content-percent
(
2
%
);
@include
content-percent
(
1
%
);
}
}
@media
(
max-width
:
1100px
)
{
.pc
{
.auth
{
margin-right
:
20px
;
}
}
}
@media
(
max-width
:
980px
)
{
.v-header
{
@include
content-percent
();
.main-nav
{}
...
...
@@ -148,7 +160,7 @@ $navHeiM: 6rem;
.v-header
{
// 原1200px临界样式
@include
content-percent
();
.pc
{
display
:
none
;
...
...
src/components/home/header/header.vue
View file @
441db2c
...
...
@@ -23,8 +23,7 @@
<v-dropdown
v-for=
"item in navList"
:key=
"item.id"
:data-obj=
"item"
:data-list=
"item.list"
>
</v-dropdown>
</div>
<div
class=
"nav-item search"
>
</div>
<div
class=
"nav-item search"
></div>
<div
class=
"nav-item auth"
>
<v-dropdown
class=
"lang"
:type=
"'login'"
:data-obj=
"loginData"
:data-list=
"loginData.list"
ref=
"mobileMenu"
></v-dropdown>
<v-dropdown
class=
"lang"
:type=
"'lang'"
:data-obj=
"langData"
:data-list=
"langData.list"
></v-dropdown>
...
...
src/pages/vhis-detail/vhis-detail.scss
View file @
441db2c
...
...
@@ -683,6 +683,14 @@ $borderSize: 6px;
}
}
}
.guarantee2
{
.container
{
.table
{
width
:
48%
;
}
}
}
}
}
...
...
@@ -765,19 +773,21 @@ $borderSize: 6px;
.table
{
font-size
:
$fontSize-M2
;
&
-item
{
flex-wrap
:
wrap
;
display
:
flex
;
flex-wrap
:
nowrap
;
.tt
{
width
:
100%
;
//
width: 100%;
}
.label
{
padding
:
1
8
px
;
padding
:
1
2
px
;
}
.val
{
padding
:
1
8
px
;
padding
:
1
2
px
;
}
}
}
...
...
@@ -794,15 +804,18 @@ $borderSize: 6px;
.table
{
margin-top
:
24px
;
font-size
:
$fontSize-M2
;
width
:
auto
;
.smal
{
font-size
:
$fontSizeSmall-M2
;
}
&
-item
{
flex-wrap
:
nowrap
;
min-height
:
auto
;
.val
{
// box-sizing: border-box;
padding
:
18px
;
padding
:
12px
;
}
}
...
...
Please
register
or
sign in
to post a comment