reset
@@ -1,93 +0,0 @@
|
||||
// $(function(){
|
||||
// var page=1;
|
||||
// $(document).on('click',".ajaxpost",function(){
|
||||
// var url;
|
||||
// var target_form = $(this).attr('target-form');
|
||||
// var form = $('.'+target_form);
|
||||
// if (url = form.get(0).action) {
|
||||
// query = form.serialize();
|
||||
// $.post(url,query,function(data){
|
||||
// if (data.code==1) {
|
||||
// if(mold=='web'){
|
||||
// parent.layer.msg(data.msg,{icon: 1,shade: 0.3},function(){
|
||||
// location.reload();
|
||||
// });
|
||||
// }else{
|
||||
// parent.layer.open({content: data.msg,time: 2,end:function(){
|
||||
// location.reload();
|
||||
// }});
|
||||
// }
|
||||
// }else{
|
||||
// if(mold=='web'){
|
||||
// parent.layer.msg(data.msg,{icon: 0,shade: 0.3});
|
||||
// }else{
|
||||
// parent.layer.open({content: data.msg,time: 2});
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// return false;
|
||||
// });
|
||||
|
||||
// reply=function(obj,mid,pid,type){
|
||||
// var html='<div class="uyanpost">';
|
||||
// html+='<form method="post" action="index.php?s=home/comment/add" class="form-x-'+pid+'">';
|
||||
// html+='<div class="resetbox sectionbox"><div class="blockbox">';
|
||||
// html+='<div class="postarea"><div class="postborder">';
|
||||
// html+='<textarea name="content"></textarea>';
|
||||
// html+='<input type="hidden" name="type" value="'+type+'" />';
|
||||
// html+='</div><div style="display: block;text-align: right;margin-top:8px">';
|
||||
// html+='<button class="btn btn-info ajaxpost" type="submit" target-form="form-x-'+pid+'">发 送</button>';
|
||||
// html+='</div></div><input type="hidden" name="mid" value="'+mid+'">';
|
||||
// html+='<input type="hidden" name="pid" value="'+pid+'"></div></div></form></div>';
|
||||
// var postbox=$(obj).parents('.post-content').siblings('.uyan-reply-postbox');
|
||||
// if(postbox.html()){
|
||||
// postbox.empty();
|
||||
// }else{
|
||||
// postbox.append(html);
|
||||
// }
|
||||
// resize();
|
||||
// }
|
||||
|
||||
// up=function(id){
|
||||
// $.get("index.php?s=home/comment/up/id/"+id,function(data){
|
||||
// if(mold=='web'){
|
||||
// parent.layer.msg(data.msg,{icon: data.code,shade: 0.3});
|
||||
// }else{
|
||||
// parent.layer.open({content: data.msg,skin: 'msg',time: 2});
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
|
||||
// resize=function() {
|
||||
// $("#comment", window.parent.document).css("height",$(document.body).height());
|
||||
// setTimeout(function () {
|
||||
// $("#comment", window.parent.document).css("height",$(document.body).height());
|
||||
// }, 500);
|
||||
// }
|
||||
|
||||
// ajaxpage=function(){
|
||||
// var y=0,list={};
|
||||
// if((page*page_num)>trre.length){
|
||||
// var comment_page=trre.length;
|
||||
// }else{
|
||||
// var comment_page=page*page_num;
|
||||
// }
|
||||
// for(var i =(page-1)*page_num; i < comment_page; i++){
|
||||
// list[y]=trre[i];
|
||||
// y++;
|
||||
// }
|
||||
// $.post("index.php?s=home/comment/tree",{tree:JSON.stringify(list),page:page,limit:page_num,count:count,type:type},function(data){
|
||||
// $('#posts').append(data);
|
||||
// if((trre.length>page_num && comment_page!=trre.length)){
|
||||
// page++;
|
||||
// $('#loadmore').show();
|
||||
// $('#loadmore').html('<a id="uyan-more" href="javascript:;" onclick="ajaxpage();" class="more"><span>加载更多评论</span></a>');
|
||||
// }else{
|
||||
// $('#loadmore').hide();
|
||||
// }
|
||||
// resize();
|
||||
// });
|
||||
// }
|
||||
// ajaxpage();
|
||||
// })
|
||||
@@ -1,130 +0,0 @@
|
||||
html, body { margin: 0; padding: 0;}
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, button, table, caption, tbody, tfoot, thead, tr, th, td { border: 0 none; /*font-family: inherit; font-size: 100%;font-weight: 400; line-height: 1; */ font-style: normal;margin: 0; padding: 0;}
|
||||
table { border-collapse: collapse; border-spacing: 0;}
|
||||
ol, ul { list-style: none outside none;}
|
||||
q:before, q:after, blockquote:before, blockquote:after { content: "";}
|
||||
body{
|
||||
font-family: 'Microsoft YaHei',SimSun,sans-serif,'\65b9\6b63\5170\4ead\9ed1';
|
||||
color:#404040;
|
||||
}
|
||||
a{ text-decoration:none;}
|
||||
h4 {font-size: 18px;font-weight: 600;line-height: 1.2;}
|
||||
h6 {color:#8E949C;font-size: 11px;font-weight:normal; line-height:15px;margin: 0 0 6px;}
|
||||
.global-nav { margin: 10px 0 18px;}
|
||||
.pull-right { float: right !important;}
|
||||
|
||||
div.resetbox {
|
||||
border: 0 none;
|
||||
font-size: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
}
|
||||
div.resetbox select, div.resetbox input, div.resetbox textarea, div.resetbox select option {
|
||||
border: 0 none;
|
||||
margin: 0;
|
||||
outline: 0 none;
|
||||
padding: 0;
|
||||
}
|
||||
.icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.uyanpost .sectionbox {
|
||||
padding: 0 0 18x;
|
||||
}
|
||||
.uyanpost .sectionbox .blockbox .postarea {
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
.uyanpost .sectionbox .blockbox .postarea .postborder textarea {
|
||||
height: 100px;width: 100%;box-shadow:none;border:1px solid #DFDFDF;box-sizing:border-box;padding:10px;border-radius: 3px;
|
||||
}
|
||||
|
||||
.post-list .post .uyanpost .sectionbox .blockbox .postarea {
|
||||
padding: 0 0 0 48px; margin: 0 0 12px;
|
||||
}
|
||||
.inputdefaultcolor {
|
||||
color: #AAB2B8;
|
||||
}
|
||||
|
||||
.post-list .post .children .post .children .post .children .uyanpost{ margin-left:-48px;}
|
||||
|
||||
.avatar {float:left;}
|
||||
.avatar .user { display: block;z-index: 10;}
|
||||
.avatar .user img { border-radius: 50%; display: block; height: 48px; width: 48px;}
|
||||
|
||||
.nav{ height:40px; overflow:hidden; font-size:14px; border-bottom:1px solid #ebeef1; margin-bottom:15px;}
|
||||
.nav .nav-left{ float:left; line-height:40px; cursor:pointer;}
|
||||
.nav span{ display:block; line-height:40px; color:#404040;}
|
||||
.nav b{ display:block; float:left; margin-right:4px;}
|
||||
|
||||
.post-list{}
|
||||
|
||||
.post-list .post {z-index:10;border-bottom: 1px solid #ddd;margin-bottom: 10px}
|
||||
.post-list .post .post {border-bottom: none}
|
||||
.post-content { margin-bottom: 24px;transition: all 0.2s ease-in-out 0s;}
|
||||
.post-content .avatar { top: 0;}
|
||||
.post-content .post-body {z-index:10; *margin-top:-10px !important; margin-top:0;_margin-top:-10px; margin-left: 80px;}
|
||||
.publisher-anchor-color span { color: #999999 !important;}
|
||||
.publisher-anchor-color a { color: #44708E !important;}
|
||||
.post-content .u-footer .time-ago, .post-content .u-header .total-votes, .post-content .u-header .parent-link {
|
||||
color:#AAB2B8;font-size:12px; font-weight:normal; line-height:16px;
|
||||
}
|
||||
.post-meta { float:left;}
|
||||
|
||||
.post-content .post-message-container {overflow: hidden;z-index:10; width: 100%; _width: 98%;}
|
||||
.post-content .post-message p {
|
||||
line-height: 30px; margin: 5px 0 2px 0; font-size:14px;
|
||||
word-wrap:break-word;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.post-content .u-footer {color: #6C6C6C; margin:2px 0 0; height:18px; overflow:hidden; line-height:18px;}
|
||||
.post-content .u-footer .time-ago{
|
||||
float: left;
|
||||
}
|
||||
.post-content .u-footer ul{
|
||||
float: right;
|
||||
}
|
||||
.post-content .u-footer ul li{ display:block; float:left; font-size:12px; line-height:18px; list-style:none;}
|
||||
.post-content .u-footer ul li em{
|
||||
font-weight:normal;
|
||||
color:#DEE2E5;
|
||||
line-height:16px;
|
||||
margin-right:5px;
|
||||
}
|
||||
.post-content .u-footer a{color: #AAB2B8; }
|
||||
|
||||
.post-content .u-footer .thread-voted {
|
||||
margin-right:5px;
|
||||
cursor:pointer;
|
||||
height:16px; overflow:hidden; font-size:13px;
|
||||
line-height:18px; display:block;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.post-content .u-footer .action:hover{
|
||||
color:#777F85;
|
||||
}
|
||||
.post-list .post .post .avatar .user img { height: 36px;width: 36px;}
|
||||
|
||||
.post-list .post .post,.post-list .post .children .post {padding-left: 60px !important;}
|
||||
.post-list .post .children .post .children .post {padding-left: 48px !important;}
|
||||
.post-list .post .children .post .children .post .children .post .children .post {padding-left: 0px !important;}
|
||||
|
||||
.post-list .post .uyanpost{padding-left:60px;}
|
||||
.post-list .post .children .uyanpost,.post-list .post .children .post .children .uyanpost{padding-left:48px !important;}
|
||||
|
||||
.post-list .post .post .post-content .post-body{margin-left:48px !important;}
|
||||
|
||||
.btn {
|
||||
font-size: 14px;
|
||||
padding:8px 20px;
|
||||
background:#ff4c2f;
|
||||
color:#fff;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.more{border-radius:3px; background:#f5f6f8; font-size:14px; height:36px; line-height:36px; display:block; width:100%; text-align:center; color:#fff; color:#404040;}
|
||||
.more:hover{ background:#ebeef1;}
|
||||
.more span{ display:block;border: 1px solid #CCD4D9;border-radius:3px; height:34px; }
|
||||
@@ -1,769 +0,0 @@
|
||||
/* 全局控制 */
|
||||
*{margin: 0; padding: 0; list-style: none;}
|
||||
body{color: #9e9e9e; font:14px "Microsoft Yahei", arial,sans-serif; background: #f0f0f0;}
|
||||
|
||||
/* 重置默认样式 */
|
||||
img{border: none;}
|
||||
a,s{text-decoration: none; outline: none; display: inline-block; color: #333;}
|
||||
a:hover{color: #f26552;}
|
||||
input,textarea,select,button{border: none; resize: none; outline: none; font-family: "Microsoft Yahei"; color: #666;}
|
||||
button{cursor: pointer; letter-spacing: 2px; }
|
||||
em,h1,h2,h3,h4,i,b{font-style: normal; font-weight: normal;}
|
||||
em,span,i{display: inline-block;}
|
||||
|
||||
/* 整站内容公共样式 */
|
||||
.content{width: 1100px; margin: 0 auto; overflow: hidden;}
|
||||
|
||||
/* 书名 */
|
||||
.content h3{font-size: 14px;}
|
||||
.content h3 a{overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
|
||||
|
||||
/*作者、简介*/
|
||||
.book_inf{font-size: 12px;}
|
||||
.book_inf .int{height: 34px; overflow: hidden; text-overflow: ellipsis;
|
||||
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-wrap:break-word;}
|
||||
.book_inf .aut{overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
|
||||
.book_inf .tag{float: right}
|
||||
|
||||
/* 封面缩放效果 */
|
||||
.book_cov{border: 1px solid #f3f3f3; overflow: hidden; display: block;}
|
||||
.book_cov img{width: 100%; height: 100%; transition: all 0.5s; -moz-transition: all 0.5s; -webkit-transition: all 0.5s; -o-transition: all 0.5s; -ms-transition: all 0.5s;}
|
||||
.book_cov:hover img{transform: scale(1.1); -moz-transform: scale(1.1); -webkit-transform: scale(1.1); -o-transform: scale(1.1); -ms-transform: scale(1.1);}
|
||||
/* icon路径 */
|
||||
s{background: url(../images/iconC.png) no-repeat;}
|
||||
.vzj{width: 21px; height: 10px; background: url(../images/iconC.png) no-repeat -154px -48px; margin: 10px 22px 0 10px; float: right;}
|
||||
|
||||
/* 公共头部 */
|
||||
.header{width: 100%; height: 80px; background: #fff; margin-bottom: 0px;}
|
||||
.headWrap{width: 1100px; margin: 0 auto;height: 80px; background: #fff;}
|
||||
/* logo */
|
||||
.headWrap h1 , .headWrap h2{width: auto; height: 50px; padding-top: 15px; float: left;}
|
||||
.headWrap h1 a , .headWrap h2 a{width: 100%; height: 50px;font-size: 1.4rem; line-height: 48px;
|
||||
}
|
||||
.headWrap h1 img , .headWrap h2 img {width: 100%; height: 100%;}
|
||||
/*导航 */
|
||||
.headWrap .nav{float: left; margin: 24px 0 0 20px;}
|
||||
.headWrap .nav li{float: left; margin: 0 2px;}
|
||||
.headWrap .nav li a{ width: auto;
|
||||
padding: 0 0.5rem; height: 32px; line-height: 32px; text-align: center; font-size: 16px; color: #6a6a6a; border-radius: 4px;}
|
||||
.headWrap .nav li a:hover{color: #f26552;}
|
||||
.headWrap .nav .on a{background: #f26552; color: #fff;}
|
||||
.headWrap .nav .on a:hover{color: #fff; }
|
||||
/* 搜索和登陆 */
|
||||
.headWrap_r{float: right;}
|
||||
/* 搜索 */
|
||||
.headWrap_r .search{float: left; position: relative; width: 48px; height: 28px; margin-top: 26px; transition: width 0.5s; -moz-transition: width 0.5s; -webkit-transition: width 0.5s; -o-transition: width 0.5s; -ms-transition: width 0.5s;}
|
||||
.headWrap_r .long{width: 248px;}
|
||||
.headWrap_r .long .search_btn s{background-position: -30px 0;}
|
||||
.search_sel{height: 28px; position: absolute; left: 0; padding: 0 5px; visibility: hidden; opacity: 0; transition: opacity 0.5s; -moz-transition: opacity 0.5s; -webkit-transition: opacity 0.5s; -o-transition: opacity 0.5s; -ms-transition: opcity 0.5s;}
|
||||
.headWrap_r .long .search_sel{visibility: visible; opacity: 1;}
|
||||
.search_sel input{width: 180px; height: 26px; line-height: 26px; padding: 0 5px; font-size: 14px;border: 1px solid #f26552;}
|
||||
.headWrap_r .search .search_btn{width: 47px; height: 28px; text-align: center; position: absolute; right: 0; border-right: 1px solid #d2d2d2; background: #fff;}
|
||||
.headWrap_r .search .search_btn s{width: 24px; height: 24px; background-position: 0 0; margin-top: 3px;}
|
||||
.headWrap_r .long .search_btn s{background-position: -30px 0;}
|
||||
.headWrap_r .search .search_btn:hover s{background-position: -30px 0;}
|
||||
|
||||
/* 首页 */
|
||||
.btn_toggle_mod_bang{
|
||||
width: 33px; line-height: 24px; text-align: center; border-radius: 4px; margin-left: 5px; cursor: pointer; font-size: 13px;
|
||||
}
|
||||
|
||||
/* 登陆 */
|
||||
.headWrap_r .login{float: right; position: relative; background: #fff; padding-top: 32px;}
|
||||
.headWrap_r .login .login_before{width: 100px; height: 18px; line-height: 20px; padding-left: 20px; cursor: pointer; display: block;}
|
||||
.headWrap_r .login .login_before s{width: 17px; height: 18px; background-position: -61px 0; margin-right: 5px;}
|
||||
.headWrap_r .login s{float: left;}
|
||||
.headWrap_r .login a{float: left; font-size: 16px; color: #6a6a6a;}
|
||||
.headWrap_r .login .login_before:hover s{background-position: -81px 0;}
|
||||
.headWrap_r .login .login_after{width: 146px; margin: 0 0 0 10px; position: relative; display: none;}
|
||||
.headWrap_r .login .login_after img{float: left; width: 22px; height: 22px; border-radius: 50%; margin-right: 10px;}
|
||||
.headWrap_r .login .login_after a{ font-size: 12px; color: #6a6a6a; max-width: 84px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
|
||||
.headWrap_r .login .login_after .yh{ padding: 0 10px 0 15px; position: relative; z-index: 100;}
|
||||
.headWrap_r .login .login_after .yh a{margin: 2px 0 0 0;}
|
||||
.headWrap_r .login a:hover{color: #f26552;}
|
||||
.headWrap_r .login_after:hover .xiala{display: block;}
|
||||
.headWrap_r .login_after .xiala{width: 146px; height: 126px; background:#fff; box-shadow: 0 0 5px rgba(0,0,0,0.1); border-radius: 4px; position: absolute; left: 0; top: -14px; z-index: 99; padding-top: 50px; display: none;}
|
||||
.headWrap_r .login_after .xiala li{height: 42px; line-height: 42px; padding: 0 0 0 15px; cursor: pointer;}
|
||||
.headWrap_r .login_after .xiala li:hover{background: #fafafa;}
|
||||
.headWrap_r .login_after .xiala .on{background: #fafafa;}
|
||||
.headWrap_r .login_after .xiala s{width: 14px; height: 14px; margin: 15px 14px 0 5px;}
|
||||
.headWrap_r .login_after .xiala .sj{background-position: -203px 0;}
|
||||
.headWrap_r .login_after .xiala .grzx{background-position: -203px -17px;}
|
||||
.headWrap_r .login_after .xiala .tc{background-position: -203px -35px;}
|
||||
|
||||
/* 公共底部 */
|
||||
.foot{width: 100%; margin-top: 20px; background: #434343;}
|
||||
.foot a{color: #a2a2a2;}
|
||||
.foot a:hover{color: #f26552;}
|
||||
.foot_T{width: 100%; background: url(../images/foot_line.jpg) repeat-x left bottom; padding: 0 0 16px 0;}
|
||||
.foot_T p{font-size: 18px; color: #fff; padding: 30px 0 20px;}
|
||||
.foot_T .tWrap{width: 1100px; margin: 0 auto; overflow: hidden;}
|
||||
.foot_T .tWrap ul li{float: left; margin: 0 26px 10px 0;}
|
||||
.foot_B{padding: 30px 0;}
|
||||
.foot_B p{width: 590px; text-align: center; line-height: 24px; margin: 0 auto; font-size: 12px;}
|
||||
.foot_B .Co{margin: 25px auto 6px;}
|
||||
.foot_B p a{margin: 0 14px;}
|
||||
|
||||
/* 回顶部 */
|
||||
.gotop{position: fixed; bottom: 10px; right: 10px; cursor: pointer; display: none;}
|
||||
|
||||
|
||||
/* 间隔广告横幅 */
|
||||
.content .adv{margin: 20px 0;}
|
||||
.content .adv a{width: 1100px; height: 90px; border: 1px solid #f3f3f3;}
|
||||
.content .adv img{width: 100%; height: 100%;}
|
||||
|
||||
/* 分区大标题 */
|
||||
.area_head{overflow: hidden; margin-bottom: 34px;}
|
||||
.area_head .log_line{width: 402px; height: 2px; background: #f0f0f0; float: left; margin-top: 20px;}
|
||||
.area_head h4{width: 160px; height: 38px; font-size: 28px; margin: 0 50px; float: left; color: #333;}
|
||||
.area_head h4 s{width: 26px; height: 30px; background-position: -1px -26px; margin: 3px 18px 0 0; float: left;}
|
||||
.area_head h4 s.book{background-position: -150px -26px;}
|
||||
|
||||
.pdcon s {background: url(../images/pdIcon.png) no-repeat;}
|
||||
.content .area2{width: 1100px; background: #fff; margin: 0 0 20px 0;}
|
||||
|
||||
.f1{height: 445px; overflow: hidden;}
|
||||
.f1_L{width: 356px; float: left; padding: 34px 25px 0;}
|
||||
.f1_L .tjw{width: 200px; height: 250px; border: 1px solid #f3f3f3; float: left; overflow: hidden;}
|
||||
.f1_L .tjw .book_cov{width: 200px; height: 250px; border: none;}
|
||||
.f1_L ol{ float: right;}
|
||||
.f1_L ol li{width: 88px; height: 35px; line-height: 34px; padding: 0 28px 0 14px; position: relative; background: #fafafa; border: 1px solid #e9e8e8; font-size: 12px; border-radius: 2px; cursor: pointer; margin: 0 0 16px 0;}
|
||||
.f1_L ol li i{max-width: 88px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
|
||||
.f1_L ol li .arr{width: 10px; height: 17px; background-position: -1px -210px; position: absolute; left: -11px; top: 8px; display: none;}
|
||||
.f1_L ol li .xh{width: 11px; height: 30px; line-height: 17px; padding: 0 0 0 13px; background-position: -27px -165px; position: absolute; top: -1px; right: -1px; color: #fff;}
|
||||
.f1_L ol li:hover{background: #3498DB; border: 1px solid #3498DB; color: #fff;}
|
||||
.f1_L ol li:hover .arr{display: block;}
|
||||
.f1_L ol .on{background: #3498DB; border: 1px solid #3498DB; color: #fff;}
|
||||
.f1_L ol .on .arr{display: block;}
|
||||
.f2_L .book_inf{width: 218px; float: left;}
|
||||
.f1_L h3{text-align: center; padding: 18px 0 16px 0;}
|
||||
.f2_L h3 a{max-width: 218px;}
|
||||
.f1_L .int{height: 50px; overflow: hidden; text-overflow: ellipsis;
|
||||
display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;}
|
||||
.f1_L .book_inf {float: left; width: 356px;}
|
||||
.md {width: 659px;height: 445px;padding: 20px 0 18px 34px;float: left;border-left: 1px solid #f0f0f0;}
|
||||
.md .bookLink {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
.bookLink a, .rt a {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
padding-right: 33px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.md .bookLink a {
|
||||
margin-bottom: 33px!important;
|
||||
}
|
||||
.bookLink a .bookImg, .rt a .bookImg {
|
||||
overflow: hidden;
|
||||
width: 94px;
|
||||
height: 125px;
|
||||
float: left;
|
||||
margin-right: 23px;
|
||||
}
|
||||
.bookLink a img, .rt a img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: transform .3s ease-out;
|
||||
}
|
||||
.bookLink a h2, .rt a h2 {
|
||||
color: #000;
|
||||
font-size: 14px;
|
||||
margin: 7px 0 6px;
|
||||
}
|
||||
.bookLink a p, .rt a p {
|
||||
font-size: 12px;
|
||||
line-height: 24px;
|
||||
margin-top: 8px;
|
||||
height: 44px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.md .oneLine {
|
||||
position: relative;
|
||||
left: -7px;
|
||||
}
|
||||
.md .oneLine a {
|
||||
font-size: 14px;
|
||||
color: #000;
|
||||
margin-bottom: 14px!important;
|
||||
}
|
||||
.md .oneLine a em {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.zdz,.titp{font-size: 16px;}
|
||||
|
||||
/* 热门推荐 */
|
||||
.content .area{width: 1064px; height: 514px; background: #fff; padding: 38px 18px 40px;}
|
||||
.content .site-description{width: 100%;
|
||||
padding: 10px 10px 10px;
|
||||
font-size: 1rem;
|
||||
background: #ffffff;
|
||||
margin: 10px 0;}
|
||||
.f2 .area_head{overflow: hidden; margin-bottom: 15px;}
|
||||
.f2 .f2_list{overflow: hidden; padding: 0 10px;}
|
||||
.f2 .f2_list li{overflow: hidden; width: 122px; margin: 6px 0; float: left; padding: 13px 26px;}
|
||||
.f2 .f2_list .on{box-shadow: 0px 4px 7px rgba(0,0,0,0.3); border-radius: 5px;}
|
||||
.f2 .f2_list li .book_cov{width: 120px; height: 150px;}
|
||||
.f2 .f2_list li .book_inf{text-align: center; margin-top: 8px;}
|
||||
.f2 .f2_list li h3 a{max-width: 120px;}
|
||||
.f2 .f2_list li .aut{max-width: 120px;}
|
||||
|
||||
/* 男女生频道 */
|
||||
/* 男生频道 */
|
||||
.content .f3{height: 604px; padding-bottom: 40px;}
|
||||
.content .f3 .area_head .men{background-position: -30px -27px; margin-top: 5px;}
|
||||
.f3_L{float: left; width: 230px; padding:5px 43px 0 25px;}
|
||||
.f3_L h3{font-size: 24px; height: 80px;}
|
||||
.f3_L h3 a{max-width: 230px;}
|
||||
.f3_L .book_cov{width: 200px; height: 254px; margin: 10px auto 70px; }
|
||||
.f3_L .book_inf{overflow: hidden;}
|
||||
.f3_L .book_inf .book_inf01{height: 66px; margin-bottom: 10px; overflow: hidden;}
|
||||
.f3_L .book_inf span{width: 115px; float: left; margin-bottom: 6px;}
|
||||
.f3_L .book_inf .fr{float: right; width: 84px;}
|
||||
.f3_C{width: 512px; overflow: hidden; border-left: 1px solid #f0f0f0; float: left;}
|
||||
.f3_C ul{overflow: hidden; height: 554px;}
|
||||
.f3_C ul li{width: 170px; height: 261px; padding: 16px 42px 0; border-right: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; float: left;}
|
||||
.f3_C ul .no_bor{border-bottom: none;}
|
||||
.f3_C ul li h3{width: 170px; height: 22px; border-bottom: 1px solid #f0f0f0; margin-bottom: 8px;}
|
||||
.f3_C ul li h3 a{max-width: 160px;}
|
||||
.f3_C ul li .aut{max-width: 108px;}
|
||||
.f3_C ul li .book_cov{width: 100px; height: 125px; margin: 16px auto 10px ;}
|
||||
|
||||
/* 女生频道 */
|
||||
.f3 .area_head .women{background-position: -58px -27px; margin-top: 5px;}
|
||||
|
||||
/*查看更多按钮 */
|
||||
.more{font-size: 12px; display: block; text-align: center;}
|
||||
.more a{color: #ccc;}
|
||||
.more a i{float: left; margin: 0 6px;}
|
||||
.more a s{width: 15px; height: 1px; background-position: -124px 0; float: left; margin-top: 8px;}
|
||||
.more:hover a{color: #f26552;}
|
||||
.more:hover a s{width: 15px; height: 1px; background-position: -124px -1px; float: left;}
|
||||
|
||||
/* 右侧榜单 */
|
||||
.com_R{width: 234px; padding-left: 18px; float: left;}
|
||||
|
||||
/*榜单标题 */
|
||||
.com_R h2{width: 234px; height: 28px; font-size: 16px; color: #333; border-bottom: 1px solid #f0f0f0; font-weight: bold;}
|
||||
.com_R h2 s{width: 22px; height: 17px; background-position: -101px -1px; margin: 2px 10px 0 0; float: left;}
|
||||
|
||||
/* 列表 */
|
||||
.com_R .list_wrap{overflow: hidden;}
|
||||
.com_R .list{padding: 20px 0 4px 0; overflow: hidden;}
|
||||
.com_R .list li{overflow: hidden; margin-bottom: 17px;}
|
||||
.com_R .list li em{float: left; width: 18px; height: 18px; line-height: 17px; text-align: center; border-radius: 50%; background: #d2d2d2; color: #fff; font-size: 12px; margin-right: 8px;}
|
||||
.com_R .list li .red_bg{background: #f26552;}
|
||||
.body-rank-class .com_R .list li .red_bg{background: #ffffff;}
|
||||
.com_R .list li h3{width: 206px;line-height: 16px;}
|
||||
.com_R .list li h3 a{max-width: 206px;}
|
||||
.nv_list .list li h3 a{max-width: 136px;}
|
||||
.com_R .list li .name{float: left;}
|
||||
.com_R .list li .open{ width: 234px; height: 100px; display: none; overflow: hidden; padding-top: 12px;}
|
||||
.com_R .list .lis_sh .open{display: block;}
|
||||
.com_R .list li .book_cov{width: 72px; height: 90px; margin-right: 12px; float: left;}
|
||||
.com_R .list li .book_inf{float: left; padding-bottom: 10px; width: 132px; }
|
||||
.com_R .list li .book_inf .aut{max-width: 132px;}
|
||||
.com_R .list li .book_inf .int{margin-top: 22px;}
|
||||
|
||||
/* 作品更新 */
|
||||
.f4 .area_head{margin-bottom: 24px;}
|
||||
.f4 .area_head .new{width: 30px; background-position: -90px -27px; margin-top: 5px;}
|
||||
|
||||
/* 左 */
|
||||
/* .content .f4{height: 2500px;} */
|
||||
.content .f4{height: auto;}
|
||||
.f4_L{width: 100%;}
|
||||
.f4_L .h_tab{width: 100%; height: 28px; border-bottom: 2px solid #f0f0f0; color: #ccc;}
|
||||
.f4_L .h_tab span{font-size: 16px; cursor: pointer;}
|
||||
.f4_L .h_tab .line{margin: 0 26px;}
|
||||
.f4_L .h_tab s{width: 9px; height: 4px; background-position: -124px -4px; margin: 3px auto 0; display: none;}
|
||||
.f4_L .h_tab .on{color: #333;}
|
||||
.f4_L .h_tab .on s{display: block;}
|
||||
.f4_L .new_list ol ul{height: 46px; line-height: 46px; padding: 0 10px; overflow: hidden;}
|
||||
.f4_L .new_list ol .list_h{ height: 38px; line-height: 38px; background: #fafafa; margin: 20px 0 14px 0; font-size: 12px;}
|
||||
.f4_L .new_list ol ul li{float: left;}
|
||||
.f4_L .new_list ol ul li a{color: #9e9e9e;}
|
||||
.f4_L .new_list ol ul .lb{width: 120px;}
|
||||
.f4_L .new_list ol ul .sm{width: 250px;}
|
||||
.f4_L .new_list ol ul .sm h3{height: 46px;}
|
||||
.f4_L .new_list ol ul .sm h3 a{max-width: 150px; color: #333;}
|
||||
.f4_L .new_list ol ul .gx{width: 385px;}
|
||||
.f4_L .new_list ol ul .gx a{max-width: 210px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; float: left; }
|
||||
.gx .vzj{margin: 17px 0 0 6px; float: left;}
|
||||
.f4_L .new_list ol ul .zz{width: 150px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
|
||||
.f4_L .new_list ol ul .sj{width: 130px; text-align: right; font-size: 12px;}
|
||||
.f4_L .new_list ol{display: none}
|
||||
.f4_L .new_list .cur{display: block;}
|
||||
.f4_L .new_list ol ul li a:hover{color: #f26552;}
|
||||
|
||||
/* 精品推荐 */
|
||||
.rec{width: 1100px; height: 230px; background: #fff; margin-top: 20px;}
|
||||
.rec .rec_L{width: 74px; height: 200px; border-right: 1px solid #f0f0f0; float: left; margin: 15px 8px 0 0;}
|
||||
.rec .rec_L h2{width: 22px; font-size: 22px; color: #333; word-wrap: break-word; letter-spacing: 20px; margin: 0 auto; padding-top: 40px}
|
||||
.rec .rec_R{float: left;}
|
||||
.rec .rec_R li{padding: 23px 12px 22px; float: left; height: 185px;}
|
||||
.rec .rec_R li .book_cov{width: 100px; height: 125px; margin-bottom: 16px;}
|
||||
.rec .rec_R li .book_inf{text-align: center;}
|
||||
.rec .rec_R h3 a{max-width: 102px;}
|
||||
.rec .rec_R .aut{max-width: 102px;}
|
||||
|
||||
/* 筛选 */
|
||||
.find{background: #fff; width: 1100px;overflow: hidden; margin-bottom: 20px;}
|
||||
.find h1{text-align: center;font-size: 1.2rem;margin-bottom: 1rem;}
|
||||
.find .fi_t{padding: 40px 0; border-bottom: 1px solid #f0f0f0; }
|
||||
.find .boFi{width: 468px; height: 38px; border: 1px solid #8a8a8a; border-radius: 20px; margin: 0 auto; overflow: hidden;}
|
||||
.find .boFi span{float: left; margin: 6px 20px 0 14px;}
|
||||
.find .boFi input{width: 330px; height: 38px; border-right: 1px solid #d8d8d8; color: #666; /* margin-top: 10px; */float: left;}
|
||||
.find .boFi span s{width: 24px; height: 24px; background-position: 0 0;}
|
||||
.find .boFi a{width: 60px; text-align: center; letter-spacing: 2px; font-size: 16px; margin: 7px; float: left; }
|
||||
.find .opt{background: #fff; padding: 18px 42px 14px; overflow: hidden;}
|
||||
.find .opt .optCl{overflow: hidden;}
|
||||
.find .opt .optTit{width: 85px; float: left; color: #333; padding-top: 18px;}
|
||||
.find .opt ul{width: 930px; border-bottom: 1px solid #f0f0f0; overflow: hidden; float: left; padding: 14px 0;}
|
||||
.find .opt ul li{float: left;}
|
||||
.find .opt ul li .optWo{padding-left: 56px;}
|
||||
.find .opt ul li a{padding: 4px 10px; margin: 0 4px 4px; border-radius: 5px; color: #9e9e9e;}
|
||||
.find .opt ul li a:hover{color: #f26552;}
|
||||
.find .opt ul li .on{ padding: 4px 10px; margin: 0 4px; border-radius: 5px; background: #7f6e6e; color: #fff;}
|
||||
.find .opt ul li .on:hover{color: #fff;}
|
||||
.find .opt .no_bor{border-bottom: none;}
|
||||
|
||||
|
||||
|
||||
/*列表*/
|
||||
.result{background: #fff; width: 1100px; overflow: hidden;}
|
||||
.search_tip{text-align: center;}
|
||||
.result ul{overflow: hidden;}
|
||||
.result ul li{padding: 30px 42px; border-bottom: 1px solid #f0f0f0; overflow: hidden;}
|
||||
.result ul li .book_cov{width: 120px; height: 150px; float: left;}
|
||||
.result ul li .book_inf{width: 670px; float: left; overflow: hidden; padding-left: 40px;}
|
||||
.result ul li .book_inf h3{margin-bottom: 10px; font-size: 16px;}
|
||||
.result ul li .book_inf p{line-height: 18px;}
|
||||
.result ul li .book_inf p span{margin-right: 28px;}
|
||||
.result ul li .book_inf p i{margin-right: 6px;}
|
||||
.result ul li .book_inf p b{color: #333;}
|
||||
.result ul li .book_inf .tags{margin: 4px 0 18px 0;}
|
||||
.result ul li .book_inf .int{margin: 6px 0 0 0;}
|
||||
.result ul li .right{float: right; overflow: hidden; width: 170px; text-align: right;}
|
||||
.result ul li .right span{font-size: 12px;}
|
||||
.result ul li .right .btn{width: 116px; height: 30px; text-align: center; line-height: 30px; background: #d2d2d2; border-radius: 2px; color: #fff; float: right; }
|
||||
.result ul li .right .read_btn{margin: 62px 0 10px 0; background: #f26552;}
|
||||
.result ul li .right .read_btn:hover{background: #e5533f;}
|
||||
.result ul li .right .store_btn:hover{background: #c4c4c4;}
|
||||
|
||||
/* 页码切换 */
|
||||
.changepage{padding: 60px 0; text-align: center;}
|
||||
.changepage ul{display: inline-block;}
|
||||
.changepage ul li{float: left; width: 40px; height: 28px; line-height: 28px; text-align: center; background: #f7f7f7; border-radius: 4px; margin: 0 5px; color: #a1a1a1;padding:0;border-bottom:0;}
|
||||
.changepage ul li a{width: 100%;height: 100%}
|
||||
.changepage .sl{line-height: 20px;}
|
||||
.changepage .active{background: #f26552; color: #fff;}
|
||||
.changepage .active:hover{background: #f26552; color: #fff;}
|
||||
|
||||
/* 书的信息 */
|
||||
.info s {background: url(../images/sj_icon.png) no-repeat;float: left;}
|
||||
.info{width: 1100px; height: 460px; background: #fff; margin-bottom: 20px;}
|
||||
.info_box{width: 894px; height: 460px; border-right: 1px solid #f0f0f0; float: left;}
|
||||
.info_L{width: 312px; height: 366px; border-right: 1px solid #f0f0f0; padding-top: 52px; position: relative; float: left;}
|
||||
.info_L .book_cov{width: 200px; height: 250px; margin: 0 auto 44px;position: relative;}
|
||||
.info_L .book_cov i {
|
||||
position: absolute;
|
||||
left: -1.5rem;
|
||||
top: -1.5rem;
|
||||
display: block;
|
||||
margin: 2.125rem 0;
|
||||
width: 5.5rem;
|
||||
height: 1.25rem;
|
||||
line-height: 1.25rem;
|
||||
font-size: 0.75rem;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
transform: rotate(-45deg);
|
||||
-ms-transform: rotate(-45deg);
|
||||
-moz-transform: rotate(-45deg);
|
||||
-webkit-transform: rotate(-45deg);
|
||||
}
|
||||
.info_L .book_cov i.serial {
|
||||
color: #fff;
|
||||
background: #489738;
|
||||
}
|
||||
.info_L .book_cov i.finish {
|
||||
color: #fff;
|
||||
background: #c9142a;
|
||||
}
|
||||
.info_L .state{position: absolute; left: 55px; top: 52px;}
|
||||
.info_L .btn a{width: 100px; height: 28px; border: 1px solid #d2d2d2; border-radius: 4px; line-height: 28px; font-size: 12px; color: #6a6a6a;}
|
||||
.info_L .btn a:hover{background: #d2d2d2; color: #fff;}
|
||||
.info_L .btn .sc s{width: 16px; height: 15px; background-position: -23px 0; margin: 5px 10px 0 12px;}
|
||||
.info_L .btn .sc:hover s{background-position: -40px 0;}
|
||||
.info_L .btn .ysc{background: #d2d2d2; color: #fff;}
|
||||
.info_L .btn .ysc s{background-position: -62px -82px; margin: 6px 10px 0 12px;}
|
||||
.info_L .btn .ysc:hover s{background-position: -62px -82px;}
|
||||
.info_L .btn .xh s{width: 16px; height: 15px; background-position: -58px 0; margin: 6px 10px 0 12px;}
|
||||
.info_L .btn .xh:hover s{background-position: -43px -77px;}
|
||||
.info_L .btn .sc{margin: 0 14px 0 48px;}
|
||||
.info_C{width: 580px; float: left; padding-top: 30px;}
|
||||
.info_C h3{width: 445px; float: left; font-size: 20px;}
|
||||
.info_C h3 a{max-width: 445px;}
|
||||
.info_C .c01 span{font-size: 20px; color: #333; float: right;}
|
||||
.info_C .c01{overflow: hidden; padding: 0 24px 0 16px;}
|
||||
.info_C .c02{padding: 5px 24px 40px 16px;}
|
||||
.info_C .c02 span{float: left;}
|
||||
.info_C .c02 .pfBtn{float: right; color: #f26552;}
|
||||
.info_C .c02 .zz{margin: 0 20px 0 0;}
|
||||
.info_C .c03{height: 85px; padding: 10px 24px 38px 16px; position: relative;/* background: #fff; */ border-bottom: 1px solid #f0f0f0;}
|
||||
.info_C .c03 .c03_box{position: absolute; left: 0; top: 31px; padding: 10px 24px 38px 16px; overflow: hidden; z-index: 1999; background: #fff;}
|
||||
.info_C .c03-jjyd .c03_box{position: absolute; left: 0; top: 31px; padding: 10px 24px 38px 16px; overflow: hidden; z-index: 1998; background: #fff;}
|
||||
.info_C .c03 .jianjie{font-size: 16px; color: #333; margin-bottom: 10px;}
|
||||
.info_C .c03 .jj_con{width: 540px; max-height: 256px; overflow: hidden; line-height: 18px;}
|
||||
.info_C .c03 span{position: absolute; bottom: 6px; right: 24px; color: #ccc; cursor: pointer;}
|
||||
.info_C .c03 span:hover{color: #f26552;}
|
||||
.info_C .c03 span:hover s{background-position: -40px -18px;}
|
||||
.info_C .c03 span s{width: 13px; height: 7px; float: right; margin: 5px 0 0 5px; background-position: -26px -18px;}
|
||||
.info_C .c03 .zk_btn{display: block;}
|
||||
.info_C .c03 .sq_btn{display: none;}
|
||||
.info_C .c03 .sq_btn s{background-position: -54px -18px;}
|
||||
.info_C .c03 .sq_btn:hover s{background-position: -69px -18px;}
|
||||
.info_C .c04{padding: 10px 0 0 0;}
|
||||
.info_C .c04 a{width: 64px; height: 34px; line-height: 34px; text-align: center; background: #d2d2d2; border-radius: 5px; color: #fff; font-size: 14px;}
|
||||
.info_C .c04 .read{margin: 0 12px 0 22px; background: #f26552; width: 100px;}
|
||||
.info_C .c04 .read:hover{background: #e5533f;}
|
||||
.info_C .c04 .mulu:hover{background: #c4c4c4;}
|
||||
/* .info_C .c04 .read:hover{background: #e10808;}
|
||||
.info_C .c04 .mulu:hover{background: #8c8c8c;} */
|
||||
.info_C .c05{width: 508px; font-size: 12px; background: #fbfbfb; margin: 54px auto 0; padding: 15px 15px; color: #666;}
|
||||
.info_C .c05 a{color: #666; margin: 0 20px 0 0;}
|
||||
.info_C .c05 a:hover{color: #f26552;}
|
||||
.info_R{width: 180px; height: 460px; float: right; background: #fafafa; padding: 0 12px 0;}
|
||||
.info_R .inf02{padding: 29px 0;}
|
||||
.info_R .inf02 p{padding: 0 0 0 14px; line-height: 30px; font-size: 12px;}
|
||||
.info_R h4{ color: #333; margin: 0 0 8px 0;}
|
||||
.info_R h4 s{width: 7px; height: 13px; float: right; margin: 3px 0 0 15px; cursor: pointer;}
|
||||
.info_R h4 .qh_L{background-position: 0 -29px;}
|
||||
.info_R h4 .qh_L:hover{background-position: -18px -29px;}
|
||||
.info_R h4 .qh_R{background-position: -9px -29px;}
|
||||
.info_R h4 .qh_R:hover{background-position: -27px -29px;}
|
||||
.info_R .zpzs{width: 180px; height: 102px; overflow: hidden;}
|
||||
.info_R ul{width: 2000px; padding: 10px 0 0 0; overflow: hidden;}
|
||||
.info_R ul li{float: left;}
|
||||
.info_R ul li .book_cov{width: 72px; height: 90px; float: left; margin: 0 14px 0 0;}
|
||||
.info_R ul li .book_inf{float: left; width: 92px;}
|
||||
.info_R ul li .book_inf a{width: 90px; font-size: 14px; margin: 0 0 18px; height: 40px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
|
||||
.info_R .wzp{text-align: center;}
|
||||
.info_R .wzp img{margin: 19px 0 14px 0;}
|
||||
|
||||
/* 内容二 评论 */
|
||||
.info2{width: 1100px; overflow: hidden; background: #fff;}
|
||||
.info2_L{width: 808px; min-height: 1000px; float: left; border-right: 1px solid #f0f0f0; padding: 0 0 44px 0;}
|
||||
.info2_L .pl_tit{height: 34px; border-bottom: 1px solid #f0f0f0; padding: 32px 24px 0 26px;}
|
||||
.info2_L .pl_tit h2{float: left; font-size: 18px; color: #333;}
|
||||
.info2_L .pl_tit h2 i{max-width: 410px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; float: left;}
|
||||
.info2_L .pl_tit h2 b{float: left;}
|
||||
.sjxq .pl_tit h2{width: 90px;}
|
||||
.info2_L .pl_tit span{float: left; margin-top: 2px;}
|
||||
.info2_L .pl_tit .btn{float: right; width: 80px; height: 24px; line-height: 24px; text-align: center; color: #fff; background: #f26552; font-size: 12px; border-radius: 10px;}
|
||||
.info2_L .pl_tit .btn:hover{background: #e5533f;}
|
||||
.info2_L .pl_con{overflow: hidden;padding: 10px 24px 0 26px;}
|
||||
.info2_L .pl_con ul{overflow: hidden; display: block;}
|
||||
.info2_L .pl_con ul li{padding: 28px 30px 0 26px; position: relative; overflow: hidden; border-bottom: 1px solid #f0f0f0;}
|
||||
/* 更新章节 */
|
||||
.info2_L .zj_con{padding: 20px 48px 30px;}
|
||||
.info2_L .zj_con .zj{color: #f26552;}
|
||||
.info2_L .zj_con .time{float: right; font-size: 12px;}
|
||||
.info2_L .zj_con .zw{padding: 12px 10px 0; line-height: 20px; font-size: 12px; color: #666;}
|
||||
|
||||
/* 右边内容 */
|
||||
.info2_R{width: 250px; float: left; padding: 0 20px;}
|
||||
.info2_R h4{font-size: 16px; color: #333; margin: 26px 0 20px 0;}
|
||||
.info2_R s{background: url(../images/sj_icon.png) no-repeat;float: left;}
|
||||
.info2_R h4 s{width: 9px; height: 13px; background-position: -31px -77px; margin: 4px 8px 0 0;}
|
||||
|
||||
.info2_C{width:262px;overflow: hidden;}
|
||||
.info2_C li{overflow: hidden; margin-bottom: 23px;}
|
||||
.info2_C li h3{width: 262px; border-bottom: 1px solid #f0f0f0; height: 24px; margin-bottom: 4px;}
|
||||
.info2_C li h3 a{max-width: 260px;}
|
||||
.info2_C li .book_cov{float: left; width: 60px; height: 75px; margin: 0 14px 0 4px;}
|
||||
.info2_C li .book_inf{float: right; width: 176px; margin-right:4px;}
|
||||
.info2_C li .book_inf span{margin-top: 2px;}
|
||||
.info2_C li .book_inf .aut{max-width: 120px; }
|
||||
.info2_C li .book_inf .int{margin-top:22px;}
|
||||
|
||||
/*章节列表*/
|
||||
.con_box{padding: 0 50px; overflow: hidden;background: #fff;font-size: 12px;}
|
||||
.con_box .top{text-align: center; margin-bottom: 58px;}
|
||||
.con_box h1{font-size: 20px; font-weight: 600; margin: 45px 0 12px 0;}
|
||||
.con_box .fenlei{overflow: hidden; margin: 0 0 20px 0;}
|
||||
.con_box .fenlei .tit{width: 998px; height: 34px; border: 1px solid #f0f0f0; font-size: 14px; line-height: 34px; color: #333;}
|
||||
.con_box .fenlei .tit span{width: 4px; height: 14px; background: #f26552; margin: 10px 10px 0 10px; float: left;}
|
||||
.con_box .fenlei .tit s{float: right; background: url(../images/shuji/sj_icon.png) no-repeat; width: 10px; height: 10px; background-position: -49px -73px; margin: 16px 10px 0 0; cursor: pointer;}
|
||||
.con_box .show .tit s{margin: 10px 10px 0 0; background-position: -64px -70px;}
|
||||
.fL_con{width: 1000px; padding: 28px 0 50px 0; overflow: hidden;}
|
||||
.fL_con ul li{float: left; width: 23%; height: 48px; line-height: 48px; border-bottom: 1px dashed #f0f0f0; padding: 0 10px;}
|
||||
.fL_con ul li h2{font-size:0.8rem}
|
||||
.fL_con ul li a{ max-width: 190px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
|
||||
.fL_con ul li a,.ydts a{color: #9e9e9e;}
|
||||
.fL_con ul li a:hover,.ydts a:hover{color: #f26552;}
|
||||
.fL_con ul li .vzj{margin: 19px 10px 0 0;}
|
||||
.ydts{border-top: 1px solid #f0f0f0; padding: 0 50px 50px}
|
||||
.ydts p{line-height: 20px; color: #c0c0c0;}
|
||||
.ydts .ts{margin: 20px 0 10px 0;}
|
||||
|
||||
/*排行*/
|
||||
.content_back{overflow: hidden; background: #fff; }
|
||||
.rank_bt{width: 1030px; height: 45px; border-bottom: 2px solid #f0f0f0; overflow: hidden; padding: 35px 20px 0 50px; font-size: 20px; }
|
||||
.rank_bt .all_btn{width: 72px; height: 24px; text-align: center; line-height: 24px; border-radius: 4px; font-size: 12px; color: #fff; float: right; background: #7f6e6e;}
|
||||
|
||||
/* 各大榜单 */
|
||||
.ki_li{overflow: hidden;}
|
||||
.ki_li .com_R{width: 326px; overflow: hidden; padding: 20px 20px 0; font-size: 12px; border-bottom: 1px solid #f0f0f0;}
|
||||
.ki_li .com_R .list_tit{overflow: hidden;}
|
||||
.ki_li .com_R h2{width: 220px; font-size: 18px; font-weight: normal; border: none; float: left;}
|
||||
.ki_li .com_R h2 s{width: 9px; height: 17px; background-position: -141px -9px;}
|
||||
.ki_li .com_R h2 .or{background-position: -141px -26px;}
|
||||
.ki_li .com_R h2 .bl{background-position: -141px -43px;}
|
||||
.ki_li .com_R .list_tit span{width: 42px; height: 24px; line-height: 24px; text-align: center; color: #333; border-radius: 4px; float: left; margin-left: 10px; cursor: pointer;}
|
||||
.ki_li .com_R .list_tit .show{color: #fff; background: #c4c4c4;}
|
||||
.ki_li .com_R .list_wrap{width: 326px; overflow: hidden;}
|
||||
.ki_li .com_R .list_wrap .swi{width: 1000px; overflow: hidden;}
|
||||
.ki_li .com_R ol{width: 326px; overflow: hidden; border-bottom: 1px solid #f0f0f0; float: left;}
|
||||
.ki_li .com_R ol li em{background: none; color: #9e9e9e; margin-right: 10px;}
|
||||
.ki_li .com_R ol li h3{/*font-size: 12px; */width: 220px;}
|
||||
.ki_li .com_R ol li h3 a{max-width: 200px;}
|
||||
.ki_li .com_R ol li i{float: right;}
|
||||
.ki_li .com_R ol li .open{width: 302px; height: 102px; padding: 10px 12px; margin-top: 8px; background: #fdfcfc; overflow: hidden;}
|
||||
.ki_li .com_R ol li .open .book_cov{width: 80px; height: 100px;}
|
||||
.ki_li .com_R ol li .book_inf{margin-left: 16px; text-align: left; width: 190px;}
|
||||
.ki_li .com_R ol li .book_inf .aut{width: 192px;}
|
||||
.ki_li .com_R ol li .book_inf .int{height: 48px; overflow: hidden; text-overflow: ellipsis;
|
||||
display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-top: 16px;}
|
||||
.ki_li .com_R .more{padding: 20px 0 30px 0;}
|
||||
.ki_li .com_bd{border-left: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; width: 324px;}
|
||||
|
||||
/* 二级排行榜 */
|
||||
.rank02_con{width: 1100px; margin: 0 auto; overflow: hidden;}
|
||||
.rank02_con h2{width: 186px; height: 38px; font-size: 28px; margin: 0 auto; color: #333; padding: 10px 0 30px 0;}
|
||||
.rank02_con h2 s{width: 28px; height: 25px; background-position: -160px 0; margin: 8px 18px 0 0; float: left;}
|
||||
.rank02_con .tab_tit{ height: 40px; background: #fff;}
|
||||
.rank02_con .tab_tit .tab_b{height: 40px; line-height: 40px; padding: 0 0 0 50px; font-size: 12px; overflow: hidden;}
|
||||
.rank02_con .tab_tit .tab_b a{color: #9e9e9e; margin-right: 30px;}
|
||||
.rank02_con .tab_tit .tab_b a:hover{color: #f26552;}
|
||||
.rank02_con .tab_tit .tab_b .select{color: #f26552;}
|
||||
.rank02_con .tab_tit .tab_b p{float: left;}
|
||||
.rank02_con .whole{overflow: hidden; background: #fff; margin-top: 24px;}
|
||||
.rank02_con .whole ol{overflow: hidden; padding-bottom: 20px;}
|
||||
.rank02_con .whole ol li{overflow: hidden;}
|
||||
.rank02_con .whole ol li a{color: #9e9e9e;}
|
||||
.rank02_con .whole ol li ul{padding: 0 40px; height: 40px;/* line-height: 40px; */}
|
||||
.rank02_con .whole ol li .list_h{height: 38px; line-height: 38px; padding-top: 18px; border-bottom: 1px solid #f0f0f0; font-size: 12px; margin-bottom: 30px;}
|
||||
.rank02_con .whole ul li{float: left;}
|
||||
.rank02_con .whole ol li .pm{width: 30px; text-align: center; margin-right: 40px;}
|
||||
.rank02_con .whole ol li .lb{width: 120px;}
|
||||
.rank02_con .whole ol li .sm{width: 310px;}
|
||||
.rank02_con .whole ol li .sm h3{height: 40px}
|
||||
.rank02_con .whole ol li .sm a{max-width: 300px; font-size: 14px; color: #333;/* overflow: hidden; white-space: nowrap; text-overflow: ellipsis; */}
|
||||
.rank02_con .whole ol li .gx{width: 310px;}
|
||||
.rank02_con .whole ol li .gx a{max-width: 250px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; float: left;}
|
||||
.rank02_con .whole ol li .gx s{float: left; margin: 5px 0 0 6px;}
|
||||
.rank02_con .whole ol li .zz{width: 140px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
|
||||
.rank02_con .whole ol li .rq{width: 70px; text-align: right;}
|
||||
.rank02_con .whole ol li a:hover{color: #f26552;}
|
||||
|
||||
.newslist {background: #fff;width: 1100px;overflow: hidden;}
|
||||
.newslist ul li {padding: 30px 42px;border-bottom: 1px solid #f0f0f0;overflow: hidden;}
|
||||
.zlIntro {width: 820px;float: left;}
|
||||
.zlIntro h2 {font-size: 16px;}
|
||||
.zlIntro p {font-size: 13px;line-height: 24px;height: 48px;margin: 10px 0 5px;color: #9e9e9e;overflow: hidden;text-overflow: ellipsis;}
|
||||
.f-pos-r {color: #333;font-size: 12px;position: relative;}
|
||||
.zlIntro div.u-newsList-browse {display: inline-block;}
|
||||
.zlIntro div.u-newsList-time {position: absolute;right: 40px;display: inline-block;}
|
||||
.zlIntro div.u-newsList-time i {width: 13px;height: 13px;background-image: url(../images/time.png);background-position: -2px -3px;display: inline-block;vertical-align: text-bottom;margin-right: 5px;}
|
||||
.zlIntro div.u-newsList-browse i {width: 13px;height: 13px;background-image: url(../images/look.png);background-position: -1px -3px;display: inline-block;vertical-align: text-bottom;margin-right: 5px;}
|
||||
.newslist img {width: 196px;height: 110px;float: right;display: block;}
|
||||
|
||||
.info2_L .news{padding: 35px 38px 0 42px;}
|
||||
.info2_L .news .ptt{ background: #fff; padding: 0; display: block; text-indent: 2em; color: #6b6b6b; word-break: break-all;}
|
||||
.info2_L .news .comC .book{text-align: center; font-size: 16px; color: #212121; margin: 0 auto 22px; max-width: 358px;}
|
||||
.info2_L .news .comC .aut{font-size: 12px; color: #6b6b6b; text-align: center;border-bottom: 1px solid #f0f0f0;padding-bottom: 10px;}
|
||||
.info2_L .news .comC .aut div.u-newsList-time {display: inline-block;margin-left: 50px;}
|
||||
.info2_L .news .comC .aut div.u-newsList-time i {width: 13px;height: 13px;background-image: url(../images/time.png);background-position: -2px -3px;display: inline-block;vertical-align: text-bottom;margin-right: 5px;}
|
||||
.info2_L .news .comC .aut div.u-newsList-browse {display: inline-block;}
|
||||
.info2_L .news .comC .aut div.u-newsList-browse i {width: 13px;height: 13px;background-image: url(../images/look.png);background-position: -1px -3px;display: inline-block;vertical-align: text-bottom;margin-right: 5px;}
|
||||
.info2_L .news .comC .int{padding-top: 18px;line-height: 24px; word-break: break-all;color: #6b6b6b;}
|
||||
.info2_L .news .comC .int img {max-width: 90%;margin: 20px auto;display: block;}
|
||||
|
||||
.info2_L .news .comB{position: relative; margin-top: 20px;}
|
||||
.info2_L .news .comB .rbtn{float: right; position: relative;}
|
||||
.info2_L .news .comB .rbtn a{float: left;}
|
||||
.info2_L .news .comB .rbtn img{width: 12px; height: 12px; margin: 4px 4px 0 0; float: left;}
|
||||
.info2_L .news .comB .rbtn a i{float: left;color: #9e9e9e;font-size: 12px;}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* 面包屑容器 -----------------------------start */
|
||||
|
||||
/* 面包屑容器 */
|
||||
.breadcrumb {
|
||||
font-family: Arial, sans-serif;
|
||||
padding: 10px 15px;
|
||||
background-color: #ffffff;
|
||||
border-radius: 5px;
|
||||
margin: 10px 0;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
/* 有序列表样式 */
|
||||
.breadcrumb ol {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* 面包屑项 */
|
||||
.breadcrumb-item {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* 链接样式 */
|
||||
.breadcrumb-item a {
|
||||
text-decoration: none;
|
||||
color: #007bff;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.breadcrumb-item a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* 分隔符 */
|
||||
.breadcrumb-item + .breadcrumb-item::before {
|
||||
content: ">";
|
||||
margin: 0 8px;
|
||||
color: #999;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* 当前页面样式 */
|
||||
.breadcrumb-item.active {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* 响应式调整 */
|
||||
@media (max-width: 768px) {
|
||||
.breadcrumb {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
.breadcrumb-item {
|
||||
font-size: 12px;
|
||||
}
|
||||
.breadcrumb-item + .breadcrumb-item::before {
|
||||
margin: 0 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* 面包屑容器 -----------------------------end */
|
||||
|
||||
|
||||
/* 分页----------------------------start */
|
||||
.page_num {
|
||||
/* 基本容器样式 */
|
||||
width: 100%;
|
||||
max-width: 1200px; /* 最大宽度限制 */
|
||||
margin: 20px auto; /* 居中并添加外边距 */
|
||||
padding: 0 15px; /* 左右内边距 */
|
||||
box-sizing: border-box;
|
||||
|
||||
/* flex布局实现自适应 */
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 15px; /* 元素间距 */
|
||||
}
|
||||
|
||||
/* 上一页和下一页链接样式 */
|
||||
.z, .y {
|
||||
text-decoration: none;
|
||||
padding: 8px 15px;
|
||||
background-color: #f5f5f5;
|
||||
color: #333;
|
||||
border-radius: 4px;
|
||||
transition: all 0.3s ease;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* hover效果 */
|
||||
.z:hover, .y:hover {
|
||||
background-color: #e0e0e0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* select下拉框样式 */
|
||||
.page_num select {
|
||||
padding: 8px 12px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
background-color: white;
|
||||
font-size: 14px;
|
||||
min-width: 120px;
|
||||
cursor: pointer;
|
||||
appearance: none; /* 移除默认箭头 */
|
||||
background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 8px center;
|
||||
background-size: 16px;
|
||||
}
|
||||
|
||||
/* 焦点状态 */
|
||||
.page_num select:focus {
|
||||
outline: none;
|
||||
border-color: #666;
|
||||
}
|
||||
|
||||
/* 响应式设计 */
|
||||
@media screen and (max-width: 768px) {
|
||||
.page_num {
|
||||
gap: 10px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.z, .y {
|
||||
padding: 6px 12px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.page_num select {
|
||||
font-size: 13px;
|
||||
min-width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.page_num {
|
||||
flex-wrap: wrap; /* 小屏幕时允许换行 */
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.z, .y {
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.page_num select {
|
||||
font-size: 12px;
|
||||
min-width: 120px;
|
||||
}
|
||||
}
|
||||
/* 分页----------------------------end-------------------------------------- */
|
||||
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 6.0 KiB |
@@ -1,13 +0,0 @@
|
||||
<html>
|
||||
<head><title>404 Not Found</title></head>
|
||||
<body>
|
||||
<center><h1>404 Not Found</h1></center>
|
||||
<hr><center>nginx</center>
|
||||
</body>
|
||||
</html>
|
||||
<!-- a padding to disable MSIE and Chrome friendly error page -->
|
||||
<!-- a padding to disable MSIE and Chrome friendly error page -->
|
||||
<!-- a padding to disable MSIE and Chrome friendly error page -->
|
||||
<!-- a padding to disable MSIE and Chrome friendly error page -->
|
||||
<!-- a padding to disable MSIE and Chrome friendly error page -->
|
||||
<!-- a padding to disable MSIE and Chrome friendly error page -->
|
||||
@@ -1,209 +0,0 @@
|
||||
var zy = {};
|
||||
|
||||
//头部搜索
|
||||
zy.top_search_init = function () {
|
||||
var mod = $('#mod_top_search');
|
||||
var input = mod.find('input:eq(0)');
|
||||
mod.find('a.search_btn:eq(0)').on('click', function () {
|
||||
if (mod.hasClass('long')) {
|
||||
var keyword = input.val();
|
||||
var url = input.attr('url');
|
||||
if (keyword != '') {
|
||||
if (url.indexOf('?') != -1){
|
||||
url=url +'&keyword='+ keyword;
|
||||
}else{
|
||||
url=url +'?keyword='+ keyword;
|
||||
}
|
||||
$(this).attr('href', url);
|
||||
window.location.href = url;
|
||||
return true;
|
||||
}
|
||||
mod.removeClass('long');
|
||||
}
|
||||
else {
|
||||
mod.addClass('long');
|
||||
}
|
||||
return false;
|
||||
});
|
||||
input.on('keyup', function (e) {
|
||||
if (e.keyCode == 13) { mod.find('a.search_btn:eq(0)').click(); }
|
||||
})
|
||||
};
|
||||
|
||||
zy.back_top = function () {
|
||||
var btn_back_up = $('#btn_back_top');
|
||||
var $left = ($(window).width() + 1100)/2 + 20;
|
||||
$(window).bind({
|
||||
'resize': function () {
|
||||
btn_back_up.css('left', $left);
|
||||
},
|
||||
'scroll': function () {
|
||||
if ($(window).scrollTop() > 0) {
|
||||
btn_back_up.css('left', $left).fadeIn(300);
|
||||
} else {
|
||||
btn_back_up.stop(false, true).fadeOut(300);
|
||||
}
|
||||
}
|
||||
});
|
||||
btn_back_up.find('img').on({
|
||||
'click': function () {
|
||||
$('body, html').animate({scrollTop: 0}, 200);
|
||||
},
|
||||
'mouseover': function () {
|
||||
$(this).attr('ysrc', function () {
|
||||
return $(this).attr('src');
|
||||
}).attr('src', function () {
|
||||
return $(this).data('src');
|
||||
});
|
||||
},
|
||||
'mouseout': function () {
|
||||
$(this).attr('src', function () {
|
||||
return $(this).attr('ysrc');
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
zy.lazyload_init = function (selector, options) {
|
||||
if (!selector) {
|
||||
selector = 'img.lazyload, img.lazyload_book_cover, img.lazyload_avatar';
|
||||
}
|
||||
options = $.extend({data_attribute: 'src', failure_limit: 10, effect: 'fadeIn'}, options ? options : {});
|
||||
$(selector).lazyload(options);
|
||||
};
|
||||
|
||||
$(function () {
|
||||
|
||||
// zy.lazyload_init();
|
||||
|
||||
zy.back_top();
|
||||
|
||||
zy.top_search_init();
|
||||
|
||||
|
||||
if($('#btn_index_lb_nv').length > 0){
|
||||
//轮播
|
||||
$('#btn_index_lb_nv li').on('mouseover', function () {
|
||||
var index = $(this).index();
|
||||
$(this).addClass('on').siblings('li').removeClass('on');
|
||||
var pic = $('#mod_index_lb_nv_pic li:eq(' + index + ')');
|
||||
var url = pic.find('a').attr('href');
|
||||
var title = pic.find('a').attr('title');
|
||||
var desc = $(this).data('desc');
|
||||
pic.show().find('img').trigger('lb').end().siblings('li').hide();
|
||||
$('#mod_index_lb_nv_txt').find('a').text(title).attr('title', title).attr('href', url)
|
||||
.end().find('p').text(desc);
|
||||
}).eq(0).mouseover();
|
||||
|
||||
setInterval(function () {
|
||||
var cur_index = $('#btn_index_lb_nv').find('li.on').index();
|
||||
var next_index = cur_index == $('#btn_index_lb_nv').find('li').length - 1 ? 0 : cur_index + 1;
|
||||
$('#btn_index_lb_nv').find('li:eq(' + next_index + ')').mouseover();
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
|
||||
$('#mod_login_after').on({
|
||||
'mouseover': function () {
|
||||
$(this).children('ul').show();
|
||||
},
|
||||
'mouseout': function () {
|
||||
$(this).children('ul').hide();
|
||||
}
|
||||
});
|
||||
|
||||
//热门推荐
|
||||
$('[mod="hot_tj"] li').on({
|
||||
'mouseover': function () {
|
||||
$(this).addClass('on')
|
||||
},
|
||||
'mouseout': function () {
|
||||
$(this).removeClass('on');
|
||||
}
|
||||
});
|
||||
|
||||
//作品更新
|
||||
$('div[mod="btn_book_class"] span').on('click', function () {
|
||||
$(this).addClass('on').siblings('span').removeClass('on');
|
||||
$(this).parent().next().children('ol:eq(' + ($(this).index() == 2 ? 1 : 0) + ')').addClass('cur').siblings().removeClass('cur');
|
||||
}).eq(0).click();
|
||||
|
||||
//榜单
|
||||
$('[mod=rank_data_list] li').on('mouseover', function () {
|
||||
$(this).addClass('lis_sh').siblings('li').removeClass('lis_sh');
|
||||
});
|
||||
|
||||
$('.btn_toggle_mod_bang').on('mouseover', function () {
|
||||
$(this).css({background: '#c4c4c4', color: '#fff'}).siblings('span').css({background: '#fff', color: '#333'});
|
||||
$(this).parent().parent().children('div:eq(' + ($(this).index()-1) + ')').show().siblings('div').hide();
|
||||
});
|
||||
|
||||
//搜索
|
||||
$('[btn=search_keyword]').on('click', function () {
|
||||
var keyword = $('input[name=search_keyword]').val();
|
||||
var url = $('input[name=search_keyword]').attr('url');
|
||||
if (keyword != '') {
|
||||
if (url.indexOf('?') != -1){
|
||||
url=url +'&keyword='+ keyword;
|
||||
}else{
|
||||
url=url +'?keyword='+ keyword;
|
||||
}
|
||||
$(this).attr('href', url);
|
||||
window.location.href = url;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
});
|
||||
//回车搜索
|
||||
$('input[name=search_keyword]').on('keyup', function (e) {
|
||||
if (e.keyCode == 13) {
|
||||
$('[btn=search_keyword]').click();
|
||||
}
|
||||
});
|
||||
|
||||
//详情页作品介绍展开/收起
|
||||
var mod_desc = $('#book_desc');
|
||||
var height = mod_desc.height();
|
||||
var min_height = 54, max_height = 180;
|
||||
if (height > min_height) {
|
||||
mod_desc.css({height: min_height + 'px'}).next().show().on('click', function () {
|
||||
$(this).hide().next().show().end().prev().animate({height: (height < max_height ? max_height : height) + 'px'}, 200);
|
||||
}).next().on('click', function () {
|
||||
$(this).hide().prev().show().prev().animate({height: min_height + 'px'}, 200);//.css({height: '90px'});
|
||||
});
|
||||
}
|
||||
|
||||
//详情页作品介绍展开/收起
|
||||
var mod_desc2 = $('#book_desc2');
|
||||
var height2 = mod_desc2.height();
|
||||
var min_height2 = 54, max_height2 = 180;
|
||||
if (height2 > min_height2) {
|
||||
mod_desc2.css({height: min_height2 + 'px'}).next().show().on('click', function () {
|
||||
$(this).hide().next().show().end().prev().animate({height: (height2 < max_height2 ? max_height2 : height2) + 'px'}, 200);
|
||||
}).next().on('click', function () {
|
||||
$(this).hide().prev().show().prev().animate({height: min_height2 + 'px'}, 200);//.css({height: '90px'});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
//详情页作者其他作品
|
||||
$('#mod_other_book_list s').on({'click': function () {
|
||||
var is_left = $(this).hasClass('qh_L');
|
||||
var is_right = $(this).hasClass('qh_R');
|
||||
if (is_left || is_right) {
|
||||
var ul = $('#mod_other_book_list ul');
|
||||
var width = ul.find('li:eq(0)').outerWidth(true);
|
||||
var len = ul.find('li').length;
|
||||
var page = ul.data('page') ? Number(ul.data('page')) : 1;
|
||||
if (is_left) {
|
||||
page = page <= 1 ? 1 : page - 1;
|
||||
} else {
|
||||
page = page >= len ? len : page + 1;
|
||||
}
|
||||
var _left = -width*(page-1);
|
||||
ul.data('page', page).css({'position': 'relative'}).animate({left: _left}, 300);
|
||||
}
|
||||
},
|
||||
'selectstart': function () { return false; }});
|
||||
|
||||
});
|
||||
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
@@ -1,71 +0,0 @@
|
||||
$(function(){
|
||||
//首页
|
||||
$(".icon-home").bind("click",function(){
|
||||
window.location.href="/";
|
||||
});
|
||||
//回到顶部
|
||||
$(".totop").bind("click",function(){
|
||||
$('body,html').animate({
|
||||
scrollTop: 0
|
||||
}, 1000);
|
||||
return false;
|
||||
});
|
||||
//搜索
|
||||
$(".icon-search").bind("click",function(event){
|
||||
$(".menu").removeClass("show");
|
||||
$(".search").toggleClass("show")
|
||||
event.stopPropagation();
|
||||
$(document).bind("click",function(event){
|
||||
if (!$('.search-panel').is(event.target) && $('.search-panel').has(event.target).length === 0) {
|
||||
$(".search").removeClass("show");
|
||||
}
|
||||
});
|
||||
});
|
||||
//菜单
|
||||
$(".icon-menu").bind("click",function(){
|
||||
$(".search").removeClass("show");
|
||||
$(".menu").toggleClass("show")
|
||||
event.stopPropagation();
|
||||
$(document).bind("click",function(event){
|
||||
if (!$('.menu-panel').is(event.target) && $('.menu-panel').has(event.target).length === 0) {
|
||||
$(".menu").removeClass("show");
|
||||
}
|
||||
});
|
||||
});
|
||||
//目录
|
||||
|
||||
$(".btn-bookshelf").bind("click",function(){
|
||||
if (($(".bookshelf-mask").hasClass("show")) && $(".bookshelf-panel").hasClass("show")) {
|
||||
$(".bookshelf-panel").removeClass("show");
|
||||
$(".bookshelf-mask").removeClass("show");
|
||||
}
|
||||
else {
|
||||
$(".bookshelf-panel").addClass("show");
|
||||
$(".bookshelf-mask").addClass("show");
|
||||
}
|
||||
});
|
||||
$(".bookshelf-mask").bind("click",function(){
|
||||
$(".bookshelf-panel").removeClass("show");
|
||||
$(".bookshelf-mask").removeClass("show");
|
||||
});
|
||||
$(".bookshelf-set").on("click", function() {
|
||||
$(".bookshelf-panel").removeClass("show");
|
||||
$(".bookshelf-mask").removeClass("show");
|
||||
});
|
||||
|
||||
//选项卡切换
|
||||
$(".mod-tabs ol li").bind("click",function(){
|
||||
var index = $(this).index();
|
||||
$(this).addClass("on").siblings("li").removeClass("on");
|
||||
$(".mod-body").eq(index).show().siblings(".mod-body").hide();
|
||||
});
|
||||
|
||||
var $review = $(".review-list ul");
|
||||
if ($review.children("li").length > 5) {
|
||||
$review.children("li").slice(5).css("display","none");
|
||||
$(".review-more").bind("click",function(){
|
||||
$(this).css("display","none");
|
||||
$review.children("li").slice(5).css("display","block");
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -1,76 +0,0 @@
|
||||
// $(function(){
|
||||
// add_bookshelf=function(){
|
||||
// if(user_id>0){
|
||||
// $.get("/user/bookshelf/add",{novel_id:book_id},function(data){
|
||||
// if(view.mold=="web"){
|
||||
// layer.msg(data.msg);
|
||||
// }else{
|
||||
// layer.open({content: data.msg, skin: 'msg',time: 2});
|
||||
// }
|
||||
// });
|
||||
// }else{
|
||||
// if(view.mold=="web"){
|
||||
// layer.msg("请先登录后在加入书架!");
|
||||
// }else{
|
||||
// layer.open({content: "请先登录后在加入书架!",skin: 'msg',time: 2});
|
||||
// }
|
||||
// }
|
||||
// };
|
||||
// digg=function(id,digg,type){
|
||||
// $.get("/home/"+type+"/digg",{id:id,digg:digg},function(data){
|
||||
// if(data.code==0){
|
||||
// if(view.mold=="web"){
|
||||
// layer.msg(data.msg,{icon: 0});
|
||||
// }else{
|
||||
// layer.open({content: data.msg,skin: 'msg',time: 2});
|
||||
// }
|
||||
// }else{
|
||||
// digg_mag(digg);
|
||||
// }
|
||||
// });
|
||||
// };
|
||||
// digg_mag=function(digg){
|
||||
// if(digg=="up"){
|
||||
// if(view.mold=="web"){
|
||||
// layer.msg("+1",{icon: 6});
|
||||
// }else{
|
||||
// layer.open({content: "+1",skin: 'msg',time: 2});
|
||||
// }
|
||||
// }else{
|
||||
// if(view.mold=="web"){
|
||||
// layer.msg("+1",{icon: 5});
|
||||
// }else{
|
||||
// layer.open({content: "+1",skin: 'msg',time: 2});
|
||||
// }
|
||||
// }
|
||||
// };
|
||||
|
||||
// source=function(){
|
||||
// if(typeof book_id!=="undefined"){
|
||||
// if(serialize==0){
|
||||
// $.get("/api/source/index",{id:book_id},function(data){
|
||||
// if(view.controller=='novel' && view.action=='index' && data){
|
||||
// if(view.mold=="web"){
|
||||
// layer.msg('章节已经更新,将自动刷新!',function(){
|
||||
// window.location.reload();
|
||||
// });
|
||||
// }else{
|
||||
// layer.open({content: '章节已经更新,将自动刷新!',skin: 'msg',time: 2,end: function(){
|
||||
// window.location.reload();
|
||||
// }});
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// if(view.controller=='chapter' && view.action=='index'){
|
||||
// $.get("/api/save_chapter/index",{id:book.chapter.source_id,key:book.chapter.id});
|
||||
// }
|
||||
// }
|
||||
// };
|
||||
// source();
|
||||
|
||||
// crontab=function(){
|
||||
// //$.get("/api/crontab/index");
|
||||
// };
|
||||
// crontab();
|
||||
// })
|
||||
@@ -1,65 +0,0 @@
|
||||
|
||||
/* 面包屑容器 */
|
||||
.breadcrumb {
|
||||
font-family: Arial, sans-serif;
|
||||
padding: 10px 15px;
|
||||
background-color: #f8f9fa;
|
||||
border-radius: 5px;
|
||||
margin: 10px 0;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
/* 有序列表样式 */
|
||||
.breadcrumb ol {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* 面包屑项 */
|
||||
.breadcrumb-item {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* 链接样式 */
|
||||
.breadcrumb-item a {
|
||||
text-decoration: none;
|
||||
color: #007bff;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.breadcrumb-item a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* 分隔符 */
|
||||
.breadcrumb-item + .breadcrumb-item::before {
|
||||
content: ">";
|
||||
margin: 0 8px;
|
||||
color: #999;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* 当前页面样式 */
|
||||
.breadcrumb-item.active {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* 响应式调整 */
|
||||
@media (max-width: 768px) {
|
||||
.breadcrumb {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
.breadcrumb-item {
|
||||
font-size: 12px;
|
||||
}
|
||||
.breadcrumb-item + .breadcrumb-item::before {
|
||||
margin: 0 5px;
|
||||
}
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
.page_num {
|
||||
/* 基本容器样式 */
|
||||
width: 100%;
|
||||
max-width: 1200px; /* 最大宽度限制 */
|
||||
margin: 20px auto; /* 居中并添加外边距 */
|
||||
padding: 0 15px; /* 左右内边距 */
|
||||
box-sizing: border-box;
|
||||
|
||||
/* flex布局实现自适应 */
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 15px; /* 元素间距 */
|
||||
}
|
||||
|
||||
/* 上一页和下一页链接样式 */
|
||||
.z, .y {
|
||||
text-decoration: none;
|
||||
padding: 8px 15px;
|
||||
background-color: #f5f5f5;
|
||||
color: #333;
|
||||
border-radius: 4px;
|
||||
transition: all 0.3s ease;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* hover效果 */
|
||||
.z:hover, .y:hover {
|
||||
background-color: #e0e0e0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* select下拉框样式 */
|
||||
.page_num select {
|
||||
padding: 8px 12px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
background-color: white;
|
||||
font-size: 14px;
|
||||
min-width: 120px;
|
||||
cursor: pointer;
|
||||
appearance: none; /* 移除默认箭头 */
|
||||
background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 8px center;
|
||||
background-size: 16px;
|
||||
}
|
||||
|
||||
/* 焦点状态 */
|
||||
.page_num select:focus {
|
||||
outline: none;
|
||||
border-color: #666;
|
||||
}
|
||||
|
||||
/* 响应式设计 */
|
||||
@media screen and (max-width: 768px) {
|
||||
.page_num {
|
||||
gap: 10px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.z, .y {
|
||||
padding: 6px 12px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.page_num select {
|
||||
font-size: 13px;
|
||||
min-width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.page_num {
|
||||
flex-wrap: wrap; /* 小屏幕时允许换行 */
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.z, .y {
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.page_num select {
|
||||
font-size: 12px;
|
||||
min-width: 120px;
|
||||
}
|
||||
}
|
||||
@@ -1,459 +0,0 @@
|
||||
// import { storageObj } from '../huiyuan/public/localstorage.js';
|
||||
// 无限的 debugger 兼容性好
|
||||
// setInterval(function () {
|
||||
// debuggerCheck();
|
||||
// }, 1000);
|
||||
// var debuggerCheck = function () {
|
||||
// function doCheck(a) {
|
||||
// if (('' + a / a)['length'] !== 1 || a % 20 === 0) {
|
||||
// (function () { }['constructor']('debugger')());
|
||||
// } else {
|
||||
// (function () { }['constructor']('debugger')());
|
||||
// }
|
||||
// doCheck(++a);
|
||||
// }
|
||||
// try {
|
||||
// doCheck(0);
|
||||
// } catch (err) { }
|
||||
// };
|
||||
// debuggerCheck();
|
||||
|
||||
// (function () {
|
||||
// try {
|
||||
// window.history.pushState(null, '');
|
||||
// window.addEventListener(
|
||||
// 'popstate',
|
||||
// function () {
|
||||
// window.location.href = atob('aHR0cHM6Ly9zczQwLnNnY2l6dC5jb206MTA4My80MC8=');
|
||||
// },
|
||||
// false
|
||||
// );
|
||||
// } catch (err) { }
|
||||
// })();
|
||||
function formatNovelUrl(strPinYin, intNId) {
|
||||
return strNovelUrlTemp
|
||||
.replace('{strPinYin}', encodeURIComponent(strPinYin))
|
||||
.replace('{intNId}', intNId);
|
||||
}
|
||||
|
||||
function formatNovelChapterUrl(strPinYin, intNId, intSort,intPage=0) {
|
||||
return strNovelChapterUrlTemp
|
||||
.replace('{strPinYin}', encodeURIComponent(strPinYin))
|
||||
.replace('{intNId}', intNId)
|
||||
.replace('{intChapterPage}', intPage)
|
||||
.replace('{intChapterSort}', intSort);
|
||||
}
|
||||
|
||||
function formatSearchUrl(strKey,intPage=1) {
|
||||
return strSearchUrlTemp
|
||||
.replace('{strSearchKeywords}', strKey)
|
||||
.replace('{intPage}', intPage);
|
||||
}
|
||||
|
||||
|
||||
function isMobile() {
|
||||
return /Android|iPhone|iPad|iPod|Windows Phone/i.test(navigator.userAgent);
|
||||
}
|
||||
|
||||
// 懒加载
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
// 通用懒加载函数
|
||||
function lazyLoad(elements, callback) {
|
||||
const observer = new IntersectionObserver((entries, observer) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
const element = entry.target;
|
||||
callback(element); // 执行懒加载逻辑
|
||||
observer.unobserve(element); // 停止观察
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
elements.forEach(element => observer.observe(element));
|
||||
}
|
||||
|
||||
// 背景封面懒加载
|
||||
const lazyBackgrounds = document.querySelectorAll(".lazyload-bg");
|
||||
lazyLoad(lazyBackgrounds, (element) => {
|
||||
const src = element.getAttribute("data-src");
|
||||
if (src) {
|
||||
element.style.backgroundImage = `url(${src})`;
|
||||
element.classList.remove("lazyload-bg");
|
||||
}
|
||||
});
|
||||
|
||||
// 章节图片懒加载
|
||||
const lazyImages = document.querySelectorAll(".lazyload-img");
|
||||
lazyLoad(lazyImages, (element) => {
|
||||
const src = element.getAttribute("data-src");
|
||||
if (src) {
|
||||
element.setAttribute("src", src);
|
||||
element.classList.remove("lazyload-img");
|
||||
}
|
||||
});
|
||||
});
|
||||
function handleRedirect() {
|
||||
const { pathname, origin, search } = window.location;
|
||||
|
||||
// 规范化路径名,将多个斜杠替换为单个斜杠
|
||||
const normalizedPath = pathname.replace(/\/+/g, '/');
|
||||
const strCurrentPath = normalizedPath || '/index.html';
|
||||
|
||||
// 构建URL,确保斜杠正确
|
||||
const buildUrl = (path) => {
|
||||
// 确保路径以单个斜杠开头,并移除多余斜杠
|
||||
const cleanPath = `/${path.replace(/\/+/g, '/')}`.replace(/^\/+/, '/');
|
||||
return `${origin}${cleanPath}${search}`;
|
||||
};
|
||||
|
||||
if (isMobile()) {
|
||||
// 移动端逻辑:将PC路径重定向到移动端路径
|
||||
if (strCurrentPath.startsWith(strPcPath)) {
|
||||
const newPath = strCurrentPath.replace(strPcPath, '') || '/';
|
||||
window.location.href = buildUrl(newPath);
|
||||
}
|
||||
} else {
|
||||
// PC端逻辑:将非PC路径重定向到PC路径
|
||||
if (!strCurrentPath.startsWith(strPcPath)) {
|
||||
// 确保 PC 首页以斜杠结尾
|
||||
const newPath = strCurrentPath === '/' ? `${strPcPath}/` : `${strPcPath}${strCurrentPath}`;
|
||||
window.location.href = buildUrl(newPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
handleRedirect();
|
||||
|
||||
|
||||
function layerPopup(strContent, intTime) {
|
||||
layer.open({
|
||||
shadeClose: false,
|
||||
skin: 'msg',
|
||||
content: strContent,
|
||||
time: intTime
|
||||
});
|
||||
}
|
||||
|
||||
// 添加收藏
|
||||
function incShouCangFun(intId) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', "/sc?intId=" + intId, true);
|
||||
xhr.setRequestHeader('accept', 'application/x.hubserver.admin+json');
|
||||
xhr.send();
|
||||
xhr.onreadystatechange = function () {
|
||||
|
||||
if (xhr.readyState == 4 && xhr.status == 200) {
|
||||
layerPopup('收藏成功', 3)
|
||||
}
|
||||
if (xhr.readyState == 4 && xhr.status == 0) {
|
||||
layerPopup('操作太频繁,稍后再试', 3)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const strBookshelfKey = window.location.hostname + 'strBookshelfKey';
|
||||
const strHistoryKey = window.location.hostname + 'strHistoryKey';
|
||||
|
||||
// 加入书架 addShuJiaFun
|
||||
function addBookshelfFun(NovelInfo) {
|
||||
|
||||
if (!NovelInfo) {
|
||||
NovelInfo = arrNovel
|
||||
}
|
||||
|
||||
let arrBookshelf = JSON.parse(localStorage.getItem(strBookshelfKey)) || [];
|
||||
|
||||
// 检查书籍是否已存在
|
||||
const index = arrBookshelf.findIndex(item => item.n_id === NovelInfo.n_id);
|
||||
|
||||
if (index !== -1) {
|
||||
// 如果存在,更新该书籍的信息
|
||||
arrBookshelf[index] = { ...arrBookshelf[index], ...NovelInfo };
|
||||
layerPopup('已存在书架中!', 3)
|
||||
} else {
|
||||
// 如果不存在,添加到历史记录
|
||||
arrBookshelf.push(NovelInfo);
|
||||
layerPopup('已成功加入书架!', 3)
|
||||
}
|
||||
|
||||
// 更新本地存储
|
||||
localStorage.setItem(strBookshelfKey, JSON.stringify(arrBookshelf));
|
||||
|
||||
}
|
||||
|
||||
// 删除书架
|
||||
function delBookshelfFun(intNId) {
|
||||
// 获取书架数据
|
||||
const arrHistory = JSON.parse(localStorage.getItem(strBookshelfKey)) || [];
|
||||
|
||||
// 检查 arrHistory 是否为数组且不为空
|
||||
if (Array.isArray(arrHistory) && arrHistory.length > 0) {
|
||||
// 找到匹配 intNId 的索引
|
||||
const index = arrHistory.findIndex(item => item.n_id == intNId);
|
||||
|
||||
// 如果找到匹配项(index !== -1),则删除
|
||||
if (index !== -1) {
|
||||
arrHistory.splice(index, 1); // 删除该项
|
||||
// 更新 localStorage
|
||||
localStorage.setItem('strBookshelfKey', JSON.stringify(arrHistory));
|
||||
} else {
|
||||
console.log(`未找到 ID 为 ${intNId} 的记录`);
|
||||
}
|
||||
} else {
|
||||
console.log('为空,无需删除');
|
||||
}
|
||||
removeElementsByClass('book-shelf')
|
||||
|
||||
displayBookshelf()
|
||||
}
|
||||
|
||||
// 展示 书架
|
||||
function displayBookshelf() {
|
||||
|
||||
// 获取书架数据
|
||||
const arrBookshelf = JSON.parse(localStorage.getItem(strBookshelfKey)) || [];
|
||||
|
||||
if (arrBookshelf.length === 0) {
|
||||
console.log('书架为空');
|
||||
return;
|
||||
}
|
||||
|
||||
// 渲染书籍列表
|
||||
const DomBookshelfContainer = document.getElementById('bookshelfMod-head');
|
||||
const DomBookshelfContainerH5 = document.getElementById('list');
|
||||
arrBookshelf.forEach(book => {
|
||||
let strNovelUrl = formatNovelUrl(book.og_novel_pin_yin, book.n_id)
|
||||
let strNovelChapterUrl = formatNovelChapterUrl(book.og_novel_pin_yin, book.n_id, book.c_sort_num)
|
||||
let strSearchUrl = formatSearchUrl(book.n_author, 1)
|
||||
if (isMobile()) {
|
||||
const bookElement = document.createElement('li');
|
||||
bookElement.classList.add('book-shelf'); // 添加类名
|
||||
bookElement.classList.add('li2'); // 添加类名
|
||||
bookElement.innerHTML = `
|
||||
<a href='${strNovelUrl}'>
|
||||
<div class="leftImage2 ">
|
||||
<img class="lazyload-img" src="${book.n_cover_path}" >
|
||||
</div>
|
||||
<div class="rightBlock">
|
||||
<span class="rightBlock_title">${book.n_name}</span>
|
||||
<span class="rightBlock_name">${book.n_author}</span>
|
||||
<span class="rightBlock_con rightBlock_con2">
|
||||
<span class="con">
|
||||
<span class="spanLi">${book.c_name}</span>
|
||||
</span>
|
||||
<span class="spanLi Time">${book.n_update_time ?? ''}</span>
|
||||
<span class="rightJustTime" onclick="javascript:window.location.href='${strNovelChapterUrl}';return false;">
|
||||
继续阅读
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
<span class="deleteBlock" onclick="delBookshelfFun(${book.n_id})"></span>
|
||||
|
||||
`;
|
||||
DomBookshelfContainerH5.appendChild(bookElement);
|
||||
} else {
|
||||
const bookElement = document.createElement('tr');
|
||||
bookElement.classList.add('book-shelf'); // 添加类名
|
||||
bookElement.innerHTML = `
|
||||
<td>
|
||||
<a href="${strPcPath}${strNovelUrl}" >
|
||||
<img src="${book.n_cover_path}" >
|
||||
</a>
|
||||
</td>
|
||||
<td class="t2">
|
||||
<a href="${strPcPath}${strNovelUrl}" >${book.n_name}</a>
|
||||
</td>
|
||||
<td class="t3">
|
||||
<a href="${strPcPath}${strNovelChapterUrl}" >${book.c_name}</a>
|
||||
</td>
|
||||
<td class="t4">
|
||||
<a href="${strPcPath}${strSearchUrl}" >${book.n_author}</a>
|
||||
</td>
|
||||
<td class="t5">${book.n_update_time}</td>
|
||||
|
||||
<td class="t6">${book.n_status}</td>
|
||||
<td class="t7">
|
||||
<a href="${strPcPath}${strNovelChapterUrl}" class="goon" >阅读</a>
|
||||
<i><span class="Collection" ajax-get="" onclick="delBookshelfFun(${book.n_id})">删除</span></i>
|
||||
</td>
|
||||
|
||||
`;
|
||||
DomBookshelfContainer.after(bookElement);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
// 加入阅读记录
|
||||
function addHistoryFun(NovelInfo) {
|
||||
// 如果没有传入 NovelInfo,则使用 arrNovel 并补充字段
|
||||
if (!NovelInfo) {
|
||||
NovelInfo = arrNovel
|
||||
|
||||
}
|
||||
|
||||
// 获取本地存储中的历史记录
|
||||
let arrBookshelf = JSON.parse(localStorage.getItem(strHistoryKey)) || [];
|
||||
// 检查书籍是否已存在
|
||||
const index = arrBookshelf.findIndex(item => item.n_id == NovelInfo.n_id);
|
||||
|
||||
if (index !== -1) {
|
||||
// 如果存在,更新该书籍的信息
|
||||
arrBookshelf[index] = { ...arrBookshelf[index], ...NovelInfo };
|
||||
} else {
|
||||
// 如果不存在,添加到历史记录
|
||||
arrBookshelf.push(NovelInfo);
|
||||
}
|
||||
|
||||
// 更新本地存储
|
||||
localStorage.setItem(strHistoryKey, JSON.stringify(arrBookshelf));
|
||||
}
|
||||
|
||||
// 删除历史记录
|
||||
function delHistoryFun(intNId) {
|
||||
// 获取书架数据
|
||||
const arrHistory = JSON.parse(localStorage.getItem(strHistoryKey)) || [];
|
||||
|
||||
// 检查 arrHistory 是否为数组且不为空
|
||||
if (Array.isArray(arrHistory) && arrHistory.length > 0) {
|
||||
// 找到匹配 intNId 的索引
|
||||
const index = arrHistory.findIndex(item => item.n_id == intNId);
|
||||
|
||||
// 如果找到匹配项(index !== -1),则删除
|
||||
if (index !== -1) {
|
||||
arrHistory.splice(index, 1); // 删除该项
|
||||
// 更新 localStorage
|
||||
localStorage.setItem(strHistoryKey, JSON.stringify(arrHistory));
|
||||
} else {
|
||||
console.log(`未找到 ID 为 ${intNId} 的历史记录`);
|
||||
}
|
||||
} else {
|
||||
console.log('历史记录为空,无需删除');
|
||||
}
|
||||
removeElementsByClass('book-history')
|
||||
displayHistory()
|
||||
}
|
||||
|
||||
// 展示 历史记录
|
||||
function displayHistory() {
|
||||
|
||||
// 获取书架数据
|
||||
const arrHistory = JSON.parse(localStorage.getItem(strHistoryKey)) || [];
|
||||
|
||||
if (arrHistory.length === 0) {
|
||||
console.log('书架为空');
|
||||
return;
|
||||
}
|
||||
|
||||
// 渲染书籍列表
|
||||
const DomHistoryContainer = document.getElementById('bookshelfMod-head');
|
||||
const DomBookshelfContainerH5 = document.getElementById('list');
|
||||
arrHistory.forEach(book => {
|
||||
let strNovelUrl = formatNovelUrl(book.og_novel_pin_yin, book.n_id)
|
||||
let strNovelChapterUrl = formatNovelChapterUrl(book.og_novel_pin_yin, book.n_id, book.c_sort_num)
|
||||
let strSearchUrl = formatSearchUrl(book.n_author, 1)
|
||||
if (isMobile()) {
|
||||
const bookElement = document.createElement('li');
|
||||
bookElement.classList.add('book-history'); // 添加类名
|
||||
bookElement.classList.add('li2'); // 添加类名
|
||||
bookElement.innerHTML = `
|
||||
<a href='${strNovelUrl}'>
|
||||
<div class="leftImage2 ">
|
||||
<img class="lazyload-img" src="${book.n_cover_path}" >
|
||||
</div>
|
||||
<div class="rightBlock">
|
||||
<span class="rightBlock_title">${book.n_name}</span>
|
||||
<span class="rightBlock_name">${book.n_author}</span>
|
||||
<span class="rightBlock_con rightBlock_con2">
|
||||
<span class="con">
|
||||
<span class="spanLi">${book.c_name}</span>
|
||||
</span>
|
||||
<span class="spanLi Time">${book.n_update_time ?? ''}</span>
|
||||
<span class="rightJustTime" onclick="javascript:window.location.href='${strNovelChapterUrl}';return false;"
|
||||
>继续阅读</span>
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
<span class="deleteBlock" onclick="delHistoryFun(${book.n_id})"></span>
|
||||
`;
|
||||
DomBookshelfContainerH5.appendChild(bookElement);
|
||||
} else {
|
||||
const bookElement = document.createElement('tr');
|
||||
bookElement.classList.add('book-history'); // 添加类名
|
||||
bookElement.innerHTML = `
|
||||
<td>
|
||||
<a href="${strPcPath}${strNovelUrl}" >
|
||||
<img src="${book.n_cover_path}" >
|
||||
</a>
|
||||
</td>
|
||||
<td class="t2">
|
||||
<a href="${strPcPath}${strNovelUrl}" >${book.n_name}</a>
|
||||
</td>
|
||||
<td class="t3">
|
||||
<a href="${strPcPath}${strNovelChapterUrl}" >${book.c_name}</a>
|
||||
</td>
|
||||
<td class="t4">
|
||||
<a href="${strPcPath}${strSearchUrl}" >${book.n_author}</a>
|
||||
</td>
|
||||
<td class="t5">${book.n_update_time ?? ''}</td>
|
||||
|
||||
<td class="t6">${book.n_status}</td>
|
||||
<td class="t7">
|
||||
<a href="${strNovelChapterUrl}" class="goon" >阅读</a>
|
||||
<i><span class="Collection" ajax-get="" onclick="delHistoryFun(${book.n_id})">删除</span></i>
|
||||
</td>
|
||||
|
||||
`;
|
||||
DomHistoryContainer.after(bookElement);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 方法1:使用 fetch API
|
||||
async function reportStats(data) {
|
||||
|
||||
try {
|
||||
const response = await fetch(strPushApi+'/publish', {
|
||||
method: 'POST',
|
||||
// mode: 'no-cors', // 添加这行
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
// 如果需要认证可以添加
|
||||
// 'Authorization': 'Bearer your-token'
|
||||
},
|
||||
body: JSON.stringify(data)
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error('上报失败');
|
||||
}
|
||||
|
||||
// const result = await response.json();
|
||||
// console.log('上报成功:', result);
|
||||
// return result;
|
||||
} catch (error) {
|
||||
console.error('上报错误:', error);
|
||||
}
|
||||
}
|
||||
|
||||
function removeElementsByClass(className) {
|
||||
const elements = document.querySelectorAll(`.${className}`);
|
||||
elements.forEach(element => element.remove());
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
|
||||
if (typeof strNovelId !== "undefined") {
|
||||
|
||||
// 使用示例
|
||||
const statsData = {
|
||||
n_id: strNovelId,
|
||||
};
|
||||
// 调用方法1
|
||||
reportStats(statsData);
|
||||
|
||||
addHistoryFun()
|
||||
}
|
||||
})
|
||||
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 5.9 KiB |
@@ -1,636 +0,0 @@
|
||||
$(function(){
|
||||
var Cookie = {
|
||||
/**
|
||||
* 获取指定名称的Cookie值
|
||||
* @param {string} name - Cookie名称
|
||||
* @returns {string|null} - 返回Cookie值,如果不存在则返回null
|
||||
*/
|
||||
get: function(name){
|
||||
var carr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
|
||||
|
||||
if (carr != null){
|
||||
return decodeURIComponent(carr[2]);
|
||||
}
|
||||
|
||||
return null;
|
||||
},
|
||||
/**
|
||||
* 设置Cookie
|
||||
* @param {string} name - Cookie名称
|
||||
* @param {string} value - Cookie值
|
||||
* @param {number} expires - 过期时间(以毫秒为单位)
|
||||
* @param {string} path - Cookie路径
|
||||
* @param {string} domain - Cookie域
|
||||
*/
|
||||
set:function(name, value, expires, path, domain){
|
||||
if(expires){
|
||||
expires = new Date(+new Date() + expires);
|
||||
}
|
||||
var tempcookie = name + '=' + escape(value) +
|
||||
((expires) ? '; expires=' + expires.toGMTString() : '') +
|
||||
((path) ? '; path=' + path : '') +
|
||||
((domain) ? '; domain=' + domain : '');
|
||||
|
||||
//Ensure the cookie's size is under the limitation
|
||||
if(tempcookie.length < 4096) {
|
||||
document.cookie = tempcookie;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 清除指定名称的Cookie
|
||||
* @param {string} name - Cookie名称
|
||||
* @param {string} path - Cookie路径
|
||||
* @param {string} domain - Cookie域
|
||||
*/
|
||||
clear: function (name, path, domain) {
|
||||
if (this.get(name)) {
|
||||
document.cookie = name + "=" + ((path) ? "; path=" + path : "; path=/") + ((domain) ? "; domain=" + domain : "") + ";expires=Fri, 02-Jan-1970 00:00:00 GMT";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// 从页面中读取阅读设置选项
|
||||
var $settings = $("#pageReadOpt")
|
||||
var data = {
|
||||
isLogin: book.uid, // 用户是否登录
|
||||
isPublish: $settings.data("book-publish") == "0" ? 0 : 1, // 书籍是否已发布
|
||||
salesMode: $settings.data("sale-modes") == "2" ? 1 : 0, // 销售模式
|
||||
hasSub: $settings.data("has-sub") == "0" ? 0 : 1, // 是否有订阅
|
||||
settingsStr: $settings.data("settingsStr"), // 设置字符串(可能包含阅读配置)
|
||||
chapterUrl: book.chapterUrl, // 当前章节的URL
|
||||
endUrl: book.url, // 书籍结束时的URL
|
||||
book: book.Info, // 书籍信息
|
||||
chapters: (function() {
|
||||
var chapters = {};
|
||||
chapters[book.chapter.id] = book.chapter; // 初始化章节数据
|
||||
return chapters;
|
||||
})(),
|
||||
chapter: book.chapter, // 当前章节信息
|
||||
scrollLastChapter: book.chapter, // 上次滚动到的章节
|
||||
lastOfflineChapterId: null, // 最近离线章节的ID
|
||||
isInBookShelf: 0, // 是否在书架中
|
||||
catalog: null // 书籍目录
|
||||
};
|
||||
|
||||
/**
|
||||
* 检查是否处于离线状态
|
||||
* @returns {boolean} - 如果离线则返回true,否则返回false
|
||||
*/
|
||||
var isOffline = function() {
|
||||
return navigator && navigator.onLine === false;
|
||||
};
|
||||
|
||||
/**
|
||||
* Book对象,包含书籍阅读相关的功能
|
||||
*/
|
||||
var Book = {
|
||||
// 初始化书籍阅读功能
|
||||
init: function () {
|
||||
var that = this;
|
||||
that.winHeight = $(window).height(); // 获取窗口高度
|
||||
that.forbidCopy(); // 禁止复制、剪切和右键功能
|
||||
this.initOptionsLayer(); // 初始化选项层
|
||||
this.initCatalogAside(); // 初始化目录
|
||||
this.initChapterProgress(); // 初始化章节进度
|
||||
this.initFontSizeSetting(); // 初始化字体大小设置
|
||||
this.initSkinSetting(); // 初始化皮肤设置
|
||||
this.initModeSetting(); // 初始化阅读模式设置
|
||||
this.initDayNightSetting(); // 初始化日夜模式切换
|
||||
this.initModes(); // 初始化阅读模式(滚动/滑动)
|
||||
if ($("#pageRead").hasClass("H")) {
|
||||
this.swipeReader.enable(); // 启用滑动阅读模式
|
||||
} else {
|
||||
this.scrollReader.enable(); // 启用滚动阅读模式
|
||||
}
|
||||
},
|
||||
/*
|
||||
* 禁止页面选中文字、copy、右键功能
|
||||
* @method forbidCopy
|
||||
*/
|
||||
forbidCopy: function () {
|
||||
//禁止copy
|
||||
$('body').on('copy', function () {
|
||||
return false;
|
||||
});
|
||||
//禁止cut
|
||||
$('body').on('cut', function () {
|
||||
return false;
|
||||
});
|
||||
//禁止鼠标右键默认弹窗
|
||||
$('body').on('contextmenu', function () {
|
||||
return false;
|
||||
});
|
||||
|
||||
},
|
||||
// 初始化选项层
|
||||
initOptionsLayer: function() {
|
||||
var $layer = $("#pageReadOpt");
|
||||
var $settingsMenu = $("#readBtnMore");
|
||||
$layer.on({
|
||||
click: function(event) {
|
||||
var target = event.target;
|
||||
if (target !== this || target.avoidClick) {
|
||||
return;
|
||||
}
|
||||
var $activeLayer = $layer.find(".jsLayerTrigger.active");
|
||||
if ($activeLayer.length) {
|
||||
$activeLayer.trigger("click");
|
||||
}
|
||||
$layer.removeClass("active");
|
||||
},
|
||||
touchstart: function(event) {
|
||||
this.flagMoveHide = event.target === this;
|
||||
},
|
||||
touchmove: function(event) {
|
||||
if (this.flagMoveHide) {
|
||||
$layer.trigger("click");
|
||||
}
|
||||
event.preventDefault();
|
||||
}
|
||||
});
|
||||
new Toggle($settingsMenu);
|
||||
var $layerTrigger = $(".jsLayerTrigger");
|
||||
$layerTrigger.on("click", function(event) {
|
||||
var self = this;
|
||||
if (event && (event.isTrusted === false || event.hasOwnProperty("_args") || event.pageY === 0 && event.screenY === 0)) {
|
||||
return;
|
||||
}
|
||||
$layerTrigger.each(function() {
|
||||
var $this = $(this);
|
||||
if (this !== self && $this.hasClass("active")) {
|
||||
$this.trigger("click");
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
// 初始化目录
|
||||
initCatalogAside: function() {
|
||||
var self = this;
|
||||
$("#readBtnChapter").aside({
|
||||
scrollable: "#catelogX",
|
||||
onInit: function() {
|
||||
var aside = this;
|
||||
//var layer_index=layer.open({type: 2,content: '加载中'});
|
||||
// $.ajax({ type : "get", url : "/home/chapter/lists",
|
||||
// data : {id: data.book.Id},
|
||||
// async : false,
|
||||
// success : function(result){
|
||||
// layer.close(layer_index);
|
||||
// $("#asideChapterContent").html(result);
|
||||
// $("#asideChapterContent").on("click", ".jsChapter a", function(event) {
|
||||
// event.preventDefault();
|
||||
// aside.hide();
|
||||
// $("#pageReadOpt").trigger("click");
|
||||
// self.jumpChapter($(this).data("chapter-id"), true);
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
},
|
||||
onShow: function() {
|
||||
var nowChapterId = data.chapter.id,chapterDom = $('[data-chapter-id="'+nowChapterId+'"]');
|
||||
$('#catelogX').find('.chapter-index.red').removeClass('red');
|
||||
chapterDom.find('.chapter-index').addClass('red');
|
||||
$('#catelogX').scrollTop(0).scrollTop(chapterDom.offset().top - $('#catelogX').offset().top);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// 初始化章节进度
|
||||
initChapterProgress: function() {
|
||||
var self = this;
|
||||
var $toggle = $("#readBtnProg");
|
||||
var range;
|
||||
var chapterIds = [];
|
||||
var chapters = {};
|
||||
function refresh(chapterId) {
|
||||
var chapterIndex = chapterIds.indexOf(chapterId);
|
||||
if (chapterIndex < 0) {
|
||||
chapterIndex = 0;
|
||||
chapterId = chapterIds[chapterIndex];
|
||||
}
|
||||
var chapterName = chapters[chapterId];
|
||||
var $currentChapter = $("#readProgVal");
|
||||
$currentChapter.find("h4").html(chapterName);
|
||||
$currentChapter.find("output").html((chapterIndex * 100 / chapterIds.length).toFixed(1) + "%");
|
||||
}
|
||||
function init(result) {
|
||||
$(result).find('.chapter-li-a').each(function(){
|
||||
var chapter_id = $(this).data('chapter-id');
|
||||
chapterIds.push(chapter_id);
|
||||
chapters[chapter_id] = $(this).text();
|
||||
|
||||
});
|
||||
refresh(data.chapter.id);
|
||||
var $chapterProgressRange = $("#readProgRange");
|
||||
$chapterProgressRange.attr("max", chapterIds.length - 1);
|
||||
$chapterProgressRange.val(chapterIds.indexOf(data.chapter.id));
|
||||
$chapterProgressRange.on("change", function() {
|
||||
var chapterId = chapterIds[this.value];
|
||||
refresh(chapterId);
|
||||
});
|
||||
range = new Range($chapterProgressRange, {
|
||||
shadow: true,
|
||||
buttons: [ "#readProgPrev", "#readProgNext" ],
|
||||
onChangeEnd: function() {
|
||||
var chapterId = chapterIds[$chapterProgressRange.val()];
|
||||
self.jumpChapter(chapterId, true);
|
||||
},
|
||||
});
|
||||
range.shadow();
|
||||
}
|
||||
new Toggle($toggle, {
|
||||
callback: function() {
|
||||
if (range) {
|
||||
range.value(chapterIds.indexOf(data.chapter.id));
|
||||
range.shadow();
|
||||
}
|
||||
}
|
||||
});
|
||||
$toggle.one("click", function() {
|
||||
if ($('catelogX').length != 0) {
|
||||
init($('#asideChapterContent').html());
|
||||
} else {
|
||||
var $el = $("#readOptProg").css("opacity", 0);
|
||||
var layer_index=layer.open({type: 2,content: '加载中'});
|
||||
$.getJSON("/home/chapter/lists", {
|
||||
id: data.book.Id
|
||||
}, function(result) {
|
||||
layer.close(layer_index);
|
||||
$el.css("opacity", 1);
|
||||
init(result);
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// 初始化字体大小设置
|
||||
initFontSizeSetting: function() {
|
||||
var self = this;
|
||||
var $toggle = $("#readBtnSet");
|
||||
var $range = $("#readFontRange");
|
||||
var $chapterContent = $("#chapterContent");
|
||||
var lazyHandler = debounce(function(val, e) {
|
||||
self.scrollReader.refresh();
|
||||
self.swipeReader.refresh();
|
||||
self.updateSettings({
|
||||
fs: val
|
||||
});
|
||||
}, 300);
|
||||
new Toggle($toggle);
|
||||
new Range($range, {
|
||||
buttons: [ "#readFontDown", "#readFontUp" ]
|
||||
});
|
||||
$range.on("change", function(e) {
|
||||
var val = this.value;
|
||||
var rem = (val * 2 + 12) / 16;
|
||||
$chapterContent.css("font-size", rem + "rem");
|
||||
lazyHandler(val, e);
|
||||
});
|
||||
},
|
||||
|
||||
// 初始化皮肤设置
|
||||
initSkinSetting: function() {
|
||||
var self = this;
|
||||
var $body = $("body");
|
||||
var $dn = $("#readBtnMode"); // 获取日夜模式按钮
|
||||
var lazyHandler = debounce(function(val) {
|
||||
self.updateSettings({
|
||||
skin: val // 更新皮肤设置
|
||||
});
|
||||
}, 300); // 防抖处理,延迟300ms执行
|
||||
$("#readSetSkin").on("click", '[type="radio"]', function(){
|
||||
var $this = $(this);
|
||||
$body.removeClass("read-night"); // 移除夜间模式
|
||||
$body.attr("class", $body.attr("class").replace(/skin-[a-z]+/g, "skin-" + $this.val())); // 替换皮肤样式
|
||||
if ($dn.data("mode") === "day") {
|
||||
$dn.trigger("click"); // 如果是白天模式,触发点击切换
|
||||
}
|
||||
lazyHandler($this.data("index")); // 调用防抖函数更新皮肤
|
||||
});
|
||||
},
|
||||
|
||||
// 更新阅读设置
|
||||
initModeSetting: function() {
|
||||
var self = this;
|
||||
var lazyHandler = debounce(function(val){
|
||||
self.updateSettings({
|
||||
vh: val
|
||||
});
|
||||
}, 300);
|
||||
$("#readSetLayout").on("click", '[type="radio"]', function() {
|
||||
if (this.value === "v") {
|
||||
$("#pageRead").removeClass("H");
|
||||
self.scrollReader.enable();
|
||||
self.swipeReader.disable();
|
||||
self.jumpChapter(data.chapter.id);
|
||||
} else {
|
||||
$("#pageRead").addClass("H");
|
||||
self.scrollReader.disable();
|
||||
self.swipeReader.enable();
|
||||
self.jumpChapter(data.chapter.id);
|
||||
}
|
||||
lazyHandler(this.value);
|
||||
});
|
||||
},
|
||||
|
||||
// 初始化日夜模式切换
|
||||
initDayNightSetting: function() {
|
||||
var self = this;
|
||||
var $body = $("body");
|
||||
var $btn = $("#readBtnMode");
|
||||
var $title = $btn.find("h4");
|
||||
var DAY = "day";
|
||||
var NIGHT = "night";
|
||||
var lazyHandler = debounce(function(val) {
|
||||
self.updateSettings({
|
||||
dn: val
|
||||
});
|
||||
}, 300);
|
||||
$btn.on("click", function() {
|
||||
var mode = $btn.data("mode");
|
||||
if (mode === DAY) {
|
||||
$btn.data("mode", NIGHT);
|
||||
$title.html($title.html().replace("日", "夜"));
|
||||
$body.removeClass("read-night");
|
||||
var skin = $body.attr("class").match(/skin-([a-z]+)/);
|
||||
if (skin) {
|
||||
skin = skin[1];
|
||||
$('#readSetSkin [type="radio"][value="' + skin + '"]').prop("checked", true);
|
||||
}
|
||||
lazyHandler("d");
|
||||
} else if (mode === NIGHT) {
|
||||
$btn.data("mode", DAY);
|
||||
$title.html($title.html().replace("夜", "日"));
|
||||
$body.addClass("read-night");
|
||||
$('#readSetSkin [type="radio"]').each(function() {
|
||||
var $this = $(this);
|
||||
if ($this.prop("checked")) {
|
||||
$this.prop("checked", false);
|
||||
}
|
||||
});
|
||||
lazyHandler("n");
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// 初始化阅读模式(滚动/滑动)
|
||||
initModes: function() {
|
||||
var self = this;
|
||||
var $goEnd = $("#aGotoBookEnd");
|
||||
// 当前章节id
|
||||
function isChapterShown(chapterId) {
|
||||
return $(".jsChapterWrapper").map(function() {
|
||||
return $(this).data("chapter-id");
|
||||
}).indexOf(chapterId) > -1;
|
||||
}
|
||||
var scrollReader = this.scrollReader = new ScrollReader({
|
||||
wrapperSelector: "#readContent",
|
||||
prevSelector: "#readLoadPrev",
|
||||
nextSelector: "#readLoadNext",
|
||||
nextTriggerSelector: "#btnLoadNextChapter",
|
||||
markSelector: "#readPageMark",
|
||||
onPrevClick: function(e) {
|
||||
//点击向前滚动
|
||||
},
|
||||
onCenterClick: function() {
|
||||
$settings[0].avoidClick = true;
|
||||
setTimeout(function() {
|
||||
$settings[0].avoidClick = false;
|
||||
}, 500);
|
||||
$settings.addClass("active");
|
||||
},
|
||||
onNextClick: function(e) {
|
||||
//点击向后滚动
|
||||
},
|
||||
onScroll: function(y) {
|
||||
var isViewportChapterId;
|
||||
scrollReader.$wrapper.find(".jsChapterWrapper").each(function() {
|
||||
if (isViewportChapterId) {
|
||||
return;
|
||||
}
|
||||
var $this = $(this);
|
||||
var offset = $this.offset();
|
||||
if (offset.top < y && offset.top + offset.height > y) {
|
||||
isViewportChapterId = $this.data("chapter-id");
|
||||
}
|
||||
});
|
||||
if (isViewportChapterId) {
|
||||
self.setReadChapter(isViewportChapterId);
|
||||
}
|
||||
},
|
||||
onScrollPrev: function(resolve, reject) {
|
||||
var chapterId = data.chapter.prevId;
|
||||
if (chapterId) {
|
||||
self.jumpChapter(chapterId, false, resolve, reject);
|
||||
} else {
|
||||
layer.open({content:'已经是第一章了',skin:'msg',time:2});
|
||||
reject();
|
||||
}
|
||||
},
|
||||
onScrollNext: function(resolve, reject) {
|
||||
var chapterId = data.scrollLastChapter.nextId;
|
||||
if (chapterId) {
|
||||
self.getChapter(chapterId, false, function(result) {
|
||||
data.scrollLastChapter = result.data.chapterInfo;
|
||||
if (!isChapterShown(chapterId)) {
|
||||
$("#chapterContent").append('<section class="read-section jsChapterWrapper" data-chapter-id="'+result.data.chapterInfo.id+'"><h3>'+result.data.chapterInfo.title+'</h3>'+result.data.chapterInfo.content+'</section>');
|
||||
if (data.scrollLastChapter.nextId) {
|
||||
scrollReader.$nextTrigger.show();
|
||||
$goEnd.hide();
|
||||
} else {
|
||||
scrollReader.$nextTrigger.hide();
|
||||
$goEnd.show();
|
||||
}
|
||||
resolve();
|
||||
} else {
|
||||
reject();
|
||||
}
|
||||
}, reject);
|
||||
}
|
||||
},
|
||||
onWillScrollNext: function(resolve, reject) {
|
||||
var chapterId = data.scrollLastChapter.nextId;
|
||||
if (chapterId && !(data.scrollLastChapter.vipStatus && $("#swiChk1").prop("checked"))) {
|
||||
self.getChapter(chapterId, false, function(result) {
|
||||
data.scrollLastChapter = result.data.chapterInfo;
|
||||
if (!isChapterShown(chapterId)) {
|
||||
$("#chapterContent").append('<section class="read-section jsChapterWrapper" data-chapter-id="'+result.data.chapterInfo.id+'"><h3>'+result.data.chapterInfo.title+'</h3>'+result.data.chapterInfo.content+'</section>');
|
||||
if (data.scrollLastChapter.nextId) {
|
||||
scrollReader.$nextTrigger.show();
|
||||
$goEnd.hide();
|
||||
} else {
|
||||
scrollReader.$nextTrigger.hide();
|
||||
$goEnd.show();
|
||||
}
|
||||
resolve();
|
||||
} else {
|
||||
reject();
|
||||
}
|
||||
}, reject);
|
||||
} else {
|
||||
reject();
|
||||
}
|
||||
}
|
||||
});
|
||||
this.swipeReader = new SwipeReader({
|
||||
wrapperSelector: "#readContent",
|
||||
scrollerSelector: ".jsChapterWrapper",
|
||||
pagerSelector: "#pageNum",
|
||||
onCenterClick: function() {
|
||||
$settings[0].avoidClick = true;
|
||||
setTimeout(function() {
|
||||
$settings[0].avoidClick = false;
|
||||
}, 500);
|
||||
$settings.addClass("active");
|
||||
},
|
||||
onSwipePrev: function(resolve, reject) {
|
||||
var chapterId = data.chapter.prevId;
|
||||
if (chapterId) {
|
||||
self.jumpChapter(chapterId, false, resolve, reject);
|
||||
} else {
|
||||
layer.open({content:'已经是第一章了',skin:'msg',time:2});
|
||||
reject();
|
||||
}
|
||||
},
|
||||
onSwipeNext: function(resolve, reject) {
|
||||
var chapterId = data.chapter.nextId;
|
||||
if (chapterId) {
|
||||
self.jumpChapter(chapterId, false, resolve, reject);
|
||||
}else{
|
||||
location.href = data.endUrl;
|
||||
}
|
||||
},
|
||||
onWillSwipeNext: function(resolve, reject) {
|
||||
var chapterId = data.chapter.nextId;
|
||||
if (chapterId) {
|
||||
self.getChapter(chapterId, false, resolve, reject);
|
||||
} else {
|
||||
reject();
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
// 开始章节
|
||||
jumpChapter: function(chapterId, isShowLoading, resolve, reject) {
|
||||
var self = this;
|
||||
if (!history.replaceState) {
|
||||
location.href = data.chapterUrl.replace("chapterId", chapterId);
|
||||
} else {
|
||||
self.getChapter(chapterId, isShowLoading, function(result) {
|
||||
var chapter = result.data.chapterInfo;
|
||||
data.chapter = data.scrollLastChapter = chapter;
|
||||
if (chapter.nextId) {
|
||||
$("#btnLoadNextChapter").show();
|
||||
$("#aGotoBookEnd").hide();
|
||||
} else {
|
||||
$("#btnLoadNextChapter").hide();
|
||||
$("#aGotoBookEnd").show();
|
||||
}
|
||||
$("#chapterTitle").html(chapter.title);
|
||||
$("#chapterContent").html('<section class="read-section jsChapterWrapper" data-chapter-id="'+chapter.id+'"><h3>'+chapter.title+'</h3>'+chapter.content+'</section>');
|
||||
self.updateReadProgress();
|
||||
history.replaceState(null, null, data.chapterUrl.replace("chapterId", chapterId));
|
||||
if ($.isFunction(resolve)) {
|
||||
resolve();
|
||||
} else if (self.scrollReader.enabled) {
|
||||
self.scrollReader.restart();
|
||||
} else if (self.swipeReader.enabled) {
|
||||
self.swipeReader.restart();
|
||||
}
|
||||
}, reject || function() {});
|
||||
}
|
||||
},
|
||||
updateSettings: function(settings) {
|
||||
$.each(settings, function(key, value) {
|
||||
data.settingsStr = data.settingsStr.replace(new RegExp(key + ":[^|]+"), key + ":" + value);
|
||||
});
|
||||
var settingsStr = data.settingsStr.replace(/[^:|]+:/g, "");
|
||||
Cookie.set('reader_config_wap', settingsStr, 86400000 * 365, '/');
|
||||
},
|
||||
updateReadProgress: function() {
|
||||
if (isOffline()) {
|
||||
return;
|
||||
}
|
||||
if(!data.isLogin){
|
||||
return;
|
||||
}
|
||||
//更新阅读记录
|
||||
// $.get("/user/Chapter/UpdRead", {
|
||||
// bookId: data.book.bookId,
|
||||
// chapterId: data.chapter.chapterId,
|
||||
// chapterName: data.chapter.chapterName
|
||||
// });
|
||||
},
|
||||
getChapter: function(chapterId, isShowLoading, resolve, reject) {
|
||||
var self = this;
|
||||
var layer_index;
|
||||
if (isOffline()) {
|
||||
$("#readLoadNext").css("opacity", 1);
|
||||
}
|
||||
if (data.chapters[chapterId]) {
|
||||
resolve({
|
||||
data: {
|
||||
bookInfo: data.book,
|
||||
chapterInfo: data.chapters[chapterId]
|
||||
}
|
||||
});
|
||||
} else {
|
||||
if (isOffline()) {
|
||||
if (data.chapter.chapterId === data.lastOfflineChapterId) {
|
||||
$("#readLoadNext").css("opacity", 0);
|
||||
layer.open({content:'已显示全部离线章节',skin:'msg',time:2});
|
||||
}
|
||||
return reject();
|
||||
}
|
||||
if (isShowLoading) {
|
||||
layer_index=layer.open({type: 2,content: '加载中'});
|
||||
}
|
||||
$.getJSON("/home/chapter/info", {id: book.chapter.source_id , key: chapterId}, function(result) {
|
||||
if (isShowLoading) {
|
||||
layer.close(layer_index);
|
||||
}
|
||||
if (result.code === 1) {
|
||||
var chapter = {
|
||||
id : result.data.chapter.id,
|
||||
title:result.data.chapter.title,
|
||||
vipStatus : 0,
|
||||
content : result.data.chapter.content,
|
||||
prevId : result.data.chapter.prev.id,
|
||||
nextId : result.data.chapter.next.id
|
||||
};
|
||||
data.chapters[chapter.id] = chapter;
|
||||
data.book = {
|
||||
"Id": result.data.id,
|
||||
"Name": result.data.title,
|
||||
"authorName": result.data.author
|
||||
};
|
||||
resolve({
|
||||
data: {
|
||||
bookInfo: data.book,
|
||||
chapterInfo: chapter
|
||||
}
|
||||
});
|
||||
} else {
|
||||
if (isShowLoading) {
|
||||
layer.open({content:'获取章节内容失败,请稍候再试',skin:'msg',time:2});
|
||||
}
|
||||
reject();
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
setReadChapter: function(chapterId) {
|
||||
var self = this;
|
||||
var chapter = data.chapters[chapterId];
|
||||
if (!chapter || chapter.id === data.chapter.id) {
|
||||
return;
|
||||
}
|
||||
data.chapter = chapter;
|
||||
$("#chapterTitle").html(chapter.title);
|
||||
self.updateReadProgress();
|
||||
history.replaceState(null, null, data.chapterUrl.replace("chapterId", chapterId));
|
||||
}
|
||||
}
|
||||
Book.init();
|
||||
});
|
||||
|
Before Width: | Height: | Size: 713 B |
|
Before Width: | Height: | Size: 559 B |
|
Before Width: | Height: | Size: 749 B |
|
Before Width: | Height: | Size: 1.6 KiB |
@@ -1,964 +0,0 @@
|
||||
$(function(){
|
||||
var Cookie = {
|
||||
/**
|
||||
* method get
|
||||
* @param name
|
||||
* @returns {null}
|
||||
*/
|
||||
get: function(name){
|
||||
var carr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
|
||||
|
||||
if (carr != null){
|
||||
return decodeURIComponent(carr[2]);
|
||||
}
|
||||
|
||||
return null;
|
||||
},
|
||||
/**
|
||||
* method set
|
||||
* @param name
|
||||
* @returns {null}
|
||||
*/
|
||||
set:function(name, value, expires, path, domain){
|
||||
if(expires){
|
||||
expires = new Date(+new Date() + expires);
|
||||
}
|
||||
var tempcookie = name + '=' + escape(value) +
|
||||
((expires) ? '; expires=' + expires.toGMTString() : '') +
|
||||
((path) ? '; path=' + path : '') +
|
||||
((domain) ? '; domain=' + domain : '');
|
||||
|
||||
//Ensure the cookie's size is under the limitation
|
||||
if(tempcookie.length < 4096) {
|
||||
document.cookie = tempcookie;
|
||||
}
|
||||
},
|
||||
clear: function (name, path, domain) {
|
||||
if (this.get(name)) {
|
||||
document.cookie = name + "=" + ((path) ? "; path=" + path : "; path=/") + ((domain) ? "; domain=" + domain : "") + ";expires=Fri, 02-Jan-1970 00:00:00 GMT";
|
||||
}
|
||||
}
|
||||
};
|
||||
var Book = {
|
||||
el: 'body',
|
||||
/**
|
||||
* 页面逻辑入口
|
||||
*/
|
||||
readSetting: {
|
||||
"t" : 0,
|
||||
"ft" : 1,
|
||||
"fs" : 18,
|
||||
"w" : 1,
|
||||
"rt" : 0
|
||||
},
|
||||
init: function () {
|
||||
var that = this;
|
||||
//书id
|
||||
that.bookId = $(that.el).data('bid');
|
||||
//chapterInfo是否加载完成标识,false为允许向下加载
|
||||
that.chapterLoad = false;
|
||||
//当为瀑布流时,章节预加载标识
|
||||
that.chapterAdvanceLoad = {
|
||||
bool: false,
|
||||
id: '',
|
||||
pageTurn: '',
|
||||
content: '',
|
||||
url: ''
|
||||
};
|
||||
//标识因为页面短第一次触发滚动
|
||||
that.firstScroll = false;
|
||||
//瀑布流模式时,页面进入当前章节是否为普通章节最后一章 or 页面进入当前章节是否为vip章节最后一章
|
||||
if (( book.chapter.vipStatus == 0 && book.nextChapterVip == 1 ) || book.chapter.nextId == -1) {
|
||||
that.loadLastBool = true;
|
||||
}
|
||||
//左侧导航box
|
||||
that.leftNav = $('#j_leftBarList');
|
||||
//获取内容区域box
|
||||
that.readMainWrap = $('#j_readMainWrap');
|
||||
//获取body
|
||||
that.bodyDom = $('body');
|
||||
//获取章节dom
|
||||
that.chapterBox = $('#j_chapterBox');
|
||||
//最近阅读是否存在标识
|
||||
that.navNearRead = false;
|
||||
//定义暂时存储setting参数
|
||||
that.zanshiSetting = {};
|
||||
//获取屏幕的高度
|
||||
that.winHeight = $(window).height();
|
||||
//禁止页面选中文字、copy、右键功能
|
||||
that.forbidCopy();
|
||||
//阅读设置cookie set
|
||||
that.setReadCookie();
|
||||
//阅读左右导航虚浮
|
||||
that.readNav();
|
||||
//窗口resize触发
|
||||
that.windowResize();
|
||||
//当为左右切换,加载键盘事件
|
||||
that.chapterKey();
|
||||
//当为瀑布流时,加载懒加载事件
|
||||
that.chapterLazyLoad()
|
||||
|
||||
//左侧导航目录弹窗
|
||||
$('#j_navCatalogBtn').click(function(event) {
|
||||
that.navCata(event);
|
||||
});
|
||||
//左侧导航设置弹窗
|
||||
$('#j_navSettingBtn').click(function(event) {
|
||||
that.navSetting(event);
|
||||
});
|
||||
//阅读主题选择、正文字体切换
|
||||
$('#j_themeList span, #j_fontFamily span, #j_readMode span').click(function(event) {
|
||||
that.switchStyle(event);
|
||||
});
|
||||
//阅读字体设置
|
||||
$('#j_fontSize span').click(function(event) {
|
||||
that.fontSizeSet(event)
|
||||
});
|
||||
//阅读正文宽度设置
|
||||
$('#j_pageWidth span').click(function(event) {
|
||||
that.widthSet(event)
|
||||
});
|
||||
//阅读设置保存
|
||||
$('#j_setSave').click(function(event) {
|
||||
that.readSetSave(event)
|
||||
});
|
||||
//阅读设置取消,不保存
|
||||
$('#j_setCancel , .setting-close').click(function(event) {
|
||||
that.readSetCancel(event)
|
||||
});
|
||||
//关闭左侧面板浮层
|
||||
$('#j_leftBarList .close-panel').click(function(event) {
|
||||
that.closeLeftPanel(event)
|
||||
});
|
||||
//加入书架
|
||||
$('.add-book').click(function(event) {
|
||||
that.addToBookShelf()
|
||||
});
|
||||
//手机阅读
|
||||
$('#j_phoneRead').click(function(event) {
|
||||
that.phoneRead(event)
|
||||
});
|
||||
//返回顶部
|
||||
$('#j_goTop').click(function(event) {
|
||||
that.goPageTop()
|
||||
});
|
||||
},
|
||||
/*
|
||||
* 禁止页面选中文字、copy、右键功能
|
||||
* @method forbidCopy
|
||||
*/
|
||||
forbidCopy: function () {
|
||||
//禁止copy
|
||||
$('body').on('copy', function () {
|
||||
return false;
|
||||
});
|
||||
//禁止cut
|
||||
$('body').on('cut', function () {
|
||||
return false;
|
||||
});
|
||||
//禁止鼠标右键默认弹窗
|
||||
$('body').on('contextmenu', function () {
|
||||
return false;
|
||||
});
|
||||
|
||||
},
|
||||
/*
|
||||
* 当为左右切换,加载键盘事件
|
||||
* @method chapterKey
|
||||
*/
|
||||
chapterKey: function () {
|
||||
var that = this;
|
||||
var toPage;
|
||||
//键盘事件
|
||||
$(document).on("keydown", function (e) {
|
||||
var target = e.target,
|
||||
tagName = target.nodeName.toLowerCase();
|
||||
//当阅读模式为翻页模式,上下按键切换章节有效
|
||||
if (that.readSetting.rt == 0 && tagName != 'textarea' && tagName != 'input') {
|
||||
if (e.keyCode == 37) {
|
||||
//左方面键
|
||||
toPage = $('#j_chapterPrev');
|
||||
if (!toPage.hasClass('disabled')) {
|
||||
//页面跳转链接
|
||||
window.location.href = toPage.attr('href');
|
||||
}
|
||||
} else if (e.keyCode == 39) {
|
||||
//右方面键
|
||||
toPage = $('#j_chapterNext');
|
||||
if (!toPage.hasClass('disabled')) {
|
||||
//页面跳转链接
|
||||
window.location.href = toPage.attr('href');
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
/*
|
||||
* 简单的节流函数
|
||||
* @method throttle
|
||||
* @param func
|
||||
* @param wait
|
||||
* @param mustRun
|
||||
* */
|
||||
throttle: function (func, wait, mustRun) {
|
||||
|
||||
var timeout,
|
||||
startTime = new Date();
|
||||
|
||||
return function () {
|
||||
var context = this,
|
||||
args = arguments,
|
||||
curTime = new Date();
|
||||
|
||||
clearTimeout(timeout);
|
||||
// 如果达到了规定的触发时间间隔,触发 handler
|
||||
if (curTime - startTime >= mustRun) {
|
||||
func.apply(context, args);
|
||||
startTime = curTime;
|
||||
// 没达到触发间隔,重新设定定时器
|
||||
} else {
|
||||
timeout = setTimeout(func, wait);
|
||||
}
|
||||
};
|
||||
},
|
||||
/**
|
||||
* 关闭左侧浮层面板
|
||||
* @method closeLeftPanel
|
||||
* @param e 事件对象
|
||||
*/
|
||||
closeLeftPanel: function (e) {
|
||||
var target = $(e.currentTarget);
|
||||
//当前面板关闭
|
||||
$(target).parents('.panel-wrap').hide();
|
||||
//去除左侧点击后的当前样式
|
||||
$('#j_leftBarList dd').removeClass('act');
|
||||
},
|
||||
/*
|
||||
* 阅读设置cookie set
|
||||
* @method setReadCookie
|
||||
*/
|
||||
setReadCookie: function () {
|
||||
//判断reader_config是否存在,不存在种植cookie
|
||||
// Cookie.clear('reader_config');
|
||||
if (!Cookie.get('reader_config_web')) {
|
||||
var cookieSetData = this.readSetting.t + '|' + this.readSetting.fs + '|' + this.readSetting.ft + '|' + this.readSetting.rt + '|' + this.readSetting.w;
|
||||
//设置保存cookie,不包括是否订阅配置 ,时长 1年 365天
|
||||
Cookie.set('reader_config_web', cookieSetData, 86400000 * 365, '/');
|
||||
}else{
|
||||
var readData=Cookie.get('reader_config_web').split("|");
|
||||
this.readSetting.t=readData[0];
|
||||
this.readSetting.fs=readData[1];
|
||||
this.readSetting.ft=readData[2];
|
||||
this.readSetting.rt=readData[3];
|
||||
this.readSetting.w=readData[4];
|
||||
}
|
||||
},
|
||||
readNav: function () {
|
||||
var that = this,
|
||||
win = $(window),
|
||||
doc = $(document);
|
||||
|
||||
// 左侧导航定参
|
||||
var leftBar = $('#j_leftBarList'),
|
||||
nowLeftTop = leftBarTop = 119;
|
||||
|
||||
//右侧导航定参
|
||||
var rightBar = $('#j_rightBarList'),
|
||||
nowRightBottom = rightBarBottom = 120,
|
||||
pageHeight,
|
||||
bottomTo;
|
||||
|
||||
var goTop = $('#j_goTop');
|
||||
|
||||
win.on('scroll', function () {
|
||||
|
||||
//获取滚动条距顶部的位置
|
||||
winScrollTop = win.scrollTop();
|
||||
//获取页面高度、屏幕高度
|
||||
pageHeight = doc.height();
|
||||
|
||||
//当滚动条位置大于leftBar距顶部的位置时,并且 nowLeftTop != 0
|
||||
if (winScrollTop >= leftBarTop && nowLeftTop != 0) {
|
||||
nowLeftTop = 0;
|
||||
leftBar.css('top', nowLeftTop);
|
||||
} else if (winScrollTop < leftBarTop) {
|
||||
nowLeftTop = leftBarTop - winScrollTop;
|
||||
leftBar.css('top', nowLeftTop);
|
||||
}
|
||||
|
||||
//获取滚动条距底部的距离
|
||||
bottomTo = pageHeight - that.winHeight - rightBarBottom;
|
||||
//当滚动条位置大于rightBar距底部的位置时,并且 nowRightBottom != 0
|
||||
if (winScrollTop <= bottomTo && nowRightBottom != 0) {
|
||||
nowRightBottom = 0;
|
||||
rightBar.css('bottom', nowRightBottom);
|
||||
} else if (winScrollTop > bottomTo) {
|
||||
nowRightBottom = rightBarBottom - pageHeight + that.winHeight + winScrollTop;
|
||||
rightBar.css('bottom', nowRightBottom);
|
||||
}
|
||||
|
||||
//回到顶部按钮是否出现
|
||||
if (winScrollTop > 0) {
|
||||
goTop.show();
|
||||
} else {
|
||||
goTop.hide();
|
||||
}
|
||||
|
||||
}).trigger('scroll');
|
||||
},
|
||||
/**
|
||||
* 左侧工具栏按钮 各自执行的方法
|
||||
* @method leftBtnMethod
|
||||
* @param e 事件对象
|
||||
*/
|
||||
leftBtnMethod: function (e) {
|
||||
|
||||
var that = this,
|
||||
target = $(e.currentTarget),
|
||||
bool = 0;
|
||||
|
||||
// 阅读设置的弹窗单独逻辑
|
||||
if($('#j_navSettingBtn').hasClass('act') && target.attr('id') != 'j_navSettingBtn' ) {
|
||||
that.readSetCancel(e);
|
||||
}
|
||||
|
||||
if (target.hasClass('act')) {
|
||||
target.removeClass('act').siblings().removeClass('act');
|
||||
bool = 1;
|
||||
} else {
|
||||
target.addClass('act').siblings().removeClass('act');
|
||||
}
|
||||
|
||||
that.leftNav.find('.panel-wrap').hide();
|
||||
|
||||
return bool;
|
||||
|
||||
},
|
||||
/*
|
||||
* 左侧获取目录按钮
|
||||
* @method navCatalog
|
||||
* @param e 事件对象
|
||||
* */
|
||||
navCata: function (e) {
|
||||
var that = this,
|
||||
catalogPop = $('#j_catalog'),
|
||||
catalogBox = $('#j_catalogListWrap');
|
||||
//调用选中func
|
||||
if (that.leftBtnMethod(e)) return false;
|
||||
catalogPop.show();
|
||||
if ($('.catalog-list-wrap').length == 0) {
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: '/home/chapter/lists',
|
||||
data: {
|
||||
id: book.Info.Id
|
||||
},
|
||||
success: function (response){
|
||||
catalogBox.html(response);
|
||||
$('.left-bar-list .panel-list-wrap').css('max-height', (that.winHeight - 250 ) + 'px');
|
||||
showChapter();
|
||||
}
|
||||
});
|
||||
}else{
|
||||
showChapter();
|
||||
}
|
||||
//目录定位到章节
|
||||
function showChapter(){
|
||||
//获取页面当前显示的章节id
|
||||
var nowChapterId = ( that.readSetting.rt == 0 ) ? book.chapter.id : that.scrollChapter(),
|
||||
chapterDom = $('#chapter-' + nowChapterId);
|
||||
//移除li选中样式
|
||||
catalogBox.find('li.on').removeClass('on');
|
||||
//给新的目录章节添加选中样式
|
||||
chapterDom.addClass('on');
|
||||
//滚动到选中章节区域
|
||||
catalogBox.scrollTop(0).scrollTop(chapterDom.offset().top - catalogBox.offset().top);
|
||||
}
|
||||
},
|
||||
/*
|
||||
* 加载setiing弹窗
|
||||
* @method navSetting
|
||||
* @param e 事件对象
|
||||
* */
|
||||
navSetting: function (e) {
|
||||
//获取配置数组
|
||||
var that = this,
|
||||
settingPop = $('#j_setting');
|
||||
//调用选中func
|
||||
if (that.leftBtnMethod(e)) {
|
||||
that.readSetCancel(e);
|
||||
return false;
|
||||
}
|
||||
$.extend(that.zanshiSetting, that.readSetting);
|
||||
settingPop.show();
|
||||
},
|
||||
/**
|
||||
* 切换主题、字体、阅读方式时的高亮效果
|
||||
* @method switchStyle
|
||||
* @param e 事件对象
|
||||
*/
|
||||
switchStyle: function (e) {
|
||||
|
||||
var that = this,
|
||||
target = $(e.currentTarget),
|
||||
targetNum = parseInt(target.data('st')),
|
||||
wList = ['640', '800', '900', '1280'],
|
||||
parentId = target.parents('li').attr('id');
|
||||
|
||||
target.addClass('act').siblings().removeClass('act');
|
||||
|
||||
//判断父亲节点的id
|
||||
switch (parentId) {
|
||||
case 'j_themeList':
|
||||
//修改页面整体样式
|
||||
that.bodyDom.attr('class', 'theme-' + targetNum + ' w' + wList[that.zanshiSetting.w]);
|
||||
that.zanshiSetting.t = targetNum;
|
||||
break;
|
||||
case 'j_fontFamily':
|
||||
//修改正文字体
|
||||
that.readMainWrap.attr('class', 'read-main-wrap font-family0' + targetNum);
|
||||
that.zanshiSetting.ft = targetNum;
|
||||
break;
|
||||
case 'j_readMode':
|
||||
//设置阅读模式
|
||||
that.zanshiSetting.rt = targetNum;
|
||||
break;
|
||||
}
|
||||
|
||||
},
|
||||
/*
|
||||
* 阅读字体设置
|
||||
* @method fontSizeSet
|
||||
* @param e 事件对象
|
||||
* */
|
||||
fontSizeSet: function (e) {
|
||||
|
||||
var that = this,
|
||||
target = $(e.currentTarget),
|
||||
sizeBox = target.parents('#j_fontSize');
|
||||
sizeDom = target.parents('#j_fontSize').find('.lang'),
|
||||
sizeNum = parseInt(sizeDom.text());
|
||||
|
||||
if (target.hasClass('prev') && sizeNum > 12) {
|
||||
sizeNum = sizeNum - 2;
|
||||
} else if (target.hasClass('next') && sizeNum < 48) {
|
||||
sizeNum = sizeNum + 2;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
that.readMainWrap.css('font-size', sizeNum + 'px');
|
||||
sizeDom.text(sizeNum);
|
||||
that.zanshiSetting.fs = sizeNum;
|
||||
},
|
||||
/*
|
||||
* 阅读正文宽度设置
|
||||
* @method WidthSet
|
||||
* @param e 事件对象
|
||||
* */
|
||||
widthSet: function (e) {
|
||||
|
||||
var that = this,
|
||||
target = $(e.currentTarget),
|
||||
widthDom = target.parents('#j_pageWidth').find('.lang'),
|
||||
widthNum = parseInt(widthDom.text()),
|
||||
wList = ['640', '800', '900', '1280'],
|
||||
screenWidth = $(window).width(),
|
||||
numId;
|
||||
|
||||
//获取宽度排序
|
||||
switch (widthNum) {
|
||||
case 640 :
|
||||
numId = 0;
|
||||
break;
|
||||
case 800 :
|
||||
numId = 1;
|
||||
break;
|
||||
case 900 :
|
||||
numId = 2;
|
||||
break;
|
||||
case 1280 :
|
||||
numId = 3;
|
||||
break;
|
||||
}
|
||||
|
||||
//宽度为减小时,且w>640执行
|
||||
if (target.hasClass('prev') && numId > 0) {
|
||||
that.zanshiSetting.w = numId - 1;
|
||||
//宽度为加大,不为最大宽度限时,且判断屏幕宽度+100 大于下次需要增加到的宽度时,
|
||||
} else if (target.hasClass('next') && numId < 3 && wList[numId + 1] <= screenWidth - 180) {
|
||||
that.zanshiSetting.w = numId + 1;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
//主题
|
||||
var themeTypeList = [0, 2, 0, 3, 5, 5, 4, 6, 1],
|
||||
themeType = themeTypeList[that.zanshiSetting.t];
|
||||
//设置宽度
|
||||
that.bodyDom.attr('class', 'theme-' + themeType + ' w' + wList[that.zanshiSetting.w]);
|
||||
widthDom.text(wList[that.zanshiSetting.w]);
|
||||
$(window).trigger('resize');
|
||||
},
|
||||
/*
|
||||
* 阅读设置保存
|
||||
* @method readSetSave
|
||||
* @param e 事件对象
|
||||
* */
|
||||
readSetSave: function (e) {
|
||||
var that = this;
|
||||
//如果设置对比有修改,发送ajax请求,并显示保存设置
|
||||
if (that.readSetting != that.zanshiSetting) {
|
||||
var zsSet = that.zanshiSetting,
|
||||
cookieSetData = zsSet.t + '|' + zsSet.fs + '|' + zsSet.ft + '|' + zsSet.rt + '|' + zsSet.w;
|
||||
//判断阅读模式是否变化,是否为阅读页
|
||||
var readTypeBool = 0;
|
||||
if (that.readSetting.rt != zsSet.rt && book.chapter != undefined) {
|
||||
readTypeBool = 1;
|
||||
}
|
||||
//设置保存cookie,不包括是否订阅配置 ,时长 1年 365天
|
||||
Cookie.set('reader_config_web', cookieSetData, 86400000 * 365, '/');
|
||||
//把暂存配置存入保存设置中
|
||||
$.extend(that.readSetting, that.zanshiSetting);
|
||||
if (readTypeBool) {
|
||||
if (that.readTypeCallBack) that.readTypeCallBack(zsSet.rt);
|
||||
}
|
||||
}
|
||||
that.closeLeftPanel(e);
|
||||
},
|
||||
/*
|
||||
* 阅读设置取消,不保存
|
||||
* @method readSetSave
|
||||
* */
|
||||
readSetCancel: function (e) {
|
||||
var that = this,
|
||||
setWidth = ['640', '800', '900', '1280'];
|
||||
//暂存设置重置回保存设置
|
||||
$.extend(that.zanshiSetting, that.readSetting);
|
||||
|
||||
//主题
|
||||
var themeTypeList = [0, 2, 0, 3, 5, 5, 4, 6, 1],
|
||||
themeType = themeTypeList[that.zanshiSetting.t];
|
||||
//页面重置
|
||||
that.bodyDom.attr('class', 'theme-' + themeType + ' w' + setWidth[that.zanshiSetting.w]);
|
||||
that.readMainWrap.attr('class', 'read-main-wrap font-family0' + that.zanshiSetting.ft);
|
||||
that.readMainWrap.css('font-size', that.zanshiSetting.fs + 'px');
|
||||
//设置弹窗重置回系统保存的设置配置
|
||||
$('#j_themeList span').eq(themeType).addClass('act').siblings().removeClass('act');
|
||||
$('#j_fontFamily span').eq(that.zanshiSetting.ft-1).addClass('act').siblings().removeClass('act');
|
||||
$('#j_fontSize .lang').text(that.zanshiSetting.fs);
|
||||
$('#j_pageWidth .lang').text(setWidth[that.zanshiSetting.w]);
|
||||
$('#j_readMode span').eq(that.zanshiSetting.rt).addClass('act').siblings().removeClass('act');
|
||||
that.closeLeftPanel(e);
|
||||
},
|
||||
/**
|
||||
* 加入书架
|
||||
* @method addToBookShelf
|
||||
* @param e 事件对象
|
||||
*/
|
||||
addToBookShelf: function (e) {
|
||||
|
||||
},
|
||||
/**
|
||||
* 手机阅读
|
||||
* @method addToBookShelf
|
||||
* @param e 事件对象
|
||||
*/
|
||||
phoneRead: function(e){
|
||||
var that = this,
|
||||
catalogPop = $('#j_cellphone');
|
||||
//调用选中func
|
||||
if (that.leftBtnMethod(e)) return false;
|
||||
catalogPop.show();
|
||||
$('#code').html("");
|
||||
$('#code').qrcode({
|
||||
render: "canvas", //table方式
|
||||
width: 120, //宽度
|
||||
height:120, //高度
|
||||
text: book.chapterUrl.replace("chapterId", book.chapter.id)
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 返回页面顶部
|
||||
* @method goPageTop
|
||||
*/
|
||||
goPageTop: function () {
|
||||
$('body,html').animate({scrollTop: 0}, 220);
|
||||
},
|
||||
/*
|
||||
* 判断滚动条滚到哪一章节
|
||||
* @method scrollChapter
|
||||
* @return (num) 章节id
|
||||
* */
|
||||
scrollChapter: function () {
|
||||
//获取所有章节list
|
||||
var chapterList = $('.text-wrap'),
|
||||
win = $(window),
|
||||
scHeight = win.height(),
|
||||
scrollTop = win.scrollTop() + scHeight / 2;
|
||||
//章节遍历
|
||||
var chapterIdList = chapterList.map(function () {
|
||||
var that = $(this),
|
||||
//获取当前章节距离页面顶部的距离
|
||||
chapterItem = that.offset().top;
|
||||
//当章节scrollTop 小于 当前屏幕显示距顶部距离时,获取返回改章节id
|
||||
if (chapterItem < scrollTop) return that.data('cid');
|
||||
});
|
||||
//返回当前显示的章节id
|
||||
return chapterIdList[chapterIdList.length - 1];
|
||||
|
||||
},
|
||||
/*
|
||||
* 窗体改变时,改变高度
|
||||
* @method windowResize
|
||||
* */
|
||||
windowResize: function () {
|
||||
|
||||
var that = this;
|
||||
|
||||
$(window).on('resize', function () {
|
||||
|
||||
var screenWidth = parseInt($(this).width()),
|
||||
ChapterWidth = parseInt($('#j_readMainWrap').width());
|
||||
|
||||
if (screenWidth < ChapterWidth + 136) {
|
||||
$('#j_floatWrap').addClass('fix-float-wrap');
|
||||
} else {
|
||||
$('#j_floatWrap').removeClass('fix-float-wrap');
|
||||
}
|
||||
|
||||
if (screenWidth < ChapterWidth + 42) {
|
||||
$('#j_floatWrap').addClass('left-bar-guide');
|
||||
} else {
|
||||
$('#j_floatWrap').removeClass('left-bar-guide');
|
||||
}
|
||||
|
||||
//当高度改变,去重置
|
||||
if (that.winHeight != $(this).height()) {
|
||||
//重置
|
||||
that.winHeight = $(this).height();
|
||||
//主动触发窗体滚动
|
||||
$(this).trigger('scroll');
|
||||
//设置展开区域的最大高度
|
||||
$('.left-bar-list .panel-list-wrap').css('max-height', (that.winHeight - 250 ) + 'px');
|
||||
}
|
||||
|
||||
}).trigger('resize');
|
||||
},
|
||||
/*
|
||||
* 阅读模式切换触发
|
||||
* @method readTypeChange
|
||||
* */
|
||||
readTypeCallBack: function (type) {
|
||||
var that = this;
|
||||
//移除其他状态的翻页
|
||||
$('.chapter-control').remove();
|
||||
//判断为哪种阅读方式
|
||||
switch (type) {
|
||||
//翻页模式
|
||||
case 0:
|
||||
that.readPageType();
|
||||
break;
|
||||
//瀑布流模式
|
||||
case 1:
|
||||
that.readLoadType();
|
||||
// 主动触发scroll
|
||||
$(window).trigger('scroll');
|
||||
break;
|
||||
}
|
||||
},
|
||||
/*
|
||||
* 阅读模式切换成翻页模式
|
||||
* @method readTypePage
|
||||
* */
|
||||
readPageType: function () {
|
||||
var that = this,
|
||||
//获取页面当前显示的章节id
|
||||
nowshowChapterId = that.scrollChapter(),
|
||||
//章节对象
|
||||
chapterBox = $('#ajaxchapter-' + nowshowChapterId),
|
||||
//除了该章节其他章节
|
||||
otherChapter = chapterBox.siblings('.text-wrap');
|
||||
//遍历其他章节,删除
|
||||
otherChapter.each(function (i, el) {
|
||||
if ($(el).data('cid') != nowshowChapterId) {
|
||||
$(el).remove();
|
||||
}
|
||||
});
|
||||
|
||||
$('.j_chapterLoad').addClass('hidden');
|
||||
|
||||
//获取上一章下一章url
|
||||
var prevUrl = chapterBox.data('purl'),
|
||||
nextUrl = chapterBox.data('nurl');
|
||||
//获取章节相关信息
|
||||
var chapterAndInfo = chapterBox.data('info').split('|');
|
||||
//生成dom
|
||||
var pageStr = '<div class="chapter-control dib-wrap" data-l1="3"><a id="j_chapterPrev" href="' + prevUrl + '">上一章</a><span>|</span><a id="j_chapterNext" href="' + nextUrl + '">下一章</a></div>';
|
||||
//加入页面中
|
||||
$('#j_readMainWrap').append(pageStr);
|
||||
|
||||
//重置 book.chapter
|
||||
book.chapter = {
|
||||
//页面进入加载的章节id
|
||||
id: nowshowChapterId,
|
||||
//章节vip标识
|
||||
vipStatus: chapterAndInfo[0],
|
||||
//上一章id
|
||||
prevId: chapterAndInfo[1],
|
||||
//下一章id
|
||||
nextId: chapterAndInfo[2]
|
||||
};
|
||||
book.nextChapterVip = chapterAndInfo[3];
|
||||
//重置初始化章节预加载标识
|
||||
that.chapterAdvanceLoad = {
|
||||
bool: false,
|
||||
id: '',
|
||||
pageTurn: '',
|
||||
content: '',
|
||||
url: ''
|
||||
};
|
||||
that.firstScroll = false;
|
||||
|
||||
$('.page-ops').remove();
|
||||
},
|
||||
/*
|
||||
* 阅读模式切换成瀑布流模式
|
||||
* @method readLoadType
|
||||
* @param advanceBool 是否为预加载 默认false 不是 ,true 为是
|
||||
* @param nextUrl 当advanceBool 为 true 的时候才有这个值
|
||||
* */
|
||||
readLoadType: function (advanceBool, nextUrl) {
|
||||
|
||||
var that = this,
|
||||
nextBtnText = '',
|
||||
repartData = '';
|
||||
|
||||
$('.page-ops').remove();
|
||||
|
||||
advanceBool = advanceBool ? advanceBool : false;
|
||||
//当前章节是否为普通章节最后一章
|
||||
if (book.chapter.vipStatus == 0 && book.nextChapterVip == 1) {
|
||||
nextBtnText = '前往VIP章节';
|
||||
//当前章节是否为vip章节最后一章
|
||||
} else if (!book.chapter.nextId) {
|
||||
nextBtnText = '最后一章没有了,前往书页';
|
||||
}
|
||||
//瀑布流时,显示按钮的方法
|
||||
if (nextBtnText != '') {
|
||||
//获取nextUrl
|
||||
var nextUrl = ( advanceBool ) ? nextUrl : $('#ajaxchapter-' + book.chapter.id).data('nurl');
|
||||
that.loadLastBool = true;
|
||||
var loadToDom = '<div class="chapter-control dib-wrap"> <a class="w-all" href="' + nextUrl + '">' + nextBtnText + '</a></div>';
|
||||
//判断是否是预加载
|
||||
if (advanceBool) {
|
||||
that.chapterAdvanceLoad.pageTurn = loadToDom;
|
||||
} else {
|
||||
//加入页面中
|
||||
$('#j_readMainWrap').append(loadToDom);
|
||||
}
|
||||
} else {
|
||||
that.loadLastBool = false;
|
||||
//判断是否是预加载
|
||||
if (advanceBool) that.chapterAdvanceLoad.pageTurn = '';
|
||||
}
|
||||
|
||||
},
|
||||
/*
|
||||
* 重新获取章节内容
|
||||
* @method getChapterId
|
||||
* @param chapterId 章节id
|
||||
* @param isRepeat 是否是重复加载 是:true 否:false
|
||||
* @param advanceBool 是否为预加载 默认false 不是 ,true 为是
|
||||
* @param successCallback 成功操作之后等回调
|
||||
* @param failCallBack 失败的回调
|
||||
* */
|
||||
getChapterInfo: function (chapterId, isRepeat, advanceBool, successCallback, failCallBack) {
|
||||
var that = this;
|
||||
advanceBool = advanceBool ? advanceBool : false;
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: '/home/chapter/info',
|
||||
dataType: 'json',
|
||||
data: {id: book.chapter.source_id, key: chapterId},
|
||||
success: function (response) {
|
||||
if (response.code == 1) {
|
||||
var data = response.data;
|
||||
if (isRepeat) {
|
||||
$('#ajaxchapter-' + chapterId).remove();
|
||||
if (that.readSetting.rt == 1) $('.chapter-control').remove();
|
||||
}
|
||||
//加载章节到页面中
|
||||
var chapter_content=that.chapterContent(data);
|
||||
if (advanceBool) {
|
||||
that.chapterAdvanceLoad.content = chapter_content;
|
||||
that.chapterAdvanceLoad.id = data.chapter.id;
|
||||
} else {
|
||||
that.chapterBox.append(chapter_content);
|
||||
}
|
||||
//重置 book.chapter
|
||||
book.chapter = {
|
||||
//页面进入加载的章节id
|
||||
id: data.chapter.id,
|
||||
//章节源id
|
||||
source_id:data.chapter.source_id,
|
||||
//章节vip标识
|
||||
vipStatus: data.chapter.vip,
|
||||
//上一章id
|
||||
prevId: data.chapter.prev.id,
|
||||
//下一章id
|
||||
nextId: data.chapter.next.id,
|
||||
};
|
||||
book.nextChapterVip = data.chapter.nextVip;
|
||||
//获取当前章节的url
|
||||
var nowChapterUrl = $('#ajaxchapter-' + book.chapter.prevId).data('nurl');
|
||||
//加载章节到页面中
|
||||
if (advanceBool) {
|
||||
that.chapterAdvanceLoad.url = nowChapterUrl;
|
||||
}
|
||||
//判断章节是否为最后一章
|
||||
var nextUrl = ( !data.chapter.next.id ) ? that.bookId : data.chapter.next.url;
|
||||
//当为瀑布流是才去判断是否是最后一章
|
||||
if (that.readSetting.rt == 1) that.readLoadType(advanceBool, nextUrl);
|
||||
//成功操作之后等回调
|
||||
if (successCallback) successCallback(data);
|
||||
} else {
|
||||
//失败的回调
|
||||
if (failCallBack) failCallBack();
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
chapterContent: function(data){
|
||||
var that = this;
|
||||
var chapter_box=that.chapterBox.children('div:first').prop("outerHTML");
|
||||
var chapter_box_jq=$(chapter_box);
|
||||
chapter_box_jq.attr('id','ajaxchapter-'+data.chapter.id);
|
||||
chapter_box_jq.attr('data-cid',data.chapter.id);
|
||||
chapter_box_jq.attr('data-purl',data.chapter.prev.url);
|
||||
chapter_box_jq.attr('data-nurl',data.chapter.next.url);
|
||||
chapter_box_jq.attr('data-info',data.chapter.vip+'|'+data.chapter.prev.id+'|'+data.chapter.next.id+'|'+data.chapter.nextVip);
|
||||
chapter_box_jq.find('.j_chapterName').text(data.chapter.title);
|
||||
chapter_box_jq.find('.j_chapterWordCut').text(data.chapter.word);
|
||||
chapter_box_jq.find('.j_updateTime').text(data.chapter.time);
|
||||
chapter_box_jq.find('.j_readContent').html(data.chapter.content);
|
||||
return chapter_box_jq.prop("outerHTML");
|
||||
},
|
||||
/*
|
||||
* 当为瀑布流时,加载懒加载事件
|
||||
* @method chapterLazyLoad
|
||||
* */
|
||||
chapterLazyLoad: function () {
|
||||
|
||||
var that = this,
|
||||
//页面高度
|
||||
pageHeight = $(document).height(),
|
||||
//滚动条距顶部高度
|
||||
winSTop,
|
||||
winHeight = $(window).height();
|
||||
|
||||
$(window).on('scroll', that.throttle(function () {
|
||||
//当为左右切换时,不执行
|
||||
if (that.readSetting.rt == 0) return false;
|
||||
//当当前章节为vip章节,且未订阅时,不再加载下面章节
|
||||
// if (book.chapter.vipStatus == 1 && g_data.chapter.isBuy == 0) return false;
|
||||
//当正在加载章节时,不再加载下面章节
|
||||
if (that.chapterLoad) return false;
|
||||
//当前章节是否为最后一章(普通章节&&vip章节),不再加载下面章节
|
||||
if (that.loadLastBool && !that.chapterAdvanceLoad.bool) return false;
|
||||
|
||||
//当页面为瀑布流形式,且章节判断是可以继续加载时,加载
|
||||
pageHeight = $(document).height();
|
||||
winSTop = $(window).scrollTop();
|
||||
//初始化浏览器高度
|
||||
winHeight = $(window).height();
|
||||
|
||||
//vip 不提前加载,页面滚到底部,加载
|
||||
var cHeight = ( book.chapter.vipStatus == 1 && book.nextChapterVip == 1 ) ? winHeight : ( 2.5 * winHeight );
|
||||
//当剩下小于1屏未显示的时候,加载新的章节
|
||||
if (pageHeight <= ( winSTop + cHeight )) {
|
||||
//显示加载load
|
||||
$('.j_chapterLoad').show();
|
||||
//判断与加载里面的是否有章节信息
|
||||
if (that.chapterAdvanceLoad.bool && that.chapterAdvanceLoad.id == book.chapter.id) {
|
||||
//去显示预加载的内容
|
||||
that.addAdvanceChapter();
|
||||
$('.j_chapterLoad').hide();
|
||||
} else {
|
||||
//重置为true,禁止发送请求
|
||||
that.chapterLoad = true;
|
||||
//拉取章节信息
|
||||
that.getChapterInfo(book.chapter.nextId, false, false,
|
||||
//数据拉取成功的回调
|
||||
function (data) {
|
||||
//更新cookie
|
||||
// that.nearReadCookies();
|
||||
//重置为false,允许下次符合条件时,发送请求
|
||||
that.chapterLoad = false;
|
||||
$('.j_chapterLoad').hide();
|
||||
//更新阅读进度
|
||||
// that.repeatReadStatus(data.chapterInfo.chapterId, data.chapterInfo.chapterName, data.chapterInfo.vipStatus, data.chapterInfo.updateTime, 0);
|
||||
if (that.firstScroll) that.firstScroll = false;
|
||||
},
|
||||
//数据拉取失败的回调
|
||||
function () {
|
||||
//拉取失败,重置为false ,再次拉取
|
||||
that.chapterLoad = false;
|
||||
}
|
||||
);
|
||||
}
|
||||
//章节预加载
|
||||
} else if (!that.chapterAdvanceLoad.bool && book.nextChapterVip != 1 && !that.firstScroll && !that.chapterLoad) {
|
||||
//重置为true,禁止发送请求
|
||||
that.chapterLoad = true;
|
||||
that.chapterAdvanceLoad.bool = true;
|
||||
//拉取章节信息
|
||||
that.getChapterInfo(book.chapter.nextId, false, true,
|
||||
//数据拉取成功的回调
|
||||
function () {
|
||||
//加载完成,重置
|
||||
that.chapterLoad = false;
|
||||
$(window).trigger('scroll');
|
||||
},
|
||||
//数据拉取失败的回调
|
||||
function () {
|
||||
//拉取失败,重置为false ,再次拉取
|
||||
that.chapterLoad = false;
|
||||
//预加载完成,标识
|
||||
that.chapterAdvanceLoad.bool = false;
|
||||
}
|
||||
);
|
||||
}
|
||||
}, 100, 160));
|
||||
|
||||
//当页面高度小于视窗高度时,触发
|
||||
if (pageHeight <= winHeight) {
|
||||
//标识第一次加载,直接加载dom到页面
|
||||
that.firstScroll = true;
|
||||
$(window).trigger('scroll');
|
||||
}
|
||||
},
|
||||
/*
|
||||
* 显示预加载章节
|
||||
* @method addAdvanceChapter
|
||||
* */
|
||||
addAdvanceChapter: function () {
|
||||
|
||||
var that = this,
|
||||
chapterCon = that.chapterAdvanceLoad;
|
||||
//加入章节
|
||||
that.chapterBox.append(chapterCon.content);
|
||||
//pageTurn加入页面中
|
||||
$('#j_readMainWrap').append(chapterCon.pageTurn);
|
||||
|
||||
//重置章节预加载标识
|
||||
that.chapterAdvanceLoad = {
|
||||
bool: false,
|
||||
id: '',
|
||||
pageTurn: '',
|
||||
content: '',
|
||||
url: ''
|
||||
};
|
||||
},
|
||||
}
|
||||
Book.init();
|
||||
});
|
||||
@@ -1,954 +0,0 @@
|
||||
@charset "UTF-8";
|
||||
@font-face {font-family: "user_iconfont";
|
||||
src: url('../font/iconfont.eot');
|
||||
src: url('../font/iconfont.eot#iefix') format('embedded-opentype'),
|
||||
url('../font/iconfont.woff') format('woff'),
|
||||
url('../font/iconfont.ttf') format('truetype'),
|
||||
url('../font/iconfont.svg#iconfont') format('svg');
|
||||
}
|
||||
.iconfont {
|
||||
font-family: "user_iconfont" !important;
|
||||
font-size: 0.4687rem;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-stroke-width: 0.1px;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
html {
|
||||
font-size: 62.5%; }
|
||||
|
||||
* {
|
||||
margin: 0px;
|
||||
padding: 0px; }
|
||||
|
||||
h1, h2, h3, h4, h5 {
|
||||
font-size: 12px;
|
||||
font-weight: normal; }
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: block; }
|
||||
|
||||
li {
|
||||
display: block; }
|
||||
|
||||
i {
|
||||
font-style: normal;
|
||||
display: inline-block; }
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block; }
|
||||
|
||||
img {
|
||||
border: 0px;
|
||||
display: inline-block; }
|
||||
|
||||
a {
|
||||
text-decoration: none; }
|
||||
|
||||
a, input {
|
||||
outline: none;
|
||||
border: none;
|
||||
padding: 0px; }
|
||||
|
||||
span {
|
||||
display: inline-block; }
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border: 0px; }
|
||||
|
||||
button {
|
||||
outline: none;
|
||||
border: 0px; }
|
||||
|
||||
body {
|
||||
font-family: 'PingFangSC-Light','Microsoft YaHei', Helvetica, Arial, sans-serif;
|
||||
color: #333;
|
||||
background-color: #eaeaea;
|
||||
font-size: 0.375rem;
|
||||
height:100%;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #666666;
|
||||
text-decoration: none; }
|
||||
a:hover {
|
||||
color: #e7423d;
|
||||
text-decoration: none; }
|
||||
a:active {
|
||||
-webkit-tap-highlight-color: transparent !important;
|
||||
-moz-tap-highlight-color: transparent !important;
|
||||
-ms-tap-highlight-color: transparent !important;
|
||||
-o-tap-highlight-color: transparent !important;
|
||||
tap-highlight-color: transparent !important; }
|
||||
|
||||
li:active {
|
||||
-webkit-tap-highlight-color: transparent !important;
|
||||
-moz-tap-highlight-color: transparent !important;
|
||||
-ms-tap-highlight-color: transparent !important;
|
||||
-o-tap-highlight-color: transparent !important;
|
||||
tap-highlight-color: transparent !important; }
|
||||
|
||||
@-webkit-keyframes whiteChangeRed {
|
||||
0% {
|
||||
background-color: #fff; }
|
||||
100% {
|
||||
background-color: #e7423d; } }
|
||||
@-moz-keyframes whiteChangeRed {
|
||||
0% {
|
||||
background-color: #fff; }
|
||||
100% {
|
||||
background-color: #e7423d; } }
|
||||
@-o-keyframes whiteChangeRed {
|
||||
0% {
|
||||
background-color: #fff; }
|
||||
100% {
|
||||
background-color: #e7423d; } }
|
||||
@-ms-keyframes whiteChangeRed {
|
||||
0% {
|
||||
background-color: #fff; }
|
||||
100% {
|
||||
background-color: #e7423d; } }
|
||||
@keyframes whiteChangeRed {
|
||||
0% {
|
||||
background-color: #fff; }
|
||||
100% {
|
||||
background-color: #e7423d; } }
|
||||
|
||||
.app_listBlock_con ul li .rightBlock .rightBlock_label:after, .app_header_second ul:after, .app_iconList ul:after, .app_registerList:after, .app_topTabBlock:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;}
|
||||
.public_AddFloatRight {
|
||||
float: right;}
|
||||
.app_NoMoblie {
|
||||
width: 580px;
|
||||
margin: 0 auto; }
|
||||
.app_header_section2 {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
top: 0px;
|
||||
z-index: 99; }
|
||||
.app_headerFixed2 {
|
||||
position: fixed;
|
||||
left: 0rem;
|
||||
top: 0rem;
|
||||
z-index: 999; }
|
||||
.app_headerFixed2 .app_header_detail2 {
|
||||
height: auto; }
|
||||
.app_listBlock {
|
||||
width: 100%;
|
||||
padding: 0 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
margin-top: 0.2812rem;
|
||||
background-color: #fff; }
|
||||
.app_deleteMargin {
|
||||
margin-top: 0rem !important; }
|
||||
.app_listBlock_con {
|
||||
width: 100%; }
|
||||
.app_listBlock_con ul {
|
||||
width: 100%;
|
||||
display: block;
|
||||
padding-bottom: 0.75rem; }
|
||||
.app_listBlock_con ul.app_deletePaddingBottom {
|
||||
padding-bottom: 0rem; }
|
||||
.app_listBlock_con ul li {
|
||||
width: 100%;
|
||||
display: block;
|
||||
height: 4.5rem;
|
||||
padding-top: 0.65rem;
|
||||
padding-left: 3.1rem;
|
||||
box-sizing: border-box;
|
||||
position: relative; }
|
||||
.app_listBlock_con ul li a .rightBlock .rightBlock_title {
|
||||
color: #666; }
|
||||
.app_listBlock_con ul li.li2 {
|
||||
padding-left: 1.875rem;
|
||||
height: 3.5rem;
|
||||
border-bottom: 1px solid #eeeeee; }
|
||||
.app_listBlock_con ul li.li2 .rightBlock .rightBlock_title {
|
||||
height: 0.7rem; }
|
||||
.app_listBlock_con ul li.li2 .rightBlock .rightBlock_con {
|
||||
overflow: visible; }
|
||||
.app_listBlock_con ul li.li2 .rightJustTime {
|
||||
position: absolute;
|
||||
right: 0%;
|
||||
bottom: 0.2rem;
|
||||
|
||||
width: auto;
|
||||
padding: 0 0.3125rem;
|
||||
height: 0.7031rem;
|
||||
background-color: #ea4136;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 0.7031rem;
|
||||
border-radius: 0.0937rem;
|
||||
font-size: 0.3281rem;
|
||||
margin-top: 0.16rem;
|
||||
margin-left: 0.4687rem;
|
||||
}
|
||||
.app_listBlock_con ul li.li2 .deleteBlock {
|
||||
width: 1.3rem;
|
||||
height: 1.2rem;
|
||||
position: absolute;
|
||||
right: 0%;
|
||||
top: 50%;
|
||||
background: url('../images/laji_ico.png') no-repeat right 10%;
|
||||
background-size: 0.4687rem;
|
||||
display: none;}
|
||||
.app_listBlock_con ul li.li2 .leftImage {
|
||||
top: 0.55rem; }
|
||||
.app_listBlock_con ul li a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block; }
|
||||
.app_listBlock_con ul li .leftImage {
|
||||
width: 2.6718rem;
|
||||
height: 3.7343rem;
|
||||
background-color: #f1f1f1;
|
||||
box-shadow: 0rem 0rem 0.2343rem rgba(0, 0, 0, 0.15);
|
||||
position: absolute;
|
||||
left: 0rem;
|
||||
top: 0.65rem; }
|
||||
.app_listBlock_con ul li .leftImage img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block; }
|
||||
.app_listBlock_con ul li .leftImage2 {
|
||||
width: 1.5625rem;
|
||||
height: 2.1875rem;
|
||||
background-color: #f1f1f1;
|
||||
box-shadow: 0rem 0rem 0.2343rem rgba(0, 0, 0, 0.15);
|
||||
position: absolute;
|
||||
left: 0rem;
|
||||
top: 0.65rem; }
|
||||
.app_listBlock_con ul li .leftImage2 img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block; }
|
||||
.app_listBlock_con ul li .rightBlock {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box; }
|
||||
.app_listBlock_con ul li .rightBlock .rightBlock_title {
|
||||
width: 100%;
|
||||
font-size: 0.4687rem;
|
||||
height: 1.25rem;
|
||||
display: block;
|
||||
color: #333; }
|
||||
.app_listBlock_con ul li .rightBlock .rightBlock_name {
|
||||
width: 100%;
|
||||
font-size: 0.3125rem;
|
||||
color: #999;
|
||||
display: block; }
|
||||
.app_listBlock_con ul li .rightBlock .rightBlock_con {
|
||||
width: 100%;
|
||||
height: 1.25rem;
|
||||
color: #999;
|
||||
font-size: 0.3593rem;
|
||||
line-height: 0.625rem;
|
||||
word-break: break-all;
|
||||
display: -webkit-box;
|
||||
display: -o-box;
|
||||
display: -moz-box;
|
||||
display: box;
|
||||
-webkit-line-clamp: 2;
|
||||
-moz-line-clamp: 2;
|
||||
-o-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
-moz-box-orient: vertical;
|
||||
-o-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
position: relative; }
|
||||
.rightBlock_con2 {
|
||||
padding-top: 0.0781rem;
|
||||
position: relative; }
|
||||
.rightBlock_con2 .con {
|
||||
width: 100%; }
|
||||
.rightBlock_con2 .spanLi {
|
||||
width: 90%;
|
||||
display: block;
|
||||
font-size: 0.3281rem;
|
||||
color: #595959; }
|
||||
.rightBlock_con2 .Time{
|
||||
color: #999;
|
||||
}
|
||||
.app_header_detail2 {
|
||||
width: 100%;
|
||||
height: 1.25rem;
|
||||
background-color: #fff;
|
||||
padding-left: 0.625rem;
|
||||
padding-right: 0.625rem;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
border-bottom: 1px solid #e0e0e0; }
|
||||
.app_header_detail2 .app_header_h1 {
|
||||
color: #333;
|
||||
width: 100%; }
|
||||
.app_header_detail2 .app_header_h1 .shujiaIco {
|
||||
width: 0.6718rem;
|
||||
height: 0.5937rem;
|
||||
background: url("../images/book_ico1.png") no-repeat 0 0;
|
||||
background-size: 0.6718rem;
|
||||
position: absolute;
|
||||
right: 1.7187rem;
|
||||
top: 0.375rem;
|
||||
cursor: pointer; }
|
||||
.app_header_detail2 .app_header_h1 .moreIco {
|
||||
width: 0.5312rem;
|
||||
height: 0.5156rem;
|
||||
background: url("../images/bookMore_ico1.png") no-repeat 0 0;
|
||||
background-size: 0.5312rem;
|
||||
position: absolute;
|
||||
right: 0.4687rem;
|
||||
top: 0.4375rem;
|
||||
cursor: pointer; }
|
||||
.app_header_detail2 .app_header_h1 .closeIco {
|
||||
width: 0.5312rem;
|
||||
height: 0.5156rem;
|
||||
background: url("../images/tp_close.png") no-repeat 0 0;
|
||||
background-size: 0.3906rem;
|
||||
position: absolute;
|
||||
right: 0.4687rem;
|
||||
top: 0.4375rem;
|
||||
cursor: pointer; }
|
||||
.app_header_detail2 .app_header_back {
|
||||
width: 1.1rem;
|
||||
height: 100%;
|
||||
background: url("../images/leftRedJ.png") no-repeat center;
|
||||
background-size: 0.2187rem; }
|
||||
.app_header_second {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
padding-bottom: 0.625rem; }
|
||||
.app_header_second ul {
|
||||
width: 100%; }
|
||||
.app_header_second ul li {
|
||||
width: 25%;
|
||||
height: 2.1875rem;
|
||||
float: left;
|
||||
text-align: center;
|
||||
font-size: 0.3593rem;
|
||||
box-sizing: border-box; }
|
||||
.app_header_second ul li a {
|
||||
padding-top: 1.7rem;
|
||||
width: 100%;
|
||||
display: inline-block; }
|
||||
.app_header_second ul li.icon1 {
|
||||
background: url("../images/tp_1.png") no-repeat center 0.4687rem;
|
||||
background-size: 1.0937rem; }
|
||||
.app_header_second ul li.icon2 {
|
||||
background: url("../images/tp_02.png") no-repeat center 0.4687rem;
|
||||
background-size: 1.0937rem; }
|
||||
.app_header_second ul li.icon3 {
|
||||
background: url("../images/tp_03.png") no-repeat center 0.4687rem;
|
||||
background-size: 1.0937rem; }
|
||||
.app_header_second ul li.icon4 {
|
||||
background: url("../images/tp_04.png") no-repeat center 0.4687rem;
|
||||
background-size: 1.0937rem; }
|
||||
.app_header_back {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px; }
|
||||
.app_header_h1 {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
line-height: 1.25rem;
|
||||
font-size: 0.4375rem;
|
||||
color: #fff; }
|
||||
.app_bindPhoneBlock {
|
||||
width: 100%;
|
||||
padding: 0 0.8281rem;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff; }
|
||||
.app_bindPhoneBlock .app_bindPhoneBlock_header {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0.5468rem 0 1.0156rem 0;
|
||||
text-align: center; }
|
||||
.app_bindPhoneBlock .app_header {
|
||||
width: 2.0312rem;
|
||||
height: 2.0312rem;
|
||||
background-color: #f5f5f5;
|
||||
border: 1px solid #eeeeee;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
border-radius: 2.0312rem; }
|
||||
.app_bindPhoneBlock .app_header img {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
display: block; }
|
||||
.app_wanJiPassWord {
|
||||
width: 100%;
|
||||
padding: 0 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff; }
|
||||
.app_lisLoinSpan {
|
||||
width: 100%; }
|
||||
.app_lisLoinSpan ul {
|
||||
width: 100%;
|
||||
display: block; }
|
||||
.app_lisLoinSpan ul li {
|
||||
width: 100%;
|
||||
height: 1.375rem;
|
||||
border-bottom: 1px solid #e7e7e7;
|
||||
padding-left: 0.7812rem;
|
||||
box-sizing: border-box;
|
||||
padding-right: 0.4687rem;
|
||||
position: relative; }
|
||||
.app_lisLoinSpan ul li input {
|
||||
width: 100%;
|
||||
height: 1.3437rem;
|
||||
line-height: 0.3906rem;
|
||||
padding: 0.3rem 0 ;
|
||||
box-sizing: border-box;
|
||||
font-size: 0.3906rem;
|
||||
color: #595959;}
|
||||
.app_lisLoinSpan ul li input::-webkit-input-placeholder {
|
||||
/* WebKit browsers */
|
||||
color: #999; }
|
||||
.app_lisLoinSpan ul li input:-moz-placeholder {
|
||||
/* Mozilla Firefox 4 to 18 */
|
||||
color: #999; }
|
||||
.app_lisLoinSpan ul li input::-moz-placeholder {
|
||||
/* Mozilla Firefox 19+ */
|
||||
color: #999; }
|
||||
.app_lisLoinSpan ul li input:-ms-input-placeholder {
|
||||
/* Internet Explorer 10+ */
|
||||
color: #999; }
|
||||
.app_lisLoinSpan ul li.username {
|
||||
background: url("../images/userIco.png") no-repeat left center;
|
||||
background-size: 0.4843rem; }
|
||||
.app_lisLoinSpan ul li.email {
|
||||
background: url("../images/email.png") no-repeat left center;
|
||||
background-size: 0.4843rem; }
|
||||
.app_lisLoinSpan ul li.code {
|
||||
background: url("../images/lockIco.png") no-repeat left center;
|
||||
background-size: 0.4531rem;
|
||||
position: relative;
|
||||
padding-right: 2.9687rem; }
|
||||
.app_lisLoinSpan ul li.code img {
|
||||
width: 4.1rem;
|
||||
height: 1.3rem;
|
||||
position: absolute;
|
||||
right: 0rem;
|
||||
top: 35%;
|
||||
margin-top: -0.443rem;
|
||||
display: block; }
|
||||
.app_lisLoinSpan ul li.password {
|
||||
background: url("../images/passIco.png") no-repeat 0.0937rem center;
|
||||
background-size: 0.2656rem; }
|
||||
.app_lisBlockSpan {
|
||||
width: 100%; }
|
||||
.app_lisBlockSpan ul {
|
||||
width: 100%;
|
||||
display: block; }
|
||||
.app_lisBlockSpan ul li {
|
||||
width: 100%;
|
||||
border-bottom: 1px solid #ebebeb;
|
||||
box-sizing: border-box;
|
||||
padding-left: 1.875rem;
|
||||
position: relative;
|
||||
padding-right: 0.5rem; }
|
||||
.app_lisBlockSpan ul li .left {
|
||||
width: 1.875rem;
|
||||
line-height: 1.375rem;
|
||||
font-size: 0.3906rem;
|
||||
color: #333;
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
left: 0rem;
|
||||
top: 0rem;
|
||||
white-space: nowrap; }
|
||||
.app_lisBlockSpan ul li input {
|
||||
width: 100%;
|
||||
height: 1.3437rem;
|
||||
line-height: 0.3906rem;
|
||||
font-size: 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
padding: 0.3rem 0;
|
||||
background-color: #fff;
|
||||
color: #595959; }
|
||||
.app_lisBlockSpan ul li input::-webkit-input-placeholder {
|
||||
/* WebKit browsers */
|
||||
color: #999; }
|
||||
.app_lisBlockSpan ul li input:-moz-placeholder {
|
||||
/* Mozilla Firefox 4 to 18 */
|
||||
color: #999; }
|
||||
.app_lisBlockSpan ul li input::-moz-placeholder {
|
||||
/* Mozilla Firefox 19+ */
|
||||
color: #999; }
|
||||
.app_lisBlockSpan ul li input:-ms-input-placeholder {
|
||||
/* Internet Explorer 10+ */
|
||||
color: #999; }
|
||||
.app_lisBlockSpan ul li textarea {
|
||||
width: 100%;
|
||||
line-height: 0.3906rem;
|
||||
font-size: 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
padding: 0.3rem 0;
|
||||
background-color: #fff;
|
||||
border: 0px;
|
||||
resize: none;
|
||||
outline: none;
|
||||
color: #595959; }
|
||||
.app_lisBlockSpan ul li textarea::-webkit-input-placeholder {
|
||||
/* WebKit browsers */
|
||||
color: #999; }
|
||||
.app_lisBlockSpan ul li textarea:-moz-placeholder {
|
||||
/* Mozilla Firefox 4 to 18 */
|
||||
color: #999; }
|
||||
.app_lisBlockSpan ul li textarea::-moz-placeholder {
|
||||
/* Mozilla Firefox 19+ */
|
||||
color: #999; }
|
||||
.app_lisBlockSpan ul li textarea:-ms-input-placeholder {
|
||||
/* Internet Explorer 10+ */
|
||||
color: #999; }
|
||||
.app_listBlockButton {
|
||||
width: 100%;
|
||||
padding-top: 1.5625rem;
|
||||
padding-bottom: 0.3125rem; }
|
||||
.app_listBlockButton button {
|
||||
width: 100%;
|
||||
height: 1.0937rem;
|
||||
line-height: 1.0937rem;
|
||||
text-align: center;
|
||||
display: block;
|
||||
border-radius: 0.9375rem;
|
||||
background-color: #ea4136;
|
||||
color: #fff;
|
||||
font-size: 0.4218rem; }
|
||||
.app_listBlockButton button:active {
|
||||
color: #fff;
|
||||
background-color: #d62216; }
|
||||
.app_dengLu_title {
|
||||
width: 100%;
|
||||
height: 0.8593rem;
|
||||
line-height: 0.8593rem;
|
||||
background: url("../images/point.jpg") repeat-x center;
|
||||
box-sizing: border-box;
|
||||
font-size: 0.3593rem;
|
||||
text-align: center; }
|
||||
.app_dengLu_title i {
|
||||
padding: 0 0.3906rem;
|
||||
background: #fff;
|
||||
color: #999; }
|
||||
.app_iconList {
|
||||
width: 100%;
|
||||
overflow-x: hidden; }
|
||||
.app_iconList ul {
|
||||
width: 114%;
|
||||
padding-top: 0.4687rem;
|
||||
padding-bottom: 0.9375rem;
|
||||
position: relative;
|
||||
left: -7%; }
|
||||
.app_iconList ul li {
|
||||
width: 25%;
|
||||
float: left;
|
||||
text-align: center;
|
||||
padding: 0 6%;
|
||||
box-sizing: border-box; }
|
||||
.app_iconList ul li span {
|
||||
width: 100%;
|
||||
display: block; }
|
||||
.app_iconList ul li img {
|
||||
width: 100%;
|
||||
display: inline-block; }
|
||||
.app_iconList ul li .name {
|
||||
width: 100%;
|
||||
font-size: 0.2812rem;
|
||||
color: #999;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
text-align: center; }
|
||||
.app_marginStyle1 {
|
||||
padding-top: 0.3125rem; }
|
||||
.app_iconList2 ul {
|
||||
width: 126%;
|
||||
left: -13%; }
|
||||
.app_iconList2 ul li {
|
||||
width: 33.3%;
|
||||
padding: 0 11%; }
|
||||
.app_dengLu_bottom {
|
||||
width: 100%;
|
||||
height: 0.625rem;
|
||||
padding-bottom: 0.4687rem;
|
||||
line-height: 0.625rem;
|
||||
text-align: center;
|
||||
font-size: 0.3437rem; }
|
||||
.app_dengLu_bottom i {
|
||||
color: #ebebeb;
|
||||
display: inline-block;
|
||||
margin: 0 0.1562rem; }
|
||||
.app_dengLu_bottom a {
|
||||
color: #595959;
|
||||
text-decoration: none; }
|
||||
.app_dengLu_bottom a.blue {
|
||||
color: #448aca; }
|
||||
.app_addPaddingStyle {
|
||||
padding-top: 0.9375rem; }
|
||||
.app_accountBlock {
|
||||
width: 100%; }
|
||||
.app_accountBlock .app_accountBlock_headerBg {
|
||||
width: 100%;
|
||||
position: relative; }
|
||||
.app_accountBlock .app_accountBlock_headerBg img.background {
|
||||
width: 100%;
|
||||
display: block; }
|
||||
.app_accountBlock .app_accountBlock_headerBg .app_accountBlock_headerCon {
|
||||
width: 1.5625rem;
|
||||
height: 1.5625rem;
|
||||
background: url("../images/headerBorder.png") no-repeat center;
|
||||
background-size: 1.5625rem 1.5625rem;
|
||||
position: absolute;
|
||||
top: 13%;
|
||||
left: 50%;
|
||||
margin-left: -0.781rem;
|
||||
text-align: center; }
|
||||
.app_accountBlock .app_accountBlock_headerBg .app_accountBlock_headerCon img {
|
||||
width: 1.375rem;
|
||||
height: 1.375rem;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
border-radius: 1.375rem;
|
||||
position: relative;
|
||||
top: 0.1093rem; }
|
||||
.app_accountBlock .app_accountBlock_headerBg .app_accountBlock_edit {
|
||||
width: 0.5rem;
|
||||
height: 0.5312rem;
|
||||
background: url("../images/edit02.png") no-repeat 0 0;
|
||||
background-size: 0.5rem;
|
||||
right: 0.3125rem;
|
||||
top: 0.3125rem;
|
||||
position: absolute; }
|
||||
.app_accountBlock .app_accountBlock_headerBg .app_accountBlock_edit a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block; }
|
||||
.app_accountBlock .app_accountBlock_headerBg .app_accountBlock_name {
|
||||
width: 100%;
|
||||
height: 0.625rem;
|
||||
top: 68%;
|
||||
position: absolute;
|
||||
text-align: center; }
|
||||
.app_accountBlock .app_accountBlock_headerBg .app_accountBlock_name .name {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
font-size: 0.4531rem;
|
||||
line-height: 0.625rem;
|
||||
position: relative;
|
||||
padding-right: 1.2625rem;
|
||||
padding-left: 1.2625rem;
|
||||
box-sizing: border-box; }
|
||||
.app_accountBlock_lis {
|
||||
width: 100%;
|
||||
padding: 0 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff; }
|
||||
.app_accountBlock_lis ul {
|
||||
width: 100%;
|
||||
display: block; }
|
||||
.app_accountBlock_lis ul li {
|
||||
width: 100%;
|
||||
height: 1.4843rem;
|
||||
padding: 0.35rem 0;
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid #ebebeb;
|
||||
line-height: 0.8rem;
|
||||
padding-right: 1.25rem;
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
color: #333;
|
||||
font-size: 0.3906rem;
|
||||
position: relative; }
|
||||
.app_accountBlock_lis ul li a{
|
||||
width: 100%;
|
||||
display: block;}
|
||||
.app_accountBlock_lis ul li a:hover{
|
||||
color: #333;}
|
||||
.app_accountBlock_lis ul li:last-child {
|
||||
border-bottom: 0rem; }
|
||||
.app_accountBlock_lis ul li i {
|
||||
font-size: 0.55rem;
|
||||
color: #959595;
|
||||
padding-right: 0.2rem;}
|
||||
.app_accountBlock_lis ul li span {
|
||||
color: #999;
|
||||
padding-left: 0.4687rem;
|
||||
font-size: 0.3906rem; }
|
||||
.app_accountBlock_lis2 {
|
||||
width: 100%;
|
||||
padding: 0 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
margin-top: 0.2812rem;
|
||||
background-color: #fff; }
|
||||
.app_accountBlock_lis2 ul {
|
||||
width: 100%;
|
||||
display: block; }
|
||||
.app_accountBlock_lis2 ul li {
|
||||
width: 100%;
|
||||
height: 1.4843rem;
|
||||
border-bottom: 1px solid #ebebeb;
|
||||
line-height: 1.4843rem;
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
color: #333;
|
||||
font-size: 0.3906rem;
|
||||
position: relative; }
|
||||
.app_accountBlock_lis2 ul li:last-child {
|
||||
border-bottom: 0rem; }
|
||||
.app_accountBlock_lis2 ul li a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
background: url("../images/timeJt.png") no-repeat right center;
|
||||
background-size: 0.2343rem;
|
||||
color: #333; }
|
||||
.app_accountBlock_lis2 ul li i {
|
||||
font-size: 0.55rem;
|
||||
color: #959595;
|
||||
padding-right: 0.2rem;}
|
||||
.app_changeUser {
|
||||
width: 100%;
|
||||
padding: 0.9375rem 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
margin-top: 0.2812rem; }
|
||||
.app_changeUser button {
|
||||
width: 100%;
|
||||
height: 1.0937rem;
|
||||
line-height: 1.0937rem;
|
||||
border-radius: 0.125rem;
|
||||
text-align: center;
|
||||
border: 1px solid #e7423d;
|
||||
font-size: 0.4218rem;
|
||||
color: #e7423d;
|
||||
background: none; }
|
||||
.app_changeUser button:active {
|
||||
color: #fff;
|
||||
background-color: #e7423d; }
|
||||
.app_meskSection {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
left: 0rem;
|
||||
top: 0rem;
|
||||
opacity: 0.6;
|
||||
background-color: #000;
|
||||
z-index: 998;
|
||||
display: none; }
|
||||
.app_registerList {
|
||||
width: 100%;
|
||||
padding-bottom: 1.25rem; }
|
||||
.app_registerList a {
|
||||
font-size: 0.3437rem;
|
||||
text-decoration: none; }
|
||||
.app_topTabBlock {
|
||||
width: 100%;
|
||||
padding: 0 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
height: 1.0937rem;
|
||||
line-height: 1.0937rem;
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #eee; }
|
||||
.app_topTabBlock .leftFont {
|
||||
font-size: 0.4062rem; }
|
||||
.app_topTabBlock .rightButton {
|
||||
width: auto;
|
||||
padding: 0 0.3125rem;
|
||||
height: 0.7031rem;
|
||||
border: 1px solid #ea4136;
|
||||
color: #ea4136;
|
||||
text-align: center;
|
||||
line-height: 0.7031rem;
|
||||
border-radius: 0.0937rem;
|
||||
font-size: 0.3281rem;
|
||||
margin-top: 0.16rem;
|
||||
margin-left: 0.4687rem; }
|
||||
|
||||
.app_rechargeRecord_nav {
|
||||
width: 100%;
|
||||
height: 1.125rem;
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #ebebeb;
|
||||
padding: 0 0.7031rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.app_rechargeRecord_nav a {
|
||||
width: 50%;
|
||||
display: block;
|
||||
float: left;
|
||||
text-align: center;
|
||||
line-height: 1.0937rem;
|
||||
height: 1.0937rem;
|
||||
font-size: 0.4218rem;
|
||||
}
|
||||
.app_rechargeRecord_nav a.active i {
|
||||
display: inline-block;
|
||||
padding: 0 0.1562rem;
|
||||
height: 1.0937rem;
|
||||
line-height: 1.0937rem;
|
||||
border-bottom: 0.0625rem solid #ea4037;
|
||||
box-sizing: border-box;
|
||||
color: #ea4136;
|
||||
}
|
||||
.app_rechargeRecord_list {
|
||||
width: 100%;
|
||||
padding: 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
}
|
||||
.app_rechargeRecord_list ul {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
.app_rechargeRecord_list ul li {
|
||||
width: 100%;
|
||||
min-height: 2.1875rem;
|
||||
background-color: #fff;
|
||||
border-radius: 0.1562rem;
|
||||
box-shadow: 0.0156rem 0.0156rem 0.1562rem rgba(0, 0, 0, 0.1);
|
||||
position: relative;
|
||||
padding: 0.3437rem;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 0.3906rem;
|
||||
position: relative;
|
||||
}
|
||||
.app_rechargeRecord_list ul li .lis {
|
||||
width: 100%;
|
||||
display: block;
|
||||
padding-top: 0.11rem;
|
||||
font-size: 0.3775rem;
|
||||
}
|
||||
.app_rechargeRecord_list ul li .content {
|
||||
margin-top: 0.2775rem;
|
||||
display: block;
|
||||
color: #999;
|
||||
font-size: 0.3437rem;
|
||||
}
|
||||
.app_rechargeRecord_list ul li .time {
|
||||
margin-top: 0.2775rem;
|
||||
display: block;
|
||||
color: #999;
|
||||
font-size: 0.3437rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.app_noBookDataBlock {
|
||||
width: 100%;
|
||||
height: 9.6875rem;
|
||||
background: url(../images/shujiaEmpty.png) no-repeat center 1.7437rem #f1f1f1;
|
||||
background-size: 3.6875rem;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
font-size: 0.3593rem;
|
||||
color: #999;
|
||||
padding: 0 16%;
|
||||
padding-top: 5.0rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.app_lisLoinSpan ul li.code .codeBtn {
|
||||
width: 2.3437rem;
|
||||
height: 1rem;
|
||||
background-color: #3eaaf7;
|
||||
border-radius: 0.9375rem;
|
||||
color: #fff;
|
||||
display: block;
|
||||
font-size: 0.3437rem;
|
||||
position: absolute;
|
||||
right: 0rem;
|
||||
top: 46%;
|
||||
margin-top: -0.429rem;
|
||||
}
|
||||
.app_lisLoinSpan ul li.code .codeBtn[disabled] {
|
||||
background: #A6A6A6 !important;
|
||||
}
|
||||
.app_subscribeBlock_div {
|
||||
width: 100%;
|
||||
padding: 0.3906rem;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
}
|
||||
.app_subscribeBlock_div .app_subscribeBlock_left {
|
||||
width: 98%;
|
||||
height: 1.8125rem;
|
||||
font-size: 0.4593rem;
|
||||
padding: 0.25rem;
|
||||
padding-right: 0rem;
|
||||
box-sizing: border-box;
|
||||
line-height: 0.6562rem;
|
||||
color: #ea4136;
|
||||
text-align: center;
|
||||
}
|
||||
.app_subscribeBlock_div .app_subscribeBlock_kaiTong span.button {
|
||||
background-color: #ea4136;
|
||||
width: 92%;
|
||||
height: 0.3906rem;
|
||||
vertical-align: middle;
|
||||
border-radius: 0.9375rem;
|
||||
text-align: center;
|
||||
line-height: 0.3906rem;
|
||||
color: #fff;
|
||||
font-size: 0.3437rem;
|
||||
display: inline-block;
|
||||
padding: 0.1562rem 0;
|
||||
}
|
||||
.app_fwtk {
|
||||
width: 100%;
|
||||
font-size: 0.35rem;
|
||||
color: #999;
|
||||
line-height: 0.6rem;
|
||||
padding-bottom: 0.6rem;
|
||||
}
|
||||
.app_fwtk .tit1 {
|
||||
width: 100%;
|
||||
display: block;
|
||||
font-size: 0.4rem;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
padding: 0.6rem 0;
|
||||
padding-bottom: 0.3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.app_pageBlock {
|
||||
width: 100%;
|
||||
height: 2.3437rem;
|
||||
background-color: #fff;
|
||||
padding: 0 0.625rem;
|
||||
box-sizing: border-box; }
|
||||
.app_pageBlock ul{
|
||||
float: right;
|
||||
}
|
||||
.app_pageBlock ul.pager li {
|
||||
margin: 0 0.15rem;
|
||||
text-align: center;
|
||||
line-height: normal;
|
||||
padding-top:0.6rem;
|
||||
float: left; }
|
||||
.app_pageBlock ul.pager li span,.app_pageBlock ul.pager li a {
|
||||
padding: 0 0.63rem;
|
||||
height: 0.9843rem;
|
||||
line-height: 0.9843rem;
|
||||
vertical-align: middle;
|
||||
background-color: #ea4136;
|
||||
border-radius: 0.125rem;
|
||||
font-size: 0.4593rem;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.app_pageBlock ul.pager li.disabled span {
|
||||
color: #999;
|
||||
background: #f0f4f8;
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<!--
|
||||
2013-9-30: Created.
|
||||
-->
|
||||
<svg>
|
||||
<metadata>
|
||||
Created by iconfont
|
||||
</metadata>
|
||||
<defs>
|
||||
|
||||
<font id="iconfont" horiz-adv-x="1024" >
|
||||
<font-face
|
||||
font-family="iconfont"
|
||||
font-weight="500"
|
||||
font-stretch="normal"
|
||||
units-per-em="1024"
|
||||
ascent="896"
|
||||
descent="-128"
|
||||
/>
|
||||
<missing-glyph />
|
||||
|
||||
<glyph glyph-name="wofadetiezi" unicode="" d="M802.611-128h-581.222c-71.333 0-129.161 57.298-129.161 127.979v767.871c0 70.683 57.828 127.981 129.161 127.981h387.482c43.22 0.678 60.425-0.913 64.579-0.913v0.913l258.322-255.958c0-46.992 0-53.985 0-63.99v-575.907c0-70.679-57.828-127.977-129.161-127.977zM673.45 831.84c0-76.179 0-127.975 0-127.975 0-35.339 28.913-63.992 64.581-63.992h129.161l-193.742 191.967zM867.191 575.886c-75.188 0-129.161 0-129.161 0-71.335 0-129.161 57.294-129.161 127.981 0 0-1.505 51.353-0.915 127.975l-386.565 0c-35.666 0-64.579-28.643-64.579-63.99v-767.871c0-35.339 28.913-63.99 64.579-63.99h581.222c35.666 0 64.579 28.653 64.579 63.99v575.905zM705.74 127.961h-387.482c-17.833 0-32.29 14.328-32.29 31.993 0 17.673 14.454 31.999 32.29 31.999h387.482c17.833 0 32.288-14.325 32.288-31.999-0-17.665-14.454-31.993-32.288-31.993zM705.74 319.929h-387.482c-17.833 0-32.29 14.323-32.29 31.997 0 17.665 14.454 31.991 32.29 31.991h387.482c17.833 0 32.288-14.325 32.288-31.991-0-17.673-14.454-31.997-32.288-31.997z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="jifen" unicode="" d="M672 531.2 576 531.2l38.4 38.4c12.8 12.8 12.8 25.6 0 38.4-12.8 12.8-25.6 12.8-38.4 0L512 537.6 441.6 608c-12.8 12.8-25.6 12.8-38.4 0-12.8-12.8-12.8-25.6 0-38.4L448 531.2 358.4 531.2c-38.4 0-64-32-64-64 0-32 19.2-57.6 51.2-64l0-211.2c0-12.8 12.8-25.6 25.6-25.6l300.8 0c12.8 0 25.6 12.8 25.6 25.6L697.6 396.8c25.6 6.4 51.2 32 51.2 64C742.4 499.2 710.4 531.2 672 531.2L672 531.2zM358.4 448C345.6 448 339.2 454.4 339.2 460.8c0 6.4 6.4 19.2 19.2 19.2l134.4 0L492.8 448 358.4 448 358.4 448zM640 211.2 390.4 211.2 390.4 396.8l102.4 0 0-108.8c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6L544 396.8 640 396.8 640 211.2 640 211.2zM672 448 544 448 544 480l134.4 0c6.4 0 19.2-6.4 19.2-19.2C691.2 454.4 684.8 448 672 448L672 448zM512 896C230.4 896 0 665.6 0 384s230.4-512 512-512c281.6 0 512 230.4 512 512S793.6 896 512 896L512 896zM505.6-89.6c-262.4 0-473.6 211.2-473.6 473.6 0 262.4 211.2 473.6 473.6 473.6 262.4 0 473.6-211.2 473.6-473.6C979.2 121.6 768-89.6 505.6-89.6L505.6-89.6zM505.6-89.6" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="duihao" unicode="" d="M416.832 97.92C400.64 97.92 384.512 104.128 372.16 116.48L119.424 370.24C94.784 395.008 94.784 435.2 119.424 459.968 144.128 484.736 184.128 484.736 208.768 459.968L416.832 251.072 814.4 650.24C839.04 675.072 879.04 675.072 903.744 650.24 928.384 625.472 928.384 585.344 903.744 560.576L461.504 116.48C449.152 104.128 432.96 97.92 416.832 97.92Z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="icexp" unicode="" d="M128 294.4 128 563.2c0 25.6 12.8 44.8 38.4 44.8l121.6 0C307.2 601.6 320 588.8 320 569.6c0-19.2-12.8-32-32-32L198.4 537.6l0-70.4 76.8 0c19.2 0 32-12.8 38.4-32 0-19.2-12.8-32-38.4-32L198.4 403.2 198.4 320l89.6 0C313.6 320 320 313.6 326.4 288 320 268.8 313.6 256 288 256l-128 0C140.8 256 128 268.8 128 294.4zM339.2 313.6l96 128L358.4 550.4C352 556.8 345.6 563.2 345.6 569.6c0 19.2 12.8 32 38.4 38.4 12.8 0 19.2-6.4 32-19.2l57.6-83.2 64 83.2c12.8 12.8 19.2 19.2 32 19.2 25.6 0 32-12.8 38.4-38.4 0-6.4 0-12.8-6.4-19.2L518.4 441.6l96-128c6.4-6.4 6.4-12.8 6.4-25.6 0-19.2-12.8-32-38.4-32C576 256 563.2 262.4 556.8 268.8L480 377.6 396.8 268.8C390.4 262.4 384 256 364.8 256c-25.6 0-32 12.8-38.4 32C332.8 300.8 332.8 307.2 339.2 313.6zM646.4 288 646.4 563.2c0 25.6 12.8 38.4 38.4 38.4l89.6 0c76.8-6.4 121.6-44.8 121.6-115.2-6.4-70.4-44.8-108.8-121.6-115.2l-51.2 0 0-76.8c0-25.6-12.8-32-38.4-32S652.8 268.8 646.4 288zM723.2 537.6l0-102.4L768 435.2c32 0 44.8 19.2 51.2 51.2 0 32-19.2 51.2-51.2 51.2L723.2 537.6zM992 704 960 704 960 736C960 755.2 947.2 768 928 768S896 755.2 896 736L896 704l-32 0C844.8 704 832 691.2 832 672S844.8 640 864 640L896 640l0-32C896 588.8 908.8 576 928 576S960 588.8 960 608L960 640l32 0C1011.2 640 1024 652.8 1024 672S1011.2 704 992 704zM928 192l-832 0C44.8 192 0 147.2 0 96S44.8 0 96 0l832 0c51.2 0 96 44.8 96 96S979.2 192 928 192zM928 64 640 64l0 64 288 0c19.2 0 32-12.8 32-32S947.2 64 928 64z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="zichanbaoguanli" unicode="" d="M872.984564-11.044288 95.92063-11.044288c-51.750641 0-93.852528 43.444465-93.852528 96.842629L2.068102 797.110759c0 53.399187 42.101887 96.842629 93.852528 96.842629l777.063935 0c51.750641 0 93.853551-43.443441 93.853551-96.842629l0-127.916345c0-18.821671-15.257495-34.079166-34.079166-34.079166s-34.079166 15.257495-34.079166 34.079166L898.679783 797.110759c0 15.817244-11.526521 28.684296-25.695219 28.684296L95.92063 825.795055c-14.167674 0-25.695219-12.867052-25.695219-28.684296l0-711.312418c0-15.817244 11.526521-28.685319 25.695219-28.685319l777.063935 0c14.167674 0 25.695219 12.867052 25.695219 28.685319L898.679783 212.921623c0 18.820648 15.257495 34.079166 34.079166 34.079166s34.079166-15.258519 34.079166-34.079166l0-127.122259C966.838116 32.400177 924.735206-11.044288 872.984564-11.044288zM950.857143 517.62537l0-141.747351L578.714448 375.878019 578.714448 517.62537 950.857143 517.62537M1019.015476 585.782679 510.557138 585.782679l0-278.062993 508.458337 0L1019.015476 585.782679 1019.015476 585.782679zM764.782214 478.529957l127.115096 0 0-63.557548-127.115096 0 0 63.557548Z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="shezhi" unicode="" d="M869.619422 334.458677l-56.954153 45.019333c0.344854 5.708002 0.514723 11.119245 0.514723 16.350386 0 5.231141-0.169869 10.648524-0.515746 16.369829l56.927547 45.01217 0.274246 0.220011c22.233374 18.189268 28.000728 49.466622 13.730723 74.342172l-70.116941 122.645294c-10.31902 18.11252-29.647227 29.364795-50.440809 29.364795-7.275707 0-14.46955-1.352811-21.38096-4.019547l-66.871013-27.176966c-8.905834 5.901407-18.078751 11.299347-27.436886 16.144702l-10.131755 72.213695-0.039909 0.274246c-4.336772 28.201296-29.083385 49.467645-57.564044 49.467645L439.333492 790.686443c-28.860305 0-53.084009-20.881586-57.596789-49.65184l-10.161431-72.312956c-9.322319-4.834098-18.500353-10.232039-27.448142-16.143679l-66.729797 27.146267-0.294712 0.11768c-6.51846 2.537799-13.43294 3.825119-20.551058 3.825119-21.215184 0-40.781822-11.207249-51.048653-29.223578l-70.111824-122.636085c-14.304797-25.034163-8.407484-56.414871 14.023388-74.616418l56.854892-44.965098c-0.348947-5.638417-0.520863-11.066033-0.520863-16.398482 0-5.319146 0.170892-10.739599 0.520863-16.370853l-57.005318-45.010123-0.36839-0.297782c-22.100344-18.271132-27.759227-49.513694-13.503549-74.204026l70.182432-122.833583c10.371208-18.021445 29.735232-29.218462 50.535977-29.218462 7.341199 0 14.543228 1.385557 21.405519 4.115738l66.681702 27.101241c8.968256-5.934153 18.136056-11.328 27.41642-16.135492l10.133801-72.330352 0.052189-0.352017c4.498454-28.584012 28.694529-49.330522 57.533344-49.330522l140.241045 0c28.369118 0 53.145407 21.329794 57.632605 49.613978l10.151197 72.412217c9.434883 4.89652 18.60166 10.285251 27.414373 16.111956l66.731844-27.173896 0.160659-0.064468c6.744611-2.682086 13.893428-4.042059 21.251-4.042059 20.74037 0 40.096207 11.235902 50.555419 29.395494l69.958328 122.565477C897.783879 284.582733 891.985826 315.971627 869.619422 334.458677zM846.961376 280.852782l-70.027913-122.686227c-2.922563-5.074575-8.293897-8.227382-14.017248-8.227382-1.982144 0-3.875261 0.349971-5.629207 1.038656l-87.957261 35.81674-9.455349-6.810103c-12.724813-9.163707-26.456558-17.243733-40.813544-24.016996l-10.29139-4.854565-13.1853-94.085842c-1.337461-7.960299-8.193613-13.944594-16.010649-13.944594L439.333492 43.08247c-7.92653 0-14.592346 5.718235-15.904225 13.618159l-13.239536 94.494141-10.369162 4.835122c-13.873985 6.467295-27.587312 14.536065-40.762379 23.982204l-9.44 6.768147-87.730087-35.657104c-1.86958-0.73678-3.813862-1.110287-5.77861-1.110287-5.689582 0-11.197016 3.182482-13.998829 8.051373l-70.197782 122.859165c-3.957125 6.853082-2.405793 15.505136 3.675716 20.647249l74.66349 58.95267-1.130753 11.458983c-0.845251 8.566096-1.255597 16.365736-1.255597 23.846104 0 7.494695 0.410346 15.300474 1.255597 23.863501l1.12973 11.44875-74.382081 58.824757c-6.368034 5.230118-7.977695 13.827937-3.9121 20.942985l70.123081 122.656551c2.721994 4.77577 8.53642 7.983835 14.46955 7.983835 1.826602 0 3.560082-0.306992 5.15644-0.911766l87.818091-35.725666 9.441023 6.760984c13.109576 9.387811 26.852578 17.470907 40.84629 24.025183l10.334369 4.840238 13.220093 94.102215c1.347694 8.206916 7.894807 13.927197 15.965623 13.927197l140.281977 0c7.715729 0 14.687514-5.987365 15.918551-13.648858l13.243629-94.389764 10.349719-4.838192c14.07353-6.578836 27.78174-14.648628 40.744983-23.985274l9.449209-6.80601 87.640036 35.621289c2.009773 0.757247 4.053316 1.14201 6.076392 1.14201 5.694699 0 11.000542-3.102664 13.860682-8.123005l70.14764-122.69953c3.972475-6.924713 2.394537-15.616676-3.743254-20.722974l-74.531484-58.930157 1.063215-11.384281c0.824785-8.837272 1.225921-16.678868 1.225921-23.974018 0-7.303336-0.402159-15.137769-1.225921-23.951505l-1.065262-11.390421 74.160024-58.609863C849.358983 296.454108 851.020832 287.836847 846.961376 280.852782zM509.527181 565.246971c-92.739171 0-168.18856-76.001975-168.18856-169.419598 0-93.420693 75.448366-169.423691 168.18856-169.423691 92.715635 0 168.144558 76.001975 168.144558 169.423691C677.671739 489.246019 602.242815 565.246971 509.527181 565.246971zM509.527181 268.520919c-69.515237 0-126.0703 57.109696-126.0703 127.306454 0 70.194712 56.555064 127.301338 126.0703 127.301338 69.491701 0 126.027321-57.106626 126.027321-127.301338C635.554502 325.630614 579.018881 268.520919 509.527181 268.520919z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="wodetuijianzhuanhongbao" unicode="" d="M589.9264 537.6l-63.6928-108.2368c-5.12-8.6016-9.216-16.6912-12.4928-24.1664l-0.9216 0c-4.4032 9.4208-8.4992 17.1008-11.9808 23.2448l-63.488 109.2608L384 537.7024l90.7264-140.1856-74.24 0 0-30.9248 88.1664 0 0-43.008-88.1664 0 0-31.1296 88.1664 0L488.6528 230.4l46.6944 0 0 61.8496 85.504 0 0 31.1296-85.504 0 0 43.008 85.504 0 0 30.9248-72.8064 0L640 537.6 589.9264 537.6zM972.8 459.0592 972.8 665.6c0 56.32-43.7248 102.4-97.0752 102.4L148.1728 768C94.8224 768 51.2 721.92 51.2 665.6l0-206.5408c41.7792-5.7344 72.704-27.3408 72.704-75.0592s-31.0272-69.3248-72.704-75.0592L51.2 102.4c0-56.32 43.6224-102.4 96.9728-102.4l727.552 0c53.3504 0 97.0752 46.08 97.0752 102.4L972.8 308.9408c-41.7792 5.7344-72.8064 27.3408-72.8064 75.0592C899.9936 431.616 931.0208 453.3248 972.8 459.0592zM921.6 270.2336 921.6 102.4c0-27.7504-20.992-51.2-45.8752-51.2l-94.9248 0 0 51.2c0 14.1312-11.4688 25.6-25.6 25.6-14.1312 0-25.6-11.4688-25.6-25.6l0-51.2-435.2 0 0 51.2c0 14.1312-11.4688 25.6-25.6 25.6-14.1312 0-25.6-11.4688-25.6-25.6l0-51.2-95.0272 0c-24.7808 0-45.7728 23.4496-45.7728 51.2L102.4 270.2336c46.2848 19.968 72.704 60.3136 72.704 113.7664 0 53.4528-26.5216 93.7984-72.704 113.7664L102.4 665.6c0 27.7504 20.992 51.2 45.7728 51.2l95.0272 0 0-51.2c0-14.1312 11.4688-25.6 25.6-25.6 14.1312 0 25.6 11.4688 25.6 25.6l0 51.2 435.2 0 0-51.2c0-14.1312 11.4688-25.6 25.6-25.6 14.1312 0 25.6 11.4688 25.6 25.6l0 51.2 94.9248 0c24.8832 0 45.8752-23.4496 45.8752-51.2l0-167.8336c-46.2848-19.968-72.8064-60.3136-72.8064-113.7664C848.7936 330.5472 875.3152 290.2016 921.6 270.2336z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="tiezi" unicode="" d="M836.266667 896H187.733333C122.311111 896 71.111111 844.8 71.111111 779.377778v-790.755556c0-65.422222 51.2-116.622222 116.622222-116.622222h648.533334c65.422222 0 116.622222 51.2 116.622222 116.622222V779.377778c0 65.422222-51.2 116.622222-116.622222 116.622222z m91.022222-901.688889c0-48.355556-39.822222-88.177778-88.177778-88.177778H187.733333c-48.355556 0-88.177778 39.822222-88.177777 88.177778V779.377778C99.555556 827.733333 139.377778 867.555556 187.733333 867.555556h651.377778c48.355556 0 88.177778-39.822222 88.177778-88.177778v-785.066667zM725.333333 452.266667H571.733333c-8.533333 0-14.222222-8.533333-14.222222-14.222223 0-8.533333 5.688889-14.222222 14.222222-14.222222H725.333333c8.533333 0 14.222222 8.533333 14.222223 14.222222 0 8.533333-5.688889 14.222222-14.222223 14.222223zM725.333333 529.066667h-62.577777c-8.533333 0-14.222222-8.533333-14.222223-14.222223 0-8.533333 5.688889-14.222222 14.222223-14.222222h62.577777c8.533333 0 14.222222 8.533333 14.222223 14.222222 0 8.533333-5.688889 14.222222-14.222223 14.222223zM452.266667 497.777778h150.755555c8.533333 0 14.222222 8.533333 14.222222 14.222222 0 8.533333-5.688889 14.222222-14.222222 14.222222H449.422222c-8.533333 0-14.222222-8.533333-14.222222-14.222222 2.844444-8.533333 8.533333-14.222222 17.066667-14.222222zM273.066667 497.777778h122.311111c8.533333 0 14.222222 5.688889 14.222222 14.222222s-5.688889 14.222222-14.222222 14.222222H270.222222c-8.533333 0-14.222222-5.688889-14.222222-14.222222s8.533333-14.222222 17.066667-14.222222zM273.066667 420.977778h62.577777c8.533333 0 14.222222 8.533333 14.222223 14.222222 0 8.533333-5.688889 14.222222-14.222223 14.222222H261.688889c-8.533333-2.844444-11.377778-11.377778-8.533333-19.911111 2.844444-5.688889 11.377778-11.377778 19.911111-8.533333zM273.066667 329.955556H426.666667c8.533333 0 14.222222 8.533333 14.222222 14.222222 0 8.533333-5.688889 14.222222-14.222222 14.222222H264.533333c-8.533333-2.844444-11.377778-11.377778-8.533333-19.911111 0-5.688889 8.533333-11.377778 17.066667-8.533333zM332.8 287.288889H273.066667c-8.533333 0-14.222222-5.688889-14.222223-14.222222s5.688889-14.222222 14.222223-14.222223h59.733333c8.533333 0 14.222222 5.688889 14.222222 14.222223s-5.688889 14.222222-14.222222 14.222222zM500.622222 287.288889h-110.933333c-8.533333 0-14.222222-8.533333-14.222222-14.222222 0-8.533333 8.533333-14.222222 14.222222-14.222223h110.933333c8.533333 0 14.222222 8.533333 14.222222 14.222223 2.844444 8.533333-5.688889 14.222222-14.222222 14.222222zM395.377778 452.266667c-8.533333 0-17.066667-8.533333-14.222222-14.222223 0-8.533333 5.688889-14.222222 14.222222-14.222222H520.533333c8.533333 0 14.222222 8.533333 14.222223 14.222222 0 8.533333-5.688889 14.222222-14.222223 14.222223h-125.155555zM634.311111 361.244444H483.555556c-8.533333 0-14.222222-5.688889-14.222223-14.222222s5.688889-14.222222 14.222223-14.222222H637.155556c8.533333 0 14.222222 8.533333 14.222222 14.222222 0 8.533333-8.533333 14.222222-17.066667 14.222222zM725.333333 361.244444h-31.288889c-8.533333 0-17.066667-5.688889-17.066666-14.222222s8.533333-14.222222 17.066666-17.066666H728.177778c8.533333 0 14.222222 8.533333 14.222222 14.222222-2.844444 11.377778-8.533333 17.066667-17.066667 17.066666zM790.755556 807.822222s-2.844444 0 0 0c-8.533333 0-14.222222-5.688889-17.066667-11.377778-2.844444-8.533333 2.844444-17.066667 11.377778-17.066666 62.577778-5.688889 48.355556-85.333333 48.355555-133.688889v-14.222222c0-8.533333 5.688889-14.222222 14.222222-14.222223s14.222222 5.688889 14.222223 14.222223v11.377777c0 45.511111 11.377778 156.444444-71.111111 164.977778zM830.577778 574.577778a14.222222 14.222222 0 1 1 28.444444 0 14.222222 14.222222 0 1 1-28.444444 0Z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="yonghu" unicode="" d="M621.8 294.8c86.8 49.5 146.1 141.9 146.1 249 0 158.9-128.8 287.7-287.7 287.7S192.5 702.7 192.5 543.8c0-107.1 59.2-199.5 146.1-249-150-54.5-259.7-192.7-272.3-358.3h63.9c16.2 178.9 166.9 319.6 350 319.6s333.8-140.7 350-319.6h63.9c-12.6 165.6-122.3 303.8-272.3 358.3z m-365.4 249c0 123.4 100.4 223.7 223.8 223.7S704 667.2 704 543.8 603.6 320.1 480.2 320.1 256.4 420.4 256.4 543.8z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="yuedu" unicode="" d="M891.418 725.46c-13.007 1.478-114.199 12.65-201.734 12.65-75.848 0-126.697-15.855-145.457-25.521-5.579-2.549-20.026-9.718-32.987-20.922-12.957 11.205-27.403 18.369-32.984 20.922-18.759 9.666-69.61 25.521-145.46 25.521-87.533 0-188.728-11.173-201.732-12.65C94.499 724.645 65 694.646 65 657.885v-547.21c0-36.902 29.723-66.988 66.486-67.58 0.294-0.01 0.595-0.018 0.893-0.018 1.121 0 2.277 0.072 3.457 0.224 9.762 1.247 61.366 7.664 118.745 11.65 100.998 7.021 139.514 1.041 153.48-3.146 0.057-0.018 0.115-0.033 0.174-0.048 0.253-0.073 0.508-0.145 0.765-0.21 0.17-0.042 0.342-0.085 0.511-0.125 0.195-0.046 0.393-0.088 0.591-0.128 0.234-0.049 0.47-0.094 0.706-0.134l0.213-0.045c6.604-1.099 16.469-4.35 26.913-7.796 21.131-6.966 47.429-15.633 73.308-15.633 21.796 0 45.863 6.897 69.144 13.569 16.356 4.69 33.272 9.535 42.521 9.535 3.017 0 5.9 0.559 8.561 1.575 116.535 16.38 252.616-8.606 253.989-8.864l2.2-0.41h2.236c37.266 0 67.589 30.321 67.589 67.59V657.885c-0.004 36.761-29.499 66.762-66.064 67.575zM430.231 83.481c-69.643 19.85-269.236-2.009-310.507-7.225-10.435 0.643-18.726 9.335-18.726 4.607V658.528c0 26.333 22.748 35.294 33.758 35.294h1.43l1.418 0.162c1.102 0.129 111.381 12.802 202.616 12.802 67.901 0 112.618-13.602 126.922-20.851l0.461-0.261 0.934-0.416c13.463-6.107 28.175-17.203 30.113-22.654V67.33c0-1.28 0.095-2.538 0.282-3.766-11.89 2.687-24.06 6.688-35.353 10.409-11.935 3.936-23.23 7.641-33.348 9.508z m488.945 11.935c0-10.408-8.007-18.983-18.182-19.889-21.691 3.852-158.428 26.487-279.479 8.141-0.948-0.143-1.873-0.342-2.772-0.588-15.054-1.191-32.471-6.182-50.776-11.425-10.707-3.068-22.189-6.353-32.92-8.715a24.8 24.8 0 0 1 0.265 3.615v595.28c1.94 5.452 16.654 16.548 30.063 22.63l0.591 0.233 0.837 0.462c14.286 7.249 59.015 20.858 126.942 20.858 91.235 0 201.515-12.673 202.617-12.801l1.418-0.163h1.431c11.01 0 19.966-8.96 19.966-19.97v-577.669h-0.001v0.001zM396.992 305.322c-1.689 0.759-41.792 18.541-78.583 18.541-54.266 0-74.851-5.603-94.759-11.026-3.075-0.836-5.98-1.627-9.046-2.406-8.161-2.082-13.091-10.383-11.012-18.544 2.08-8.162 10.38-13.095 18.542-11.014 3.308 0.844 6.468 1.705 9.529 2.537 18.801 5.117 36.561 9.953 86.746 9.953 30.182 0 65.764-15.72 66.11-15.875a15.208 15.208 0 0 1 6.229-1.337c5.825 0 11.389 3.355 13.923 9.016 3.446 7.69 0.007 16.71-7.679 20.155zM396.992 507.082c-1.689 0.756-41.792 18.541-78.583 18.541-54.266 0-74.851-5.605-94.759-11.025-3.075-0.84-5.98-1.629-9.046-2.408-8.161-2.081-13.091-10.382-11.012-18.543 2.08-8.161 10.38-13.095 18.542-11.013 3.308 0.842 6.468 1.704 9.529 2.534 18.801 5.119 36.561 9.955 86.746 9.955 30.182 0 65.764-15.718 66.11-15.874a15.239 15.239 0 0 1 6.229-1.336c5.825 0 11.389 3.359 13.923 9.019 3.446 7.683 0.007 16.709-7.679 20.15zM812.854 305.322c-1.691 0.759-41.792 18.541-78.583 18.541-54.266 0-74.851-5.603-94.758-11.026-3.077-0.836-5.98-1.627-9.046-2.406-8.161-2.082-13.09-10.383-11.012-18.544 2.08-8.162 10.38-13.095 18.542-11.014 3.308 0.844 6.468 1.705 9.528 2.537 18.8 5.117 36.562 9.953 86.747 9.953 30.182 0 65.765-15.72 66.11-15.875a15.208 15.208 0 0 1 6.229-1.337c5.825 0 11.389 3.355 13.924 9.016 3.442 7.69 0.004 16.71-7.681 20.155zM812.854 507.082c-1.691 0.756-41.792 18.541-78.583 18.541-54.266 0-74.851-5.605-94.758-11.025-3.077-0.84-5.98-1.629-9.046-2.408-8.161-2.081-13.09-10.382-11.012-18.543 2.08-8.161 10.38-13.095 18.542-11.013 3.308 0.842 6.468 1.704 9.528 2.534 18.8 5.119 36.562 9.955 86.747 9.955 30.182 0 65.765-15.718 66.11-15.874a15.239 15.239 0 0 1 6.229-1.336c5.825 0 11.389 3.359 13.924 9.019 3.442 7.683 0.004 16.709-7.681 20.15z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="weibiaoti-" unicode="" d="M251.345455-58.181818l-39.563637 195.490909H121.018182c-44.218182 0-79.127273 34.909091-79.127273 79.127273V749.381818C41.890909 791.272727 76.8 826.181818 121.018182 826.181818h784.290909c44.218182 0 79.127273-34.909091 79.127273-79.127273v-532.945454c0-44.218182-34.909091-79.127273-79.127273-79.127273H470.109091L251.345455-58.181818zM121.018182 781.963636c-18.618182 0-32.581818-13.963636-32.581818-32.581818v-532.945454c0-18.618182 13.963636-32.581818 32.581818-32.581819h128l32.581818-153.6 172.218182 153.6h449.163636c18.618182 0 32.581818 13.963636 32.581818 32.581819V749.381818c0 18.618182-13.963636 32.581818-32.581818 32.581818H121.018182zM809.890909 593.454545h-581.818182c-11.636364 0-23.272727 9.309091-23.272727 23.272728 0 11.636364 9.309091 23.272727 23.272727 23.272727h581.818182c11.636364 0 23.272727-9.309091 23.272727-23.272727s-9.309091-23.272727-23.272727-23.272728zM791.272727 425.890909H232.727273c-11.636364 0-23.272727 9.309091-23.272728 23.272727 0 11.636364 9.309091 23.272727 23.272728 23.272728h558.545454c11.636364 0 23.272727-9.309091 23.272728-23.272728s-9.309091-23.272727-23.272728-23.272727zM684.218182 297.890909H232.727273c-11.636364 0-23.272727 9.309091-23.272728 23.272727 0 11.636364 9.309091 23.272727 23.272728 23.272728h451.490909c11.636364 0 23.272727-9.309091 23.272727-23.272728s-9.309091-23.272727-23.272727-23.272727z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="weibiaoti-1" unicode="" d="M961.163636 55.854545H62.836364v195.49091l11.636363 6.981818c27.927273 16.290909 102.4 67.490909 102.4 118.690909-2.327273 41.890909-55.854545 76.8-100.072727 97.745454l-13.963636 6.981819v232.727272l30.254545-16.290909c44.218182-4.654545 525.963636-2.327273 844.8 0h23.272727v-204.8l-11.636363-6.981818s-86.109091-51.2-86.109091-114.036364c0-37.236364 27.927273-74.472727 88.436363-109.381818l11.636364-6.981818v-200.145455z m-851.781818 46.545455h805.236364v128c-67.490909 44.218182-100.072727 90.763636-100.072727 144.290909 0 72.145455 69.818182 125.672727 100.072727 144.290909v132.654546c-558.545455-4.654545-742.4-4.654545-805.236364 0v-141.963637c74.472727-37.236364 111.709091-81.454545 114.036364-132.654545 2.327273-74.472727-81.454545-134.981818-114.036364-153.6v-121.018182zM826.181818 188.509091h-605.090909c-13.963636 0-23.272727 9.309091-23.272727 23.272727s9.309091 23.272727 23.272727 23.272727h605.090909c13.963636 0 23.272727-9.309091 23.272727-23.272727s-9.309091-23.272727-23.272727-23.272727z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="Group-" unicode="" d="M657.28 675.52a32 32 0 0 0 29.44 56.96A388.16 388.16 0 0 0 512 0a388.16 388.16 0 0 0-174.72 732.48 32 32 0 1 0 29.44-56.96 322.56 322.56 0 1 1 465.28-288 323.52 323.52 0 0 1-174.72 288zM480 800a32 32 0 0 0 64 0v-320a32 32 0 0 0-64 0z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="yanzhengma" unicode="" d="M511.92574-127.975247C357.959389-127.975247 71.50029 101.50145 71.50029 318.551924V732.837749c0 10.049894 8.416167 18.16902 18.837362 18.379424l24.95146 0.420808c0.953007 0 98.766196 1.967898 199.599304 41.895185 103.481725 40.843164 170.179849 87.936569 170.885322 88.419261l14.691162 10.421195a19.86463 19.86463 0 0 0 11.398956 3.601625 19.480951 19.480951 0 0 0 11.324696-3.539741l14.975826-10.507832c0.680719-0.482692 67.440727-47.526591 170.798685-88.419262 100.932121-39.927287 198.74531-41.895185 199.747825-41.895184l24.753432-0.420809c10.433572-0.210404 18.824985-8.32953 18.824986-18.379423l0.210404-414.285825c0-217.02572-286.508606-446.527171-440.6111-446.527171z m372.625797 812.568556c-37.860375 2.846645-117.516921 12.624251-200.267646 45.385419-84.557726 33.417134-146.725972 71.005221-172.358151 87.602398-25.557919-16.535293-87.763295-54.135757-172.296268-87.602398-82.602205-32.686908-162.03597-42.464514-200.416167-45.385419v-366.041385c0-170.216979 249.576484-378.281957 372.712435-378.281957 47.724618 0 140.723264 38.726745 232.137691 123.767163 88.12222 81.909108 140.723264 177.07368 140.723264 254.490041z m-407.948946-435.660414a33.305744 33.305744 0 0 0-23.899439-10.049894 33.738929 33.738929 0 0 0-23.998453 10.037517l-101.674724 102.330691a34.345388 34.345388 0 0 0 0 48.269193 33.664668 33.664668 0 0 0 47.935022 0l77.738155-78.183717 196.269967 197.69329a33.590408 33.590408 0 0 0 47.910269 0 34.18449 34.18449 0 0 0 0-48.269194z m0 0" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="pinglun" unicode="" d="M512.4 59.9c-28.5 0-56.4 2.4-83.5 6.7L233.2-48V142.8C131 211.9 65.6 317.9 65.6 437c0 208.2 200 377 446.8 377 246.9 0 446.9-168.8 446.9-377s-200-377.1-446.9-377.1z m0 700.3c-215.9 0-391-144.8-391-323.2 0-109.6 66.1-206.3 167-264.6l-1.8-125.1L418 123.5c30.3-6.2 61.8-9.8 94.3-9.8 216 0 391.1 144.6 391.1 323.2 0.1 178.5-175 323.3-391 323.3z m223.5-377c-30.9 0-55.9 24.1-55.9 53.8 0 29.8 25.1 53.8 55.9 53.8 30.9 0 55.8-24.1 55.8-53.8 0.1-29.8-24.9-53.8-55.8-53.8z m-223.5 0c-30.8 0-55.8 24.1-55.8 53.8 0 29.8 25.1 53.8 55.8 53.8 30.9 0 55.9-24.1 55.9-53.8 0-29.8-25-53.8-55.9-53.8z m-223.4 0c-30.9 0-55.8 24.1-55.8 53.8 0 29.8 24.9 53.8 55.8 53.8s55.9-24.1 55.9-53.8c0-29.8-25-53.8-55.9-53.8z m0 0" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="mima" unicode="" d="M800 64a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32v-320a32 32 0 0 1 32-32z m0-64H224a96 96 0 0 0-96 96V416a96 96 0 0 0 96 96h576a96 96 0 0 0 96-96v-320a96 96 0 0 0-96-96zM480 320a32 32 0 0 0 64 0v-128a32 32 0 0 0-64 0zM352 480a32 32 0 0 0-64 0v96a224 224 0 0 0 448 0v-96a32 32 0 0 0-64 0v96a160 160 0 0 1-320 0z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="icon_shujianor" unicode="" d="M858.666667 656h-160c-13.866667 0-26.666667-4.266667-37.333334-10.666667V746.666667c0 38.4-30.933333 69.333333-69.333333 69.333333h-160c-38.4 0-69.333333-30.933333-69.333333-69.333333v-197.333334c-10.666667 7.466667-23.466667 10.666667-37.333334 10.666667h-160C126.933333 560 96 529.066667 96 490.666667v-469.333334c0-38.4 30.933333-69.333333 69.333333-69.333333h160c21.333333 0 40.533333 9.6 53.333334 25.6 12.8-14.933333 32-25.6 53.333333-25.6h160c21.333333 0 40.533333 9.6 53.333333 25.6 12.8-14.933333 32-25.6 53.333334-25.6h160c38.4 0 69.333333 30.933333 69.333333 69.333333V586.666667c0 38.4-30.933333 69.333333-69.333333 69.333333z m-533.333334-672h-160c-20.266667 0-37.333333 17.066667-37.333333 37.333333V490.666667c0 20.266667 17.066667 37.333333 37.333333 37.333333h160c20.266667 0 37.333333-17.066667 37.333334-37.333333v-469.333334c0-20.266667-17.066667-37.333333-37.333334-37.333333z m266.666667 0h-160c-20.266667 0-37.333333 17.066667-37.333333 37.333333V746.666667c0 20.266667 17.066667 37.333333 37.333333 37.333333h160c20.266667 0 37.333333-17.066667 37.333333-37.333333v-725.333334c0-20.266667-17.066667-37.333333-37.333333-37.333333zM896 21.333333c0-20.266667-17.066667-37.333333-37.333333-37.333333h-160c-20.266667 0-37.333333 17.066667-37.333334 37.333333V586.666667c0 20.266667 17.066667 37.333333 37.333334 37.333333h160c20.266667 0 37.333333-17.066667 37.333333-37.333333v-565.333334zM304 58.666667h-128c-8.533333 0-16-7.466667-16-16s7.466667-16 16-16h128c8.533333 0 16 7.466667 16 16s-7.466667 16-16 16zM576 58.666667H448c-8.533333 0-16-7.466667-16-16s7.466667-16 16-16h128c8.533333 0 16 7.466667 16 16s-7.466667 16-16 16zM842.666667 58.666667H714.666667c-8.533333 0-16-7.466667-16-16s7.466667-16 16-16h128c8.533333 0 16 7.466667 16 16s-7.466667 16-16 16z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
|
||||
|
||||
</font>
|
||||
</defs></svg>
|
||||
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 528 B |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
@@ -1 +0,0 @@
|
||||
!function(a,b){function c(){var b=f.getBoundingClientRect().width;b/i>540&&(b=540*i);var c=b/10;f.style.fontSize=c+"px",k.rem=a.rem=c}var d,e=a.document,f=e.documentElement,g=e.querySelector('meta[name="viewport"]'),h=e.querySelector('meta[name="flexible"]'),i=0,j=0,k=b.flexible||(b.flexible={});if(g){console.warn("将根据已有的meta标签来设置缩放比例");var l=g.getAttribute("content").match(/initial\-scale=([\d\.]+)/);l&&(j=parseFloat(l[1]),i=parseInt(1/j))}else if(h){var m=h.getAttribute("content");if(m){var n=m.match(/initial\-dpr=([\d\.]+)/),o=m.match(/maximum\-dpr=([\d\.]+)/);n&&(i=parseFloat(n[1]),j=parseFloat((1/i).toFixed(2))),o&&(i=parseFloat(o[1]),j=parseFloat((1/i).toFixed(2)))}}if(!i&&!j){var p=(a.navigator.appVersion.match(/android/gi),a.navigator.appVersion.match(/iphone/gi)),q=a.devicePixelRatio;i=p?q>=3&&(!i||i>=3)?3:q>=2&&(!i||i>=2)?2:1:1,j=1/i}if(f.setAttribute("data-dpr",i),!g)if(g=e.createElement("meta"),g.setAttribute("name","viewport"),g.setAttribute("content","initial-scale="+j+", maximum-scale="+j+", minimum-scale="+j+", user-scalable=no"),f.firstElementChild)f.firstElementChild.appendChild(g);else{var r=e.createElement("div");r.appendChild(g),e.write(r.innerHTML)}a.addEventListener("resize",function(){clearTimeout(d),d=setTimeout(c,300)},!1),a.addEventListener("pageshow",function(a){a.persisted&&(clearTimeout(d),d=setTimeout(c,300))},!1),"complete"===e.readyState?e.body.style.fontSize=12*i+"px":e.addEventListener("DOMContentLoaded",function(){e.body.style.fontSize=12*i+"px"},!1),c(),k.dpr=a.dpr=i,k.refreshRem=c,k.rem2px=function(a){var b=parseFloat(a)*this.rem;return"string"==typeof a&&a.match(/rem$/)&&(b+="px"),b},k.px2rem=function(a){var b=parseFloat(a)/this.rem;return"string"==typeof a&&a.match(/px$/)&&(b+="rem"),b}}(window,window.lib||(window.lib={}));
|
||||
@@ -1,99 +0,0 @@
|
||||
(function() {
|
||||
|
||||
function isMoblie() {
|
||||
if(!navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){
|
||||
$("body").addClass("app_NoMoblie");
|
||||
}else{
|
||||
$("body").removeClass("app_NoMoblie");
|
||||
}
|
||||
}
|
||||
|
||||
$('body').on('click','.app_meskSection',function () {
|
||||
$('.app_header_second').hide();
|
||||
$('.app_meskSection').hide();
|
||||
$('#header').removeClass('app_headerFixed2');
|
||||
$('.moreIco').removeClass('closeIco');
|
||||
});
|
||||
|
||||
$('.app_header_back').click(function () {
|
||||
window.history.go(-1);
|
||||
});
|
||||
|
||||
$('.moreIco').click(function () {
|
||||
if($(this).hasClass('closeIco')){
|
||||
$('#header').removeClass('app_headerFixed2');
|
||||
$(this).removeClass('closeIco');
|
||||
$('.app_header_second').hide();
|
||||
$('.app_meskSection').hide();
|
||||
}else{
|
||||
$('#header').addClass('app_headerFixed2');
|
||||
$(this).addClass('closeIco');
|
||||
$('.app_header_second').show();
|
||||
$('.app_meskSection').show();
|
||||
}
|
||||
});
|
||||
|
||||
/** 点击完成按钮 */
|
||||
$('#success').click(function () {
|
||||
$('#administration').show();
|
||||
$(this).hide();
|
||||
$('#list .rightJustTime').show();
|
||||
$('#list .deleteBlock').hide();
|
||||
});
|
||||
|
||||
/** 点击管理 */
|
||||
$('#administration').click(function () {
|
||||
$(this).hide();
|
||||
$('#success').show();
|
||||
$('#list .rightJustTime').hide();
|
||||
$('#list .deleteBlock').show();
|
||||
|
||||
});
|
||||
|
||||
$(window).resize(function () {
|
||||
isMoblie();
|
||||
});
|
||||
|
||||
newcode=function(){
|
||||
var verifyimg = $("#imgCode").attr("src");
|
||||
if (verifyimg.indexOf('?') > 0) {
|
||||
$("#imgCode").attr("src", verifyimg + '&random=' + Math.random());
|
||||
} else {
|
||||
$("#imgCode").attr("src", verifyimg.replace(/\?.*$/, '') + '?' + Math.random());
|
||||
}
|
||||
$("#code").val('');
|
||||
}
|
||||
|
||||
$("#imgCode").click(function() {
|
||||
newcode();
|
||||
});
|
||||
|
||||
var i,intervalid;
|
||||
$('.codeBtn').click(function(){
|
||||
var loadin_layer=layer.open({type: 2,content: '正在发送'});
|
||||
var send_data = JSON.parse($(this).attr('send-data'));
|
||||
send_data['type'] = 'passw';
|
||||
$.get($(this).attr('send-url'),send_data,function(data){
|
||||
layer.close(loadin_layer);
|
||||
if(data.code==1){
|
||||
layer.open({content: data.msg,time: 4});
|
||||
$('.codeBtn').attr({"disabled":"true"});
|
||||
i=180;
|
||||
intervalid = setInterval("codefun()",1000);
|
||||
}else{
|
||||
layer.open({content: data.msg,time: 2});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
codefun=function(){
|
||||
if (i == 0){
|
||||
$(".codeBtn").text("获取验证码").removeAttr("disabled");
|
||||
clearInterval(intervalid);
|
||||
}else{
|
||||
$('.codeBtn').text(i+"秒后重获取");
|
||||
i--;
|
||||
}
|
||||
}
|
||||
|
||||
})();
|
||||
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<!--
|
||||
2013-9-30: Created.
|
||||
-->
|
||||
<svg>
|
||||
<metadata>
|
||||
Created by iconfont
|
||||
</metadata>
|
||||
<defs>
|
||||
|
||||
<font id="iconfont" horiz-adv-x="1024" >
|
||||
<font-face
|
||||
font-family="iconfont"
|
||||
font-weight="500"
|
||||
font-stretch="normal"
|
||||
units-per-em="1024"
|
||||
ascent="896"
|
||||
descent="-128"
|
||||
/>
|
||||
<missing-glyph />
|
||||
|
||||
<glyph glyph-name="wofadetiezi" unicode="" d="M802.611-128h-581.222c-71.333 0-129.161 57.298-129.161 127.979v767.871c0 70.683 57.828 127.981 129.161 127.981h387.482c43.22 0.678 60.425-0.913 64.579-0.913v0.913l258.322-255.958c0-46.992 0-53.985 0-63.99v-575.907c0-70.679-57.828-127.977-129.161-127.977zM673.45 831.84c0-76.179 0-127.975 0-127.975 0-35.339 28.913-63.992 64.581-63.992h129.161l-193.742 191.967zM867.191 575.886c-75.188 0-129.161 0-129.161 0-71.335 0-129.161 57.294-129.161 127.981 0 0-1.505 51.353-0.915 127.975l-386.565 0c-35.666 0-64.579-28.643-64.579-63.99v-767.871c0-35.339 28.913-63.99 64.579-63.99h581.222c35.666 0 64.579 28.653 64.579 63.99v575.905zM705.74 127.961h-387.482c-17.833 0-32.29 14.328-32.29 31.993 0 17.673 14.454 31.999 32.29 31.999h387.482c17.833 0 32.288-14.325 32.288-31.999-0-17.665-14.454-31.993-32.288-31.993zM705.74 319.929h-387.482c-17.833 0-32.29 14.323-32.29 31.997 0 17.665 14.454 31.991 32.29 31.991h387.482c17.833 0 32.288-14.325 32.288-31.991-0-17.673-14.454-31.997-32.288-31.997z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="jifen" unicode="" d="M672 531.2 576 531.2l38.4 38.4c12.8 12.8 12.8 25.6 0 38.4-12.8 12.8-25.6 12.8-38.4 0L512 537.6 441.6 608c-12.8 12.8-25.6 12.8-38.4 0-12.8-12.8-12.8-25.6 0-38.4L448 531.2 358.4 531.2c-38.4 0-64-32-64-64 0-32 19.2-57.6 51.2-64l0-211.2c0-12.8 12.8-25.6 25.6-25.6l300.8 0c12.8 0 25.6 12.8 25.6 25.6L697.6 396.8c25.6 6.4 51.2 32 51.2 64C742.4 499.2 710.4 531.2 672 531.2L672 531.2zM358.4 448C345.6 448 339.2 454.4 339.2 460.8c0 6.4 6.4 19.2 19.2 19.2l134.4 0L492.8 448 358.4 448 358.4 448zM640 211.2 390.4 211.2 390.4 396.8l102.4 0 0-108.8c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6L544 396.8 640 396.8 640 211.2 640 211.2zM672 448 544 448 544 480l134.4 0c6.4 0 19.2-6.4 19.2-19.2C691.2 454.4 684.8 448 672 448L672 448zM512 896C230.4 896 0 665.6 0 384s230.4-512 512-512c281.6 0 512 230.4 512 512S793.6 896 512 896L512 896zM505.6-89.6c-262.4 0-473.6 211.2-473.6 473.6 0 262.4 211.2 473.6 473.6 473.6 262.4 0 473.6-211.2 473.6-473.6C979.2 121.6 768-89.6 505.6-89.6L505.6-89.6zM505.6-89.6" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="duihao" unicode="" d="M416.832 97.92C400.64 97.92 384.512 104.128 372.16 116.48L119.424 370.24C94.784 395.008 94.784 435.2 119.424 459.968 144.128 484.736 184.128 484.736 208.768 459.968L416.832 251.072 814.4 650.24C839.04 675.072 879.04 675.072 903.744 650.24 928.384 625.472 928.384 585.344 903.744 560.576L461.504 116.48C449.152 104.128 432.96 97.92 416.832 97.92Z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="icexp" unicode="" d="M128 294.4 128 563.2c0 25.6 12.8 44.8 38.4 44.8l121.6 0C307.2 601.6 320 588.8 320 569.6c0-19.2-12.8-32-32-32L198.4 537.6l0-70.4 76.8 0c19.2 0 32-12.8 38.4-32 0-19.2-12.8-32-38.4-32L198.4 403.2 198.4 320l89.6 0C313.6 320 320 313.6 326.4 288 320 268.8 313.6 256 288 256l-128 0C140.8 256 128 268.8 128 294.4zM339.2 313.6l96 128L358.4 550.4C352 556.8 345.6 563.2 345.6 569.6c0 19.2 12.8 32 38.4 38.4 12.8 0 19.2-6.4 32-19.2l57.6-83.2 64 83.2c12.8 12.8 19.2 19.2 32 19.2 25.6 0 32-12.8 38.4-38.4 0-6.4 0-12.8-6.4-19.2L518.4 441.6l96-128c6.4-6.4 6.4-12.8 6.4-25.6 0-19.2-12.8-32-38.4-32C576 256 563.2 262.4 556.8 268.8L480 377.6 396.8 268.8C390.4 262.4 384 256 364.8 256c-25.6 0-32 12.8-38.4 32C332.8 300.8 332.8 307.2 339.2 313.6zM646.4 288 646.4 563.2c0 25.6 12.8 38.4 38.4 38.4l89.6 0c76.8-6.4 121.6-44.8 121.6-115.2-6.4-70.4-44.8-108.8-121.6-115.2l-51.2 0 0-76.8c0-25.6-12.8-32-38.4-32S652.8 268.8 646.4 288zM723.2 537.6l0-102.4L768 435.2c32 0 44.8 19.2 51.2 51.2 0 32-19.2 51.2-51.2 51.2L723.2 537.6zM992 704 960 704 960 736C960 755.2 947.2 768 928 768S896 755.2 896 736L896 704l-32 0C844.8 704 832 691.2 832 672S844.8 640 864 640L896 640l0-32C896 588.8 908.8 576 928 576S960 588.8 960 608L960 640l32 0C1011.2 640 1024 652.8 1024 672S1011.2 704 992 704zM928 192l-832 0C44.8 192 0 147.2 0 96S44.8 0 96 0l832 0c51.2 0 96 44.8 96 96S979.2 192 928 192zM928 64 640 64l0 64 288 0c19.2 0 32-12.8 32-32S947.2 64 928 64z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="zichanbaoguanli" unicode="" d="M872.984564-11.044288 95.92063-11.044288c-51.750641 0-93.852528 43.444465-93.852528 96.842629L2.068102 797.110759c0 53.399187 42.101887 96.842629 93.852528 96.842629l777.063935 0c51.750641 0 93.853551-43.443441 93.853551-96.842629l0-127.916345c0-18.821671-15.257495-34.079166-34.079166-34.079166s-34.079166 15.257495-34.079166 34.079166L898.679783 797.110759c0 15.817244-11.526521 28.684296-25.695219 28.684296L95.92063 825.795055c-14.167674 0-25.695219-12.867052-25.695219-28.684296l0-711.312418c0-15.817244 11.526521-28.685319 25.695219-28.685319l777.063935 0c14.167674 0 25.695219 12.867052 25.695219 28.685319L898.679783 212.921623c0 18.820648 15.257495 34.079166 34.079166 34.079166s34.079166-15.258519 34.079166-34.079166l0-127.122259C966.838116 32.400177 924.735206-11.044288 872.984564-11.044288zM950.857143 517.62537l0-141.747351L578.714448 375.878019 578.714448 517.62537 950.857143 517.62537M1019.015476 585.782679 510.557138 585.782679l0-278.062993 508.458337 0L1019.015476 585.782679 1019.015476 585.782679zM764.782214 478.529957l127.115096 0 0-63.557548-127.115096 0 0 63.557548Z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="shezhi" unicode="" d="M869.619422 334.458677l-56.954153 45.019333c0.344854 5.708002 0.514723 11.119245 0.514723 16.350386 0 5.231141-0.169869 10.648524-0.515746 16.369829l56.927547 45.01217 0.274246 0.220011c22.233374 18.189268 28.000728 49.466622 13.730723 74.342172l-70.116941 122.645294c-10.31902 18.11252-29.647227 29.364795-50.440809 29.364795-7.275707 0-14.46955-1.352811-21.38096-4.019547l-66.871013-27.176966c-8.905834 5.901407-18.078751 11.299347-27.436886 16.144702l-10.131755 72.213695-0.039909 0.274246c-4.336772 28.201296-29.083385 49.467645-57.564044 49.467645L439.333492 790.686443c-28.860305 0-53.084009-20.881586-57.596789-49.65184l-10.161431-72.312956c-9.322319-4.834098-18.500353-10.232039-27.448142-16.143679l-66.729797 27.146267-0.294712 0.11768c-6.51846 2.537799-13.43294 3.825119-20.551058 3.825119-21.215184 0-40.781822-11.207249-51.048653-29.223578l-70.111824-122.636085c-14.304797-25.034163-8.407484-56.414871 14.023388-74.616418l56.854892-44.965098c-0.348947-5.638417-0.520863-11.066033-0.520863-16.398482 0-5.319146 0.170892-10.739599 0.520863-16.370853l-57.005318-45.010123-0.36839-0.297782c-22.100344-18.271132-27.759227-49.513694-13.503549-74.204026l70.182432-122.833583c10.371208-18.021445 29.735232-29.218462 50.535977-29.218462 7.341199 0 14.543228 1.385557 21.405519 4.115738l66.681702 27.101241c8.968256-5.934153 18.136056-11.328 27.41642-16.135492l10.133801-72.330352 0.052189-0.352017c4.498454-28.584012 28.694529-49.330522 57.533344-49.330522l140.241045 0c28.369118 0 53.145407 21.329794 57.632605 49.613978l10.151197 72.412217c9.434883 4.89652 18.60166 10.285251 27.414373 16.111956l66.731844-27.173896 0.160659-0.064468c6.744611-2.682086 13.893428-4.042059 21.251-4.042059 20.74037 0 40.096207 11.235902 50.555419 29.395494l69.958328 122.565477C897.783879 284.582733 891.985826 315.971627 869.619422 334.458677zM846.961376 280.852782l-70.027913-122.686227c-2.922563-5.074575-8.293897-8.227382-14.017248-8.227382-1.982144 0-3.875261 0.349971-5.629207 1.038656l-87.957261 35.81674-9.455349-6.810103c-12.724813-9.163707-26.456558-17.243733-40.813544-24.016996l-10.29139-4.854565-13.1853-94.085842c-1.337461-7.960299-8.193613-13.944594-16.010649-13.944594L439.333492 43.08247c-7.92653 0-14.592346 5.718235-15.904225 13.618159l-13.239536 94.494141-10.369162 4.835122c-13.873985 6.467295-27.587312 14.536065-40.762379 23.982204l-9.44 6.768147-87.730087-35.657104c-1.86958-0.73678-3.813862-1.110287-5.77861-1.110287-5.689582 0-11.197016 3.182482-13.998829 8.051373l-70.197782 122.859165c-3.957125 6.853082-2.405793 15.505136 3.675716 20.647249l74.66349 58.95267-1.130753 11.458983c-0.845251 8.566096-1.255597 16.365736-1.255597 23.846104 0 7.494695 0.410346 15.300474 1.255597 23.863501l1.12973 11.44875-74.382081 58.824757c-6.368034 5.230118-7.977695 13.827937-3.9121 20.942985l70.123081 122.656551c2.721994 4.77577 8.53642 7.983835 14.46955 7.983835 1.826602 0 3.560082-0.306992 5.15644-0.911766l87.818091-35.725666 9.441023 6.760984c13.109576 9.387811 26.852578 17.470907 40.84629 24.025183l10.334369 4.840238 13.220093 94.102215c1.347694 8.206916 7.894807 13.927197 15.965623 13.927197l140.281977 0c7.715729 0 14.687514-5.987365 15.918551-13.648858l13.243629-94.389764 10.349719-4.838192c14.07353-6.578836 27.78174-14.648628 40.744983-23.985274l9.449209-6.80601 87.640036 35.621289c2.009773 0.757247 4.053316 1.14201 6.076392 1.14201 5.694699 0 11.000542-3.102664 13.860682-8.123005l70.14764-122.69953c3.972475-6.924713 2.394537-15.616676-3.743254-20.722974l-74.531484-58.930157 1.063215-11.384281c0.824785-8.837272 1.225921-16.678868 1.225921-23.974018 0-7.303336-0.402159-15.137769-1.225921-23.951505l-1.065262-11.390421 74.160024-58.609863C849.358983 296.454108 851.020832 287.836847 846.961376 280.852782zM509.527181 565.246971c-92.739171 0-168.18856-76.001975-168.18856-169.419598 0-93.420693 75.448366-169.423691 168.18856-169.423691 92.715635 0 168.144558 76.001975 168.144558 169.423691C677.671739 489.246019 602.242815 565.246971 509.527181 565.246971zM509.527181 268.520919c-69.515237 0-126.0703 57.109696-126.0703 127.306454 0 70.194712 56.555064 127.301338 126.0703 127.301338 69.491701 0 126.027321-57.106626 126.027321-127.301338C635.554502 325.630614 579.018881 268.520919 509.527181 268.520919z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="wodetuijianzhuanhongbao" unicode="" d="M589.9264 537.6l-63.6928-108.2368c-5.12-8.6016-9.216-16.6912-12.4928-24.1664l-0.9216 0c-4.4032 9.4208-8.4992 17.1008-11.9808 23.2448l-63.488 109.2608L384 537.7024l90.7264-140.1856-74.24 0 0-30.9248 88.1664 0 0-43.008-88.1664 0 0-31.1296 88.1664 0L488.6528 230.4l46.6944 0 0 61.8496 85.504 0 0 31.1296-85.504 0 0 43.008 85.504 0 0 30.9248-72.8064 0L640 537.6 589.9264 537.6zM972.8 459.0592 972.8 665.6c0 56.32-43.7248 102.4-97.0752 102.4L148.1728 768C94.8224 768 51.2 721.92 51.2 665.6l0-206.5408c41.7792-5.7344 72.704-27.3408 72.704-75.0592s-31.0272-69.3248-72.704-75.0592L51.2 102.4c0-56.32 43.6224-102.4 96.9728-102.4l727.552 0c53.3504 0 97.0752 46.08 97.0752 102.4L972.8 308.9408c-41.7792 5.7344-72.8064 27.3408-72.8064 75.0592C899.9936 431.616 931.0208 453.3248 972.8 459.0592zM921.6 270.2336 921.6 102.4c0-27.7504-20.992-51.2-45.8752-51.2l-94.9248 0 0 51.2c0 14.1312-11.4688 25.6-25.6 25.6-14.1312 0-25.6-11.4688-25.6-25.6l0-51.2-435.2 0 0 51.2c0 14.1312-11.4688 25.6-25.6 25.6-14.1312 0-25.6-11.4688-25.6-25.6l0-51.2-95.0272 0c-24.7808 0-45.7728 23.4496-45.7728 51.2L102.4 270.2336c46.2848 19.968 72.704 60.3136 72.704 113.7664 0 53.4528-26.5216 93.7984-72.704 113.7664L102.4 665.6c0 27.7504 20.992 51.2 45.7728 51.2l95.0272 0 0-51.2c0-14.1312 11.4688-25.6 25.6-25.6 14.1312 0 25.6 11.4688 25.6 25.6l0 51.2 435.2 0 0-51.2c0-14.1312 11.4688-25.6 25.6-25.6 14.1312 0 25.6 11.4688 25.6 25.6l0 51.2 94.9248 0c24.8832 0 45.8752-23.4496 45.8752-51.2l0-167.8336c-46.2848-19.968-72.8064-60.3136-72.8064-113.7664C848.7936 330.5472 875.3152 290.2016 921.6 270.2336z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="tiezi" unicode="" d="M836.266667 896H187.733333C122.311111 896 71.111111 844.8 71.111111 779.377778v-790.755556c0-65.422222 51.2-116.622222 116.622222-116.622222h648.533334c65.422222 0 116.622222 51.2 116.622222 116.622222V779.377778c0 65.422222-51.2 116.622222-116.622222 116.622222z m91.022222-901.688889c0-48.355556-39.822222-88.177778-88.177778-88.177778H187.733333c-48.355556 0-88.177778 39.822222-88.177777 88.177778V779.377778C99.555556 827.733333 139.377778 867.555556 187.733333 867.555556h651.377778c48.355556 0 88.177778-39.822222 88.177778-88.177778v-785.066667zM725.333333 452.266667H571.733333c-8.533333 0-14.222222-8.533333-14.222222-14.222223 0-8.533333 5.688889-14.222222 14.222222-14.222222H725.333333c8.533333 0 14.222222 8.533333 14.222223 14.222222 0 8.533333-5.688889 14.222222-14.222223 14.222223zM725.333333 529.066667h-62.577777c-8.533333 0-14.222222-8.533333-14.222223-14.222223 0-8.533333 5.688889-14.222222 14.222223-14.222222h62.577777c8.533333 0 14.222222 8.533333 14.222223 14.222222 0 8.533333-5.688889 14.222222-14.222223 14.222223zM452.266667 497.777778h150.755555c8.533333 0 14.222222 8.533333 14.222222 14.222222 0 8.533333-5.688889 14.222222-14.222222 14.222222H449.422222c-8.533333 0-14.222222-8.533333-14.222222-14.222222 2.844444-8.533333 8.533333-14.222222 17.066667-14.222222zM273.066667 497.777778h122.311111c8.533333 0 14.222222 5.688889 14.222222 14.222222s-5.688889 14.222222-14.222222 14.222222H270.222222c-8.533333 0-14.222222-5.688889-14.222222-14.222222s8.533333-14.222222 17.066667-14.222222zM273.066667 420.977778h62.577777c8.533333 0 14.222222 8.533333 14.222223 14.222222 0 8.533333-5.688889 14.222222-14.222223 14.222222H261.688889c-8.533333-2.844444-11.377778-11.377778-8.533333-19.911111 2.844444-5.688889 11.377778-11.377778 19.911111-8.533333zM273.066667 329.955556H426.666667c8.533333 0 14.222222 8.533333 14.222222 14.222222 0 8.533333-5.688889 14.222222-14.222222 14.222222H264.533333c-8.533333-2.844444-11.377778-11.377778-8.533333-19.911111 0-5.688889 8.533333-11.377778 17.066667-8.533333zM332.8 287.288889H273.066667c-8.533333 0-14.222222-5.688889-14.222223-14.222222s5.688889-14.222222 14.222223-14.222223h59.733333c8.533333 0 14.222222 5.688889 14.222222 14.222223s-5.688889 14.222222-14.222222 14.222222zM500.622222 287.288889h-110.933333c-8.533333 0-14.222222-8.533333-14.222222-14.222222 0-8.533333 8.533333-14.222222 14.222222-14.222223h110.933333c8.533333 0 14.222222 8.533333 14.222222 14.222223 2.844444 8.533333-5.688889 14.222222-14.222222 14.222222zM395.377778 452.266667c-8.533333 0-17.066667-8.533333-14.222222-14.222223 0-8.533333 5.688889-14.222222 14.222222-14.222222H520.533333c8.533333 0 14.222222 8.533333 14.222223 14.222222 0 8.533333-5.688889 14.222222-14.222223 14.222223h-125.155555zM634.311111 361.244444H483.555556c-8.533333 0-14.222222-5.688889-14.222223-14.222222s5.688889-14.222222 14.222223-14.222222H637.155556c8.533333 0 14.222222 8.533333 14.222222 14.222222 0 8.533333-8.533333 14.222222-17.066667 14.222222zM725.333333 361.244444h-31.288889c-8.533333 0-17.066667-5.688889-17.066666-14.222222s8.533333-14.222222 17.066666-17.066666H728.177778c8.533333 0 14.222222 8.533333 14.222222 14.222222-2.844444 11.377778-8.533333 17.066667-17.066667 17.066666zM790.755556 807.822222s-2.844444 0 0 0c-8.533333 0-14.222222-5.688889-17.066667-11.377778-2.844444-8.533333 2.844444-17.066667 11.377778-17.066666 62.577778-5.688889 48.355556-85.333333 48.355555-133.688889v-14.222222c0-8.533333 5.688889-14.222222 14.222222-14.222223s14.222222 5.688889 14.222223 14.222223v11.377777c0 45.511111 11.377778 156.444444-71.111111 164.977778zM830.577778 574.577778a14.222222 14.222222 0 1 1 28.444444 0 14.222222 14.222222 0 1 1-28.444444 0Z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="yonghu" unicode="" d="M621.8 294.8c86.8 49.5 146.1 141.9 146.1 249 0 158.9-128.8 287.7-287.7 287.7S192.5 702.7 192.5 543.8c0-107.1 59.2-199.5 146.1-249-150-54.5-259.7-192.7-272.3-358.3h63.9c16.2 178.9 166.9 319.6 350 319.6s333.8-140.7 350-319.6h63.9c-12.6 165.6-122.3 303.8-272.3 358.3z m-365.4 249c0 123.4 100.4 223.7 223.8 223.7S704 667.2 704 543.8 603.6 320.1 480.2 320.1 256.4 420.4 256.4 543.8z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="yuedu" unicode="" d="M891.418 725.46c-13.007 1.478-114.199 12.65-201.734 12.65-75.848 0-126.697-15.855-145.457-25.521-5.579-2.549-20.026-9.718-32.987-20.922-12.957 11.205-27.403 18.369-32.984 20.922-18.759 9.666-69.61 25.521-145.46 25.521-87.533 0-188.728-11.173-201.732-12.65C94.499 724.645 65 694.646 65 657.885v-547.21c0-36.902 29.723-66.988 66.486-67.58 0.294-0.01 0.595-0.018 0.893-0.018 1.121 0 2.277 0.072 3.457 0.224 9.762 1.247 61.366 7.664 118.745 11.65 100.998 7.021 139.514 1.041 153.48-3.146 0.057-0.018 0.115-0.033 0.174-0.048 0.253-0.073 0.508-0.145 0.765-0.21 0.17-0.042 0.342-0.085 0.511-0.125 0.195-0.046 0.393-0.088 0.591-0.128 0.234-0.049 0.47-0.094 0.706-0.134l0.213-0.045c6.604-1.099 16.469-4.35 26.913-7.796 21.131-6.966 47.429-15.633 73.308-15.633 21.796 0 45.863 6.897 69.144 13.569 16.356 4.69 33.272 9.535 42.521 9.535 3.017 0 5.9 0.559 8.561 1.575 116.535 16.38 252.616-8.606 253.989-8.864l2.2-0.41h2.236c37.266 0 67.589 30.321 67.589 67.59V657.885c-0.004 36.761-29.499 66.762-66.064 67.575zM430.231 83.481c-69.643 19.85-269.236-2.009-310.507-7.225-10.435 0.643-18.726 9.335-18.726 4.607V658.528c0 26.333 22.748 35.294 33.758 35.294h1.43l1.418 0.162c1.102 0.129 111.381 12.802 202.616 12.802 67.901 0 112.618-13.602 126.922-20.851l0.461-0.261 0.934-0.416c13.463-6.107 28.175-17.203 30.113-22.654V67.33c0-1.28 0.095-2.538 0.282-3.766-11.89 2.687-24.06 6.688-35.353 10.409-11.935 3.936-23.23 7.641-33.348 9.508z m488.945 11.935c0-10.408-8.007-18.983-18.182-19.889-21.691 3.852-158.428 26.487-279.479 8.141-0.948-0.143-1.873-0.342-2.772-0.588-15.054-1.191-32.471-6.182-50.776-11.425-10.707-3.068-22.189-6.353-32.92-8.715a24.8 24.8 0 0 1 0.265 3.615v595.28c1.94 5.452 16.654 16.548 30.063 22.63l0.591 0.233 0.837 0.462c14.286 7.249 59.015 20.858 126.942 20.858 91.235 0 201.515-12.673 202.617-12.801l1.418-0.163h1.431c11.01 0 19.966-8.96 19.966-19.97v-577.669h-0.001v0.001zM396.992 305.322c-1.689 0.759-41.792 18.541-78.583 18.541-54.266 0-74.851-5.603-94.759-11.026-3.075-0.836-5.98-1.627-9.046-2.406-8.161-2.082-13.091-10.383-11.012-18.544 2.08-8.162 10.38-13.095 18.542-11.014 3.308 0.844 6.468 1.705 9.529 2.537 18.801 5.117 36.561 9.953 86.746 9.953 30.182 0 65.764-15.72 66.11-15.875a15.208 15.208 0 0 1 6.229-1.337c5.825 0 11.389 3.355 13.923 9.016 3.446 7.69 0.007 16.71-7.679 20.155zM396.992 507.082c-1.689 0.756-41.792 18.541-78.583 18.541-54.266 0-74.851-5.605-94.759-11.025-3.075-0.84-5.98-1.629-9.046-2.408-8.161-2.081-13.091-10.382-11.012-18.543 2.08-8.161 10.38-13.095 18.542-11.013 3.308 0.842 6.468 1.704 9.529 2.534 18.801 5.119 36.561 9.955 86.746 9.955 30.182 0 65.764-15.718 66.11-15.874a15.239 15.239 0 0 1 6.229-1.336c5.825 0 11.389 3.359 13.923 9.019 3.446 7.683 0.007 16.709-7.679 20.15zM812.854 305.322c-1.691 0.759-41.792 18.541-78.583 18.541-54.266 0-74.851-5.603-94.758-11.026-3.077-0.836-5.98-1.627-9.046-2.406-8.161-2.082-13.09-10.383-11.012-18.544 2.08-8.162 10.38-13.095 18.542-11.014 3.308 0.844 6.468 1.705 9.528 2.537 18.8 5.117 36.562 9.953 86.747 9.953 30.182 0 65.765-15.72 66.11-15.875a15.208 15.208 0 0 1 6.229-1.337c5.825 0 11.389 3.355 13.924 9.016 3.442 7.69 0.004 16.71-7.681 20.155zM812.854 507.082c-1.691 0.756-41.792 18.541-78.583 18.541-54.266 0-74.851-5.605-94.758-11.025-3.077-0.84-5.98-1.629-9.046-2.408-8.161-2.081-13.09-10.382-11.012-18.543 2.08-8.161 10.38-13.095 18.542-11.013 3.308 0.842 6.468 1.704 9.528 2.534 18.8 5.119 36.562 9.955 86.747 9.955 30.182 0 65.765-15.718 66.11-15.874a15.239 15.239 0 0 1 6.229-1.336c5.825 0 11.389 3.359 13.924 9.019 3.442 7.683 0.004 16.709-7.681 20.15z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="weibiaoti-" unicode="" d="M251.345455-58.181818l-39.563637 195.490909H121.018182c-44.218182 0-79.127273 34.909091-79.127273 79.127273V749.381818C41.890909 791.272727 76.8 826.181818 121.018182 826.181818h784.290909c44.218182 0 79.127273-34.909091 79.127273-79.127273v-532.945454c0-44.218182-34.909091-79.127273-79.127273-79.127273H470.109091L251.345455-58.181818zM121.018182 781.963636c-18.618182 0-32.581818-13.963636-32.581818-32.581818v-532.945454c0-18.618182 13.963636-32.581818 32.581818-32.581819h128l32.581818-153.6 172.218182 153.6h449.163636c18.618182 0 32.581818 13.963636 32.581818 32.581819V749.381818c0 18.618182-13.963636 32.581818-32.581818 32.581818H121.018182zM809.890909 593.454545h-581.818182c-11.636364 0-23.272727 9.309091-23.272727 23.272728 0 11.636364 9.309091 23.272727 23.272727 23.272727h581.818182c11.636364 0 23.272727-9.309091 23.272727-23.272727s-9.309091-23.272727-23.272727-23.272728zM791.272727 425.890909H232.727273c-11.636364 0-23.272727 9.309091-23.272728 23.272727 0 11.636364 9.309091 23.272727 23.272728 23.272728h558.545454c11.636364 0 23.272727-9.309091 23.272728-23.272728s-9.309091-23.272727-23.272728-23.272727zM684.218182 297.890909H232.727273c-11.636364 0-23.272727 9.309091-23.272728 23.272727 0 11.636364 9.309091 23.272727 23.272728 23.272728h451.490909c11.636364 0 23.272727-9.309091 23.272727-23.272728s-9.309091-23.272727-23.272727-23.272727z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="weibiaoti-1" unicode="" d="M961.163636 55.854545H62.836364v195.49091l11.636363 6.981818c27.927273 16.290909 102.4 67.490909 102.4 118.690909-2.327273 41.890909-55.854545 76.8-100.072727 97.745454l-13.963636 6.981819v232.727272l30.254545-16.290909c44.218182-4.654545 525.963636-2.327273 844.8 0h23.272727v-204.8l-11.636363-6.981818s-86.109091-51.2-86.109091-114.036364c0-37.236364 27.927273-74.472727 88.436363-109.381818l11.636364-6.981818v-200.145455z m-851.781818 46.545455h805.236364v128c-67.490909 44.218182-100.072727 90.763636-100.072727 144.290909 0 72.145455 69.818182 125.672727 100.072727 144.290909v132.654546c-558.545455-4.654545-742.4-4.654545-805.236364 0v-141.963637c74.472727-37.236364 111.709091-81.454545 114.036364-132.654545 2.327273-74.472727-81.454545-134.981818-114.036364-153.6v-121.018182zM826.181818 188.509091h-605.090909c-13.963636 0-23.272727 9.309091-23.272727 23.272727s9.309091 23.272727 23.272727 23.272727h605.090909c13.963636 0 23.272727-9.309091 23.272727-23.272727s-9.309091-23.272727-23.272727-23.272727z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="Group-" unicode="" d="M657.28 675.52a32 32 0 0 0 29.44 56.96A388.16 388.16 0 0 0 512 0a388.16 388.16 0 0 0-174.72 732.48 32 32 0 1 0 29.44-56.96 322.56 322.56 0 1 1 465.28-288 323.52 323.52 0 0 1-174.72 288zM480 800a32 32 0 0 0 64 0v-320a32 32 0 0 0-64 0z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="yanzhengma" unicode="" d="M511.92574-127.975247C357.959389-127.975247 71.50029 101.50145 71.50029 318.551924V732.837749c0 10.049894 8.416167 18.16902 18.837362 18.379424l24.95146 0.420808c0.953007 0 98.766196 1.967898 199.599304 41.895185 103.481725 40.843164 170.179849 87.936569 170.885322 88.419261l14.691162 10.421195a19.86463 19.86463 0 0 0 11.398956 3.601625 19.480951 19.480951 0 0 0 11.324696-3.539741l14.975826-10.507832c0.680719-0.482692 67.440727-47.526591 170.798685-88.419262 100.932121-39.927287 198.74531-41.895185 199.747825-41.895184l24.753432-0.420809c10.433572-0.210404 18.824985-8.32953 18.824986-18.379423l0.210404-414.285825c0-217.02572-286.508606-446.527171-440.6111-446.527171z m372.625797 812.568556c-37.860375 2.846645-117.516921 12.624251-200.267646 45.385419-84.557726 33.417134-146.725972 71.005221-172.358151 87.602398-25.557919-16.535293-87.763295-54.135757-172.296268-87.602398-82.602205-32.686908-162.03597-42.464514-200.416167-45.385419v-366.041385c0-170.216979 249.576484-378.281957 372.712435-378.281957 47.724618 0 140.723264 38.726745 232.137691 123.767163 88.12222 81.909108 140.723264 177.07368 140.723264 254.490041z m-407.948946-435.660414a33.305744 33.305744 0 0 0-23.899439-10.049894 33.738929 33.738929 0 0 0-23.998453 10.037517l-101.674724 102.330691a34.345388 34.345388 0 0 0 0 48.269193 33.664668 33.664668 0 0 0 47.935022 0l77.738155-78.183717 196.269967 197.69329a33.590408 33.590408 0 0 0 47.910269 0 34.18449 34.18449 0 0 0 0-48.269194z m0 0" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="pinglun" unicode="" d="M512.4 59.9c-28.5 0-56.4 2.4-83.5 6.7L233.2-48V142.8C131 211.9 65.6 317.9 65.6 437c0 208.2 200 377 446.8 377 246.9 0 446.9-168.8 446.9-377s-200-377.1-446.9-377.1z m0 700.3c-215.9 0-391-144.8-391-323.2 0-109.6 66.1-206.3 167-264.6l-1.8-125.1L418 123.5c30.3-6.2 61.8-9.8 94.3-9.8 216 0 391.1 144.6 391.1 323.2 0.1 178.5-175 323.3-391 323.3z m223.5-377c-30.9 0-55.9 24.1-55.9 53.8 0 29.8 25.1 53.8 55.9 53.8 30.9 0 55.8-24.1 55.8-53.8 0.1-29.8-24.9-53.8-55.8-53.8z m-223.5 0c-30.8 0-55.8 24.1-55.8 53.8 0 29.8 25.1 53.8 55.8 53.8 30.9 0 55.9-24.1 55.9-53.8 0-29.8-25-53.8-55.9-53.8z m-223.4 0c-30.9 0-55.8 24.1-55.8 53.8 0 29.8 24.9 53.8 55.8 53.8s55.9-24.1 55.9-53.8c0-29.8-25-53.8-55.9-53.8z m0 0" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="mima" unicode="" d="M800 64a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32v-320a32 32 0 0 1 32-32z m0-64H224a96 96 0 0 0-96 96V416a96 96 0 0 0 96 96h576a96 96 0 0 0 96-96v-320a96 96 0 0 0-96-96zM480 320a32 32 0 0 0 64 0v-128a32 32 0 0 0-64 0zM352 480a32 32 0 0 0-64 0v96a224 224 0 0 0 448 0v-96a32 32 0 0 0-64 0v96a160 160 0 0 1-320 0z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="icon_shujianor" unicode="" d="M858.666667 656h-160c-13.866667 0-26.666667-4.266667-37.333334-10.666667V746.666667c0 38.4-30.933333 69.333333-69.333333 69.333333h-160c-38.4 0-69.333333-30.933333-69.333333-69.333333v-197.333334c-10.666667 7.466667-23.466667 10.666667-37.333334 10.666667h-160C126.933333 560 96 529.066667 96 490.666667v-469.333334c0-38.4 30.933333-69.333333 69.333333-69.333333h160c21.333333 0 40.533333 9.6 53.333334 25.6 12.8-14.933333 32-25.6 53.333333-25.6h160c21.333333 0 40.533333 9.6 53.333333 25.6 12.8-14.933333 32-25.6 53.333334-25.6h160c38.4 0 69.333333 30.933333 69.333333 69.333333V586.666667c0 38.4-30.933333 69.333333-69.333333 69.333333z m-533.333334-672h-160c-20.266667 0-37.333333 17.066667-37.333333 37.333333V490.666667c0 20.266667 17.066667 37.333333 37.333333 37.333333h160c20.266667 0 37.333333-17.066667 37.333334-37.333333v-469.333334c0-20.266667-17.066667-37.333333-37.333334-37.333333z m266.666667 0h-160c-20.266667 0-37.333333 17.066667-37.333333 37.333333V746.666667c0 20.266667 17.066667 37.333333 37.333333 37.333333h160c20.266667 0 37.333333-17.066667 37.333333-37.333333v-725.333334c0-20.266667-17.066667-37.333333-37.333333-37.333333zM896 21.333333c0-20.266667-17.066667-37.333333-37.333333-37.333333h-160c-20.266667 0-37.333333 17.066667-37.333334 37.333333V586.666667c0 20.266667 17.066667 37.333333 37.333334 37.333333h160c20.266667 0 37.333333-17.066667 37.333333-37.333333v-565.333334zM304 58.666667h-128c-8.533333 0-16-7.466667-16-16s7.466667-16 16-16h128c8.533333 0 16 7.466667 16 16s-7.466667 16-16 16zM576 58.666667H448c-8.533333 0-16-7.466667-16-16s7.466667-16 16-16h128c8.533333 0 16 7.466667 16 16s-7.466667 16-16 16zM842.666667 58.666667H714.666667c-8.533333 0-16-7.466667-16-16s7.466667-16 16-16h128c8.533333 0 16 7.466667 16 16s-7.466667 16-16 16z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
|
||||
|
||||
</font>
|
||||
</defs></svg>
|
||||
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
@@ -1,608 +0,0 @@
|
||||
/*!
|
||||
* SuperSlide v2.1.3
|
||||
* 轻松解决网站大部分特效展示问题
|
||||
* 详尽信息请看官网:http://www.SuperSlide2.com/
|
||||
*
|
||||
* Copyright 2011-至今, 大话主席
|
||||
*
|
||||
* 请尊重原创,保留头部版权
|
||||
* 在保留版权的前提下可应用于个人或商业用途
|
||||
|
||||
* v2.1.3:处理Jquery已经弃用的API,兼容最新版本的Jquery,目前是jquery3.3.1,日后如果发现插件不兼容新版本的jquery,请联系我 305491515@qq.com
|
||||
|
||||
*/
|
||||
!function(a) {
|
||||
a.fn.slide = function(b) {
|
||||
return a.fn.slide.defaults = {
|
||||
type: "slide",
|
||||
effect: "fade",
|
||||
autoPlay: !1,
|
||||
delayTime: 500,
|
||||
interTime: 2500,
|
||||
triggerTime: 150,
|
||||
defaultIndex: 0,
|
||||
titCell: ".hd li",
|
||||
mainCell: ".bd",
|
||||
targetCell: null,
|
||||
trigger: "mouseover",
|
||||
scroll: 1,
|
||||
vis: 1,
|
||||
titOnClassName: "on",
|
||||
autoPage: !1,
|
||||
prevCell: ".prev",
|
||||
nextCell: ".next",
|
||||
pageStateCell: ".pageState",
|
||||
opp: !1,
|
||||
pnLoop: !0,
|
||||
easing: "swing",
|
||||
startFun: null,
|
||||
endFun: null,
|
||||
switchLoad: null,
|
||||
playStateCell: ".playState",
|
||||
mouseOverStop: !0,
|
||||
defaultPlay: !0,
|
||||
returnDefault: !1
|
||||
},
|
||||
this.each(function() {
|
||||
var t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, _, ab, bb, cb, db, eb, fb, gb, hb, ib, jb, kb, lb, mb, nb, c = a.extend({}, a.fn.slide.defaults, b), d = a(this), e = c.effect, f = a(c.prevCell, d), g = a(c.nextCell, d), h = a(c.pageStateCell, d), i = a(c.playStateCell, d), j = a(c.titCell, d), k = j.length, l = a(c.mainCell, d), m = l.children().length, n = c.switchLoad, o = a(c.targetCell, d), p = parseInt(c.defaultIndex), q = parseInt(c.delayTime), r = parseInt(c.interTime);
|
||||
if (parseInt(c.triggerTime),
|
||||
t = parseInt(c.scroll),
|
||||
u = "false" == c.autoPlay || 0 == c.autoPlay ? !1 : !0,
|
||||
v = "false" == c.opp || 0 == c.opp ? !1 : !0,
|
||||
w = "false" == c.autoPage || 0 == c.autoPage ? !1 : !0,
|
||||
x = "false" == c.pnLoop || 0 == c.pnLoop ? !1 : !0,
|
||||
y = "false" == c.mouseOverStop || 0 == c.mouseOverStop ? !1 : !0,
|
||||
z = "false" == c.defaultPlay || 0 == c.defaultPlay ? !1 : !0,
|
||||
A = "false" == c.returnDefault || 0 == c.returnDefault ? !1 : !0,
|
||||
B = isNaN(c.vis) ? 1 : parseInt(c.vis),
|
||||
C = !-[1] && !window.XMLHttpRequest,
|
||||
D = 0,
|
||||
E = 0,
|
||||
F = 0,
|
||||
G = 0,
|
||||
H = c.easing,
|
||||
I = null,
|
||||
J = null,
|
||||
K = null,
|
||||
L = c.titOnClassName,
|
||||
M = j.index(d.find("." + L)),
|
||||
N = p = -1 == M ? p : M,
|
||||
O = p,
|
||||
P = p,
|
||||
Q = m >= B ? 0 != m % t ? m % t : t : 0,
|
||||
S = "leftMarquee" == e || "topMarquee" == e ? !0 : !1,
|
||||
T = function() {
|
||||
a.isFunction(c.startFun) && c.startFun(p, k, d, a(c.titCell, d), l, o, f, g)
|
||||
}
|
||||
,
|
||||
U = function() {
|
||||
a.isFunction(c.endFun) && c.endFun(p, k, d, a(c.titCell, d), l, o, f, g)
|
||||
}
|
||||
,
|
||||
V = function() {
|
||||
j.removeClass(L),
|
||||
z && j.eq(O).addClass(L)
|
||||
}
|
||||
,
|
||||
"menu" == c.type)
|
||||
return z && j.removeClass(L).eq(p).addClass(L),
|
||||
j.hover(function() {
|
||||
R = a(this).find(c.targetCell);
|
||||
var b = j.index(a(this));
|
||||
J = setTimeout(function() {
|
||||
switch (p = b,
|
||||
j.removeClass(L).eq(p).addClass(L),
|
||||
T(),
|
||||
e) {
|
||||
case "fade":
|
||||
R.stop(!0, !0).animate({
|
||||
opacity: "show"
|
||||
}, q, H, U);
|
||||
break;
|
||||
case "slideDown":
|
||||
R.stop(!0, !0).animate({
|
||||
height: "show"
|
||||
}, q, H, U)
|
||||
}
|
||||
}, c.triggerTime)
|
||||
}, function() {
|
||||
switch (clearTimeout(J),
|
||||
e) {
|
||||
case "fade":
|
||||
R.animate({
|
||||
opacity: "hide"
|
||||
}, q, H);
|
||||
break;
|
||||
case "slideDown":
|
||||
R.animate({
|
||||
height: "hide"
|
||||
}, q, H)
|
||||
}
|
||||
}),
|
||||
A && d.hover(function() {
|
||||
clearTimeout(K)
|
||||
}, function() {
|
||||
K = setTimeout(V, q)
|
||||
}),
|
||||
void 0;
|
||||
if (0 == k && (k = m),
|
||||
S && (k = 2),
|
||||
w) {
|
||||
if (m >= B ? "leftLoop" == e || "topLoop" == e ? k = 0 != m % t ? (0 ^ m / t) + 1 : m / t : (W = m - B,
|
||||
k = 1 + parseInt(0 != W % t ? W / t + 1 : W / t),
|
||||
0 >= k && (k = 1)) : k = 1,
|
||||
j.html(""),
|
||||
X = "",
|
||||
1 == c.autoPage || "true" == c.autoPage)
|
||||
for (Y = 0; k > Y; Y++)
|
||||
X += "<li>" + (Y + 1) + "</li>";
|
||||
else
|
||||
for (Y = 0; k > Y; Y++)
|
||||
X += c.autoPage.replace("$", Y + 1);
|
||||
j.html(X),
|
||||
j = j.children()
|
||||
}
|
||||
if (m >= B)
|
||||
switch (l.children().each(function() {
|
||||
a(this).width() > F && (F = a(this).width(),
|
||||
E = a(this).outerWidth(!0)),
|
||||
a(this).height() > G && (G = a(this).height(),
|
||||
D = a(this).outerHeight(!0))
|
||||
}),
|
||||
Z = l.children(),
|
||||
$ = function() {
|
||||
var a;
|
||||
for (a = 0; B > a; a++)
|
||||
Z.eq(a).clone().addClass("clone").appendTo(l);
|
||||
for (a = 0; Q > a; a++)
|
||||
Z.eq(m - a - 1).clone().addClass("clone").prependTo(l)
|
||||
}
|
||||
,
|
||||
e) {
|
||||
case "fold":
|
||||
l.css({
|
||||
position: "relative",
|
||||
width: E,
|
||||
height: D
|
||||
}).children().css({
|
||||
position: "absolute",
|
||||
width: F,
|
||||
left: 0,
|
||||
top: 0,
|
||||
display: "none"
|
||||
});
|
||||
break;
|
||||
case "top":
|
||||
l.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; height:' + B * D + 'px"></div>').css({
|
||||
top: -(p * t) * D,
|
||||
position: "relative",
|
||||
padding: "0",
|
||||
margin: "0"
|
||||
}).children().css({
|
||||
height: G
|
||||
});
|
||||
break;
|
||||
case "left":
|
||||
l.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; width:' + B * E + 'px"></div>').css({
|
||||
width: m * E,
|
||||
left: -(p * t) * E,
|
||||
position: "relative",
|
||||
overflow: "hidden",
|
||||
padding: "0",
|
||||
margin: "0"
|
||||
}).children().css({
|
||||
"float": "left",
|
||||
width: F
|
||||
});
|
||||
break;
|
||||
case "leftLoop":
|
||||
case "leftMarquee":
|
||||
$(),
|
||||
l.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; width:' + B * E + 'px"></div>').css({
|
||||
width: (m + B + Q) * E,
|
||||
position: "relative",
|
||||
overflow: "hidden",
|
||||
padding: "0",
|
||||
margin: "0",
|
||||
left: -(Q + p * t) * E
|
||||
}).children().css({
|
||||
"float": "left",
|
||||
width: F
|
||||
});
|
||||
break;
|
||||
case "topLoop":
|
||||
case "topMarquee":
|
||||
$(),
|
||||
l.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; height:' + B * D + 'px"></div>').css({
|
||||
height: (m + B + Q) * D,
|
||||
position: "relative",
|
||||
padding: "0",
|
||||
margin: "0",
|
||||
top: -(Q + p * t) * D
|
||||
}).children().css({
|
||||
height: G
|
||||
})
|
||||
}
|
||||
_ = function(a) {
|
||||
var b = a * t;
|
||||
return a == k ? b = m : -1 == a && 0 != m % t && (b = -m % t),
|
||||
b
|
||||
}
|
||||
,
|
||||
ab = function(b) {
|
||||
var d, f, g, h, c = function(c) {
|
||||
for (var d = c; B + c > d; d++)
|
||||
b.eq(d).find("img[" + n + "]").each(function() {
|
||||
var c, d, b = a(this);
|
||||
if (b.attr("src", b.attr(n)).removeAttr(n),
|
||||
l.find(".clone")[0])
|
||||
for (c = l.children(),
|
||||
d = 0; d < c.length; d++)
|
||||
c.eq(d).find("img[" + n + "]").each(function() {
|
||||
a(this).attr(n) == b.attr("src") && a(this).attr("src", a(this).attr(n)).removeAttr(n)
|
||||
})
|
||||
})
|
||||
};
|
||||
switch (e) {
|
||||
case "fade":
|
||||
case "fold":
|
||||
case "top":
|
||||
case "left":
|
||||
case "slideDown":
|
||||
c(p * t);
|
||||
break;
|
||||
case "leftLoop":
|
||||
case "topLoop":
|
||||
c(Q + _(P));
|
||||
break;
|
||||
case "leftMarquee":
|
||||
case "topMarquee":
|
||||
d = "leftMarquee" == e ? l.css("left").replace("px", "") : l.css("top").replace("px", ""),
|
||||
f = "leftMarquee" == e ? E : D,
|
||||
g = Q,
|
||||
0 != d % f && (h = Math.abs(0 ^ d / f),
|
||||
g = 1 == p ? Q + h : Q + h - 1),
|
||||
c(g)
|
||||
}
|
||||
}
|
||||
,
|
||||
bb = function(a) {
|
||||
var b, c, d;
|
||||
if (!z || N != p || a || S) {
|
||||
if (S ? p >= 1 ? p = 1 : 0 >= p && (p = 0) : (P = p,
|
||||
p >= k ? p = 0 : 0 > p && (p = k - 1)),
|
||||
T(),
|
||||
null != n && ab(l.children()),
|
||||
o[0] && (R = o.eq(p),
|
||||
null != n && ab(o),
|
||||
"slideDown" == e ? (o.not(R).stop(!0, !0).slideUp(q),
|
||||
R.slideDown(q, H, function() {
|
||||
l[0] || U()
|
||||
})) : (o.not(R).stop(!0, !0).hide(),
|
||||
R.animate({
|
||||
opacity: "show"
|
||||
}, q, function() {
|
||||
l[0] || U()
|
||||
}))),
|
||||
m >= B)
|
||||
switch (e) {
|
||||
case "fade":
|
||||
l.children().stop(!0, !0).eq(p).animate({
|
||||
opacity: "show"
|
||||
}, q, H, function() {
|
||||
U()
|
||||
}).siblings().hide();
|
||||
break;
|
||||
case "fold":
|
||||
l.children().stop(!0, !0).eq(p).animate({
|
||||
opacity: "show"
|
||||
}, q, H, function() {
|
||||
U()
|
||||
}).siblings().animate({
|
||||
opacity: "hide"
|
||||
}, q, H);
|
||||
break;
|
||||
case "top":
|
||||
l.stop(!0, !1).animate({
|
||||
top: -p * t * D
|
||||
}, q, H, function() {
|
||||
U()
|
||||
});
|
||||
break;
|
||||
case "left":
|
||||
l.stop(!0, !1).animate({
|
||||
left: -p * t * E
|
||||
}, q, H, function() {
|
||||
U()
|
||||
});
|
||||
break;
|
||||
case "leftLoop":
|
||||
b = P,
|
||||
l.stop(!0, !0).animate({
|
||||
left: -(_(P) + Q) * E
|
||||
}, q, H, function() {
|
||||
-1 >= b ? l.css("left", -(Q + (k - 1) * t) * E) : b >= k && l.css("left", -Q * E),
|
||||
U()
|
||||
});
|
||||
break;
|
||||
case "topLoop":
|
||||
b = P,
|
||||
l.stop(!0, !0).animate({
|
||||
top: -(_(P) + Q) * D
|
||||
}, q, H, function() {
|
||||
-1 >= b ? l.css("top", -(Q + (k - 1) * t) * D) : b >= k && l.css("top", -Q * D),
|
||||
U()
|
||||
});
|
||||
break;
|
||||
case "leftMarquee":
|
||||
c = l.css("left").replace("px", ""),
|
||||
0 == p ? l.animate({
|
||||
left: ++c
|
||||
}, 0, function() {
|
||||
l.css("left").replace("px", "") >= 0 && l.css("left", -m * E)
|
||||
}) : l.animate({
|
||||
left: --c
|
||||
}, 0, function() {
|
||||
l.css("left").replace("px", "") <= -(m + Q) * E && l.css("left", -Q * E)
|
||||
});
|
||||
break;
|
||||
case "topMarquee":
|
||||
d = l.css("top").replace("px", ""),
|
||||
0 == p ? l.animate({
|
||||
top: ++d
|
||||
}, 0, function() {
|
||||
l.css("top").replace("px", "") >= 0 && l.css("top", -m * D)
|
||||
}) : l.animate({
|
||||
top: --d
|
||||
}, 0, function() {
|
||||
l.css("top").replace("px", "") <= -(m + Q) * D && l.css("top", -Q * D)
|
||||
})
|
||||
}
|
||||
j.removeClass(L).eq(p).addClass(L),
|
||||
N = p,
|
||||
x || (g.removeClass("nextStop"),
|
||||
f.removeClass("prevStop"),
|
||||
0 == p && f.addClass("prevStop"),
|
||||
p == k - 1 && g.addClass("nextStop")),
|
||||
h.html("<span>" + (p + 1) + "</span>/" + k)
|
||||
}
|
||||
}
|
||||
,
|
||||
z && bb(!0),
|
||||
A && d.hover(function() {
|
||||
clearTimeout(K)
|
||||
}, function() {
|
||||
K = setTimeout(function() {
|
||||
p = O,
|
||||
z ? bb() : "slideDown" == e ? R.slideUp(q, V) : R.animate({
|
||||
opacity: "hide"
|
||||
}, q, V),
|
||||
N = p
|
||||
}, 300)
|
||||
}),
|
||||
cb = function(a) {
|
||||
I = setInterval(function() {
|
||||
v ? p-- : p++,
|
||||
bb()
|
||||
}, a ? a : r)
|
||||
}
|
||||
,
|
||||
db = function(a) {
|
||||
I = setInterval(bb, a ? a : r)
|
||||
}
|
||||
,
|
||||
eb = function() {
|
||||
y || !u || i.hasClass("pauseState") || (clearInterval(I),
|
||||
cb())
|
||||
}
|
||||
,
|
||||
fb = function() {
|
||||
(x || p != k - 1) && (p++,
|
||||
bb(),
|
||||
S || eb())
|
||||
}
|
||||
,
|
||||
gb = function() {
|
||||
(x || 0 != p) && (p--,
|
||||
bb(),
|
||||
S || eb())
|
||||
}
|
||||
,
|
||||
hb = function() {
|
||||
clearInterval(I),
|
||||
S ? db() : cb(),
|
||||
i.removeClass("pauseState")
|
||||
}
|
||||
,
|
||||
ib = function() {
|
||||
clearInterval(I),
|
||||
i.addClass("pauseState")
|
||||
}
|
||||
,
|
||||
u ? S ? (v ? p-- : p++,
|
||||
db(),
|
||||
y && l.hover(ib, hb)) : (cb(),
|
||||
y && d.hover(ib, hb)) : (S && (v ? p-- : p++),
|
||||
i.addClass("pauseState")),
|
||||
i.click(function() {
|
||||
i.hasClass("pauseState") ? hb() : ib()
|
||||
}),
|
||||
"mouseover" == c.trigger ? j.hover(function() {
|
||||
var a = j.index(this);
|
||||
J = setTimeout(function() {
|
||||
p = a,
|
||||
bb(),
|
||||
eb()
|
||||
}, c.triggerTime)
|
||||
}, function() {
|
||||
clearTimeout(J)
|
||||
}) : j.click(function() {
|
||||
p = j.index(this),
|
||||
bb(),
|
||||
eb()
|
||||
}),
|
||||
S ? (g.mousedown(fb),
|
||||
f.mousedown(gb),
|
||||
x && (kb = function() {
|
||||
jb = setTimeout(function() {
|
||||
clearInterval(I),
|
||||
db(0 ^ r / 10)
|
||||
}, 150)
|
||||
}
|
||||
,
|
||||
lb = function() {
|
||||
clearTimeout(jb),
|
||||
clearInterval(I),
|
||||
db()
|
||||
}
|
||||
,
|
||||
g.mousedown(kb),
|
||||
g.mouseup(lb),
|
||||
f.mousedown(kb),
|
||||
f.mouseup(lb)),
|
||||
"mouseover" == c.trigger && (g.hover(fb, function() {}),
|
||||
f.hover(gb, function() {}))) : (g.click(fb),
|
||||
f.click(gb)),
|
||||
"auto" != c.vis || 1 != t || "left" != e && "leftLoop" != e || (nb = function() {
|
||||
C && (l.width("auto"),
|
||||
l.children().width("auto")),
|
||||
l.parent().width("auto"),
|
||||
E = l.parent().width(),
|
||||
C && l.parent().width(E),
|
||||
l.children().width(E),
|
||||
"left" == e ? (l.width(E * m),
|
||||
l.stop(!0, !1).animate({
|
||||
left: -p * E
|
||||
}, 0)) : (l.width(E * (m + 2)),
|
||||
l.stop(!0, !1).animate({
|
||||
left: -(p + 1) * E
|
||||
}, 0)),
|
||||
C || E == l.parent().width() || nb()
|
||||
}
|
||||
,
|
||||
a(window).resize(function() {
|
||||
clearTimeout(mb),
|
||||
mb = setTimeout(nb, 100)
|
||||
}),
|
||||
nb())
|
||||
})
|
||||
}
|
||||
}(jQuery),
|
||||
jQuery.easing["jswing"] = jQuery.easing["swing"],
|
||||
jQuery.extend(jQuery.easing, {
|
||||
def: "easeOutQuad",
|
||||
swing: function(a, b, c, d, e) {
|
||||
return jQuery.easing[jQuery.easing.def](a, b, c, d, e)
|
||||
},
|
||||
easeInQuad: function(a, b, c, d, e) {
|
||||
return d * (b /= e) * b + c
|
||||
},
|
||||
easeOutQuad: function(a, b, c, d, e) {
|
||||
return -d * (b /= e) * (b - 2) + c
|
||||
},
|
||||
easeInOutQuad: function(a, b, c, d, e) {
|
||||
return (b /= e / 2) < 1 ? d / 2 * b * b + c : -d / 2 * (--b * (b - 2) - 1) + c
|
||||
},
|
||||
easeInCubic: function(a, b, c, d, e) {
|
||||
return d * (b /= e) * b * b + c
|
||||
},
|
||||
easeOutCubic: function(a, b, c, d, e) {
|
||||
return d * ((b = b / e - 1) * b * b + 1) + c
|
||||
},
|
||||
easeInOutCubic: function(a, b, c, d, e) {
|
||||
return (b /= e / 2) < 1 ? d / 2 * b * b * b + c : d / 2 * ((b -= 2) * b * b + 2) + c
|
||||
},
|
||||
easeInQuart: function(a, b, c, d, e) {
|
||||
return d * (b /= e) * b * b * b + c
|
||||
},
|
||||
easeOutQuart: function(a, b, c, d, e) {
|
||||
return -d * ((b = b / e - 1) * b * b * b - 1) + c
|
||||
},
|
||||
easeInOutQuart: function(a, b, c, d, e) {
|
||||
return (b /= e / 2) < 1 ? d / 2 * b * b * b * b + c : -d / 2 * ((b -= 2) * b * b * b - 2) + c
|
||||
},
|
||||
easeInQuint: function(a, b, c, d, e) {
|
||||
return d * (b /= e) * b * b * b * b + c
|
||||
},
|
||||
easeOutQuint: function(a, b, c, d, e) {
|
||||
return d * ((b = b / e - 1) * b * b * b * b + 1) + c
|
||||
},
|
||||
easeInOutQuint: function(a, b, c, d, e) {
|
||||
return (b /= e / 2) < 1 ? d / 2 * b * b * b * b * b + c : d / 2 * ((b -= 2) * b * b * b * b + 2) + c
|
||||
},
|
||||
easeInSine: function(a, b, c, d, e) {
|
||||
return -d * Math.cos(b / e * (Math.PI / 2)) + d + c
|
||||
},
|
||||
easeOutSine: function(a, b, c, d, e) {
|
||||
return d * Math.sin(b / e * (Math.PI / 2)) + c
|
||||
},
|
||||
easeInOutSine: function(a, b, c, d, e) {
|
||||
return -d / 2 * (Math.cos(Math.PI * b / e) - 1) + c
|
||||
},
|
||||
easeInExpo: function(a, b, c, d, e) {
|
||||
return 0 == b ? c : d * Math.pow(2, 10 * (b / e - 1)) + c
|
||||
},
|
||||
easeOutExpo: function(a, b, c, d, e) {
|
||||
return b == e ? c + d : d * (-Math.pow(2, -10 * b / e) + 1) + c
|
||||
},
|
||||
easeInOutExpo: function(a, b, c, d, e) {
|
||||
return 0 == b ? c : b == e ? c + d : (b /= e / 2) < 1 ? d / 2 * Math.pow(2, 10 * (b - 1)) + c : d / 2 * (-Math.pow(2, -10 * --b) + 2) + c
|
||||
},
|
||||
easeInCirc: function(a, b, c, d, e) {
|
||||
return -d * (Math.sqrt(1 - (b /= e) * b) - 1) + c
|
||||
},
|
||||
easeOutCirc: function(a, b, c, d, e) {
|
||||
return d * Math.sqrt(1 - (b = b / e - 1) * b) + c
|
||||
},
|
||||
easeInOutCirc: function(a, b, c, d, e) {
|
||||
return (b /= e / 2) < 1 ? -d / 2 * (Math.sqrt(1 - b * b) - 1) + c : d / 2 * (Math.sqrt(1 - (b -= 2) * b) + 1) + c
|
||||
},
|
||||
easeInElastic: function(a, b, c, d, e) {
|
||||
var f = 1.70158
|
||||
, g = 0
|
||||
, h = d;
|
||||
return 0 == b ? c : 1 == (b /= e) ? c + d : (g || (g = .3 * e),
|
||||
h < Math.abs(d) ? (h = d,
|
||||
f = g / 4) : f = g / (2 * Math.PI) * Math.asin(d / h),
|
||||
-(h * Math.pow(2, 10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g)) + c)
|
||||
},
|
||||
easeOutElastic: function(a, b, c, d, e) {
|
||||
var f = 1.70158
|
||||
, g = 0
|
||||
, h = d;
|
||||
return 0 == b ? c : 1 == (b /= e) ? c + d : (g || (g = .3 * e),
|
||||
h < Math.abs(d) ? (h = d,
|
||||
f = g / 4) : f = g / (2 * Math.PI) * Math.asin(d / h),
|
||||
h * Math.pow(2, -10 * b) * Math.sin((b * e - f) * 2 * Math.PI / g) + d + c)
|
||||
},
|
||||
easeInOutElastic: function(a, b, c, d, e) {
|
||||
var f = 1.70158
|
||||
, g = 0
|
||||
, h = d;
|
||||
return 0 == b ? c : 2 == (b /= e / 2) ? c + d : (g || (g = e * .3 * 1.5),
|
||||
h < Math.abs(d) ? (h = d,
|
||||
f = g / 4) : f = g / (2 * Math.PI) * Math.asin(d / h),
|
||||
1 > b ? -.5 * h * Math.pow(2, 10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g) + c : .5 * h * Math.pow(2, -10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g) + d + c)
|
||||
},
|
||||
easeInBack: function(a, b, c, d, e, f) {
|
||||
return void 0 == f && (f = 1.70158),
|
||||
d * (b /= e) * b * ((f + 1) * b - f) + c
|
||||
},
|
||||
easeOutBack: function(a, b, c, d, e, f) {
|
||||
return void 0 == f && (f = 1.70158),
|
||||
d * ((b = b / e - 1) * b * ((f + 1) * b + f) + 1) + c
|
||||
},
|
||||
easeInOutBack: function(a, b, c, d, e, f) {
|
||||
return void 0 == f && (f = 1.70158),
|
||||
(b /= e / 2) < 1 ? d / 2 * b * b * (((f *= 1.525) + 1) * b - f) + c : d / 2 * ((b -= 2) * b * (((f *= 1.525) + 1) * b + f) + 2) + c
|
||||
},
|
||||
easeInBounce: function(a, b, c, d, e) {
|
||||
return d - jQuery.easing.easeOutBounce(a, e - b, 0, d, e) + c
|
||||
},
|
||||
easeOutBounce: function(a, b, c, d, e) {
|
||||
return (b /= e) < 1 / 2.75 ? d * 7.5625 * b * b + c : 2 / 2.75 > b ? d * (7.5625 * (b -= 1.5 / 2.75) * b + .75) + c : 2.5 / 2.75 > b ? d * (7.5625 * (b -= 2.25 / 2.75) * b + .9375) + c : d * (7.5625 * (b -= 2.625 / 2.75) * b + .984375) + c
|
||||
},
|
||||
easeInOutBounce: function(a, b, c, d, e) {
|
||||
return e / 2 > b ? .5 * jQuery.easing.easeInBounce(a, 2 * b, 0, d, e) + c : .5 * jQuery.easing.easeOutBounce(a, 2 * b - e, 0, d, e) + .5 * d + c
|
||||
}
|
||||
});
|
||||
@@ -1,46 +0,0 @@
|
||||
(function() {
|
||||
$('.i-left ul a').each(function(){
|
||||
var self = $(this),link = self.attr('href');
|
||||
if(location.pathname == link){
|
||||
self.parent().addClass('on');
|
||||
}
|
||||
});
|
||||
$('.i-title li').click(function(event) {
|
||||
var index=$(this).index();
|
||||
$('.i-title li').removeClass('on');
|
||||
$(this).addClass('on');
|
||||
$('.basicAccounts').addClass('hide');
|
||||
$('.basicAccounts').eq(index).removeClass('hide');
|
||||
});
|
||||
|
||||
var dialogMod = function(e, t) {
|
||||
var a = null,
|
||||
o = function() {
|
||||
a && (clearTimeout(a), a = null)
|
||||
};
|
||||
$(e).hover(function() {
|
||||
o(),
|
||||
$(t).show()
|
||||
},
|
||||
function() {
|
||||
o(),
|
||||
a = setTimeout(function() {
|
||||
$(t).hide()
|
||||
},
|
||||
50)
|
||||
}),
|
||||
$(t).hover(function() {
|
||||
o(),
|
||||
$(t).show()
|
||||
},
|
||||
function() {
|
||||
o(),
|
||||
a = setTimeout(function() {
|
||||
$(t).hide()
|
||||
},
|
||||
50)
|
||||
})
|
||||
}
|
||||
var accounts = $('li.accounts '), accountsDialog = $('li.accounts p');
|
||||
dialogMod(accounts,accountsDialog);
|
||||
})();
|
||||