...
|
...
|
@@ -6,8 +6,9 @@ |
|
|
|
|
|
var $ = require('jquery');
|
|
|
|
|
|
var lazyLoad = require('yoho.lazyload');
|
|
|
var load = require('../plugin/loading');
|
|
|
var lazyLoad = require('yoho.lazyload'),
|
|
|
load = require('../plugin/loading'),
|
|
|
tip = require('../plugin/tip');
|
|
|
|
|
|
var dialog = require('./dialog');
|
|
|
|
...
|
...
|
@@ -126,3 +127,13 @@ $('.deps').on('touchstart', 'span', function() { |
|
|
}).on('touchend touchcancel', 'span', function() {
|
|
|
$(this).css('background', 'transparent');
|
|
|
});
|
|
|
|
|
|
$('.invalidGoods').on('touchstart touchend', function() {
|
|
|
var $this = $(e.target).closest('span');
|
|
|
|
|
|
if ($this.hasClass('del-icon')) {
|
|
|
return;
|
|
|
}
|
|
|
tip.show('商品已下架');
|
|
|
return false;
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|