diff --git a/static/js/cart/good.js b/static/js/cart/good.js index 1b60b7a..0d71669 100644 --- a/static/js/cart/good.js +++ b/static/js/cart/good.js @@ -166,7 +166,7 @@ function didUpdateAllGoodsCheckStatus() { $(checkedBox).removeClass('icon-cb-checked').addClass('icon-checkbox'); }); } - window.history.go(0); + window.location.href = '/cart/index/index?cartType=' + $('#cartType').val(); } function bottomCheckBoxHandeler(isSelected, type, handlerAfterTouch) { diff --git a/static/sass/cart/_order-ensure.scss b/static/sass/cart/_order-ensure.scss index ab6f564..e2918ab 100644 --- a/static/sass/cart/_order-ensure.scss +++ b/static/sass/cart/_order-ensure.scss @@ -119,7 +119,7 @@ } .coupon-use { - box-sizing: border-box; + @include box-sizing(border-box); position: relative; float: right; padding-right: 30rem / $pxConvertRem; @@ -137,7 +137,7 @@ color: #999; } } - + .checkbox { display: inline-block; width: 80rem / $pxConvertRem; diff --git a/template/m.yohobuy.com/partials/layout/page_header.phtml b/template/m.yohobuy.com/partials/layout/page_header.phtml index f854bdf..3cbc064 100644 --- a/template/m.yohobuy.com/partials/layout/page_header.phtml +++ b/template/m.yohobuy.com/partials/layout/page_header.phtml @@ -15,9 +15,7 @@ {{# navBtn}} <!-- <span class="nav-btn">{{.}}</span> --> <!-- <i class="iconfont nav-home"></i> --> - {{/ navBtn}} -</header> - <div class="homebuttom none"> + <!-- <div class="homebuttom none"> <ul> <li> <i class="iconfont"></i> @@ -36,5 +34,8 @@ <span>我的</span> </li> </ul> - </div> + </div> --> + {{/ navBtn}} +</header> + {{/pageHeader}}