Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Showing
7 changed files
with
15 additions
and
14 deletions
@@ -131,6 +131,7 @@ $addressListPage.find('.address').each(function(i, elem) { | @@ -131,6 +131,7 @@ $addressListPage.find('.address').each(function(i, elem) { | ||
131 | $this.siblings().hide(); | 131 | $this.siblings().hide(); |
132 | $this.children('ul').show().children('li').show(); | 132 | $this.children('ul').show().children('li').show(); |
133 | 133 | ||
134 | + $(this).removeClass('highlight'); | ||
134 | e.srcEvent.preventDefault(); | 135 | e.srcEvent.preventDefault(); |
135 | e.srcEvent.stopPropagation(); | 136 | e.srcEvent.stopPropagation(); |
136 | }); | 137 | }); |
@@ -129,7 +129,7 @@ orderHammer.on('tap', function(e) { | @@ -129,7 +129,7 @@ orderHammer.on('tap', function(e) { | ||
129 | if (data.code === 200) { | 129 | if (data.code === 200) { |
130 | 130 | ||
131 | //删除订单页面刷新 | 131 | //删除订单页面刷新 |
132 | - location.href = location.href; | 132 | + history.go(0); |
133 | } | 133 | } |
134 | } | 134 | } |
135 | }); | 135 | }); |
@@ -154,7 +154,7 @@ orderHammer.on('tap', function(e) { | @@ -154,7 +154,7 @@ orderHammer.on('tap', function(e) { | ||
154 | if (data.code === 200) { | 154 | if (data.code === 200) { |
155 | 155 | ||
156 | //取消订单页面刷新 | 156 | //取消订单页面刷新 |
157 | - location.href = location.href; | 157 | + history.go(0); |
158 | } | 158 | } |
159 | } | 159 | } |
160 | }); | 160 | }); |
@@ -37,6 +37,12 @@ likeHammer.on('tap', function(e) { | @@ -37,6 +37,12 @@ likeHammer.on('tap', function(e) { | ||
37 | success: function(data) { | 37 | success: function(data) { |
38 | if (data.code === 200) { | 38 | if (data.code === 200) { |
39 | $this.toggleClass('liked'); | 39 | $this.toggleClass('liked'); |
40 | + | ||
41 | + if ('cancel' === opt) { | ||
42 | + tip.show('取消收藏成功'); | ||
43 | + } else if ('ok' === opt) { | ||
44 | + tip.show('收藏成功'); | ||
45 | + } | ||
40 | } else if (data.code === 400) { | 46 | } else if (data.code === 400) { |
41 | location.href = data.data;//未登录跳转登录页 | 47 | location.href = data.data;//未登录跳转登录页 |
42 | } else { | 48 | } else { |
@@ -45,9 +45,6 @@ $basicBtnC:#eb0313; | @@ -45,9 +45,6 @@ $basicBtnC:#eb0313; | ||
45 | font-size: pxToRem(24px); | 45 | font-size: pxToRem(24px); |
46 | background-color: $tableCellC; | 46 | background-color: $tableCellC; |
47 | float: left; | 47 | float: left; |
48 | - &:last-child { | ||
49 | - border-bottom: none; | ||
50 | - } | ||
51 | &:nth-child(even) { | 48 | &:nth-child(even) { |
52 | border-right: none; | 49 | border-right: none; |
53 | } | 50 | } |
@@ -66,12 +66,6 @@ | @@ -66,12 +66,6 @@ | ||
66 | } | 66 | } |
67 | } | 67 | } |
68 | } | 68 | } |
69 | - // .material-type { | ||
70 | - // width: pxToRem(581px); | ||
71 | - // height: pxToRem(99px); | ||
72 | - // border-top: 1px solid $borderC; | ||
73 | - // padding: pxToRem(17px) 0; | ||
74 | - // } | ||
75 | } | 69 | } |
76 | .wash-tips{ | 70 | .wash-tips{ |
77 | padding-top:pxToRem(18px); | 71 | padding-top:pxToRem(18px); |
@@ -113,8 +113,8 @@ | @@ -113,8 +113,8 @@ | ||
113 | </div> | 113 | </div> |
114 | {{/ enterStore}} | 114 | {{/ enterStore}} |
115 | 115 | ||
116 | - <div id="productDesc"></div> | ||
117 | - <!-- {{> product/product-description}} --> | 116 | + <!-- <div id="productDesc"></div> --> |
117 | + {{> product/product-description}} | ||
118 | {{> product/recommend-for-you}} | 118 | {{> product/recommend-for-you}} |
119 | 119 | ||
120 | {{#cartInfo}} | 120 | {{#cartInfo}} |
@@ -140,4 +140,3 @@ | @@ -140,4 +140,3 @@ | ||
140 | 140 | ||
141 | </div> | 141 | </div> |
142 | {{> layout/footer}} | 142 | {{> layout/footer}} |
143 | -<div class="bottom-blank"></div> |
-
Please register or login to post a comment