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
3d3b3ab9
Commit
3d3b3ab9
authored
Jun 02, 2021
by
ZJG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一些细节处理
parent
d6388964
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
7 deletions
+42
-7
bookaCarList.vue
pages/guidecar/bookaCarList.vue
+33
-6
guidecarList.vue
pages/guidecar/guidecarList.vue
+1
-1
map.vue
pages/guidecar/map.vue
+8
-0
No files found.
pages/guidecar/bookaCarList.vue
View file @
3d3b3ab9
...
...
@@ -501,25 +501,30 @@
</u-popup>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
'gbAuth'
></auth>
</view>
</
template
>
<
script
>
import
auth
from
"@/components/auth/index.vue"
;
import
Calendar
from
'./components/Calendar.vue'
export
default
{
components
:
{
Calendar
,
auth
},
data
(
options
)
{
return
{
showAuth
:
false
,
screenshow
:
false
,
startDate
:
''
,
pageTitle
:
"去订车"
,
showcalendar
:
false
,
mainColor
:
''
,
u
:{},
msg
:
{
pageIndex
:
1
,
pageSize
:
20
,
...
...
@@ -588,11 +593,21 @@
},
methods
:
{
yuding
(
x
){
uni
.
navigateTo
({
url
:
'/pages/guidecar/specialCarReserve?Id='
+
x
.
Id
+
'&Date='
+
this
.
msg
.
Q_Date
})
yuding
(
x
){
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
if
(
!
this
.
u
)
{
this
.
u
=
{
nickName
:
"未登录"
,
avatarUrl
:
""
};
this
.
showAuth
=
true
;
}
else
{
uni
.
navigateTo
({
url
:
'/pages/guidecar/specialCarReserve?Id='
+
x
.
Id
+
'&Date='
+
this
.
msg
.
Q_Date
})
}
},
popupchange
(
e
)
{
//tab事件
this
.
popupcurrent
=
e
;
...
...
@@ -832,6 +847,18 @@
}
},
reloadUserinfo
()
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
// this.showAuth=false;
this
.
init
();
if
(
this
.
u
.
IsDistrbutorUser
&&
this
.
u
.
IsDistrbutorUser
==
1
){
this
.
isdistributor
=
true
}
},
//关闭登录窗口
gbAuth
(){
this
.
showAuth
=
false
;
},
}
}
...
...
pages/guidecar/guidecarList.vue
View file @
3d3b3ab9
...
...
@@ -26,7 +26,7 @@
</view>
<view
class=
"g_Second"
style=
"position: relative;background: #fff;width: 100%;"
>
<view
style=
" border-bottom: 1px solid rgba(0, 0, 0, 0.03);"
>
<u-tabs
:list=
"list"
:is-scroll=
"false"
:current=
"current"
@
change=
"change"
bar-height=
'4'
active-color=
"#FF8585"
></u-tabs>
<u-tabs
:list=
"list"
:is-scroll=
"false"
:
show-bar=
"false"
duration=
"0"
font-size=
"28"
:activeFontSize=
"34"
:bold=
"true"
:
current=
"current"
@
change=
"change"
bar-height=
'4'
active-color=
"#FF8585"
></u-tabs>
</view>
<view
v-if=
"screenshow==true"
class=
"tanchu"
>
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
style=
"max-height: 321px;"
>
...
...
pages/guidecar/map.vue
View file @
3d3b3ab9
...
...
@@ -69,6 +69,10 @@
this
.
src_latitude
=
this
.
upcar
[
0
].
Lonlat
.
split
(
','
)[
1
];
this
.
src_longitude
=
this
.
upcar
[
0
].
Lonlat
.
split
(
','
)[
0
];
this
.
upcar
.
map
(
x
=>
{
if
(
this
.
details
.
SelectID
==
x
.
Id
){
this
.
src_latitude
=
x
.
Lonlat
.
split
(
','
)[
1
];
this
.
src_longitude
=
x
.
Lonlat
.
split
(
','
)[
0
];
}
let
obj
=
{
id
:
x
.
Id
,
iconPath
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/dcdtbiaoji.png'
,
...
...
@@ -84,6 +88,10 @@
this
.
src_latitude
=
this
.
downcar
[
0
].
Lonlat
.
split
(
','
)[
1
];
this
.
src_longitude
=
this
.
downcar
[
0
].
Lonlat
.
split
(
','
)[
0
];
this
.
downcar
.
map
(
x
=>
{
if
(
this
.
details
.
SelectID
==
x
.
Id
){
this
.
src_latitude
=
x
.
Lonlat
.
split
(
','
)[
1
];
this
.
src_longitude
=
x
.
Lonlat
.
split
(
','
)[
0
];
}
let
obj
=
{
id
:
x
.
Id
,
iconPath
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/dcdtbiaoji.png'
,
...
...
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