Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
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
new-sing
h5-base
Commits
37908332
Commit
37908332
authored
Jul 02, 2019
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
liwei
parent
caf46c37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
38 deletions
+27
-38
address.vue
src/components/mine/address.vue
+27
-38
No files found.
src/components/mine/address.vue
View file @
37908332
...
...
@@ -83,11 +83,6 @@
<div
class=
"tip"
v-if=
"deliverDetail || noDeliverDetail"
>
<p>
*预计发货时间内不可修改地址,若有需要请联系您的专属班主任老师
</p>
</div>
<div
class
v-if=
"addressInfo"
style=
"text-align: center;padding-top: 20vh;font-size: 5vw;"
>
{{
addressInfo
.
msg
}}
</div>
</div>
<!--
<div
class=
"address2"
>
<div
class=
"content"
>
...
...
@@ -138,40 +133,34 @@ export default {
// msg: "该用户没有物流信息"
// };
if
(
res
)
{
if
(
res
.
code
==
505
)
{
if
(
res
.
message
)
{
this
.
addressInfo
=
res
;
if
(
res
.
deliver_detail
&&
res
.
deliver_detail
.
length
>
0
)
{
this
.
deliverDetail
=
res
.
deliver_detail
[
0
];
if
(
!
this
.
deliverDetail
.
receive_name
||
this
.
deliverDetail
.
receive_name
.
length
===
0
||
!
this
.
deliverDetail
.
receive_mobile
||
this
.
deliverDetail
.
receive_mobile
.
length
===
0
||
!
this
.
deliverDetail
.
address
||
this
.
deliverDetail
.
address
.
length
===
0
)
{
this
.
isShowCurrent
=
false
;
}
else
{
this
.
isShowCurrent
=
true
;
}
}
else
{
if
(
res
.
deliver_detail
&&
res
.
deliver_detail
.
length
>
0
)
{
this
.
deliverDetail
=
res
.
deliver_detail
[
0
];
if
(
!
this
.
deliverDetail
.
receive_name
||
this
.
deliverDetail
.
receive_name
.
length
===
0
||
!
this
.
deliverDetail
.
receive_mobile
||
this
.
deliverDetail
.
receive_mobile
.
length
===
0
||
!
this
.
deliverDetail
.
address
||
this
.
deliverDetail
.
address
.
length
===
0
)
{
this
.
isShowCurrent
=
false
;
}
else
{
this
.
isShowCurrent
=
true
;
}
}
if
(
res
.
no_deliver_detail
&&
res
.
no_deliver_detail
.
length
>
0
)
{
this
.
noDeliverDetail
=
res
.
no_deliver_detail
[
0
];
if
(
!
this
.
noDeliverDetail
.
receive_name
||
this
.
noDeliverDetail
.
receive_name
.
length
===
0
||
!
this
.
noDeliverDetail
.
receive_mobile
||
this
.
noDeliverDetail
.
receive_mobile
.
length
===
0
||
!
this
.
noDeliverDetail
.
address
||
this
.
noDeliverDetail
.
address
.
length
===
0
)
{
this
.
isShowNext
=
false
;
}
else
{
this
.
isShowNext
=
true
;
}
}
if
(
res
.
no_deliver_detail
&&
res
.
no_deliver_detail
.
length
>
0
)
{
this
.
noDeliverDetail
=
res
.
no_deliver_detail
[
0
];
if
(
!
this
.
noDeliverDetail
.
receive_name
||
this
.
noDeliverDetail
.
receive_name
.
length
===
0
||
!
this
.
noDeliverDetail
.
receive_mobile
||
this
.
noDeliverDetail
.
receive_mobile
.
length
===
0
||
!
this
.
noDeliverDetail
.
address
||
this
.
noDeliverDetail
.
address
.
length
===
0
)
{
this
.
isShowNext
=
false
;
}
else
{
this
.
isShowNext
=
true
;
}
}
}
...
...
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