Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
c1456a62bc3e87d4dcf40bbc661b0568e01af196
1 parent
cb774f19
订单确认页面 样式优化
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
4 deletions
framework
static/js/shopping-cart/order-ensure.js
static/js/shopping-cart/select-coupon.js
static/sass/shopping-cart/_order-ensure.scss
template/m.yohobuy.com/actions/index/shoppingCart/order-ensure.phtml
framework
@
75bbc3b0
Subproject commit
e9d066dd88a8e7e37103021c427a205a5cfcdcec
Subproject commit
75bbc3b075de19f239532f60c5995d06c5f814e2
...
...
static/js/shopping-cart/order-ensure.js
View file @
c1456a6
...
...
@@ -100,8 +100,8 @@ function submitOrder() {
data
:
{
addressId
:
orderInfo
(
'addressId'
),
cartType
:
orderInfo
(
'cartType'
),
deliveryId
:
orderInfo
(
'deliveryId'
)
||
1
,
deliveryTimeId
:
orderInfo
(
'deliveryTimeId'
)
||
2
,
deliveryId
:
orderInfo
(
'deliveryId'
),
deliveryTimeId
:
orderInfo
(
'deliveryTimeId'
),
invoiceText
:
$invoice
.
find
(
'[name="invoice-title"]'
).
val
()
||
orderInfo
(
'invoiceText'
),
invoiceType
:
$invoice
.
find
(
'.invoice-type'
).
val
()
||
orderInfo
(
'invoiceType'
),
msg
:
$
(
'#msg'
).
find
(
'input'
).
val
()
||
orderInfo
(
'msg'
),
...
...
static/js/shopping-cart/select-coupon.js
View file @
c1456a6
...
...
@@ -30,6 +30,7 @@ $newCoupon.on('submit', function() {
if
(
res
.
code
===
200
)
{
tip
.
show
(
'优惠券可用'
);
orderInfo
(
'couponCode'
,
res
.
data
.
coupon_code
);
orderInfo
(
'couponValue'
,
res
.
data
.
coupon_value
);
window
.
location
.
href
=
'/shoppingCart/orderEnsure?coupon_code='
+
res
.
data
.
coupon_code
;
}
else
{
tip
.
show
(
res
.
message
);
...
...
static/sass/shopping-cart/_order-ensure.scss
View file @
c1456a6
...
...
@@ -108,6 +108,10 @@
&
.used
{
color
:
#f00
;
}
.iconfont
{
color
:
#999
;
}
}
.coin-check
{
...
...
@@ -119,6 +123,10 @@
color
:
#000
;
}
em
{
color
:
#f00
;
}
}
.checkbox.icon-checkbox
{
...
...
@@ -191,6 +199,10 @@
}
}
.price-cal
{
font-family
:
monospace
;
}
.cost
{
border-top
:
1px
solid
#f7f7f7
;
line-height
:
100rem
/
$pxConvertRem
;
...
...
template/m.yohobuy.com/actions/index/shoppingCart/order-ensure.phtml
View file @
c1456a6
...
...
@@ -121,7 +121,7 @@
{
{/couponPrice
}
}
<li>
<span>YOHO币</span>
-
{
{yohoCoin
}
}
-
¥
{
{yohoCoin
}
}
</li>
<li
class=
"cost"
>
应付金额:
<em>¥
{
{price
}
}</em>
...
...
Please
register
or
login
to post a comment