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
3343613e
Commit
3343613e
authored
Jul 01, 2019
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
liwei
parent
5701c5ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
18 deletions
+64
-18
address.vue
src/components/mine/address.vue
+64
-18
No files found.
src/components/mine/address.vue
View file @
3343613e
...
...
@@ -100,32 +100,23 @@
<p>
(最新地址修改时间:
{{
addressInfo
.
updated_at
}}
)
</p>
<p>
*若要修改收货地址,请联系您的专属班主任老师
</p>
</div>
</div>
</div>
-->
</
template
>
<
script
>
import
line
from
"../../assets/activity/img_line@2x.png"
;
<<<<<<<
HEAD
import
{
shopSuccess
}
from
"../../util/imgUrl"
;
import
{
getNewestAddressListAPi
}
from
"../../service/api"
;
import
{
Toast
}
from
"vant"
;
=======
import
{
shopSuccess
}
from
"../../util/imgUrl"
;
import
{
getUserAdressApi
}
from
"../../service/api"
;
>>>>>>>
7
ab9cb1cc6438a4fca30e9893ff5ce827035e230
export
default
{
name
:
"Address"
,
components
:
{},
data
()
{
return
{
line
:
line
,
<<<<<<<
HEAD
addressInfo
:
null
,
noDeliverDetail
:
null
,
//下期收货地址
deliverDetail
:
null
//本期收货地址
=======
addressInfo
:
{}
>>>>>>>
7
ab9cb1cc6438a4fca30e9893ff5ce827035e230
};
},
mounted
()
{
...
...
@@ -133,7 +124,6 @@ export default {
},
methods
:
{
initPage
()
{
<<<<<<<
HEAD
getNewestAddressListAPi
()
.
then
(
res
=>
{
// this.starNum = res.last_value
...
...
@@ -165,12 +155,14 @@ export default {
this
.
$router
.
push
({
name
:
"addressModify"
,
params
:
{
data
:
JSON
.
stringify
(
this
.
noDeliverDetail
)
}
=======
getUserAdressApi
().
then
(
res
=>
{
// this.starNum = res.last_value
this
.
addressInfo
=
res
;
>>>>>>>
7
ab9cb1cc6438a4fca30e9893ff5ce827035e230
});
},
search
(
index
)
{
let
express_no
=
index
==
1
?
this
.
deliverDetail
.
express_no
:
this
.
noDeliverDetail
.
express_no
;
window
.
location
=
`https://m.baidu.com/from=1013755s/s?word=
${
express_no
}
&sa=tb&ts=2790568&t_kt=0&ie=utf-8&rsv_t=cbe2F%252FT5T3MIzkRl%252Fg8ZUw%252FEPHZmn2wHIrB8cLvgNlEKyyDqUNPrTyDEEDjkAb8&rsv_pq=11793168499026332712&ss=110000000001&tj=1&rqlang=zh&rsv_sug4=4111&inputT=3178&oq=快递单号查询`
;
}
}
};
...
...
@@ -178,11 +170,44 @@ export default {
<
style
scoped
lang=
"less"
>
@import "../../util/public";
@import "../../util/public";
.address2 {
background: #f5f5f9;
.van-button {
margin-left: 20 * @toVw;
}
.head {
i {
display: inline-block;
border-radius: 50%;
width: 11 * @toVw;
height: 11 * @toVw;
}
padding: 13 * @toVw;
background: white;
border-bottom: 1px solid #e2e2e2;
color: #666666;
font-size: 14 * @toVw;
}
.Invalid {
color: #cccccc;
}
.now {
i {
background: #60adf0;
}
}
.item {
margin-top: 10px;
}
.next {
i {
background: #ffd454;
}
}
.content {
background: white;
padding: 1
0 * @toVw 20
* @toVw;
padding: 1
3 * @toVw 0 13 * @toVw 26
* @toVw;
.top {
line-height: 28 * @toVw;
color: #333333;
...
...
@@ -194,13 +219,34 @@ export default {
font-size: 14 * @toVw;
line-height: 20 * @toVw;
}
.timeInfo {
display: flex;
.text {
color: #999999;
font-size: 12 * @toVw;
margin-left: 0;
line-height: 26 * @toVw;
}
.right {
margin-top: 43 * @toVw;
}
.van-button--info {
background: white;
width: 74 * @toVw;
color: #60adf0;
border-color: #60adf0;
}
}
}
.linebox{
.linebox
{
background: white;
}
.line {
width: 100%;
display: block;
border-bottom: 1px solid #e2e2e2;
margin: 12 * @toVw 0;
-webkit-transform: scale(1, 0.5);
}
.tip {
padding: 10 * @toVw 20 * @toVw;
...
...
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