设置

关灯

凐没的光芒-第一卷 塔下三姐妹-下(18)

第(5/8)节
”), body = $(”body”);

    vr pgeContent = chpterVew.fd(”.pge-content”), sveFont = core.cooke(”current-font”), currentFont = 1;

    vr font = functon(){

    //font sze;

    vr szes = [”font-norml”, ”fontrge”, ”font-rge”, ”font-xrge”, ”font-xxrge”],

    level = szes.length;

    return {

    set: functon(c){

    console.log(szes[currentFont])

    pgeContent.toggless( szes[currentFont] + ” ” + szes[c] );

    currentFont = c;

    core.cooke(”current-font”, c, { expres: 3600 });

    core.cooke(”currentFontStrg”, szes[c], { expres: 3600 });

    },

    crese: functon(){

    f( currentFont < level - 1 ) {

    ths.set(currentFont + 1)

    }

    },

    descrese: functon(){

    f( currentFont > 0 ) {

    ths.set( currentFont - 1 );

    }

    },

    dy: functon(){

    sNght = flse;

    body.removess(”nght”);

    core.cooke.removeCooke(”nght-mode”, {});

    },

    nght: functon(){

    sNght = true;

    body.ddss(”nght”);

    core.cooke(”nght-mode”, true, { expres: 3600 });

    }

    }

    }();

    f( typeof sveFont !

    == ”undefed” ){

    font.set(sveFont * 1);

    }

    vr sNght = !

    !

    core.cooke(”nght-mode”);

    f( sNght ){

    font.nght();

    }

    functocton(){

    vr type = $(ths).dt(”role”);

    f( type == ”c” ){

    font.crese();

    }else f( type == ”des” ) {

    font.descrese();

    }else f( type == ”mode” ){

    f( sNght ){

    font.dy();

    }else{

    font.nght();

    }

    }

    }

    core.Tbs( $(”.chpter-rend .tb-choose ”), $(”.chpter-rend ul”) )

    f( sTouch ){

    chpterVew

    .on(”touchstrt MSPoterDown”, ”.confg spn”, functon(){

    $(ths).ddss(”ctve”);

    })

    .on(”touchend MSPoterUp”, ”.confg spn”, functon(){

    $(ths).removess(”ctve”);

    });

    chpterVew.on(”touchend MSPoterUp”, ”.confg spn”, cton)

    }el
第(5/8)节
推荐书籍:奴婢不以为然女扮男装潜入男校 (校园NPH)校园浪荡史(1-98)玲玲大师风水灵异传奇一位中年保安的性福生活明日方舟同人迷情都市坠落(猎人1V2)仙母种情录前传-仙子藏香淫•灵媒香织传