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
f8901bb9
Commit
f8901bb9
authored
Apr 28, 2022
by
fwz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品详情编辑地址
parent
e88e3751
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
16 deletions
+20
-16
oneMoveCar.vue
pagesB/pages/move-car/oneMoveCar.vue
+6
-6
myAddress.vue
pagesD/pages/personal/myAddress.vue
+14
-10
No files found.
pagesB/pages/move-car/oneMoveCar.vue
View file @
f8901bb9
...
...
@@ -135,14 +135,14 @@ export default {
//请求成功逻辑,修改
this
.
noticeResult
=
res
.
data
.
data
if
(
!
this
.
noticeResult
.
allowWechat
){
uni
.
show
Loading
({
title
:
this
.
noticeResult
.
notAllowWechatReason
})
;
uni
.
show
Modal
({
content
:
this
.
noticeResult
.
notAllowWechatReason
,
})
}
if
(
!
this
.
noticeResult
.
allowPhone
){
uni
.
show
Loading
({
title
:
this
.
noticeResult
.
notAllowPhoneReason
})
;
uni
.
show
Modal
({
content
:
this
.
noticeResult
.
notAllowPhoneReason
,
})
}
else
{
this
.
list
[
0
].
name
=
this
.
noticeResult
.
secretPhone
this
.
show
=
true
;
...
...
pagesD/pages/personal/myAddress.vue
View file @
f8901bb9
...
...
@@ -6,17 +6,18 @@
<view
class=
"appCotent"
>
<div
class=
"myAddress"
>
<div
class=
"address__content"
>
<div
class=
"ress__item"
v-for=
"(vo,inx) in addressList"
:key=
"inx"
@
click=
"goPay(vo.id)"
>
<div
class=
"item__top"
>
<div
class=
"ress__item"
v-for=
"(vo,inx) in addressList"
:key=
"inx"
>
<div
class=
"item__top"
@
click=
"goPay(vo.id)"
>
<span>
{{
vo
.
userName
}}
</span>
<span>
{{
vo
.
telNumber
}}
</span>
<span
v-if=
"vo.defaultFlag"
>
默认
</span>
</div>
<div
class=
"item__two"
>
<span>
{{
vo
.
address
}}
 
{{
vo
.
detailInfo
}}
</span>
<span>
<image
src=
"@/static/my/my-address1.png"
/>
</span>
<div
class=
"item__two"
>
<span
@
click=
"goPay(vo.id)"
>
{{
vo
.
address
}}
 
{{
vo
.
detailInfo
}}
</span>
<view
@
click=
"editAddress"
style=
"height: 100rpx; width: 100rpx;padding-left: 40rpx;"
>
<image
style=
"width: 28rpx; height: 30rpx; margin: 0 auto;
display: table-cell;vertical-align: middle;text-align: center;"
src=
"@/static/my/my-address1.png"
/>
</view>
</div>
</div>
</div>
...
...
@@ -50,6 +51,11 @@ export default {
}
})
},
editAddress
(
id
){
uni
.
navigateTo
({
url
:
'/pagesD/pages/personal/editAddress?id='
+
id
});
},
goPay
(
id
){
if
(
this
.
pay
==
1
){
let
pages
=
getCurrentPages
();
...
...
@@ -59,9 +65,7 @@ export default {
delta
:
1
})
}
else
{
uni
.
navigateTo
({
url
:
'/pagesD/pages/personal/editAddress?id='
+
id
});
this
.
editAddress
()
}
}
},
...
...
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