Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
Details
Activity
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
Administrator
jd-vx-app
Commits
570d559a
Commit
570d559a
authored
Apr 27, 2022
by
肖健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
免费挪车牌下单的提示添加
parent
dab0ec64
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
57 deletions
+66
-57
getCarCode.vue
pagesA/pages/index/getCarCode.vue
+66
-56
getPrice.vue
pagesA/pages/index/getPrice.vue
+0
-1
No files found.
pagesA/pages/index/getCarCode.vue
View file @
570d559a
...
...
@@ -8,7 +8,7 @@
<div
class=
"get__content"
>
<div
class=
"address"
v-if=
"addressShow"
>
<div
class=
"address__left"
>
<div
class=
"right__title"
@
click=
"geMap"
>
<div
class=
"right__title"
>
{{
addressInfo
.
address
}}
 
{{
addressInfo
.
detailInfo
}}
</div>
<div
class=
"right__phone"
>
...
...
@@ -162,16 +162,13 @@ export default {
}
},
methods
:
{
getMap
()
{
uni
.
getLocation
({
type
:
'wgs84'
,
success
:
function
(
res
)
{
//console.log('当前位置的经度:' + res.longitude);
//console.log('当前位置的纬度:' + res.latitude);
}
});
},
pay
()
{
if
(
!
this
.
addressId
)
{
uni
.
showToast
({
title
:
'请添加一个收货地址'
,
icon
:
'none'
,
})
}
else
{
let
list
=
[{
id
:
this
.
freeCode
.
id
,
nums
:
1
,
...
...
@@ -192,6 +189,7 @@ export default {
this
.
http
.
httpTokenRequest
(
opts
,
this
.
createOrder
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
let
orderIds
=
res
.
data
.
data
if
(
orderIds
&&
orderIds
.
length
>
0
)
{
that
.
orderSubmit
=
{
appId
:
6
,
ids
:
orderIds
,
...
...
@@ -221,8 +219,20 @@ export default {
}
})
}
else
{
uni
.
navigateTo
({
url
:
'/pagesC/pages/shop/payOk'
})
}
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
'none'
,
})
}
})
}
},
add
(){
this
.
nums
++
...
...
pagesA/pages/index/getPrice.vue
View file @
570d559a
...
...
@@ -156,7 +156,6 @@ export default {
that
.
$nextTick
(()
=>
{
that
.
model1
.
carInfo
=
res
.
data
.
data
;
that
.
model1
.
carInfo
.
carNo
=
res
.
data
.
data
.
carNo
;
console
.
log
(
that
.
model1
.
carInfo
)
that
.
$set
(
that
.
model1
.
carInfo
,
'carNo'
,
res
.
data
.
data
.
carNo
);
})
}
...
...
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