Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
6afaa34e
Commit
6afaa34e
authored
Jun 11, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定位提示,签到时间提示
parent
6f082372
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
detail.vue
src/pages/order/detail.vue
+21
-3
No files found.
src/pages/order/detail.vue
View file @
6afaa34e
...
...
@@ -221,6 +221,8 @@
return
this
.
timeout
?
'您的订单已超时,请及时接单'
:
'请您注意剩余时间,及时接单'
case
'预约'
:
return
this
.
timeout
?
'您的订单已超时,请及时预约'
:
'请您注意剩余时间,及时预约'
case
'签到'
:
return
this
.
timeout
?
'您的订单已超时,请及时签到'
:
'请您注意剩余时间,及时签到'
case
'去完工'
:
return
this
.
timeout
?
'您的订单已超时,请及时完工'
:
'请您注意剩余时间,及时完工'
default
:
...
...
@@ -776,9 +778,25 @@
dataValue
.
push
(
res
.
latitude
)
self
.
dataValue
=
dataValue
},
fail
(
err
)
{
}
complete
:
function
(
res
)
{
if
(
res
.
errMsg
.
indexOf
(
'auth'
)
!=
-
1
)
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'获取权限失败,请到设置页面开启权限'
,
confirmText
:
'好的'
,
success
(
res
)
{
if
(
res
.
confirm
)
{
uni
.
openSetting
({
success
(
res
)
{
console
.
log
(
res
.
authSetting
)
}
});
}
}
})
}
},
});
},
getDistance
(
Latitud
,
Longitud
){
...
...
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