Authored by biao

update for change the submit button style and logic

... ... @@ -84,5 +84,5 @@
{{/address}}
{{/returnsChange}}
<span class="btn confirm right">提交申请</span>
<span class="btn confirm right disable">提交申请</span>
</div>
... ...
... ... @@ -279,6 +279,12 @@ function bindCheckboxEvent() {
$box.removeClass('will-change');
$box.find('.form').addClass('hide');
}
if ($('.will-change').length) {
$('.btn.disable').removeClass('disable');
} else {
$('.btn.confirm').addClass('disable');
}
}
});
}
... ... @@ -333,6 +339,10 @@ function bindConfirmEvent() {
var $imgs;
var imgs = [];
if ($(this).hasClass('disable')) {
return false;
}
if (!validateData()) {
return false;
}
... ...
... ... @@ -21,6 +21,15 @@
}
}
.btn {
&.confirm {
width: 130px;
height: 40px;
line-height: 40px;
font-size: 16px;
}
}
.goods-container {
width: 990px;
}
... ...