Authored by 郭成尧

yohocoin-tip-show

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