.,
<divss="vip-limit-wraptext-center">
需要订阅后才能阅读</h3>
<divss="boxmg20-b">
<divss="flex2">
<divss="buy-one"data-href="buychapter="true"id="buychapter">
<divss="tip">
订阅本章
<divss="egold">
33书海币
<divss="flex">
<divss="buy-all"data-href="buychapter="true">
<divss="tip">
全本订阅
<divss="egold">
1267.50书海币
<divss="flex2">
<spanss="">
<inputid="autobuy"type="checkbox"checked="checked"ss=""data-href1="data-href2="
</span>
<scripttype="text/javascript">
$(function(){
$("[buychapter]").one('click',function(e){
e.preventdefault();
 yer.load(2,{shade:0.05});
gpage.buychapter($(this).data('href'));
});
gpage.buychapter($("#buychapter").data('href'));
//autobuyswitch
$("#autobuy").change(function(){
if($(this).is(":checked")){
$("#buychapter").data('href',$(this).data('href1'));
}else{
$("#buychapter").data('href',$(this).data('href2'));
}
});
})
</script>