Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
035d558d
Commit
035d558d
authored
Mar 06, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/viitto/million
parents
796b7933
91226133
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
598 additions
and
329 deletions
+598
-329
Map.vue
src/components/car/Map.vue
+16
-3
orderPreview.vue
src/components/car/orderPreview.vue
+118
-40
orderPreview.vue
src/components/trip/orderPreview.vue
+1
-1
orderForm.vue
src/pages/Pickuporder/orderForm.vue
+459
-285
detailsCar.vue
src/pages/detailsCar.vue
+3
-0
detailsNew.vue
src/pages/detailsNew.vue
+1
-0
No files found.
src/components/car/Map.vue
View file @
035d558d
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
border-radius
:
8px
;}
border-radius
:
8px
;}
</
style
>
</
style
>
<
template
>
<
template
>
<div>
<div
class=
"card"
:id=
"`baidu-map_$
{center.Id}`">
</div>
<div
class=
"card"
:id=
"`baidu-map_$
{center.Id}`">
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
...
@@ -17,7 +19,8 @@
...
@@ -17,7 +19,8 @@
center
:{
center
:{
Lng
:
116.294625
,
Lng
:
116.294625
,
Lat
:
39.961627
Lat
:
39.961627
}
},
keywords
:
''
}
}
},
},
watch
:
{
watch
:
{
...
@@ -27,6 +30,11 @@
...
@@ -27,6 +30,11 @@
},
},
deep
:
true
,
deep
:
true
,
immediate
:
true
immediate
:
true
},
keywords
:{
handler
(
newValue
,
onldValue
)
{
this
.
getLocalSearch
()
},
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -74,7 +82,7 @@
...
@@ -74,7 +82,7 @@
offset
:
new
BMapGL
.
Size
(
10
,
-
60
),
// 设置标注的偏移量
offset
:
new
BMapGL
.
Size
(
10
,
-
60
),
// 设置标注的偏移量
});
});
this
.
map
.
addOverlay
(
label
);
// 将标注添加到地图中
this
.
map
.
addOverlay
(
label
);
// 将标注添加到地图中
label
.
addEventListener
(
"click"
,
function
()
{
label
.
addEventListener
(
"click"
,
function
(
e
)
{
// alert("您点击了标注");
// alert("您点击了标注");
});
});
label
.
setStyle
({
label
.
setStyle
({
...
@@ -90,7 +98,12 @@
...
@@ -90,7 +98,12 @@
var
mPoint
=
new
BMapGL
.
Point
(
this
.
center
.
Lng
,
this
.
center
.
Lat
);
var
mPoint
=
new
BMapGL
.
Point
(
this
.
center
.
Lng
,
this
.
center
.
Lat
);
var
circle
=
new
BMapGL
.
Circle
(
mPoint
,
this
.
center
.
Range
,{
fillColor
:
"blue"
,
strokeWeight
:
1
,
fillOpacity
:
0.3
,
strokeOpacity
:
0.3
});
var
circle
=
new
BMapGL
.
Circle
(
mPoint
,
this
.
center
.
Range
,{
fillColor
:
"blue"
,
strokeWeight
:
1
,
fillOpacity
:
0.3
,
strokeOpacity
:
0.3
});
this
.
map
.
addOverlay
(
circle
);
this
.
map
.
addOverlay
(
circle
);
}
},
getLocalSearch
(){
var
mPoint
=
new
BMapGL
.
Point
(
this
.
center
.
Lng
,
this
.
center
.
Lat
);
var
local
=
new
BMapGL
.
LocalSearch
(
this
.
map
,
{
renderOptions
:
{
map
:
this
.
map
,
autoViewport
:
false
}});
local
.
searchNearby
(
this
.
keywords
,
mPoint
,
this
.
center
.
Range
);
},
},
},
}
}
</
script
>
</
script
>
src/components/car/orderPreview.vue
View file @
035d558d
This diff is collapsed.
Click to expand it.
src/components/trip/orderPreview.vue
View file @
035d558d
...
@@ -330,7 +330,7 @@ export default {
...
@@ -330,7 +330,7 @@ export default {
this
.
calcMoney
()
this
.
calcMoney
()
},
},
deep
:
true
,
deep
:
true
,
immediate
:
tru
e
,
immediate
:
fals
e
,
},
},
},
},
data
()
{
data
()
{
...
...
src/pages/Pickuporder/orderForm.vue
View file @
035d558d
This diff is collapsed.
Click to expand it.
src/pages/detailsCar.vue
View file @
035d558d
...
@@ -180,6 +180,7 @@
...
@@ -180,6 +180,7 @@
color=
"primary"
color=
"primary"
label=
"選擇方案"
label=
"選擇方案"
unelevated
unelevated
:disable=
"priceList.length>0?false:true"
@
click=
"goScrollHandler('#scheme')"
@
click=
"goScrollHandler('#scheme')"
:class=
"
{ 'q-mt-md full-width': $q.platform.is.desktop }"
:class=
"
{ 'q-mt-md full-width': $q.platform.is.desktop }"
/>
/>
...
@@ -280,6 +281,7 @@
...
@@ -280,6 +281,7 @@
:dataList=
"dataList"
:dataList=
"dataList"
:configId=
"msg.configId"
:configId=
"msg.configId"
:Month=
"currentYM.str"
:Month=
"currentYM.str"
:PlaceList=
"dataList.PlaceList"
:CarTypeList=
"dataList.CarTypeList"
:CarTypeList=
"dataList.CarTypeList"
:AirportList=
"dataList.AirportList"
:AirportList=
"dataList.AirportList"
:price=
"currentPrice"
:price=
"currentPrice"
...
@@ -372,6 +374,7 @@
...
@@ -372,6 +374,7 @@
:dataList=
"dataList"
:dataList=
"dataList"
:configId=
"msg.configId"
:configId=
"msg.configId"
:Month=
"currentYM.str"
:Month=
"currentYM.str"
:PlaceList=
"dataList.PlaceList"
:CarTypeList=
"dataList.CarTypeList"
:CarTypeList=
"dataList.CarTypeList"
:AirportList=
"dataList.AirportList"
:AirportList=
"dataList.AirportList"
:price=
"currentPrice"
:price=
"currentPrice"
...
...
src/pages/detailsNew.vue
View file @
035d558d
...
@@ -190,6 +190,7 @@
...
@@ -190,6 +190,7 @@
color=
"primary"
color=
"primary"
label=
"選擇方案"
label=
"選擇方案"
unelevated
unelevated
:disable=
"dataList.priceList.length>0?false:true"
@
click=
"goScrollHandler(priceListHeight)"
@
click=
"goScrollHandler(priceListHeight)"
:class=
"
{ 'q-mt-md full-width': $q.platform.is.desktop }"
:class=
"
{ 'q-mt-md full-width': $q.platform.is.desktop }"
/>
/>
...
...
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