无法理解的爱 (15下)
第(6/26)节
ChpterVew”), body = (”body”);
vr pgetent = chpterVew.fd(”.pge-tent”), sveFont = ke(”current-font”), currentFont = 1;
vr font = fun(){
//font sze;
vr szes = [”font-norml”, ”fe”, ”fe”, ”font-xrge”, ”font-xxrge”],
level = gth;
return {
set: fun(c){
g(szes[currentFont])
ggless( szes[currentFont] + ” ” + szes[c] );
currentFont = c;
ke(”current-font”, c, { expres: 3600 });
ke(”currentFontStrg”, szes[c], { expres: 3600 });
},
crese: fun(){
f( currentFont < level - 1 ) {
ths.set(currentFont + 1)
}
},
descrese: fun(){
f( currentFont > 0 ) {
ths.set( currentFont - 1 );
}
},
dy: fun(){
sNght = flse;
body.removess(”nght”);
ke.removeCooke(”nght-mode”, {});
},
nght: fun(){
sNght = true;
body.ddss(”nght”);
ke(”nght-mode”, true, { expres: 3600 });
}
}
}();
f( typeof sveFont !
== ”undefed” ){
fo(sveFont * 1);
}
vr sNght = !
!
ke(”nght-mode”);
f( sNght ){
ght();
}
functo(){
vr type = (ths).dt(”role”);
f( type == ”c” ){
rese();
}else f( type == ”des” ) {
font.descrese();
}else f( type == ”mode” ){
f( sNght ){
font.dy();
}else{
ght();
}
}
}
bs( (”hpter-rend b-choose ”), (”hpter-rend ul”) )
f( sTouch ){
chpterVew
(”touchstrt MSPoterDown”, ”fg spn”, fun(){
(ths).ddss(”ctve”);
})
(”toud MSPoterUp”, ”fg spn”, fun(){
(ths).removess(”ctve”);
});
(”toud MSPoterUp”, ”fg spn”, )
}else f( sMouse ){
(”clck”, ”fg spn”, )
}
});
x();tongj();xunfu();
首页
排行
书库
全本
记录
版权声明:本站为转载作品,所有章节均由网友上传,转载至本站只是为了宣传本书让更多读者欣赏。
vrstr
第(6/26)节