Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
6f90cf83
Commit
6f90cf83
authored
Jun 02, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/zk123/jz_travel
parents
35182aa0
c9d8f63d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
index.vue
pages/guidecar/index.vue
+1
-1
pickcarcity2.vue
pages/guidecar/pickcarcity2.vue
+14
-2
No files found.
pages/guidecar/index.vue
View file @
6f90cf83
...
...
@@ -177,7 +177,7 @@
return
{
info
:
{},
contentHeight
:
0
,
navs
:[{
Name
:
'
城际专车'
},{
Name
:
'定制
专车'
}],
navs
:[{
Name
:
'
司导专车'
},{
Name
:
'景区
专车'
}],
active
:
0
,
mainColor
:
''
,
scrollTop
:
0
,
...
...
pages/guidecar/pickcarcity2.vue
View file @
6f90cf83
...
...
@@ -124,6 +124,7 @@
}
this
.
indexList
.
push
(
obj
)
})
this
.
indexList
=
this
.
unique
(
this
.
indexList
)
this
.
indexList
.
forEach
(
x
=>
{
x
.
children
=
[];
this
.
cityList
.
forEach
(
j
=>
{
...
...
@@ -134,12 +135,23 @@
})
})
uni
.
hideLoading
();
}
);
},
unique
(
arr
){
//数组去重
var
res
=
[];
var
obj
=
{};
for
(
var
i
=
0
;
i
<
arr
.
length
;
i
++
){
if
(
!
obj
[
arr
[
i
]]
){
obj
[
arr
[
i
]]
=
1
;
res
.
push
(
arr
[
i
]);
}
}
return
res
;
},
onPageScroll
(
e
)
{
this
.
scrollTop
=
e
.
scrollTop
;
},
...
...
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