Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
上
上药订单生命周期升级
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
sph
上药订单生命周期升级
Commits
36bd4cbc
Commit
36bd4cbc
authored
Apr 01, 2021
by
琉璃丶c
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.加入地图数据请求的提示
parent
09663878
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
src/views/myOrder/detail/logisticsDetail.vue
src/views/myOrder/detail/logisticsDetail.vue
+14
-1
No files found.
src/views/myOrder/detail/logisticsDetail.vue
View file @
36bd4cbc
...
...
@@ -8,6 +8,14 @@
<!-- 高德地图 -->
<a-map-view
:transport=
"sendType"
:point-list=
"mapPointList"
:drive-point=
"driveLine"
v-if=
"mapPointList&&mapPointList.length > 0"
/>
<div
style=
"height:300px;
background-color:#fff;
line-height:300px;
text-align:center;
border-bottom: 1px solid #eeeeee"
v-else-if=
"(!shoppingLoading)"
>
{{
mapDataLoadingText
}}
</div>
<!-- 物流主信息 -->
<div
class=
"logistics-header"
>
<van-skeleton
avatar
:row=
"3"
:loading=
"shoppingLoading"
...
...
@@ -81,6 +89,7 @@ export default {
orderInfo
:
this
.
$route
.
query
,
temperatureActive
:
0
,
shoppingLoading
:
true
,
mapDataLoadingText
:
'
地图数据加载中...
'
,
icons
:
{
logo
:
require
(
'
@/assets/img/u48.png
'
),
call
:
require
(
'
@/assets/img/ic_call.png
'
)
...
...
@@ -241,11 +250,14 @@ export default {
}
else
{
if
(
res
.
code
===
500
)
{
this
.
$toast
(
res
.
msg
)
this
.
mapDataLoadingText
=
res
.
msg
}
this
.
mapDataLoadingText
=
'
定位数据请求失败
'
}
}).
catch
(
err
=>
{
console
.
log
(
'
GPS信息
'
,
err
)
this
.
$toast
(
'
GIS信息获取失败
'
)
this
.
mapDataLoadingText
=
'
定位数据请求失败
'
this
.
$toast
(
'
定位数据请求失败
'
)
})
},
/* 获取温度变化趋势数据 */
...
...
@@ -281,6 +293,7 @@ export default {
.logistics-header
{
background-color
:
#fff
;
border-bottom
:
1px
solid
$line
;
.header-title
{
padding
:
10px
;
display
:
flex
;
...
...
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