Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-ssr
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
Commits
02c183b7
Commit
02c183b7
authored
Sep 05, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关于欣新定位
parent
588e5b7f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
16 deletions
+8
-16
aboutXx.vue
pages/aboutXx.vue
+7
-2
activity.vue
pages/activity.vue
+0
-4
news.vue
pages/news.vue
+1
-10
No files found.
pages/aboutXx.vue
View file @
02c183b7
...
@@ -187,10 +187,14 @@
...
@@ -187,10 +187,14 @@
* 切换历史
* 切换历史
*/
*/
changeArea
(
id
){
changeArea
(
id
){
this
.
barFixed
=
true
;
let
top
=
document
.
querySelector
(
'#'
+
id
).
offsetTop
;
let
top
=
document
.
querySelector
(
'#'
+
id
).
offsetTop
;
if
(
id
==
"history01"
){
if
(
id
==
"history01"
){
if
(
this
.
barFixed
){
document
.
documentElement
.
scrollTop
=
top
-
220
;
document
.
documentElement
.
scrollTop
=
top
-
220
;
}
else
{
document
.
documentElement
.
scrollTop
=
top
-
301
;
}
this
.
tabIndex
=
0
;
this
.
tabIndex
=
0
;
}
else
if
(
id
==
"history02"
){
}
else
if
(
id
==
"history02"
){
this
.
tabIndex
=
1
;
this
.
tabIndex
=
1
;
...
@@ -202,6 +206,7 @@
...
@@ -202,6 +206,7 @@
this
.
tabIndex
=
3
;
this
.
tabIndex
=
3
;
document
.
documentElement
.
scrollTop
=
top
-
260
;
document
.
documentElement
.
scrollTop
=
top
-
260
;
}
}
this
.
barFixed
=
true
;
},
},
// 点击下一页回调
// 点击下一页回调
prev
()
{
prev
()
{
...
...
pages/activity.vue
View file @
02c183b7
...
@@ -112,13 +112,9 @@
...
@@ -112,13 +112,9 @@
this
.
bannerList
=
banner
;
this
.
bannerList
=
banner
;
},
},
chooseSelect
(
e
)
{
chooseSelect
(
e
)
{
console
.
log
(
e
.
target
.
value
);
this
.
listQuery
.
type
=
e
.
target
.
value
;
this
.
listQuery
.
type
=
e
.
target
.
value
;
this
.
getAll
();
this
.
getAll
();
},
},
goDetails
()
{
console
.
log
(
2222222
);
},
async
getAll
()
{
async
getAll
()
{
let
{
let
{
data
:
{
data
}
data
:
{
data
}
...
...
pages/news.vue
View file @
02c183b7
...
@@ -62,20 +62,14 @@
...
@@ -62,20 +62,14 @@
},
},
data
()
{
data
()
{
return
{
return
{
typeId
:
"营地类型"
,
dataType
:
[],
totalCount
:
""
,
totalCount
:
""
,
dataDetail
:
[],
dataDetail
:
[],
bannerList
:
[],
//
车型
banner列表
bannerList
:
[],
//banner列表
listQuery
:
{
listQuery
:
{
type
:
""
,
type
:
""
,
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
6
pageSize
:
6
},
},
store
:
""
,
curId
:
0
,
items1
:
{},
curId1
:
0
,
looptime
:
4000
,
// 循环时间
looptime
:
4000
,
// 循环时间
width
:
400
,
width
:
400
,
height
:
200
,
height
:
200
,
...
@@ -117,9 +111,6 @@
...
@@ -117,9 +111,6 @@
this
.
listQuery
.
type
=
e
.
target
.
value
;
this
.
listQuery
.
type
=
e
.
target
.
value
;
this
.
getAll
();
this
.
getAll
();
},
},
goDetails
()
{
console
.
log
(
2222222
);
},
async
getAll
()
{
async
getAll
()
{
let
{
let
{
data
:
{
data
}
data
:
{
data
}
...
...
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