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
biao
9 years ago
Commit
090f2c4148fbb20d6038889113f3414e2fcece9a
1 parent
9e6e8ba5
解决问题: 1. 购物车内有“库存不足商品时不能去结算页面。 2. 购物车页面,没有参与活动时的样式问题修复。 code review by XWG”
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletions
static/js/cart/cart.js
static/sass/cart/_index.scss
template/m.yohobuy.com/partials/cart/cart-content.phtml
static/js/cart/cart.js
View file @
090f2c4
...
...
@@ -65,6 +65,11 @@ $('.freebie').on('touchend', function() {
});
$
(
'.btn-balance'
).
on
(
'touchend'
,
function
()
{
if
(
$
(
'.low-stocks'
).
length
>
0
)
{
tip
.
show
(
'请先删除库存不足商品'
);
return
false
;
}
if
(
hasChecked
)
{
window
.
location
.
href
=
'/cart/index/orderEnsure?cartType='
+
cartType
;
}
else
{
...
...
static/sass/cart/_index.scss
View file @
090f2c4
...
...
@@ -120,7 +120,7 @@
.freebie-and-advance-buy
{
padding
:
20rem
/
$pxConvertRem
;
font-size
:
24rem
/
$pxConvertRem
;
border-bottom
:
1px
solid
#e0e0e0
;
//
border-bottom: 1px solid #e0e0e0;
>
li
{
box-sizing
:
border-box
;
...
...
@@ -152,6 +152,7 @@
}
.activity-title
{
border-top
:
1px
solid
#e0e0e0
;
font-size
:
32rem
/
$pxConvertRem
;
padding
:
20rem
/
$pxConvertRem
20rem
/
$pxConvertRem
0
;
}
...
...
template/m.yohobuy.com/partials/cart/cart-content.phtml
View file @
090f2c4
...
...
@@ -42,6 +42,7 @@
{{/if}}
{{/ promotionInfo}}
{{#if promotionInfo}}
<div class="activity">
<ul>
{{# promotionInfo}}
...
...
@@ -49,6 +50,7 @@
{{/ promotionInfo}}
</ul>
</div>
{{/if}}
<div class="price-compute">
<p>
...
...
Please
register
or
login
to post a comment