Authored by 郝肖肖

Merge branch 'hotfix/coincss' into hotfix/yas2.1.2

@@ -407,14 +407,15 @@ $('.dispatch-time').on('touchend', 'li', function() { @@ -407,14 +407,15 @@ $('.dispatch-time').on('touchend', 'li', function() {
407 orderInfo('deliveryTimeId', $(this).data('id')); 407 orderInfo('deliveryTimeId', $(this).data('id'));
408 }); 408 });
409 409
410 -$('.yoho-coin-help-dialog-bg, .yoho-coin-footer').on('touchend', function(e) { 410 +$('.yoho-coin-help-dialog-bg, .yoho-coin-footer').on('click', function(e) {
411 e.preventDefault(); 411 e.preventDefault();
412 $('.yoho-coin-help-dialog-bg').addClass('hide'); 412 $('.yoho-coin-help-dialog-bg').addClass('hide');
413 $('.yoho-coin-help-dialog').addClass('hide'); 413 $('.yoho-coin-help-dialog').addClass('hide');
414 }); 414 });
415 415
416 -$('.coin').on('touchend', function(e) { 416 +$('.coin').on('click', function(e) {
417 var $this = $(this); 417 var $this = $(this);
  418 + e.preventDefault();
418 419
419 if ($(e.target).closest('.yoho-coin-help').length) { 420 if ($(e.target).closest('.yoho-coin-help').length) {
420 $('.yoho-coin-help-dialog-bg').removeClass('hide'); 421 $('.yoho-coin-help-dialog-bg').removeClass('hide');
@@ -499,16 +499,14 @@ @@ -499,16 +499,14 @@
499 } 499 }
500 500
501 .yoho-coin-help { 501 .yoho-coin-help {
  502 + background: resolve("help.png") no-repeat;
502 display: inline-block; 503 display: inline-block;
503 - background-color: #b0b0b0;  
504 - border-radius: 28px; 504 + background-size: 28px;
505 width: 28px; 505 width: 28px;
506 height: 28px; 506 height: 28px;
507 - line-height: 28px;  
508 - text-align: center;  
509 - color: #fff;  
510 - font-size: 22px;  
511 margin-left: 10px; 507 margin-left: 10px;
  508 + cursor: pointer;
  509 + vertical-align: middle;
512 } 510 }
513 } 511 }
514 512
@@ -656,12 +654,11 @@ @@ -656,12 +654,11 @@
656 height: 510px; 654 height: 510px;
657 background-color: #fff; 655 background-color: #fff;
658 z-index: 2; 656 z-index: 2;
659 - margin: auto;  
660 - left: 0;  
661 - right: 0;  
662 - top: 0;  
663 - bottom: 0;  
664 border-radius: 10px; 657 border-radius: 10px;
  658 + left: 50%;
  659 + margin-left: -270px;
  660 + top: 50%;
  661 + margin-top: -255px;
665 662
666 .yoho-coin-title { 663 .yoho-coin-title {
667 font-size: 34px; 664 font-size: 34px;
@@ -116,7 +116,7 @@ @@ -116,7 +116,7 @@
116 <li class="coin" data-yoho-coin="{{yohoCoinCompute.yohoCoin}}" data-yoho-coin-click={{yohoCoinCompute.yohoCoinClick}}> 116 <li class="coin" data-yoho-coin="{{yohoCoinCompute.yohoCoin}}" data-yoho-coin-click={{yohoCoinCompute.yohoCoinClick}}>
117 <span class="title">有货币</span> 117 <span class="title">有货币</span>
118 <span class="desc msg">{{yohoCoinCompute.yohoCoinMsg}}</span> 118 <span class="desc msg">{{yohoCoinCompute.yohoCoinMsg}}</span>
119 - <span class="yoho-coin-help">?</span> 119 + <span class="yoho-coin-help"></span>
120 {{#if yohoCoinCompute.useYohoCoin}} 120 {{#if yohoCoinCompute.useYohoCoin}}
121 <span class="coin-check"> 121 <span class="coin-check">
122 <i class="iconfont checkbox icon-cb-radio"></i> 122 <i class="iconfont checkbox icon-cb-radio"></i>
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 <li class="coin" data-yoho-coin="{{yohoCoinCompute.yohoCoin}}" data-yoho-coin-click={{yohoCoinCompute.yohoCoinClick}}> 36 <li class="coin" data-yoho-coin="{{yohoCoinCompute.yohoCoin}}" data-yoho-coin-click={{yohoCoinCompute.yohoCoinClick}}>
37 <span class="title">有货币</span> 37 <span class="title">有货币</span>
38 <span class="desc msg">{{yohoCoinCompute.yohoCoinMsg}}</span> 38 <span class="desc msg">{{yohoCoinCompute.yohoCoinMsg}}</span>
39 - <span class="yoho-coin-help">?</span> 39 + <span class="yoho-coin-help"></span>
40 {{#if yohoCoinCompute.useYohoCoin}} 40 {{#if yohoCoinCompute.useYohoCoin}}
41 <span class="coin-check"> 41 <span class="coin-check">
42 <i class="iconfont checkbox icon-cb-radio"></i> 42 <i class="iconfont checkbox icon-cb-radio"></i>