上门龙婿提示您:看后求收藏(第3433章,叶辰萧初然小说免费阅读,上门龙婿,海棠搜书),接着再看更方便。

请关闭浏览器的阅读/畅读/小说模式并且关闭广告屏蔽过滤功能,避免出现内容无法显示或者段落错乱。

<!doctypehtml

<htmlstyle="font-size:625%"

<head

<metacharset="utf-8"

<metaname="viewport"tent="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"

<metaname="format-dete"tent="telephone=no"

<metaname="apple-mobile--capable"tent="yes"

<title</title

<scripttype="text/javascript"

windo.';

windo.';

window.site_version='2.5.62';

window.theme='yg';

window.track=eval({});

windo={wx_time11331};

(fun(doc){

vardocel=doe,

recal(){

vartwidth=docel.twidth;

if(!twidth)return;

if(twidth414){

//docel.style.fontsize='115px';

docel.style.fontsize='110.4px';

}else{

//docel.style.fontsize=100*(twidth/360)+'px';

docel.style.fontsize=100*(twidth/375)+'px';

}

};

recalc();

})(dot);

//toasttip提示

varsoletime=null;

funain(str,nseask){

cleartimeout(soletime);

nsed=nsed?nsed*1000:3000;

mask=mask?'<i</i':'';

vardiv=dot.getelementbyid('ain');

div.iml='<divclass="sole_box"<span'+str+'</span</div'+mask;

soletime=settimeout(fun(){

div.iml='';

},nsed);

}

//神策数据

varsa_server_url="

varsite_theme="yg";

varsensors_switch=1;

varsensors_is_vip=true;

varsensors_referral_id=0;

varsensors_vip_el_id=18710;

varsensors_el_id=18710;

</script

<linkhref="

<linkhref="

<linkhref="

<linkhref="

<linkhref="

<linkhref="?v=2.5.62"rel="stylesheet"type="text/css"

<linkhref="

<linkhref="

<linkhref="

<linkhref="

<linkhref="

<linkhref="

<linkrel="shortcuti"href="

</head

<bodyclass="read_theme_1"

<divid="cps-log"

</div

<!--ain弹出吐丝--

<divid="ain"</div

<!--todo:用户关注弹窗(强制/非强制)--

<linkhref="

<divclass="pop_fixed"style="display:none"

<divclass="pop_box"

<divclass="pop_title"

篇幅有限,长按关注公众号

继续阅读后续精彩内容

</div

<divclass="pop_img"

<imgsrc=""alt=""

</div

<divclass="pop_tip"

长按上图二维码3秒

点击【前往图中包含的公众号】

关注公众号,精彩内容继续看

</div

<divclass="pop_btn"关闭</div

</div

</div

<!--!!!!!!!三期阅读器顶部浮窗天将福利广告banner--

<divclass="ad_welfare_toast"

</div

<!--todo:福利广告挂件(底边)--

<divclass="ad_welfare_bannerad_welfare"

<imgclass="ad_welfare_float_pop"src=""/

<!--<imgclass="ad_welfarebtnad_welfareclick"src="

</div

<!--todo:福利广告挂件(右侧边)--

<divclass="ad_welfare_iad_welfare"

<imgclass="ad_welfareclick"src=""/

</div

<divclass="ad_position_18"

<divclass="ad_position_18_close"</div

</div

<inputtype="hidden"id="hid_has_sign_tip_today"value=""/

<inputtype="hidden"id="hid_sign_tips_text"value="点击公众号菜单"签到送币"领取每日签到奖励,多签多送"/

<!--这是正文--

<inputtype="hidden"id="hid_el_id"value="18710"/

<inputtype="hidden"id="hid_user_id"value="363194301"/

<inputtype="hidden"id="hid_sub_pop"value="0"/

<divclass="toast"<divclass="toast-tip"恭喜完成今天阅读打卡目标</div</div

<divclass="marquee_text"style="display:none;"

<divclass="marquee_main"<spanstyle="text-aliger;"</span

</div

</div

<!--这是ell条--

<divclass="read_bodyread_body_fontsize_2"

<divclass="read_tent_list"

<divclass="read_main_box"

<divclass="read_tit_box"

<divclass="gkc_box"

<divclass="gkc_i"

<pclass="gkc_book_text"免费领书币

<pclass="gkc_bg"

</div

</div

<divclass="gkc_mask"

<divclass="gkc_read_book"

<imgclass="gkc_close"src="

<imgclass="gkc_copy_btn"data-clipboard-text="8"src="规则"

</div

</div

<divclass="gkc_globe"

<imgsrc="入口"

</div

<h2<em</em</h2

</div

<divclass="read_main_p"

海城医院。

“陆先生,你来的正好。”有个医生经过病房门口,‘恰好’碰上陆铭煜。“乔安小姐先兆流产,她自己可能也不知道自己又怀孕了,这件事可能很影响乔安小姐的心情,要不要找心理医生?”

陆铭煜蹙了蹙眉,双手用力握紧。“你说什么?什么孩子?”

眸子深沉了些许,他什么时候碰过乔安,怎么可能又怀孕......

难道是那次喝醉了酒?

“这次可要好好养着伤身体,千万不要再让她生气,也不能再受伤害了,听说是因为跪了整整一上午,这孩子才......”医生一脸惋惜,叹了口气。“怎么能让人跪一上午,这也太没有人性了。”

陆铭煜的心口堵得厉害,紧张的跑进病房。“乔安......”

乔安坐在床上哭,抱着自己的双腿哭的眼睛通红。“阿煜......”

陆铭煜原本有一肚子的疑问想问问乔安,问她为什么要诬陷苏晴,可看到乔安因为孩子的事情哭成这样,所有的话都咽回了肚子里。

“阿煜,我不知道......我们的孩子。”乔安委屈的开口,声音哽咽。“阿煜!呜呜......”

“好了,好了不哭了。”陆铭煜赶紧抱住乔安,安抚的拍着她的后背。“乖,不哭了,没事。”

“阿煜,怎么办,怎么办,孩子没有了呜呜......”

“怎么会突然流产......”陆铭煜蹙眉问了身边伺候的保姆一句。

“少爷啊,乔安小姐为了求苏晴小姐撤诉,在她们家门外,整整跪了一上午。这是人干的事情吗,乔安小姐还怀了孕......”保姆说着说着都觉得委屈,要哭了。

陆铭煜的气压瞬间冷到了冰点,苏晴!

就算乔安诬陷她砍伤自己,她也不能如此恶毒的让乔安跪了整整一上午!

“你放心,这件事我会处理。”陆铭煜的双手用力握紧,害乔安流产,害他在警局蹲了一夜,这些事情他必须好好和苏晴算一算!

“阿煜,你别怪苏晴姐,是我......是我先做错了事。”乔安紧张的抱着陆铭煜的胳膊,哭着摇头。“阿煜,是我,是我错了,那天苏晴姐发了疯要砍我,我只是......只是生气,嫉妒,嫉妒你们......在房间,所以,我......我......”

乔安哭的越发委屈。“那天,我其实是想自杀的,可......可六神问我,我害怕了,不想让你担心我,我才撒谎说是苏晴姐砍伤我的,我也没想到你会报警,呜呜......”

乔安解释的滴水不漏,把自己要自杀这件事一下子提到了点子上。

陆铭煜紧张的抱着乔安的肩膀。“安安,你想干什么?为什么要自杀!”

“阿煜......我太爱你了,我不能离开你,你别不要我。”乔安哭着抱紧陆铭煜的胳膊。

“傻瓜,我怎么可能不要你!”陆铭煜有些着急。

之前他确实想过好好安抚乔安,给她一笔钱,可既然乔安为了他都流掉了两个孩子,他也无法不对乔安负责了。

“阿煜,我好难过,怎么办......”乔安哭的厉害,呼吸有些不顺畅。

“好了不哭了。”陆铭煜安抚着乔安,其实只要他说一句愿意娶乔安,也许她就会安心很多。

可不知道为什么,那句话到了嘴边,他始终都说不出来。

一说到结婚,他就会想到苏晴那张脸,像是着了魔一样,刺痛着心口。

“阿煜?”乔安紧张的看着陆铭煜,想等他一句确定的答案。

“你好好在医院休息,这件事我会让苏晴给你一个说法。”起身站了起来,陆铭煜气压冷凝的离开。

乔安的双手扑了个空,心脏麻木了一半。

都已经这样了,陆铭煜还是不肯说出娶她的话。

离开病房,陆铭煜走进安全通道点了颗烟。

手心有些发麻,他也不知道自己刚才到底怎么了,突然心脏就刺痛的厉害。

“苏晴......”呢喃的喊了苏晴的名字,陆铭煜深深的吸了口烟。

让乔安跪了一上午,跪到孩子先兆性流产。

</div

</div

<!--语音配置弹窗--

<!--地图活动卡券类奖品卡片$taskmapprize为对象说明有优惠券否则没有--

<divclass="read_main_other_box"

<divclass="read_other_boxmenu_position_101"

<ahref="/index/book/chapter?book_id=11010073404&chapter_id=4819554六十八"class="read_other_but_l"上一章</a

<ahref="javascript:;"class="read_other_but_lop_menu"菜单</a

</div

<!--<ahref="javascript:void(0);"class="read_nex_butmenu_position_101"onclick="$('.pop_fixed').show();"下一章</a--

<!--/*--

<!--*下一章逻辑处理--

<!--*type=0:不是最后一章;展示原有逻辑--

<!--*type=1:最后一章开启了渠道不推荐并且有阅读记录,或者无推荐书籍有阅读记录,下一章按钮为最近阅读;--

<!--*type=2:最后一章开启了渠道不推荐并且无阅读记录,或者无推荐书籍并且无阅读记录,跳转到书城首页;--

<!--*type=3:最后一章,有推荐记录--

<!--*/--

<ahref="/index/book/chapter?book_id=11010073404&chapter_id=481955470&from_read=1"class="read_nex_butmenu_position_101ad__chapter"下一章</a

</div

<!--广告阅读页内容底部广告轮播--

<divclass="ad_position_3"</div

</div

</div

<!--页面底部高度站位,有底部浮层广告是,设置一个高度,没有时设置高度为0--

<divclass="footer-margin"</div

<inputtype="hidden"id="hid_islistenbookopen"value="0"

<!--menu_evocation_box唤出菜单点击区域框--

<divclass="menu_boxmenu_hide"

<i</i

<divclass="menu_top_but_2"

<ahref="/index/category?from=chapter"分类</a

<ahref="/index/book/list?type=click&from=chapter"榜单</a

<ahref="/index/reend?from=chapter"精选</a

<ahref="/index/user/index?from=chapter"个人中心</a

</div

<!--广告阅读页呼出菜单广告条--

<divclass="ad_position_6"</div

<divclass="menu_footer_but"

<divclass="menu_foote_lmenu_font"

<spanclass="m_f_set_bg_li"<ahref="javascript:;"小</a</span

<spanclass="m_f_set_bg_li"<ahref="javascript:;"中</a</span

<spanclass="m_f_set_bg_lim_f_set_bg_electcur"<ahref="javascript:;"大</a</span

</div

<divclass="menu_foote_lbg_enu"

<spanclass="m_f_set_bg_li"<aclass="btn__f_set_bg_but_1"</a</span

<spanclass="m_f_set_bg_lim_f_set_bg_electcur"<aclass="btn__f_set_bg_but_2"</a</span

<spanclass="m_f_set_bg_li"<aclass="btn__f_set_bg_but_3"</a</span

<spanclass="m_f_set_bg_li"<aclass="btn__f_set_bg_but_4"</a</span

<spanclass="btn_col"

<ahref="javascript:;"class="m_f_nightm_f_night_day"</a

<ahref="javascript:;"class="m_f_daym_f_night_day"</a

</span

</div

<pclass="across-line"

<!--旧版已经不用了--

<!--<divclass="menu_foote_lbtn_menu"

<span<ahref="/index/book/menu?book_id=11010073404&chapter_id=481955469&from=chapter&from_user_id=0&share_time31729778"class="b_btn_menu3m_f_catalogyle"目录</a</span

<span<ahref="/index/user/ret?from=chapter"class="b_btn_meyle"最近阅读</a</span

<spanclass="last-r"<ahref="javascript:;"class="b_btn_menu5added"已加入书架</a</span

</div--

<divclass="chapter-tab-bar"

<div

<ahref="/index/book/menu?book_id=11010073404&chapter_id=481955469&from=chapter&from_user_id=0&share_time31729778"

<imgsrc="

<span目录</span

</a

</div

<div

<ahref="/index/user/ret?from=chapter"

<imgsrc="

<span最近阅读</span

</a

</div

<div

<aclass="home-log"href="/?from=chapter"

<imgsrc="

<span首页</span

</a

</div

<!--常驻福利专区--

</div

</div

<!--menu_footer--

</div

<divclass="shadow_box_bg"</div

<!--注册大于30天,企业微信弹框--

<divclass="shadow_wxsess_boxjs_work_pop"

<divclass="shadow_wxsess_module"

<imgclass="wxdl_bg"src=""alt=""

<imgclass="wx_dl_closejs_work_wechat_close"src="

<divclass="img_code_box"

<divclass="img_middle_box"

<imgclass="img_code"src=""alt=""

</div

</div

</div

</div

<!--注册时间小于48小时的企业微信弹框--

<divclass="shadow_wxsess_boxjs_work_pop_newuser"

<divclass="shadow_wxsess_module"

<imgclass="wxdl_bg"src=""alt=""

<imgclass="wx_dl_closejs_work_wechat_close"src="

<divclass="img_code_box"

<divclass="img_middle_box"

<imgclass="img_code"src=""alt=""

</div

</div

</div

</div

<!---s:添加浮窗---

<!--todo:添加浮窗提示弹窗--

<divclass="pop-box"style="display:none;"

<divclass="pop-main"

<divclass="pop-one"添加浮窗更便捷</div

<divclass="pop-two"</div

<divclass="pop-box-close"</div

</div

</div

<!---e:添加浮窗---

<!--秘书弹窗--

<!--福利专区-阅读任务--

<!--客户消息入口拉取阅读页与首页领书币弹窗--

<!--新春挂件--

<divclass="sf_float"

<ahref="/index/activity/spriival"

<imgclass="sf_float_pic1"src="

<imgclass="sf_float_pic2"src="

<imgclass="sf_float_pic3"src="

</a

<imgclass="sf_float_close"src="

</div

<!--阅读挑战赛引入--

<!--

*@descripttion:

*@version:

*@authaoky

*@date:2021-04-1215:29:14

*@lasteditaoky

*@lastedittime:2021-04-1217:20:34

--

<linkhref="

<!--阅读挑战赛浮窗new--

<divclass="read_challenge_float"

<imgclass="read_challenge_float_img"src="

<pclass="read_challenge_float_text"再看<span</span章

完成挑战

<divclass="read_challenge_progress_bar"

<divclass="read_challenge_progress_bar_img"</div

</div

<imgclass="read_challenge_float_close"src="

</div

<!--阅读挑战赛成功弹窗new--

<divclass="read_challenge_suc_mask"

<divclass="read_challenge_suc_r"

<imgclass="read_ch_suc_close"src="

<pclass="read_challenge_suc_title"恭喜完成挑战

<divclass="read_challenge_sutent"

<divclass="read_challenge_suc_desc1"瓜分奖励</div

<divclass="read_challenge_suc_desc2"

<spanclass="read_challenge_suum"</span

<spanclass="read_challenge_suc_"书币</span

</div

<divclass="read_challenge_suc_desc3"已发放至您的账户</div

</div

<ahref="javascript:;"class="-apply-by-res"

<divclass="read_ch_su"再次报名</div

</a

</div

</div

<!--阅读挑战赛失败弹窗new--

<divclass="read_challenge_fail_mask"

<divclass="read_challenge_fail_r"

<divclass="read_challenge_fail"

<imgclass="read_ch_fail_close"src="

<imgclass="read_ch_fail_head"src="

<pclass="read_ch_fail_text"很遗憾!未能完成读书挑战<spanclass="-info"赶快报名下一场</span

<ahref="javascript:;"class="-apply-by-res"

<divclass="read_ch_fail_btn"再次报名</div

</a

</div

</div

</div

<!--toast提示--

<divclass="read_challeoast"

<divclass="read_challeoast_tip"</div

</div

<script

</script

<!--新春活动开启弹窗--

<divclass="spring_shadow_box"

<ahref="/index/activity/spriival"

<imgclass="shadow-tent"src="

<!--<buttonclass="btn_join_spring"立即参加</button--

<imgclass="btn_join_spring"src="

</a

<imgclass="close_sf_spring"src="

</div

<!--阅读挑战赛成功弹窗--

<divclass="shadow_tentread_sess_shadow"

<imgclass="shadow_pic"src="

<divclass="read_sess_reward"

<divclass="read_get_box"<spanclass="read_get_reward"</span书币</div

<divclass="read_get_tips"已发放至您的账户</div

</div

<imgclass="close_btn"src="

<buttonclass="sign_again_btnsess_again_btn"再次报名</button

</div

<!--阅读挑战赛失败弹窗--

<divclass="sign_failed_shadow"

<imgclass="i_rank_fail"src="

<divclass="sign_failed_tips"很遗憾!未能完成读书挑战赶快报名下一场挑战赛吧!</div

<divclass="sign_again_btn"再次报名</div

<imgclass="close_btn"src="

</div

<!--弱提示--

<divclass="toast_box"

<divclass="sf_toast"</div

</div

<divclass="ad_toasthd_toast"未获取活动资源,请稍后重试</div

<!--梦嘉转盘弹窗--

<inputtype="hidden"value="0"class="book_on"

<inputtype="hidden"value=""class="wxchatbgcell"

<inputtype="hidden"value=""data-ispay="0"class="op"

<inputtype="hidden"value=""data-ispay="0"class="op_bg"

<inputtype="hidden"value=""data-ispay="0"class="op_newuser"

<inputtype="hidden"value=""data-ispay="0"class="op_newuser_bg"

<!--<inputtype="button"value="清楚前端缓存"style="position:fixed;width:100px;height:50px;left:0;top:2rem;color:#fff;background-color:#000"onclick="localste.clear()"/--

<scripttype="text/javascript"src="?v=2.5.62"</script

<scripttype="text/javascript"src="?v=2.5.62"</script

<!--这是zepto插件--

<scripttype="text/javascript"src="

<scripttype="text/javascript"src="

<scripttype="text/javascript"src="

<!--<scripttype="text/javascript"src="

<linkhref="

<divclass="return_popup_boxhide"

<divclass="return_main"

<divclass="return_box"

<ahref="javascript:;"class="return_close_but"</a

<divclass="return_img"<aclass="url_liion-data"href="#"data-adid="0"

data-zone="返回弹窗"data-book_id=""<img

src=""/</a</div

<divclass="return_tit"<aclass="url_liion-data"href="#"data-adid="0"

data-zone="返回弹窗"data-book_id=""-</a

</div

<divclass="return_p"<aclass="url_liion-data"href="#"data-adid="0"

data-zone="返回弹窗"data-book_id=""-</a

</div

<divclass="return_but"<aclass="url_liion-data"href="#"data-adid="0"

data-zone="返回弹窗"data-book_id=""继续阅读

</a</div

</div

</div

<divclass="return_jgb"</div

</div

<scriptsrc=""</script

<!--客户消息入口拉取阅读页与首页领书币弹窗--

<!--梦嘉转盘js--

<!--新加阳光活动sz2021.3.23--

<!--一下该段代码放于yg/operationmodule/operationmodule.html中条件执行--

<!----

<!--阅读挑战赛js--

<scripttype="text/javascript"src="

<!--工具文件--

<scripttype="text/javascript"src=""</script

<scripttype="text/javascript"src=""</script

<scripttype="text/javascript"src=""</script

<script

varisbuymore='';

varmeng_jia_new_year_url='';

letd=e();

letpopkey='mj_spring'+d.getdate();

varmj_spring=$.fn.cookie(popkey)

//梦佳春节活动弹窗

if(meng_jia_new_year_url!=''){

cpslog([701,{map:{mj_new_year:1}}]);

$('.mj_sf_float').show();

$('.sf_float_gif').show();

settimeout(fun(){

$('.sf_float_gif').hide();

$('.sf_float_png').show();

},2000)

if(mj_spring!=1){

cpslog([701,{map:{mj_neop:1}}]);

$('.mj_spring_shadow').show();

$('body,html').addclass('stopscroll')

$.fn.cookie(popkey,1,{

expires:1,

path:'/',

})

}

$('.j_spring').on('click',fun(){

cpslog([701,{map:{mj_neop_close:1}}]);

$('.mj_spring_shadow').hide();

$('body,html').removeclass('stopscroll')

})

$('.mj_pop').on('click',fun(){

cpslog([702,{map:{mj_neop_jump:1}}]);

windo=meng_jia_new_year_url

})

$('.mj_float').on('click',fun(){

cpslog([702,{map:{mj_new_year_float_jump:1}}]);

windo=meng_jia_new_year_url

})

}

</script

<!--语音函数--

<scripttype="text/javascript"src="

<scripttype="text/javascript"

//读书挑战赛状态

varchampionstatus={

'status':'',

'sesskandian':'0',

'':'0',

'taskdate':'',

};

varspring=0;

varspring_shadow=$.fn.cookie('spring_shadow')

varspring_status=$.fn.cookie('spring_status'+championstatus.taskdate);

varspring_float=$.fn.cookie('spring_float')

if(spring_float==spring){

$('.sf_float').hide();

}

switch(spring){

case0:

$('.sf_float').hide();

break;

case1:

$('.sf_float_pic1').show();

$('.sf_float_close').show();

cpslog([703,{map:{fk_float_show:1,type:spring}},'fk_float_show']);

break;

case2:

$('.sf_float_pic2').show();

$('.sf_float_close').show();

cpslog([703,{map:{fk_float_show:1,type:spring}},'fk_float_show']);

break;

case3:

$('.sf_float_pic3').show();

$('.sf_float_close').show();

cpslog([703,{map:{fk_float_show:1,type:spring}},'fk_float_show']);

break;

default:

}

//浮窗点击打点

$('.sf_float').on('click',fun(){

cpslog([702,{map:{type:spring}},'fk_float_click']);

})

if(championstatus.==0){

$('.sign_again_btn').hide();

}

////返回刷新页面

//window.onpageshow=fun(event){

//sole.log('onpageshow事件')

//sole.log(event)

//if(event.persisted){

//windo()

//}

//}

if(spring0&&spring_shadow!=1&&$('.pop_fixed').css('display')=='none'){

//新春活动弹框曝光打点

cpslog([703,{map:{fk_dialog_first_show:1}},'fk_dialog_first_show']);

$('.spring_shadow_box').show();

$('body,html').addclass('stopscroll')

$.fn.cookie('spring_shadow',1,{

expires:30,

path:'/',

})

}

//新春活动开启弹框点击打点

$('.shadow-tent').on('click',fun(){

cpslog([702,{},'fk_dialog_first_click']);

})

$('.btn_join_spring').on('click',fun(){

cpslog([702,{},'fk_dialog_first_click']);

})

$('.spring_shadow_box,.close_btn,close_sf_spring').on('click',fun(){

cpslog([702,{},'sf_new_year_close']);

$('.spring_shadow_box').hide();

$('.shadow_box_bg').hide()

$('.read_sess_shadow').hide()

$('.sign_failed_shadow').hide()

$('body,html').removeclass('stopscroll')

})

$('.sf_float_close').on('click',fun(){

$('.sf_float').hide();

$.fn.cookie('spring_float',spring,{

expires:1,

path:'/',

})

cpslog([702,{},'sf_float_close_click']);

})

if(!spring_status){

//阅读挑战赛完成状态

if(championstatus.status=='sess'){

$.ajax({

url:'/api/sprikandian?taskdate='+championstatus.taskdate,

data:'',

type:'get',

sess:fun(res){

if(res.code==0){

$('.toast_box').show();

$('.sf_toast').html(res.msg);

settimeout(fun(){

$('.toast_box').hide()

},2000)

}else{

//阅读挑战赛完成弹框显示打点(完成)

cpslog([703,{map:{branch_read_plete_show:1,plete:1,get:championstatus.sesskandian}},'branch_read_plete_show'])

$('.shadow_box_bg').show()

$('.read_sess_shadow').show()

$('.read_get_reward').html(championstatus.sesskandian)

//$('.shadow_pic').attr('src',res.data.qrcode)

$('body,html').addclass('stopscroll')

$.fn.cookie('spring_status'+championstatus.taskdate,championstatus.taskdate,{

expires:1,

path:'/',

})

}

},

errro:fun(res){

sole.log(res)

}

})

}elseif(championstatus.status=='fail'){

//阅读挑战赛完成弹框显示打点(未完成)

cpslog([703,{map:{branch_read_plete_show:1,plete:2,get:0}},'branch_read_plete_show'])

$('.shadow_box_bg').show()

$('.sign_failed_shadow').show()

//$('.shadow_pic').attr('src',res.data.qrcode)

$('body,html').addclass('stopscroll')

$.fn.cookie('spring_status'+championstatus.taskdate,championstatus.taskdate,{

expires:1,

path:'/',

})

}

if(championstatus.status=='expire'){

$('.toast_box').show();

$('.sf_toast').html('奖品已过期');

$.fn.cookie('spring_status'+championstatus.taskdate,championstatus.taskdate,{

expires:1,

path:'/',

})

settimeout(fun(){

$('.toast_box').hide()

},2000)

}

}

$('.sign_again_btn').on('click',fun(){

$.ajax({

url:'/api/spring/signup',

data:'',

type:'get',

sess:fun(res){

sole.log(res)

if(res.code==0){

//阅读挑战赛完成弹框点击打点

cpslog([702,{map:{sess:2,msg:res.msg}},'branch_read_plete_click']);

$('.shadow_box_bg').hide()

$('.read_sess_shadow').hide()

$('.sign_failed_shadow').hide()

$('body,html').removeclass('stopscroll')

$('.toast_box').show();

$('.sf_toast').html(res.msg);

settimeout(fun(){

$('.toast_box').hide()

},2000)

}else{

//阅读挑战赛完成弹框点击打点

cpslog([702,{ma:{sess:1,msg:'报名成功'}},'branch_read_plete_click']);

$('.shadow_box_bg').hide()

$('.read_sess_shadow').hide()

$('.sign_failed_shadow').hide()

$('body,html').removeclass('stopscroll')

$('.toast_box').show()

$('.sf_toast').html('报名成功');

settimeout(fun(){

$('.toast_box').hide()

},2000)

}

},

error:fun(res){

}

})

})

//定义变量标记是否有弹窗正在弹出

varpopuping=0;

varissubpop=$('#hid_sub_pop').val();

if(issubpop==1){

$('.toast').show();

settimeout(fun(){

$('.toast').hide();

},2000);

}

varcs={f:"2",l:"1",b:"2",d:"1"},fread={

getquerystring:fun(a,b,c){

if(0<b.length){

vard=b.indexof(a+"=");

if(-1!=d)returnd=d+a.length+1,a=b.indexof(c,d),-1==a&&(a=b.length),unescape(b.substring(d,a))

}

return""

},solelog:fun(){

for(vara="",b=0;b<arguments.length;b++)a+=arguments[b]+"---\u2192";

sole.log(a)

},jsonparse:fun(a){

if("string"==typeofa)returnjson.parse(a);

fread.solelog("jsonparse","n");

returna

},jsify:fun(a){

if("object"==typeofa)returnjson.stringify(a);

fread.solelog("jsonparse","notobject");

returna

},settheme:fun(a){

varb=$(window).scrolltop(),c=$(".read_body").height();

a&&(ojson=a);

$("html,body").attr("class",ojson.bookbg.aaookbg[ojson.bookbg.selectval]);

ojson.booknight?$("html,body").addclass("read_theme_5"):$("html,body").removeclass("read_theme_5");

$(".m_f_input_range").val(ojson.fontsize);

$(".m_f_fespan").attr("class","m_f_fo_"+ojson.fontsize);

$(".read_body").attr("class","read_bodyread_body_fontsize_"+ojson.fontsize);

c=$(".read_body").height()/c;

$(window).scrolltop(c*b);

$(".m_f_set_bg_li").eq(ojson.bookbg.selectval).addclass("m_f_set_bg_elect").siblings(".m_f_set_bg_li").removeclass("m_f_set_bg_elect");

$.fn.cookie("tentjson",fread.jsify(ojson),{expires:30,path:"/"})

}

};

fungetchapter(){

$.ajax({

url:'/index/book/setpagecache',

data:{

book_id:'11010073404'

},

method:'post'

});

}

//签到提示:手动关闭签到提示

$('.sign-tip-close').bind('click',fun(){

$('.sign-tip').hide()

})

$(fun(){

varhid_has_sign_tip_today=$("#hid_has_sign_tip_today").val();

varhid_sign_tips_text=$("#hid_sign_tips_text").val();

//听书功能暂时关闭,需要此功能删除$('.new_listen_module').remove();

$('.new_listen_module').remove();

if(!hid_has_sign_tip_today&&hid_sign_tips_text){

//当前日期

varcurdate=e();

//当前时间戳

varcurtamp=curdate.gettime();

//当日凌晨的时间戳,减去一毫秒是为了防止后续得到的时间不会达到00:00:00的状态

varcurweehours=e(curdate.tolocaledatestring()).gettime()-1;

//当日已经过去的时间(毫秒)

varpassedtamp=curtamp-curweehours;

//当日剩余时间

varlefttamp=24*60*60*1000-passedtamp;

varlefttime=e();

lefttime.settime(lefttamp+curtamp);

$.fn.cookie('hastipsigntouser',1,lefttime);

}

//签到提示,5s后自动关闭

settimeout(fun(){

$('.sign-tip').hide()

},5000);

//检测客户端

varisios=!!(navigator.useragent.match(/\(i[^;]+;(u;)?cpu.+macosx/));//ios终端

vara=$.fn.cookie("cs");

varpleteshow=0;

a&&(1==a.l?$(".ocsspan").addclass("read_reverse_sequence").text("\u5012\u5e8f"):$(".ocsspan").removeclass("read_reverse_sequence").text("\u6b63\u5e8f"));

$(".m_f_catalog").click(fun(){

});

windoitem("isreading")||"false";

if(window.lisflag!="false"){

$.fn.cookie("lisflag",1,{expires:30/86400,path:'/'});

}

$(".menu_evocation_b,.op_menu").click(fun(){

if(window.lisflag=="false"){

$(".menu_hide").toggleclass('menu_box')

}

});

$(".read_main_p").click(fun(){

if($(".menu_hide").hasclass("menu_box")&&pleteshow==0&&$(".fans_tips_i").length0){

//uv曝光

pleteshow=1;

cpslog([702,{map:{top_menu:1}}]);

}

if($(".menu_hide").hasclass("menu_box")){

cpslog([702,{map:{chapter_menu_status:'menu_box_show'}},'chapter_menu_show']);

}

if(window.lisflag=="false"){//阅读状态

if(windo()<window.$ad_rate_menu&&_getadmaskparams(6)=='no'){

varelements=$('.ad_position_6').find('.ad-image');

localste.removeitem('still_click_position_6');

localste.setitem('still_click_position_6',json.stringify({bestill:'yes',time:e().gettime()}));

$(elements[0]).click()

}

$(".menu_hide").toggleclass('menu_box')

}else{//听书状态

if($('#loadding').css('display')=="block"){//资源加载中阻止用户点击

sole.log("加载中");

return;

}

windoaudioid?window.playingaudioid:'audio_new1';

varactiveaudio=$("#"+window.playingaudioid)[0];//正在播放或暂停的audio

sole.log($("#"+window.playingaudioid));

varispaused=activeaudio.paused;

if(ispaused){

//暂停转播放时判断用户有没有修改偏好设置

sole.log(windospeed);

sole.log(windovoicecode);

//修改了偏好设置,需要重新切换语音资源

if(windospeed||windovoicecode){

//更新最初记录的设置

windospeed;

windovoicecode;

//切换资源

vm.geset();

return;

};

activeaudio.play();

$("#audio_mask1").addclass('menu_box');

}else{

activeaudio.pause();

$("#audio_mask1").removeclass('menu_box');

}

}

});

//检测是否展示语音提示

varisshowlistentip=windoitem("isclicklisten");

if(isshowlistentip){

$('.n_tips').hide();

$('.new_listen_module').css('top','-.65rem')

}else{

$('.n_tips').show();

}

//点击语音朗读

$('.n_menu6').click(fun(){

if(window.listenwork=="0")return;

window.lisflag="true";//阅读器状态,true-语音,false-非语音

$.fn.cookie("lisflag",1,{expires:30/86400,path:'/'});

localste.setitem("isreading","true");

localste.setitem("isclicklisten","true");

//点击语音朗读打点

//cpslog([702,{map:windo},'listen_click'])

cpslog([702,{},'listen_click'])

varchapter_tent=$('.read_main_pp').map(fun(){returnthis.outerhtml}).get().join('')

$(".menu_hide").addclass('menu_box');

$("#audio_mask1").removeclass('menu_box');

jd_audio(chapter_tent,0)

})

//自动听书检测和是否展示引导页

//检测自动听书

funining_cg(){

window.onunload=fun(){

//如果不是自动播放触发的点击下一章刷新的页面就移除当前的自动播放状态.

if(!windolayflag){

windoitem('isreading','false');

//退出时间记录

windoitem('closepagetime',(e()).gettime());

}

}

//检测引导页展示状态

windo();

varisshow=windoitem("maskshowed");

if(!issho;&window.listenwork=="1"&&!isios){

//优化听书引导蒙版的展示逻辑(原来是直接写在页面上,设置style的display:none,这样写即使元素隐藏了,在其背景上设置的图片资源还是会被浏览器加载,造成流量资源浪费;现改为动态插入),减少不必要的图片资源加载

$(dot.body).append('<divid="audio_sugest"</div');

windoitem("maskshowed","true");

}

if(isios&&window.listenwork=="1"){

$('.new_listen_module').remove();

$('.yle').parent().css({'width':'25%',"margin":"0","float":"left"});

$('.last-r').css({'width':'30%',"float":"left"});

$('.b_btn_menu5').css("width","90%");

}

if(windo_btn_menu5').css("width","100%");}

//点击语音引导蒙版,隐藏

$('#audio_sugest').click(fun(){

$('#audio_sugest').hide()

})

if(listenwork=="0"){

windoitem('isreading','false');

return;

}

varisreading=windoitem('isreading')

//关闭网页超过半小时就清除自动读书状态

varclosepagetime=windoitem('closepagetime');

varshoudplay=false;

if(closepagetime){

closepagetime-=0;

shoudplay=(((e()).gettime())-closepagetime)1000*60*30?false:true;

sole.log(shoudplay);

}

sole.log("shoudplay:"+shoudplay);

//在自动阅读有效期内自动播放

if(shoudplay){

sole.log("isreading:"+isreading);

if(isreading=='true'){

//语音朗读过程中加入听书标志

/*windo_listen=1;

cpslog([701,{}]);

deletewindo_listen;*/

cpslog([702,{},'book_listening']);

varchapter_tent=$('.read_main_pp').map(fun(){returnthis.outerhtml}).get().join('')

varreadstarttime=windoitem('starttime')

windoitem("??",readstarttime);

//获取自动阅读的开始时间毫秒

if(!readstarttime){readstarttime=0}

//自动播放

jd_audio(chapter_tearttime)

}

}else{

window.lisflag="false";

$.fn.cookie("lisflag",1,{expires:30/86400,path:'/'});

localste.setitem("isreading",'false')

}

};

ining_cg();

//class="turn_i"该dom(小程序常驻入口)在白天或者黑夜模式下的ui

window.turn=fun(bol){

if(bol){

$(".turn_bg").addclass("turn_bg_night");

$(".gkc_bg").addclass("gkc_bg_night");

$(".free_book_text").addclass("free_book_text_night");

$(".gkc_book_text").addclass("gkc_book_text_night");

}else{

$(".turn_bg").removeclass("turn_bg_night");

$(".gkc_bg").removeclass("gkc_bg_night");

$(".free_book_text").removeclass("free_book_text_night");

$(".gkc_book_text").removeclass("gkc_book_text_night");

}

}

$(".m_f_set").click(fun(){

$(".m_f_set_box").toggleclass("me_show")

});

$(".menu_font.m_f_set_bg_li").click(fun(){

$(this).addclass('cur').siblings().removeclass('cur');

varb=$(this),a=$.fn.cookie("cs"),d=b.index();

a=a?fread.jsonparse(a):cs;

a.f=d;

cpslog([702,{map:{chapter_menu_status:'font_size'+d}},'chapter_menu_show']);

$(".read_body").attr("class","read_bodyread_body_fontsize_"+d);

b.addclass("m_f_set_bg_elect").siblings(".m_f_set_bg_li").removeclass("m_f_set_bg_elect");

$.fn.cookie("cs",fread.jsify(a),{expires:30,path:"/"})

});

$(".bg_enu.m_f_set_bg_li").click(fun(){

$(this).addclass('cur').siblings().removeclass('curcur2');

vara=$(this),c=$.fn.cookie("cs"),d=a.index();

c=c?fread.jsonparse(c):cs;

c.b=d;

c.d=1;

$("html,body").attr("class","read_theme_"+d);

turn(d==5);

cpslog([702,{map:{chapter_menu_status:'color_size'+d}},'chapter_menu_show']);

a.addclass("m_f_set_bg_elect").siblings(".m_f_set_bg_li").removeclass("m_f_set_bg_elect");

$.fn.cookie("cs",fread.jsify(c),{expires:30,path:"/"})

});

$(".m_f_night_day").click(fun(){

$(this).parent().addclass('cur2').siblings().removeclass('cur');

vara=$.fn.cookie("cs");

a=a?fread.jsonparse(a):cs;

1==a.d?($("html,body").addclass("read_theme_5"),a.d=2):($("html,body").removeclass("read_theme_5"),a.d=1);

turn(1!=a.d);

$.fn.cookie("cs",fread.jsify(a),{expires:30,path:"/"})

});

$(".read_catalog_boxi").click(fun(){

$(".read_catalog_box").removeclass("read_catalog_show")

});

$(".reminder_boxa").click(fun(){

$("#fiexd_ewm_box").show()

});

$(dot).on("click",

".gzewm",fun(a){

if(2!=$.fn.cookie("tiao"))return$("#fiexd_ewm_box").show(),a.station(),$.fn.cookie("tiao",2,{

expires:1,

path:"/"

}),!1

});

$(".f_main_cloes,.f_main_over,.f_main_cloes_2").click(fun(){

$(".fiexd_ewm_box").hide()

});

$(dot).on("click",&qu_list_edita",fun(a){

a.station();

return!1

});

$(".pop_times_btn").click(fun(){

$.fn.cookie('pop_times','1',{expires:1,path:'/'});

$('.pop_fixed').show();

popuping=1;

getchapter();

});

$(".pop_times").click(fun(){

$.fn.cookie('pop_times','1',{expires:1,path:'/'});

});

//福利专区打点

$(dot).on("click",".adver-log",fun(){

cpslog([702,{},'click_from_chapter_welfare_area']);

})

//书城首页打点

$(dot).on("click",".home-log",fun(){

cpslog([702,{},'click_from_chapter_book_home']);

})

//分类打点

$(dot).on("click",".menu_top_but_2a",fun(){

varhreftext=$(this).attr('href');

if(hreftext.indexof('/index/category')!=-1){

cpslog([702,{},'click_from_chapter_category']);

}

})

});

cmap={

book_id:'11010073404',

chapter_id:'481955469',

chapter_idx:'115',

sid:'',

need_pay:'1',

daofen:'1',

pay_type:'1',//付费类型

chapter_paid:'1',//章节是否付费

is_vip:'1',//章节是否付费

is_dd:'0',//特殊章节

};

if(windo){

windo(cmap,windo);

}else{

windo=cmap;

}

$('.b_btn_menu5').click(fun(){

if($(this).hasclass('added')){

return;

}

cpslog([702,{map:{chapter_menu_status:'i_book_shelf'}},'chapter_menu_show']);

$.ajax({

type:'post',

url:'/api/bookshelf/i',

data:{

book_id:'11010073404',

chapter_id:'481955469',

idx:'115',

},

sess:fun(result){

if(result.code==1){

ain('加入书架成功!');

$('.b_btn_menu5').text('已加入书架');

$('.b_btn_menu5').addclass('added');

}else{

ain('加入书架失败!');

}

},

error:fun(){

ain('加入书架失败!');

}

})

});

$(".pop_btn,.pop_close").click(fun(){

$('.pop_fixed').hide();

//弹窗关注时关闭听书

window.settimeout(fun(){

if(window.vm){

vm.quitaudio_new()

}

},1000)

});

varshowsubscribetips='0';

varsubscribe_method='1';

varfrom_read='0';

if(showsubscribetips==1){

if(subscribe_method==2){

if(from_read==0){

var_url=$(".pop_timesa").attr('href');

$(".pop_times_btn").attr("href",_url);

$(".pop_times_btn").removeclass("pop_times_btn");

$(".pop_timesa").attr('href','javascript:;');

}

$.fn.cookie('pop_times','1',{expires:1,path:'/'});

}else{

//直接弹出关注二维码

$(".pop_fixed").show();

popuping=1;

}

}

//秘书弹窗

varmi_1_num_val=parseint($.fn.cookie('mi_1_num'))||0;

$(".mi_tips_box.btn_close_2").click(fun(){

mi_1_num_val++

$.fn.cookie('mi_1_num',mi_1_num_val,{expires:3650,path:'/'});

$('.mi_tips_box').remove();

});

$(".fans_box.btn_close_3").click(fun(){

$('.fans_box').hide();

cpslog([703,{export_fans_id:''},'export_fans_close']);

});

$('.read_reend_start_read').click(fun(){

cpslog([702,{"book_id":$('.read_reend_start_read').attr('data-book_id')},'chapter_end_click']);

});

//从这里至标签结束,为所谓sell条相关逻辑

varsell_val=parseint($.fn.cookie('sell_val'))||0;

//关闭弹框

$('.close_rpi').click(fun(){

sell_val+=1;

$('.read_pop_i').remove();

$.fn.cookie('sell_val',sell_val,{expires:1/96,path:'/'});

});

//次数

if(sell_val=2){

$('.read_pop_i').remove();

}

//以下代码为阅读页众多弹窗中的一个,至于是哪一个,问问正在维护的那个人吧

//阅读页弹窗

$('.rpi_img').click(fun(){

$('.read_pop_hd_box').show();

popuping=1;

cpslog([702,{},'image_click']);

})

$('.rphb_img').click(fun(){

$('.read_pop_hd_box').show();

popuping=1;

cpslog([702,{},'pop_image_click']);

});

$('.close_i').click(fun(){

$('#read_reend').hide();

varkey='';

varvalue=$.fn.cookie('chapter_end-11010073404');

if(value){

value=value.t().split('.');

if(value.indexof(key)==-1){

value.push(key);

}

value=value.join('.');

}else{

value=key;

}

$.fn.cookie('chapter_end-11010073404',value,{path:'/'});

cpslog([702,{},'chapter_end_close']);

});

//上面1254行附近已有此事件绑定,不知前人因何再次绑定,望后人以此为鉴,有则改之无则加勉

$('.close_rpi').click(fun(){

$('.read_pop_i').hide();

})

$('.close_rphb').click(fun(){

$('.read_pop_hd_box').hide();

});

</script

<scripttype="text/javascript"src="?v=2.5.62"</script

<!--多条广告如下脚本只需引入一次--

<script

if(sensors_switch){

varexp_start=e();

varis_first_time_read=false;

varsource_position="cps";

varchapter_num=115;

varchapter_id="481955469";

varchapter_name="";

varchapter_pay_type="章";

varchapter_s=35;

varupdate_time30六十八3723000;

varbook_id="11010073404";

varbook_name="陆总,傻妻不傻";

varfirst_type="女频";

varsed_type="现代言情";

varpay_type="收费";

varauthor="三月";

varbook_finish_status="完本";

varmax_chapter=1271;

}

</script

<script

/**region浮窗弹窗**/

varisfloattips=0;//渠道是否开启了浮窗提醒插屏

varcookie_user_id=$.fn.cookie('user_id');

varexp=e();

exp.settime(exp.gettime()+(24+8)*60*60*1000);//东八区偏移8小时

varcur_date=exp.getfullyear()+''+(exp.getmonth()+1)+''+exp.getdate();//当前日期

vartoday_read_chapter_num_key='t_read_chapter_num_'+cur_date+'_'+cookie_user_id;

varfloat_tip_key='flot_tip_'+cur_date+'_'+cookie_user_id;

varhasfloatpop=number($.fn.cookie(float_tip_key));//有没有提示过浮窗

if(isfloattips){

if(!popuping){

//当前没有其他弹窗

/**记录用户今日阅读章节数**/

vartodayreadchapternum=number($.fn.cookie(today_read_chapter_num_key));

if(!hasfloatpop&&todayreadchapternum){

$('.pop-box').show();

$.fn.cookie(float_tip_key,1,{expires:exp});

}

$('.pop-box-close').click(fun(){

$('.pop-box').hide();

});

$.fn.cookie(today_read_chapter_num_key,todayreadchapternum+1,{expires:exp});

}

}

</script

<script

if($('.float-bottom').attr('is-show')){

cpslog([701,{map:{welfare_bottom:1}}]);

}

//阅读任务悬浮层相关

$('.float-bottom').bind('click',fun(){

cpslog([701,{map:{welfare_window:1}}]);

if(this.getattribute('bt')=='可领取'){

cpslog([702,{map:{welfare_status:'welfare_get_btn_click'}},'welfare_chapter']);

}else{

cpslog([702,{map:{welfare_status:'welfare_first_btn_click'}},'welfare_chapter']);

}

$('.dialog-read').show()

})

$('.dialog-panel-close').bind('click',fun(){

$('.dialog').hide()

})

varseds=3

varinterval=setinterval(fun(){

seds-=1

if(seds<1){

clearinterval(interval)

$('.float-bottom').hide()

}else{

$('.float-bottom-time').text(seds+'s')

}

},1000)

$('.read-task.go-read').each(fun(){

$(this).click(fun(){

cpslog([702,{map:{welfare_status:'welfare_go_read_click'}},'welfare_chapter']);

$('.dialog').hide()

});

});

//阅读任务领取奖励

$('.read-task.enable').each(fun(){

$(this).click(fun(){

varitem=$(this);

varquerystring=item.attr('query-string');

varstage=parseint(querystring.match(/stage=(.*)&/)[1]);

if(stage==1){

cpslog([702,{map:{welfare_status:'welfare_get_read_one_click'}},'welfare_chapter']);

}elseif(stage==2){

cpslog([702,{map:{welfare_status:'welfare_get_read_two_click'}},'welfare_chapter']);

}elseif(stage==3){

cpslog([702,{map:{welfare_status:'welfare_get_read_three_click'}},'welfare_chapter']);

}

$.get('/api/welfare/taskreward'+querystring+'&timestamp='+loadtime,{},fun(result){

if(result.code==1){

item.removeclass('enable');

item.addclass('disable');

item.text('已领取');

varrewardtimes=parseint($('#read-reward-times').text());

$('#read-reward-times').text(rewardtimes+1)

}else{

//暂时先去掉,后期优化

//alert(result.msg);

}

});

});

});

varloadtime=(date.parse(e())/1000);

$(fun(){

if(1){

//神策-自采集属性

varstart=e();

sensors.quick('autotrack',{

book_id:string(11010073404),

chapter_id:string(481955469)

})

//神策-readchapterstart(开始章节阅读)

//is_first_time_read 是否首次阅读

//source_position 来源位置

//read_type 阅读类型

//chapter_num 章节数

//chapter_id 章节id

//chapter_name 章节名称

//chapter_pay_type 章节付费类型

//chapter_s 阅读章节所需书币

//update_time 更新时间

//book_id 书籍id

//book_name 书籍名称

//first_type 一级类别

//sed_type 二级类别

//pay_type 付费类型

//author 作者名称

//book_finish_status 书籍完本状态

//max_chapter 小说最大章节数

varbook_read_type="文字阅读";

if(window.lisflag=="true"){

book_read_type="语音阅读";

}

sensors.track('readchapterstart',{

'is_first_time_read':false,

'source_position':"cps",

'read_type':book_read_type,

'chapter_num':115,

'chapter_id':"481955469",

'chapter_name':"",

'chapter_pay_type':"章",

'chapter_s':35,

'update_time'30六十八3723000,

'book_id':"11010073404",

'book_name':"陆总,傻妻不傻",

'first_type':"女频",

'sed_type':"现代言情",

'pay_type':"收费",

'author':"三月",

'book_finish_status':"完本",

'max_chapter':1271});

$(window).scroll(fun(){

varee();

varscrolltop=$(this).scrolltop();

varscrollheight=$(dot).height();

varwindowheight=$(this).height();

if(scrolltop+windowheight==scrollheight){

//神策-readchapterend(结束章节阅读)

//is_finish是否看完章节bool切换或者退出时,如果已经在最后一页则代表看完了,否则为未看完

//duration阅读时长数值本次阅读时长

//is_first_time_read是否首次阅读bool是否首次阅读该小说

//source_position来源位置字符串阅读来源位置:书架,运营位,推广链接…

//read_type阅读类型字符串文字阅读,语音阅读

//chapter_num章节数数值

//chapter_id章节id字符串当前章节

//chapter_name章节名称字符串

//chapter_pay_type章节付费类型字符串免费,付费,按本付费

//chapter_s阅读章节所需书币数值

//update_time更新时间数值

//book_id书籍id字符串

//book_name书籍名称字符串

//first_type一级类别字符串

//sed_type二级类别字符串

//pay_type付费类型字符串付费,限免,免费

//author作者名称字符串

//book_finish_status书籍完本状态字符串完本,连载更新

//max_chapter小说最大章节数数值小说当前一共有多少章

varduration=(eime()-start.gettime())/1000;

sensors.track('readchapterend',{

'is_finish':true,

'duration':duration,

'is_first_time_read':false,

'source_position':"cps",

'read_type':book_read_type,

'chapter_num':115,

'chapter_id':"481955469",

'chapter_name':"",

'chapter_pay_type':"章",

'chapter_s':35,

'update_time'30六十八3723000,

'book_id':"11010073404",

'book_name':"陆总,傻妻不傻",

'first_type':"女频",

'sed_type':"现代言情",

'pay_type':"收费",

'author':"三月",

'book_finish_status':"完本",

'max_chapter':1271});

//readbookplete阅读小说完成

//book_id书籍id字符串

//book_name书籍名称字符串

//first_type一级类别字符串

//sed_type二级类别字符串

//pay_type付费类型字符串付费,限免,免费

//author作者名称字符串

//book_finish_status书籍完本状态字符串完本,连载更新

//max_chapter小说最大章节数数值小说当前一共有多少章

if(115==1271){

sensors.track('readbookplete',{

'book_id':"11010073404",

'book_name':"陆总,傻妻不傻",

'first_type':"女频",

'sed_type':"现代言情",

'pay_type':"收费",

'author':"三月",

'book_finish_status':"完本",

'max_chapter':1271});

}

}

});

}

})

</script

<script

vararrpaymore=[",",","]

varispayedman=$('.op').data('ispay')

varwxchatbgcell=$('.wxchatbgcell').val();

varworkwechaturl=$('.op').val()

varworkwechaturlbg=$('.op_bg').val()

varworkweewuserurl=$('.op_newuser').val();

varworkweewuserurlbg=$('.op_newuser_bg').val();

varindex=math.floor((math.random()*arrpaymore.length));

varuser_id=$.fn.cookie('user_id');

sole.log(arrpaymore[index]);

varlatingtime=15*60*1000;

if(isbuymore==true){//充值加购

$('.ad_welfare_bannerimg').attr('src',arrpaymore[index]);

$('.ad_welfareclick').remove();

varlastclosetime=localste.getitem('paymore_bottom_banner')||0;

if($('.ad_welfare_banner').css('display')=='none'&&e().gettime()-lastclosetime=latingtime){

$('.ad_welfare_banner').show();

cpslog([701,{map:{ad_welfare_banner:arrpaymore[index]}}]);

vartimebanner1=settimeout(fun(){

$('.ad_welfare_banner').hide();

localste.setitem('paymore_bottom_banner',e().gettime());

b_timeshow()

},5000)

}else{

vartimebanner2=settimeout(fun(){

$('.ad_welfare_banner').show();

cpslog([701,{map:{ad_welfare_banner:arrpaymore[index]}}]);

settimeout(fun(){

$('.ad_welfare_banner').hide();

localste.setitem('paymore_bottom_banner',e().gettime());

b_timeshow()

},5000)

},latingtime-(e().gettime()-lastclosetime))

}

//跳转支付页

$('.ad_welfare_banner').on('click',fun(){

cpslog([702,{map:{ad_welfare_banner_click:arrpaymore[index]}},'ad_welfare_banner_click']);

windo='/index/recharge/pay?from=wechat&user_id='+user_id+'&froms=chapter';

})

}elseif(workwechaturl){//注册大于30天,企业微信弹框

varshowtime=$.fn.cookie('showtime')||0;

if(typeof(showtime)=='string'){

showtime=parseint(showtime);

}

vardayee(e().tolocaledatestring()).gettime()+24*60*60*1000-1;

$('.footer-margin').css('height','.38rem');

//微信导流cell弹窗

if(ispayedman){

$('.ad_welfare_bannerimg').attr('src',wxchatbgcell);

$('.ad_welfare_banner').on('click',fun(){

cpslog([702,{map:{work_wechat_click:ispayedman,wxchatbgcell:wxchatbgcell,workwechaturlbg:workwechaturlbg}},'work_wechat_click']);

dotsellclick();

windo='/index/recharge/pay?from=wechat&user_id='+user_id+'&froms=chapter';

})

}else{

$('.ad_welfare_bannerimg').attr('src',wxchatbgcell);

$('.ad_welfare_banner').on('click',fun(){

$('.shadow_box_bg').show();

$('.js_work_pop').show();

$('.img_code').attr('src',workwechaturl);

$('.wxdl_bg').attr('src',workwechaturlbg)

$('body,html').addclass('stopscroll');

dotsellclick();

cpslog([702,{map:{work_wechat_click:ispayedman,wxchatbgcell:wxchatbgcell,workwechaturlbg:workwechaturlbg}},'work_wechat_click']);

});

//二维码长按打点

$('.img_code').on({

touchstart:fun(e){

cleartimeout(this.loop);

this.loop=settimeout(fun(){

cpslog([703,{map:{workwechaturlbg:workwechaturlbg}},'work_qr_code_long_press_chapter']);

}.bind(this),500);

},

toud:fun(e){

cleartimeout(this.loop);//清空定时器,防止重复注册定时器

}

}

);

}

$('.ad_welfareclick').remove();

varlastclosetime=$.fn.cookie('last_close_time')||0;

if(typeof(lastclosetime)=='string'){

lastclosetime=parseint(lastclosetime);

}

if(showtime<2){

if($('.ad_welfare_banner').css('display')=='none'&&e().gettime()-lastclosetime=latingtime){

$('.ad_welfare_banner').show();

cpslog([703,{map:{work_wechat_banner:ispayedman,wxchatbgcell:wxchatbgcell}}]);

showtime+=1;

$.fn.cookie('showtime',showtime,{expires:(dayee().gettime())/86400000});

$.fn.cookie('last_close_time',parseint((e().gettime())/1000),{expires:(dayee().gettime())/86400000});

localste.setitem('paymore_bottom_banner',e().gettime());

vartimebanner1=settimeout(fun(){

$('.ad_welfare_banner').hide();

cpslog([702,{map:{t:1}},'work_wechat_sell_auto_close']);

b_timeshow()

},10000);

}

}

$('.js_work_wechat_close').click(fun(){

$('.shadow_box_bg').hide();

$('.js_work_pop').hide();

$('body,html').removeclass('stopscroll')

cpslog([702,{map:{work_wechat_click:ispayedman}},'work_wechat_dialog_close']);

});

}elseif(workweewuserurl){//注册时间小于48小时的企业微信弹框

varshowtime=$.fn.cookie('showtime')||0;

if(typeof(showtime)=='string'){

showtime=parseint(showtime);

}

vardayee(e().tolocaledatestring()).gettime()+24*60*60*1000-1;

$('.footer-margin').css('height','.38rem');

$('.ad_welfare_bannerimg').attr('src',");

$('.ad_welfare_banner').on('click',fun(){

$('.shadow_box_bg').show();

$('.js_work_pop_newuser').show();

$('.img_code').attr('src',workweewuserurl);

$('.wxdl_bg').attr('src',workweewuserurlbg)

$('body,html').addclass('stopscroll');

$.post('/index/book/worknewuserdotclick');

cpslog([702,{map:{work_wechat_click:ispayedman}},'work_wechat_click']);

});

//二维码长按打点

$('.js_img_code_newuser').on({

touchstart:fun(e){

cleartimeout(this.loop);

this.loop=settimeout(fun(){

cpslog([703,{},'work_qr_code_long_press_chapter_newuser']);

}.bind(this),500);

},

toud:fun(e){

cleartimeout(this.loop);//清空定时器,防止重复注册定时器

}

}

);

$('.ad_welfareclick').remove();

varlastclosetime=$.fn.cookie('last_close_time')||0;

if(typeof(lastclosetime)=='string'){

lastclosetime=parseint(lastclosetime);

}

if(showtime<2){

if($('.ad_welfare_banner').css('display')=='none'&&e().gettime()-lastclosetime=latingtime){

$('.ad_welfare_banner').show();

cpslog([701,{map:{work_wechat_banner:ispayedman}}]);

showtime+=1;

$.fn.cookie('showtime',showtime,{expires:(dayee().gettime())/86400000});

$.fn.cookie('last_close_time',parseint((e().gettime())/1000),{

expires:(dayee().gettime())/86400000});

localste.setitem('paymore_bottom_banner',e().gettime());

vartimebanner1=settimeout(fun(){

$('.ad_welfare_banner').hide();

cpslog([702,{map:{t:1}},'work_wechat_sell_newuser_auto_close']);

b_timeshow()

},10000);

}

}

$('.js_work_wechat_close').click(fun(){

$('.shadow_box_bg').hide();

$('.shadow_box').hide();

$('.js_work_pop_newuser').hide();

$('body,html').removeclass('stopscroll')

cpslog([702,{map:{work_wechat_click:ispayedman}},'work_wechat_newuser_dialog_close']);

});

}

fundotsellclick(){

$.post('/index/book/workdotclick');

}

funb_timeshow(){

settimeout(fun(){

varlastclosetime=localste.getitem('paymore_bottom_banner')||0;

if($('.ad_welfare_banner').css('display')=='none'&&e().gettime()-lastclosetime=latingtime){

$('.ad_welfare_bannerimg').attr('src',arrpaymore[index]);

$('.ad_welfare_banner').show();

settimeout(fun(){

$('.ad_welfare_banner').hide();

showtime+=1

$.fn.cookie('showtime',showtime,{expires:(dayee().gettime())/86400000});

localste.setitem('paymore_bottom_banner',e().gettime());

b_timeshow()

},10000)

}

},latingtime)

}

</script

<scriptsrc="?v=2.5.62"</script

<scriptsrc=""</script

<script

$(fun(){

vardayee(e().tolocaledatestring()).gettime()+24*60*60*1000-1;

vargkc_globe=$.fn.cookie('gkc_globe')||'';

if(!gkc_globe){

$('.gkc_globe').show();

cpslog([703,{},'show_gkc_globe']);

$.fn.cookie('gkc_globe',1,{path:'/',expires:(e(dayend))});

}else{

$('.gkc_globe').hide();

}

$('.gkc_close').click(fun(){

$('.gkc_mask').hide();

$('.gkc_globe').hide();

})

$('.gkc_globe,.gkc_i').click(fun(){

$('.gkc_mask').show();

varel_class=$(this).hasclass('gkc_i')?'click_gkc_box':'click_gkc_globe';

cpslog([702,{},el_class]);

cpslog([703,{},'show_gkc_mask']);

})

$('.gkc_copy_btn').click(fun(event){

vartextcopied=clipboardjs.copy('8');

wx.closewindow();

cpslog([702,{},'click_gkc_copy_btn']);

})

cpslog([703,{},'show_gkc_box']);

})

</script

<divclass="allopblank"</div

<divclass="shadow_bg"</div

<divclass="windowshow"

<divclass="w_showbox"

<imgclass="w_close"src="

<aclass="window_href"href=""

<imgclass="w_img"src=""alt=""

</a

<wx-open-launch-

id="launch-w-btn"

username=""

path=""

style="display:block;width:100%;height:3.33rem;position:absolute;bottom:0;z-index:1000;"

<template

<style.btn{width:100%;height:100%;border:none;background:none;position:absolute;bottom:0;left:0;}</style

<buttonclass="btn"</button

</template

</wx-open-launch-

</div

</div

<divclass="cellshow"

<imgclass="c_close"src="

<aclass="c_href"href=""

<imgclass="c_img"src=""alt=""

</a

<wx-open-launch-

id="launch-"

username=""

path=""

style="display:block;width:100%;height:100%;position:absolute;bottom:0;z-index:1000;"

<template

<style.btn{width:100%;height:100%;position:absolute;bottom:0;left:0;background:none;border:none;}</style

<buttonclass="btn"</button

</template

</wx-open-launch-

</div

<divclass="floatshow"

<imgclass="f_close"src="

<aclass="float_href"

<imgclass="f_img"src=""alt=""data-aid=""

</a

<wx-open-launch-

id="launch-f-btn"

username=""

path=""

style="display:block;width:100%;height:100%;position:absolute;bottom:-35px;z-index:1000;"

<template

<style.btn{width:100%;height:100%;position:absolute;bottom:0;left:0;background:none;border:none;}</style

<buttonclass="btn"</button

</template

</wx-open-launch-

</div

<divclass="page_op"style="display:none;"1</div

<scriptsrc="//res.wx.qq./open/js/jweixin.0.js"</script

<!--<scriptsrc="

<script

$(fun(){

//阅读页悬浮球互斥

vardisblockval=$('.gkc_globe').length0&&$('.gkc_globe').css('display')!='none';

if(disblockval){return}

varpage=$('.page_op').html();

varpoptype=$('#poptype').data('poptype');

vardisplay=$('.pop_fixed').css('display');

vardayee(e().tolocaledatestring()).gettime()+24*60*60*1000-1;

varactivity_third_id='';

varposition='';

varchapter_ad_show=$.fn.cookie('chapter_ad_show')||0;

varret_ad_show=$.fn.cookie('ret_ad_show')||0;

varuser_ad_show=$.fn.cookie('user_ad_show')||0;

if(page==1){

chapter_ad_show++

$.fn.cookie('chapter_ad_show',chapter_ad_show,{path:'/',expires:(dayee().gettime())/86400000})

}elseif(page==2){

ret_ad_show++

$.fn.cookie('ret_ad_show',ret_ad_show,{path:'/',expires:(dayee().gettime())/86400000})

}elseif(page==3){

user_ad_show++

$.fn.cookie('user_ad_show',user_ad_show,{path:'/',expires:(dayee().gettime())/86400000})

}

switch(page){

//页面路径

case1:

position=1;

break;

case2:

position=2;

break;

}

if(page==1&&display=='block'){

sole.log('阅读页强制弹窗')

}else{

$.ajax({

type:'post',

url:'/api/manage/fig',

timeout:10000,

cache:false,

datatype:'json',

data:{

page:page,

path:dot.location.pathname,

poptype:poptype

},

sess:fun(data){

if(data.data.popup.length0){

$('body').append(data.data.popup);

}else{

//弹窗展示

for(varj=0;j<data.data.manage.length;j++){

//sole.log(data.data[i])

leti=j;

switch(data.data.manage[i].type){

//弹窗

case1:

$('.shadow_bg').show();

$('body').addclass('stopscroll');

$('.windowshow').show();

$('.window_href').attr('href',data.data.manage[i].data.redirect_link);

$('.w_img').attr('src',data.data.manage[i].data.i);

if(!data.data.manage[i].data.redirect_link){

$('.window_href').attr("href","javascript:;");

}

if(data.data.manage[i].data.mini_program){

$('#launch-w-btn').show();

$('.window_href').removeattr("href");

wx.fig({

debug:false,//开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。

appid:data.data.manage[i].data.mini_program.appid,//必填,公众号的唯一标识

timestamp:data.data.manage[i].data.mini_program.timestamp,//必填,生成签名的时间戳

r:data.data.manage[i].data.mini_program.r,//必填,生成签名的随机串

signature:data.data.manage[i].data.mini_program.signature,//必填,签名

jsapilist:['onmenusharetimeline','onmenushareappmessage','onmenushareqq','onmenushareqzone'],//必填,需要使用的js接口列表

opentaglist:["wx-open-launch-"]

});

$('#launch-w-btn').attr('username',data.data.manage[i].data.mini_program.id);

$('#launch-w-btn').attr('path',data.data.manage[i].data.mini_program.link);

}else{

$('#launch-w-btn').hide();

}

varactivity_id_w=data.data.manage[i].data.feature_id;

vario_w=data.data.manage[i].data.io;

varimg_entry_b=data.data.manage[i].data.i;

varclick_kind=data.data.manage[i].data.redirect_type;

varclick_ki=data.data.manage[i].data.report;

varresource_id_b=data.data.manage[i].data.resource_id;

varmanage_fig_feature_id_b=data.data.manage[i].data.manage_fig_feature_id;

vara_id_b=typeofdata.data.manage[i].data.activity_data.id=='undefined'?

0:data.data.manage[i].data.activity_data.id;

vara_pid_b=typeofdata.data.manage[i].data.activity_data.pid=='undefined'?

0:data.data.manage[i].data.activity_data.pid;

vara_extend_type_b=typeofdata.data.manage[i].data.activity_data.extend_type=='undefined'?

0:data.data.manage[i].data.activity_data.extend_type;

//兼容之前互动广告/小程序曝光打点

if(data.data.manage[i].data.redirect_type==2){

if(page==1){

cpslog([703,{map:{miry:img_entry_b}},'miry_read']);

}elseif(page==2){

cpslog([703,{map:{miry:img_entry_b}},'miry2_ret']);

}

}elseif(data.data.manage[i].data.redirect_type==3){

if(page==1){

cpslog([703,{map:{ad_entry:img_entry_b}},'ad_entry_read']);

}elseif(page==2){

cpslog([703,{map:{ad_entry:img_entry_b}},'ad_entry2_ret']);

}

}

//打点

cpslog([703,{map:{window_show:page,activity_id:activity_id_w,resource_id:resource_id_b,

io:io_w,a_id:a_id_b,a_pid:a_pid_b,a_extend_type:a_extend_type_b}},'window_show']);

$('.windowshowa').on('click',fun(){

//兼容之前互动广告/小程序曝光打点

if(data.data.manage[i].data.redirect_type==2){

if(page==1){

cpslog([702,{map:{miry_click:img_entry_b}},'miry_click2_read']);

}elseif(page==2){

cpslog([702,{map:{miry_click:img_entry_b}},'miry_click2_ret']);

}

}elseif(data.data.manage[i].data.redirect_type==3){

if(page==1){

cpslog([702,{map:{ad_entry_click:img_entry_b}},'ad_entry_click2_read']);

}elseif(page==2){

cpslog([702,{map:{ad_entry_click:img_entry_b}},'ad_entry_click2_ret']);

}

}

cpslog([702,{map:{window_show:page,activity_id:activity_id_w,resource_id:resource_id_b,

io:io_w,a_id:a_id_b,a_pid:a_pid_b,a_extend_type:a_extend_type_b}},'window_show_click']);

if(data.data.manage[i].data.report==1){

$.ajax({

url:'/api/manage/joinlta',

type:"post",

data:{

resource_id:resource_id_b,

manage_fig_feature_id:manage_fig_feature_id_b

},

sess:fun(data){

sole.log(data);

}

});

}

})

break;

//浮窗挂件

case2:

$('.float_href').attr('href','javascript:;');

$('.floatshow').show();

$('.f_close').show();

$('.float_href').attr('href',data.data.manage[i].data.redirect_link);

$('.f_img').attr('src',data.data.manage[i].data.i);

if(!data.data.manage[i].data.redirect_link){

$('.float_href').attr("href","javascript:;");

}

ready_into(data)//读书挑战赛入口判断函数

//判断是否开启王海所接入的运营位

//if(data.data.manage[i].data.show_type==3){

//$('.f_close').show();

//}

//if(data.data.manage[i].data.show_type==4){

//settimeout(fun(){

//$('.floatshow').hide();

//},6000)

//}

if(data.data.manage[i].data.mini_program){

$('#launch-f-btn').show();

$('.float_href').removeattr("href");

wx.fig({

debug:false,//开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。

appid:data.data.manage[i].data.mini_program.appid,//必填,公众号的唯一标识

timestamp:data.data.manage[i].data.mini_program.timestamp,//必填,生成签名的时间戳

r:data.data.manage[i].data.mini_program.r,//必填,生成签名的随机串

signature:data.data.manage[i].data.mini_program.signature,//必填,签名

jsapilist:['onmenusharetimeline','onmenushareappmessage','onmenushareqq','onmenushareqzone'],//必填,需要使用的js接口列表

opentaglist:["wx-open-launch-"]

});

$('#launch-f-btn').attr('username',data.data.manage[i].data.mini_program.id);

$('#launch-f-btn').attr('path',data.data.manage[i].data.mini_program.link);

}else{

$('#launch-f-btn').hide();

}

varactivity_id_f=data.data.manage[i].data.feature_id;

vario_f=data.data.manage[i].data.io;

varclick_kind=data.data.manage[i].data.redirect_type;

varclick_ki=data.data.manage[i].data.report;

varimg_entry_f=data.data.manage[i].data.i;

varresource_id_f=data.data.manage[i].data.resource_id;

varmanage_fig_feature_id_f=data.data.manage[i].data.manage_fig_feature_id;

varredirect_link=data.data.manage[i].data.redirect_link;

vara_id_f=typeofdata.data.manage[i].data.activity_data.id=='undefined'?

0:data.data.manage[i].data.activity_data.id;

vara_pid_f=typeofdata.data.manage[i].data.activity_data.pid=='undefined'?

0:data.data.manage[i].data.activity_data.pid;

vara_extend_type_f=typeofdata.data.manage[i].data.activity_data.extend_type=='undefined'?

0:data.data.manage[i].data.activity_data.extend_type;

//兼容之前互动广告/小程序曝光打点

if(data.data.manage[i].data.redirect_type==2){

if(page==1){

cpslog([703,{map:{miry:img_entry_f}},'miry_read']);

}elseif(page==2){

cpslog([703,{map:{miry:img_entry_f}},'miry2_ret']);

}

}elseif(data.data.manage[i].data.redirect_type==3){

if(page==1){

cpslog([703,{map:{ad_entry:img_entry_f}},'ad_entry_read']);

}elseif(page==2){

cpslog([703,{map:{ad_entry:img_entry_f}},'ad_entry2_ret']);

}

}

varfeature_id_f=data.data.manage[i].data.feature_id;

cpslog([703,{map:{float_show:page,activity_id:activity_id_f,resource_id:resource_id_f,

io:io_f,ia_pany_id:data.data.manage[0].data.ia_pany_id,

a_id:a_id_f,a_pid:a_pid_f,a_extend_type:a_extend_type_f}},'float_show']);

$('.floatsho('click',fun(){

qywx(feature_id_f,'.float_href')

//兼容之前互动广告/小程序点击打点

if(data.data.manage[i].data.redirect_type==2){

if(page==1){

cpslog([702,{map:{miry_click:img_entry_f}},'miry_click2_read']);

}elseif(page==2){

cpslog([702,{map:{miry_click:img_entry_f}},'miry_click2_ret']);

}

}elseif(data.data.manage[i].data.redirect_link==''&&data.data.manage[i].data.redirect_type==3){

if(page==1){

cpslog([702,{map:{ad_entry_click:img_entry_f}},'ad_entry_click2_read']);

}elseif(page==2){

cpslog([702,{map:{ad_entry_click:img_entry_f}},'ad_entry_click2_ret']);

}

}elseif(data.data.manage[i].data.redirect_link!=''&&data.data.manage[i].data.redirect_type==3){

if(page==1){

cpslog([702,{map:{ad_entry_click:img_entry_f,redirect_link:redirect_link,ia_pany_id:data.data.manage[0].data.ia_pany_id}},'ad_entry_click2_read']);

}elseif(page==2){

cpslog([702,{map:{ad_entry_click:img_entry_f,redirect_link:redirect_link,ia_pany_id:data.data.manage[0].data.ia_pany_id}},'ad_entry_click2_ret']);

}

}

cpslog([702,{map:{float_show:page,activity_id:activity_id_f,resource_id:resource_id_f,

io:io_f,ia_pany_id:data.data.manage[0].data.ia_pany_id,

a_id:a_id_f,a_pid:a_pid_f,a_extend_type:a_extend_type_f}},'float_show_click']);

if(data.data.manage[i].data.redirect_link!=''&&data.data.manage[i].data.redirect_type==3){

$.ajax({

url:'/api/iivead/linkclick',

type:"post",

data:{

position:page,

ia_pany_id:data.data.manage[i].data.ia_pany_id,

ia_link_id:data.data.manage[i].data.ia_link_id

},

sess:fun(data){

}

});

}elseif(data.data.manage[i].data.redirect_link==''&&data.data.manage[i].data.redirect_type==3){

$('.float_href').attr("href","javascript:;");

$.ajax({

url:'/index/user/getiiveaddata',

type:"post",

data:{

position:page

},

sess:fun(data){

if(!data||!data.landingurl){

$('.hd_toast').show();

//return

}else{

location.href=data.landingurl

}

//接口打点

$.ajax({

url:data.clickurl,

type:"get",

sess:fun(data){

}

})

$.ajax({

url:data.exposureurl,

type:"get",

sess:fun(data){

}

})

$.ajax({

url:data.winurl,

type:"get",

sess:fun(data){

}

})

},

error:fun(){

$('.hd_toast').show();

}

});

//3秒toast消失

settimeout(fun(){

$('.hd_toast').hide();

},3000)

}

if(data.data.manage[i].data.report==1){

$.ajax({

url:'/api/manage/joinlta',

type:"post",

data:{

resource_id:resource_id_f,

manage_fig_feature_id:manage_fig_feature_id_f

},

sess:fun(data){

sole.log(data);

}

});

}

})

break;

//底部cell条

case3:

$('.cellshow').show();

$('.allopblank').show();

$('.c_close').show();

$('.c_href').attr('href',data.data.manage[i].data.redirect_link);

$('.c_img').attr('src',data.data.manage[i].data.i);

//if(data.data.manage[i].data.show_type==4){

//settimeout(fun(){

//$('.cellshow').hide();

//},6000)

//}

if(!data.data.manage[i].data.redirect_link){

$('.c_href').attr("href","javascript:;");

}

if(data.data.manage[i].data.mini_program){

//$('#launch-').show();

$('.c_href').removeattr("href");

wx.fig({

debug:false,//开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。

appid:data.data.manage[i].data.mini_program.appid,//必填,公众号的唯一标识

timestamp:data.data.manage[i].data.mini_program.timestamp,//必填,生成签名的时间戳

r:data.data.manage[i].data.mini_program.r,//必填,生成签名的随机串

signature:data.data.manage[i].data.mini_program.signature,//必填,签名

jsapilist:['onmenusharetimeline','onmenushareappmessage','onmenushareqq','onmenushareqzone'],//必填,需要使用的js接口列表

opentaglist:["wx-open-launch-"]

});

$('#launch-').attr('username',data.data.manage[i].data.mini_program.id);

$('#launch-').attr('path',data.data.manage[i].data.mini_program.link);

}else{

$('#launch-').hide();

}

varactivity_id_c=data.data.manage[i].data.feature_id;

vario_c=data.data.manage[i].data.io;

varimg_entry_c=data.data.manage[i].data.i;

varclick_kind=data.data.manage[i].data.redirect_type;

varclick_ki=data.data.manage[i].data.report;

varresource_id_c=data.data.manage[i].data.resource_id;

varmanage_fig_feature_id_c=data.data.manage[i].data.manage_fig_feature_id;

vara_id_c=typeofdata.data.manage[i].data.activity_data.id=='undefined'?

0:data.data.manage[i].data.activity_data.id;

vara_pid_c=typeofdata.data.manage[i].data.activity_data.pid=='undefined'?

0:data.data.manage[i].data.activity_data.pid;

vara_extend_type_c=typeofdata.data.manage[i].data.activity_data.extend_type=='undefined'?

0:data.data.manage[i].data.activity_data.extend_type;

//兼容之前互动广告/小程序曝光打点

if(data.data.manage[i].data.redirect_type==2){

if(page==1){

cpslog([703,{map:{miry:img_entry_c}},'miry_read']);

}elseif(page==2){

cpslog([703,{map:{miry:img_entry_c}},'miry2_ret']);

}

}elseif(data.data.manage[i].data.redirect_type==3){

if(page==1){

cpslog([703,{map:{ad_entry:img_entry_c}},'ad_entry_read']);

}elseif(page==2){

cpslog([703,{map:{ad_entry:img_entry_c}},'ad_entry2_ret']);

}

}

varfeature_id_c=data.data.manage[i].data.feature_id;

cpslog([703,{map:{cell_show:page,activity_id:activity_id_c,resource_id:resource_id_c,

io:io_c,a_id:a_id_c,a_pid:a_pid_c,a_extend_type:a_extend_type_c}},'cell_show']);

$('.cellshowa').on('click',fun(){

qywx(feature_id_c,'.c_href')

//兼容之前互动广告/小程序点击打点

if(data.data.manage[i].data.redirect_type==2){

if(page==1){

cpslog([702,{map:{miry_click:img_entry_c}},'miry_click2_read']);

}elseif(page==2){

cpslog([702,{map:{miry_click:img_entry_c}},'miry_click2_ret']);

}

}elseif(data.data.manage[i].data.redirect_type==3){

if(page==1){

cpslog([702,{map:{ad_entry_click:img_entry_c}},'ad_entry_click2_read']);

}elseif(page==2){

cpslog([702,{map:{ad_entry_click:img_entry_c}},'ad_entry_click2_ret']);

}

}

cpslog([702,{map:{cell_show:page,activity_id:activity_id_c,resource_id:resource_id_c,

io:io_c,a_id:a_id_c,a_pid:a_pid_c,a_extend_type:a_extend_type_c}},'cell_show_click']);

if(data.data.manage[i].data.report==1){

$.ajax({

url:'/api/manage/joinlta',

type:"post",

data:{

resource_id:resource_id_c,

manage_fig_feature_id:manage_fig_feature_id_c

},

sess:fun(data){

sole.log(data);

}

});

}

})

break;

//

case4:

$('.topbannershow').show();

$('.tb_href').attr('href',data.data.manage[i].data[0].redirect_link);

$('.tb_img').attr('src',data.data.manage[i].data[0].i);

if(!data.data.manage[i].data.redirect_link){

$('.c_href').attr("href","javascript:;");

}

if(data.data.manage[i].data[0].mini_program){

$('#launch-tb-btn').show();

$('.tb_href').removeattr("href");

wx.fig({

debug:false,//开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。

appid:data.data.manage[i].data[0].mini_program.appid,//必填,公众号的唯一标识

timestamp:data.data.manage[i].data[0].mini_program.timestamp,//必填,生成签名的时间戳

r:data.data.manage[i].data[0].mini_program.r,//必填,生成签名的随机串

signature:data.data.manage[i].data[0].mini_program.signature,//必填,签名

jsapilist:['onmenusharetimeline','onmenushareappmessage','onmenushareqq','onmenushareqzone'],//必填,需要使用的js接口列表

opentaglist:["wx-open-launch-"]

});

$('#launch-tb-btn').attr('username',data.data.manage[i].data[0].mini_program.id);

$('#launch-tb-btn').attr('path',data.data.manage[i].data[0].mini_program.link);

}else{

$('#launch-tb-btn').hide();

}

varactivity_id_t=data.data.manage[i].data[0].feature_id;

vario_t=data.data.manage[i].data[0].io;

varclick_kind=data.data.manage[i].data[0].redirect_type;

varclick_ki=data.data.manage[i].data[0].report;

varimg_entry_t=data.data.manage[i].data[0].i;

varresource_id_t=data.data.manage[i].data[0].resource_id;

varmanage_fig_feature_id_t=data.data.manage[i].data[0].manage_fig_feature_id;

vara_id_t=typeofdata.data.manage[i].data[0].activity_data.id=='undefined'?

0:data.data.manage[i].data[0].activity_data.id;

vara_pid_t=typeofdata.data.manage[i].data[0].activity_data.pid=='undefined'?

0:data.data.manage[i].data[0].activity_data.pid;

vara_extend_type_t=typeofdata.data.manage[i].data[0].activity_data.extend_type=='undefined'?

0:data.data.manage[i].data[0].activity_data.extend_type;

//兼容之前互动广告/小程序曝光打点

if(data.data.manage[i].data.redirect_type==2){

if(page==1){

cpslog([703,{map:{miry:img_entry_t}},'miry_read']);

}elseif(page==2){

cpslog([703,{map:{miry:img_entry_t}},'miry2_ret']);

}

}elseif(data.data.manage[i].data.redirect_type==3){

if(page==1){

cpslog([703,{map:{ad_entry:img_entry_t}},'ad_entry_read']);

}elseif(page==2){

cpslog([703,{map:{ad_entry:img_entry_t}},'ad_entry2_ret']);

}

}

//互动广告、小程序调用次数cookie存储

//if(data.data.manage[i].data.redirect_type==2||data.data.manage[i].data.redirect_type==3){

//if(page=1){

//chapter_ad_show++

//$.fn.cookie('chapter_ad_show',chapter_ad_show,{path:'/',expires:(dayee().gettime())/86400000})

//}elseif(page=2){

//ret_ad_show++

//$.fn.cookie('ret_ad_show',ret_ad_show,{path:'/',expires:(dayee().gettime())/86400000})

//}elseif(page=3){

//user_ad_show++

//$.fn.cookie('user_ad_show',user_ad_show,{path:'/',expires:(dayee().gettime())/86400000})

//}

//}

cpslog([703,{map:{topbanner_show:page,activity_id:activity_id_t,resource_id:resource_id_t,

io:io_t,a_id:a_id_t,a_pid:a_pid_t,a_extend_type:a_extend_type_t}},'topbanner_show']);

$('.topbannershowa').on('click',fun(){

//兼容之前互动广告/小程序点击打点

if(data.data.manage[i].data.redirect_type==2){

if(page==1){

cpslog([702,{map:{miry_click:img_entry_t}},'miry_click2_read']);

}elseif(page==2){

cpslog([702,{map:{miry_click:img_entry_t}},'miry_click2_ret']);

}

}elseif(data.data.manage[i].data.redirect_type==3){

if(page==1){

cpslog([702,{map:{ad_entry_click:img_entry_t}},'ad_entry_click2_read']);

}elseif(page==2){

cpslog([702,{map:{ad_entry_click:img_entry_t}},'ad_entry_click2_ret']);

}

}

cpslog([702,{map:{topbanner_show:page,activity_id:activity_id_t,resource_id:resource_id_t,

io:io_t,a_id:a_id_t,a_pid:a_pid_t,a_extend_type:a_extend_type_t}},'topbanner_show_click']);

if(data.data.manage[i].data.report==1){

$.ajax({

url:'/api/manage/joinlta',

type:"post",

data:{

resource_id:resource_id_t,

manage_fig_feature_id:manage_fig_feature_id_t

},

sess:fun(data){

sole.log(data);

}

});

}

})

break;

}

if(data.data.manage.length){

operate_init(data.data.manage[i])

}

}

}

}

})

}

//弹窗展示

$('.w_close').on('click',fun(){

$('.windowshow').hide();

$('.shadow_bg').hide();

$('body').removeclass('stopscroll');

})

//浮窗展示

$('.f_close').on('click',fun(){

$('.floatshow').hide();

})

//cell条展示

$('.c_close').on("click",fun(){

$('.cellshow').hide();

$('.allopblank').hide();

})

//读书挑战赛运营位初始化入口

funready_into(data){

//feature_id判断是否开通读书挑战赛

if(data.data.manage[0]&&data.data.manage[0].data.feature_id==="campaign_new_20210707"){

//cookie判断是否报名读书挑战赛

if($.fn.cookie('current_read_apply')!=1){

$.ajax({

url:'/api/campaignnew/getstatus',

type:"get",

sess:fun(data){

$('body').append(data.data.popup);

}

});

}else{

$('.floatshow').hide();

}

}

}

funoperate_init(firstitem){

switch(firstite_id){

//lucky_draw_20210714大转盘运营位lucky_draw_20210714

case'lucky_draw_20210714':

/*双旦活动入口曝光打点*/

cpslog([702,{},'new_year_activity_show']);

//判断是否一点击过运营位report0-已参加1-未参加

if(firstite==0){

$('.neop_i_er').show();

//已参加则不再显示运营位入口

$('.floatshow').hide();

$('.cellshow').hide();

$('.topbannershow').hide();

$('.windowshow').hide();

$('.shadow_bg').hide();

}else{

//未参加时,渲染运营位接口事件

switch(firstitem.type){

//弹窗

case1:

$('.windowsho('click',operationposition)

break;

//浮窗

case2:

$('.floatsho('click',operationposition)

break;

//底部cell条

case3:

$('.cellsho('click',operationposition)

break;

//banner

case4:

$('.topbannersho('click',operationposition)

break;

}

}

break;

default:

break;

}

}

funqywx(fid,obj){

if(fid==='work_wechat_chapter_2024'){

$(obj).removeattr("href");

$.ajax({

url:'/api/worki/getchapterqrcode',

type:"post",

sess:fun(data){

varispayedman=data.data.is_pay;

varwechat_url_bg=data.data.qr_dialog_bg_img

if(ispayedman!=0){

cpslog([702,{map:{work_wechat_click:ispayedman,workwechaturlbg:wechat_url_bg}},'work_wechat_click']);

dotsellclick();

windo='/index/recharge/pay?from=wechat&user_id='+user_id+'&froms=chapter';

}else{

$('.shadow_box_bg').show();

$('.js_work_pop').show();

$('.img_code').attr('src',data.data.wechat_url);

$('.wxdl_bg').attr('src',data.data.qr_dialog_bg_img);

$('body,html').addclass('stopscroll');

dotsellclick();

cpslog([702,{map:{work_wechat_click:ispayedman,workwechaturlbg:wechat_url_bg}},'work_wechat_click']);

}

//二维码长按打点

$('.img_code').on({

touchstart:fun(e){

cleartimeout(this.loop);

this.loop=settimeout(fun(){

cpslog([703,{map:{workwechaturlbg:wechat_url_bg}},'work_qr_code_long_press_chapter']);

}.bind(this),500);

},

toud:fun(e){

cleartimeout(this.loop);//清空定时器,防止重复注册定时器

}

}

);

$('.js_work_wechat_close').click(fun(){

$('.shadow_box_bg').hide();

$('.js_work_pop').hide();

$('body,html').removeclass('stopscroll')

cpslog([702,{map:{work_wechat_click:ispayedman}},'work_wechat_dialog_close']);

});

}

});

}

}

//企业微信上报函数

fundotsellclick(){

$.post('/index/book/workdotclick');

}

//大转盘运营位入口点击事件

funoperationposition(){

turnshow(1)

//vara_id=$('.neop_i_er').attr('data-aid');//优惠券

//vara_tent=$('.neop_i_er').attr('data-atent');//优惠折扣

//vara_name=$('.neop_i_er').attr('data-aname');//优惠名称

//varactivityid=$('#christmas_lottery_activity_id').val();

//if(a_id){

//cpslog([702,{

//map:{

//a_id:a_id,

//a_name:a_name,

//a_type:'6',

//from:'lucky_draeration_clito'

//}},'lucky_draeration_clito']);

//windo='/index/recharge/xmas?a_id='+a_id+'&activity_id='+activityid+'&dist='+a_tent+'&source=luckydraw';

//}else{

////运营位入口打点

////cpslog([702,{from:'all_operation_position'},'new_year_dialog_show']);

////$('#g_turn_mask').show()

////getchristmasatus();

//turnshow(1)

//}

}

})

</script

<script

$(fun(){

try{

variframe=dot.createelement('iframe');

iframe.style.display='none';

iframe.src=""+windo.split(windo)[1];

dot.body.appendchild(iframe);

}catch(e){

sole.log(e)

}

});

</script</body

</html

本章未完,点击下一页继续阅读。

玄幻魔法小说相关阅读More+

叶辰 上门龙婿

叶辰

逆天体修

虾猪儿

一胎双宝:总裁大人夜夜欢

堆堆

江小北沈清瑜

尼古拉斯赵四

这个剑修有点稳

暴走叉烧包

重生开始当首富

黄金小白菜