Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
d9c5be934970133e9f3ca300af139f7392baea5a
1 parent
895ea3ef
order detail status
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
16 deletions
docs/data-structure.md
static/sass/me/_order-detail.scss
static/sass/me/_order.scss
template/m.yohobuy.com/actions/index/home/order-detail.phtml
template/m.yohobuy.com/partials/me/order/order.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
docs/data-structure.md
View file @
d9c5be9
...
...
@@ -955,7 +955,7 @@
//订单
{
orderNum: '',
trading
Status: '',
order
Status: '',
goods: [
{
id: '',
...
...
@@ -1014,11 +1014,10 @@
... //订单商品
}
],
sumPrice: ''
salePrice: ''
freight: ''
coupon: ''
yohoCoin: ''
sumPrice: '',
salePrice: '',
freight: '',
yohoCoin: '',
price: ''
}
}
...
...
static/sass/me/_order-detail.scss
View file @
d9c5be9
...
...
@@ -15,6 +15,30 @@
}
}
.sub
{
position
:
relative
;
.iconfont
{
left
:
0
;
}
}
.logistics
{
display
:
block
;
.icon-right
{
right
:
25rem
/
$pxConvertRem
;
left
:
auto
;
color
:
#b0b0b0
;
}
.sub-content
{
border-top
:
1px
solid
#e0e0e0
;
margin-top
:
20rem
/
$pxConvertRem
;
padding-top
:
20rem
/
$pxConvertRem
;
}
}
.owner-info
{
border-bottom
:
1px
solid
#e0e0e0
;
line-height
:
1
.5
;
...
...
@@ -41,6 +65,7 @@
margin
:
20rem
/
$pxConvertRem
0
;
border-top
:
1px
solid
#e0e0e0
;
border-bottom
:
1px
solid
#e0e0e0
;
padding-right
:
0
;
}
.sub-content
span
{
...
...
static/sass/me/_order.scss
View file @
d9c5be9
...
...
@@ -18,7 +18,7 @@
border-bottom
:
1px
solid
#e0e0e0
;
}
.
trading
-status
{
.
order
-status
{
float
:
right
;
}
...
...
template/m.yohobuy.com/actions/index/home/order-detail.phtml
View file @
d9c5be9
...
...
@@ -32,7 +32,7 @@
<span>物流公司:
{
{logisticsCompany
}
}</span>
<span>快递单号:
{
{logisticsNum
}
}</span>
</p>
<span
class=
"iconfont"
>
614
;</span>
<span
class=
"iconfont
icon-right
"
>
614
;</span>
</a>
{
{/if
}
}
</section>
...
...
@@ -57,10 +57,6 @@
<span>+¥
{
{freight
}
}</span>
</li>
<li>
优惠券
<span>-¥
{
{coupon
}
}</span>
</li>
<li>
YOHO币
<span>-¥
{
{yohoCoin
}
}</span>
</li>
...
...
template/m.yohobuy.com/partials/me/order/order.phtml
View file @
d9c5be9
<div class="order" data-id="{{orderNum}}">
<header class="header">
订单编号:{{orderNum}}
<span class="
trading-status">{{trading
Status}}</span>
<span class="
order-status">{{order
Status}}</span>
</header>
<section class="order-goods">
{{# goods}}
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
d9c5be9
...
...
@@ -407,11 +407,14 @@ class HomeController extends AbstractAction
'name'
=>
'毛毛莉Lydia'
,
'phoneNum'
=>
'18600001133'
,
'address'
=>
'南京市建邺区嘉陵江东街18号国家广告产业园5栋17楼'
,
'orderStatus'
=>
'
订单取消
'
,
'orderStatus'
=>
'
待收货
'
,
'orderNum'
=>
'418358063'
,
'orderTime'
=>
'2014-03-10 17:25:10'
,
'orderCancel'
=>
true
,
'unreceived'
=>
true
,
'logisticsUrl'
=>
''
,
'logisticsCompany'
=>
'顺丰'
,
'logisticsNum'
=>
'51537443456'
,
'goods'
=>
array
(
array
(
...
...
@@ -438,7 +441,6 @@ class HomeController extends AbstractAction
'sumPrice'
=>
799
,
'salePrice'
=>
80
,
'freight'
=>
5
,
'coupon'
=>
0
,
'yohoCoin'
=>
5
,
'price'
=>
719
);
...
...
Please
register
or
login
to post a comment