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
1f26236c
Commit
1f26236c
authored
Sep 09, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除无用项
parent
fad3a107
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
aboutXx.vue
pages/aboutXx.vue
+0
-2
news.vue
pages/news.vue
+0
-1
No files found.
pages/aboutXx.vue
View file @
1f26236c
...
@@ -231,7 +231,6 @@
...
@@ -231,7 +231,6 @@
changeArea
(
id
){
changeArea
(
id
){
let
top
=
document
.
querySelector
(
'#'
+
id
).
offsetTop
;
let
top
=
document
.
querySelector
(
'#'
+
id
).
offsetTop
;
if
(
id
==
"history01"
){
if
(
id
==
"history01"
){
console
.
log
(
this
.
barFixed
);
if
(
this
.
barFixed
){
if
(
this
.
barFixed
){
document
.
body
.
scrollTop
=
document
.
documentElement
.
scrollTop
=
10
;
document
.
body
.
scrollTop
=
document
.
documentElement
.
scrollTop
=
10
;
}
else
{
}
else
{
...
@@ -275,7 +274,6 @@
...
@@ -275,7 +274,6 @@
let
path
=
$nuxt
.
$route
.
path
;
let
path
=
$nuxt
.
$route
.
path
;
if
(
path
==
'/aboutXx'
){
if
(
path
==
'/aboutXx'
){
var
menuTop
=
document
.
querySelector
(
'#historyNav'
).
offsetTop
;
var
menuTop
=
document
.
querySelector
(
'#historyNav'
).
offsetTop
;
console
.
log
(
scrollTop
);
//滑动到指定位置菜单吸顶
//滑动到指定位置菜单吸顶
if
(
scrollTop
>
menuTop
-
48
)
{
if
(
scrollTop
>
menuTop
-
48
)
{
...
...
pages/news.vue
View file @
1f26236c
...
@@ -108,7 +108,6 @@
...
@@ -108,7 +108,6 @@
},
},
methods
:
{
methods
:
{
chooseSelect
(
e
)
{
chooseSelect
(
e
)
{
console
.
log
(
e
.
target
.
value
);
this
.
listQuery
.
tagId
=
e
.
target
.
value
;
this
.
listQuery
.
tagId
=
e
.
target
.
value
;
this
.
preventRepeatReuqest
=
true
;
this
.
preventRepeatReuqest
=
true
;
this
.
getAll
();
this
.
getAll
();
...
...
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