Authored by 郭成尧

yohocoin-tip-show

@@ -192,8 +192,8 @@ @@ -192,8 +192,8 @@
192 <a href="javascript:;">提交订单</a> 192 <a href="javascript:;">提交订单</a>
193 </div> 193 </div>
194 194
195 - <div class="yoho-coin-help-dialog-bg hide"></div>  
196 - <div class="yoho-coin-help-dialog hide"> 195 + <div class="yoho-coin-help-dialog-bg"></div>
  196 + <div class="yoho-coin-help-dialog">
197 <div class="yoho-coin-title">有货币使用条件:</div> 197 <div class="yoho-coin-title">有货币使用条件:</div>
198 <div class="yoho-coin-content"> 198 <div class="yoho-coin-content">
199 <p>1.订单金额大于20元(含)</p> 199 <p>1.订单金额大于20元(含)</p>
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 * @Author: Targaryen 2 * @Author: Targaryen
3 * @Date: 2017-06-21 10:30:21 3 * @Date: 2017-06-21 10:30:21
4 * @Last Modified by: Targaryen 4 * @Last Modified by: Targaryen
5 - * @Last Modified time: 2017-06-26 17:51:50 5 + * @Last Modified time: 2017-06-26 18:01:45
6 */ 6 */
7 require('buynow/order-ensure.page.css'); 7 require('buynow/order-ensure.page.css');
8 const $ = require('yoho-jquery'); 8 const $ = require('yoho-jquery');
@@ -375,16 +375,16 @@ $('.dispatch-time').on('touchend', 'li', function() { @@ -375,16 +375,16 @@ $('.dispatch-time').on('touchend', 'li', function() {
375 375
376 $('.yoho-coin-help-dialog-bg, .yoho-coin-footer').on('touchend', function(e) { 376 $('.yoho-coin-help-dialog-bg, .yoho-coin-footer').on('touchend', function(e) {
377 e.preventDefault(); 377 e.preventDefault();
378 - $('.yoho-coin-help-dialog-bg').addClass('hide');  
379 - $('.yoho-coin-help-dialog').addClass('hide'); 378 + $('.yoho-coin-help-dialog-bg').removeClass('show');
  379 + $('.yoho-coin-help-dialog').removeClass('show');
380 }); 380 });
381 381
382 $('.coin').on('touchend', function(e) { 382 $('.coin').on('touchend', function(e) {
383 let $this = $(this); 383 let $this = $(this);
384 384
385 if ($(e.target).closest('.yoho-coin-help').length) { 385 if ($(e.target).closest('.yoho-coin-help').length) {
386 - $('.yoho-coin-help-dialog-bg').removeClass('hide');  
387 - $('.yoho-coin-help-dialog').removeClass('hide'); 386 + $('.yoho-coin-help-dialog-bg').addClass('show');
  387 + $('.yoho-coin-help-dialog').addClass('show');
388 return true; 388 return true;
389 } 389 }
390 390