Commit b650557d authored by agping's avatar agping

6

parent de8ca5f4
......@@ -41,7 +41,7 @@ define (['doT', 'text!temp/red_envelope_list_template_tpl.html', 'css!style/home
e.stopPropagation();
redEnvelope.submitAdd();
});
//
//兑现动作
$("input[name='return_action']").change(function(){
var _this = $(this);
if(_this.val() == 0){
......@@ -51,7 +51,27 @@ define (['doT', 'text!temp/red_envelope_list_template_tpl.html', 'css!style/home
}
});
//奖励有效期
$("input[name='award-period']").change(function(){
var _this = $(this);
if(_this.val() == -1){
$('#activity-day').val(0);
}
});
//活动发放总次数
$("input[name='activity-total']").change(function(){
var _this = $(this);
if(_this.val() == -1){
$('#activity-total-num').val(0);
}
});
//用户可得红包数
$("input[name='activity-total-bag").change(function(){
var _this = $(this);
if(_this.val() == -1){
$('#activity-bag-num').val(0);
}
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment