Showing
2 changed files
with
15 additions
and
1 deletions
@@ -163,7 +163,6 @@ favContentHammer.on('tap', function(e) { | @@ -163,7 +163,6 @@ favContentHammer.on('tap', function(e) { | ||
163 | if (!$(e.target).hasClass('del-fav')) { | 163 | if (!$(e.target).hasClass('del-fav')) { |
164 | return; | 164 | return; |
165 | } | 165 | } |
166 | - | ||
167 | diaLog.showDialog({ | 166 | diaLog.showDialog({ |
168 | dialogText: '您确定要取消收藏吗?', | 167 | dialogText: '您确定要取消收藏吗?', |
169 | hasFooter: { | 168 | hasFooter: { |
@@ -88,6 +88,10 @@ | @@ -88,6 +88,10 @@ | ||
88 | height: auto; | 88 | height: auto; |
89 | overflow: hidden; | 89 | overflow: hidden; |
90 | margin-top: pxToRem(20px); | 90 | margin-top: pxToRem(20px); |
91 | + | ||
92 | + a { | ||
93 | + display: block; | ||
94 | + } | ||
91 | } | 95 | } |
92 | 96 | ||
93 | .fav-img-box { | 97 | .fav-img-box { |
@@ -171,6 +175,16 @@ | @@ -171,6 +175,16 @@ | ||
171 | } | 175 | } |
172 | 176 | ||
173 | &.del-fav { | 177 | &.del-fav { |
178 | + width: 2rem; | ||
179 | + height: 1.5rem; | ||
180 | + position: absolute; | ||
181 | + top: 50%; | ||
182 | + margin-top: -0.75rem; | ||
183 | + right: 0; | ||
184 | + | ||
185 | + &:after { | ||
186 | + content: ''; | ||
187 | + display: block; | ||
174 | $width: pxToRem(image_width(sprite-file($fav, fav-del))); | 188 | $width: pxToRem(image_width(sprite-file($fav, fav-del))); |
175 | $height: pxToRem(image_height(sprite-file($fav, fav-del))); | 189 | $height: pxToRem(image_height(sprite-file($fav, fav-del))); |
176 | 190 | ||
@@ -187,6 +201,7 @@ | @@ -187,6 +201,7 @@ | ||
187 | } | 201 | } |
188 | } | 202 | } |
189 | } | 203 | } |
204 | + } | ||
190 | //品牌收藏 | 205 | //品牌收藏 |
191 | .fav-brand-swiper { | 206 | .fav-brand-swiper { |
192 | border-top: 1px solid #e0e0e0; | 207 | border-top: 1px solid #e0e0e0; |
-
Please register or login to post a comment