Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-ssr-mobile
Project
Project
Details
Activity
Releases
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
lixy
vue-ssr-mobile
Commits
cdb42feb
Commit
cdb42feb
authored
Sep 05, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tab定位
parent
b96a5306
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
detailBanner.vue
components/detailBanner.vue
+3
-0
index.vue
pages/vehicleDetail/index.vue
+4
-4
No files found.
components/detailBanner.vue
View file @
cdb42feb
...
@@ -175,5 +175,8 @@
...
@@ -175,5 +175,8 @@
height
:px2rem
(
500px
)
;
height
:px2rem
(
500px
)
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
img
{
object-fit
:cover
;
}
}
}
</
style
>
</
style
>
pages/vehicleDetail/index.vue
View file @
cdb42feb
...
@@ -285,7 +285,7 @@
...
@@ -285,7 +285,7 @@
if
(
this
.
searchBarFixed
){
if
(
this
.
searchBarFixed
){
document
.
documentElement
.
scrollTop
=
top1
-
105
;
document
.
documentElement
.
scrollTop
=
top1
-
105
;
}
else
{
}
else
{
document
.
documentElement
.
scrollTop
=
top
-
3
2
;
document
.
documentElement
.
scrollTop
=
top
-
3
7
;
}
}
this
.
searchBarFixed
=
true
;
this
.
searchBarFixed
=
true
;
},
},
...
@@ -308,7 +308,7 @@
...
@@ -308,7 +308,7 @@
if
(
this
.
searchBarFixed
){
if
(
this
.
searchBarFixed
){
document
.
documentElement
.
scrollTop
=
top1
-
105
;
document
.
documentElement
.
scrollTop
=
top1
-
105
;
}
else
{
}
else
{
document
.
documentElement
.
scrollTop
=
top1
-
1
55
;
document
.
documentElement
.
scrollTop
=
top1
-
1
60
;
}
}
this
.
searchBarFixed
=
true
;
this
.
searchBarFixed
=
true
;
},
},
...
@@ -319,7 +319,7 @@
...
@@ -319,7 +319,7 @@
if
(
this
.
searchBarFixed
){
if
(
this
.
searchBarFixed
){
document
.
documentElement
.
scrollTop
=
top1
-
105
;
document
.
documentElement
.
scrollTop
=
top1
-
105
;
}
else
{
}
else
{
document
.
documentElement
.
scrollTop
=
top1
-
1
55
;
document
.
documentElement
.
scrollTop
=
top1
-
1
60
;
}
}
this
.
searchBarFixed
=
true
;
this
.
searchBarFixed
=
true
;
},
},
...
@@ -388,7 +388,7 @@
...
@@ -388,7 +388,7 @@
.select-tab
{
.select-tab
{
width
:
100%
;
width
:
100%
;
.select-tab-li-l
{
.select-tab-li-l
{
font-size
:
px2rem
(
32px
)
;
font-size
:
16px
;
color
:
#999
;
color
:
#999
;
padding
:
0
px2rem
(
20px
);
padding
:
0
px2rem
(
20px
);
}
}
...
...
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