nbsp; var bel = docuentcreateeleent(&039;bel&039;);
var isauto = docuentcreateeleent(&039;put&039;);
isautotype = &039;checkbox&039;;
text = docuentcreatetextnode(&039;下次自动订阅&039;);
belappendchild(isauto);
belappendchild(text);
p = pclonenode(false);
pappendchild(bel);
divappendchild(p);
qnfir(div, function(re){
if(re) {
var bance = 1;
var price = 6;
if(bance < price){
qnfir(&039;您的余额不足, 是否去充值?&039;, function(re) {
if(re) {
locationhref = &039;<a href="
http://h517k/h5/pay/centerdo?paratag=999&039;;" target="_bnk">
http://h517k/h5/pay/centerdo?paratag=999&039;;</a> }
});
} else {
qajax(&039;/book/h5/subscribeaction&039;, {
"chapterid": "27719264",
"isallsub": isallsub,
"isautosub": isautochecked
}, function(data) {
if(dataresult) {
wdowlocationreload();
} else {
qalert(&039;&039; + dataessage + &039;&039;);
}
}, &039;json&039;);
}
}
});
}
<!--gen4-1-1-114-11089-93594984-1485601200-->