当前位置:   article > 正文

7zky.cn app.html,app-reader/index.html at master · wd4219/app-reader · GitHub

vp44.cn

html{

width:100%;

height:100%;

overflow-x:hidden;

}

body{

text-align:left;

width:100%;

overflow:hidden;

background:#e9dfc7;

}

.m_read_content{

font-size:14px;

color:#555;

line-height:31px;

padding:15px;

}

.m_read_content h4{

font-size:24px;

color:#736357;

border-bottom:1px solid #736357;

letter-spacing:2px;

margin:0 0 1em 0;

}

.m_read_content p{

text-indent:2em;

margin:0.5em 0;

letter-spacing:0px;

line-height:24px;

}

.u-tab{

height:34px;

margin:10px auto;

line-height:34px;

border-radius:8px;

border:1px solid #858382;

font-size:12px;

background: #000;

opacity:0.9;

}

.u-tab li{

display:inline-block;

width:49%;

text-align:center;

color:#fff;

border-right:1px solid #858382;

}

.u-tab li:nth-child(2){

border:none;

}

.m_button_bar{

width:70%;

max-width:800px;

padding:5px;

margin:0 auto;

}

.top_nav{

position:fixed;

top:0px;

height:50px;

width:100%;

z-index:9999;

background: #000;

}

.icon_back{

position:absolute;

top:14px;

left:10px;

width:23px;

height:23px;

background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9I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OmB6btAwAAAABJRU5ErkJggg==);

background-size:contain;

}

.nav_title{

position:absolute;

top:16px;

left:42px;

color:#d5d5d6;

}

.bottom_nav{

position:fixed;

bottom:0;

height:50px;

width:100%;

background: #000;

font-size:0;

padding:10px 0 10px 0;

}

.bottom_nav_item{

display:inline-block;

font-size:12px;

text-align:center;

color:#d5d5d6;

width:33.33%;

}

.list_icon{

height: 16px;

width: 22px;

background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAAoCAYAAABerrI1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkNFN0E3M0IwMjc4NDExRTU5RkYxQjg1Rjk2QkEyNzBEIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkNFN0E3M0IxMjc4NDExRTU5RkYxQjg1Rjk2QkEyNzBEIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6N0M1ODVCRkYyNzg0MTFFNTlGRjFCODVGOTZCQTI3MEQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6N0M1ODVDMDAyNzg0MTFFNTlGRjFCODVGOTZCQTI3MEQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5uTX6PAAAA0UlEQVR42uyXsQrCMBRFX4p0V39Pv8FJcekHFJe6d+v3NY6CDvUFooQ0AcEllnPhlgz3QU6bBq6ZnvdaRC7qndqoB/VR/ZC5wuxGytLtvXejUJ0uDlGgVZ8Tg6lsaWod1Jh461a9TQyMBX6hWLaSBary5zBWn8kPf8DUr/Rx8hfEPth4kxkIs+tCL4rG/VOLPH5AAQUUUEABBRRQv0O54nf1tcL6dZ3Jh9mpMH/2TkmkJFISKYmURKCAAgoooIACCihKIiWRkkhJpCR+XxJfAgwA/ROhOlYvoWQAAAAASUVORK5CYII=);

background-size:contain;

display:inline-block;

}

.font_icon{

height: 16px;

width: 24px;

background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAuCAYAAACViW+zAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOTo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Wcc6zme3AnKFbnGs1yo/ai4bV00BogyM8+xRVBi9ab3ApNer7XI0t7Qmezemm+zm9f3gbQmddhQnJBFGKtiDrTFZa8tS9inLlAJQrnux4/gJSu10T573MD6JMFqmuyKH8wrFLkfUc7Ujhlvbn1Cc4DTF6O/GVGFGgOMczaZCQFtO4xQTzzBM21acD+rjcqBMzNNqYQ+kEJB5P/eon6RssD8jGWb0z9t8cBj4oE9aLZDPNaZ5PtU0oTWxtM9LWqxtyZTPD7ievO9abbIb9JHeQUcmKsxUxVxlDS8vsDDLFV/R32R/2LhSOfdJ4/8VhfRdZoEfmz3fomoRbXBUGG0ZPWMK/yVUGxOzuOW0mGm9nYes531eQCvqXl7lrNrr2QuSNmajZYm/gjco1x7RnfkOdZT9o1lbFBqjGWW0pC56X9czw42DtCv7xvig7VyKP5vsL9gfQvY7Syymw2S/4thUJFEM65tNisO1I4+8EZjnkWj2ixFFLHQUH4b0ordY+6+En+knwvzElDoaCmeb4mK2JUQT78vGHPZeWhLOL3M/D55k/ntptyOy724l0WyMFpE1jO3NrEyLDVk6E1lIrvU4fgxFGkv/UsWSQnxHK5dhC/3QGqe/dHy1+a8AAwCKR08FSRIHxQAAAABJRU5ErkJggg==);

background-size:contain;

display:inline-block;

}

.font_icon_current{

background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAAA0CAYAAAAg5t6HAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbn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zqN1bx6iXYCH6nyHnyZXOp8+UCIF0Fe1LiPH1FdoMr/q8G74DbwS9pT/TeO+Nes64JuFpNUl+5fdByT9wMHhl0vhu06L7opobqEPiWoON9oJ0v1bXf1LuMAcdAQbPjJ6g9juqPE+PXKvVcbjeAmQqHFsmb5iVwzu1tVKYSOkpdA1jEU246To4XxZ/gZLlUU5v8CbzhI+x9bqV74r7xHwEGAPDRVwnecW5KAAAAAElFTkSuQmCC);

background-size:contain;

display:inline-block;

}

.model_day_icon{

height: 21px;

width: 21px;

background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAA5CAYAAACMGIOFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUl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H9hN82dTNlrMCa02xgjf347GmdmoJ0puyu8rbrHlB2MU2QrUzYuLLJg2a6VyA7KbLsMi3Tdb9sVuwRJ+2TZrjF+b+4pTd2rkk/1hky4Z+vBapkz7lzW3Ri/ze3KpTqKTNlmYYG1TNlKmJRJpiSDxpkqq/aVKdsrLHIPU/ZFkwFUxu/dYk8M3c3ZNNjnKzsEXgmKPKxo12/G+MOOri+YslPCPXnSst2yTSEjTNkBkBcSmCd/Nu1aDF/hl15cDmdGYO26SXrtGuUs5AZT1kQrn2xIn1la6TQx1/rDT0TR9pMFxUL6fogeraJ6nBWS2k+uZQZUyauPtOO38dNNv1cltZqTzvH0WOZ49oMaqlND321yPCfSbF2ad5UXufaMFiIKLER9BqOK9Ea4m2CZEk61mrOQyYDiJjUpzFpqb5nad8olkjsfvG6RC7oIRsBsSY62SN9H6Lopd3MtyvmorcCM4gD0dkxnk7eiHARHEWg84RWkUXPinZEQeSXsCa8wOYXQqxIi31aAQN3R/rTEAv1lqCNs3taSTqoEmclmqf2FIFlCm3cGvBeBzoOt4I7vraqgJvW+awPF9B0MgJ9RRZYz+5a+75qKTEWmIstuFfm+q7RJve8ayH4LMACaxEJEaXs23AAAAABJRU5ErkJggg==);

background-size:contain;

display:inline-block;

}

.nav_pannel_bk{

position:fixed;

bottom:70px;

height:135px;

width:100%;

background: #000;

opacity:0.9;

z-index:10000;

}

.nav_panel{

position:fixed;

bottom:70px;

height:135px;

width:100%;

background: none;

color:#fff;

z-index:10001;

}

.child_mod{

padding:5px 10px;

margin:15px;

}

.child_mod span{

display:inline-block;

padding-right:20px;

padding-left:10px;

}

.font_size_button{

background: none;

border:1px #bc8c8c solid;

color:#fff;

border-radius:16px;

padding:5px 40px;

}

#small_button

{

margin-left:20px;

}

.bk_container{

position:relative;

width:30px;

height:30px;

border-radius:50%;

margin-right:10px;

display:inline-block;

vertical-align:middle;

}

.bk_container_current{

position:absolute;

width:32px;

height:32px;

border-radius:50%;

border:1px solid #ff7800;

display:inline-block;

top:-2px;

left:-2px;

}

.white{

background: #fff;

}

.green{

background: #C0FF3E;

}

.pink{

background: #EEA2AD;

}

.default{

background: #e9dfc7;

}

.dark{

background: #2F4F4F;

}

.artical_action_mid{

position:fixed;

z-index:10002;

width:100%;

height:40%;

top:30%;

background: none;

}

  • 上一章
  • 下一章

目录

字体

夜间

白天

window.jQuery = $;

(function(){

var Uitl = (function(){

var prefix = "html5_reader_"

var StorageGetter = function(key){

return localStorage.getItem(prefix + key);

}

var StorageSetter = function(key,val)

{

return localStorage.setItem(prefix + key,val);

}

var getBSONP = function(url,callback)

{

return $.jsonp({

url:url,

cache:true,

callback:"duokan_fiction_chapter",

success:function(result)

{

var data = $.base64.decode(result);

var json = decodeURIComponent(escape(data));

callback(json);

}

});

}

return {

getBSONP:getBSONP,

StorageGetter:StorageGetter,

StorageSetter:StorageSetter

}

})();

var Dom = {

top_nav:$("#top_nav"),

bottom_nav:$("#bottom_nav"),

nav_pannel_bk:$("#nav_pannel_bk"),

font_container:$("#font_container"),

font_icon:$(".font_icon"),

model_day:$(".model_day"),

model_night:$(".model_night"),

fiction_container:$("#fiction_container")

}

var Win = $(window);

var Doc = $(document);

var initFontSize = parseInt(Uitl.StorageGetter("font-size")) || 14;

var initBackground = Uitl.StorageGetter("background") || "#e9dfc7";

var initModel = Uitl.StorageGetter("model") || "day";

var chapter_num = Uitl.StorageGetter("chapternumber") || 1;

var readerModel;

function main(){

EventHanler();

ReaderBaseFrame();

readerModel = ReaderModel();

readerModel.init(chapter_num);

}

function ReaderModel(){

// todo 实现和阅读器相关的数据交互

var chapter_id;

var chapter_total;

var init = function(chapter_id){

getFictionInfo(function(){

getCurChapterContent(chapter_id,function(data){

obj = JSON.parse(data);

html = "

"+obj.t+"
";

var len = obj.p.length;

for(var i = 0;i < len;i++)

{

html += "

" + obj.p[i] + "

";

}

Dom.fiction_container.html(html);

});

});

}

var getFictionInfo = function(callback){

$.get("/app阅读器/data/chapter.json",function(data){

chapter_id = data.chapters[1].chapter_id;

console.log(chapter_id);

chapter_total = data.chapters.length;

console.log(chapter_total);

callback && callback(data);

},'json');

}

var getCurChapterContent = function(chapter_id,callback){

$.get('/app阅读器/data/data' + chapter_id + ".json",function(data){

if(data.result == 0)

{

var url = data.jsonp;

Uitl.getBSONP(url,function(data)

{

callback && callback(data);

});

}

},'json');

$(window).scrollTop(0);

}

var prevChapter = function(UIcallback)

{

chapter_id = parseInt(chapter_id,10);

if(chapter_id == 1)

{

return;

}

chapter_id = chapter_id -1;

Uitl.StorageSetter("chapternumber",chapter_id);

getCurChapterContent(chapter_id,UIcallback);

}

var nextChapter = function(UIcallback)

{

chapter_id = parseInt(chapter_id,10);

if(chapter_id == 4)

{

return;

}

chapter_id+=1;

Uitl.StorageSetter("chapternumber",chapter_id);

getCurChapterContent(chapter_id,UIcallback);

}

var readerUI = function(data){

obj = JSON.parse(data);

html = "

"+obj.t+"
";

var len = obj.p.length;

for(var i = 0;i < len;i++)

{

html += "

" + obj.p[i] + "

";

}

Dom.fiction_container.html(html);

}

return {

init:init,

prevChapter:prevChapter,

nextChapter:nextChapter,

readerUI:readerUI

}

}

function ReaderBaseFrame(){

Dom.fiction_container.css("font-size",initFontSize);

$("body").css("background",initBackground);

if(initModel == "day")

{

Dom.model_night.show();

Dom.model_day.hide();

}

else{

Dom.model_night.hide();

Dom.model_day.show();

}

}

function EventHanler(){

$("#action_mid").click(function(){

if(Dom.top_nav.css("display") == "none"){

Dom.top_nav.show();

Dom.bottom_nav.show();

}

else

{

Dom.top_nav.hide();

Dom.bottom_nav.hide();

Dom.nav_pannel_bk.hide();

Dom.font_container.hide();

Dom.font_icon.removeClass("font_icon_current");

}

});

Win.scroll(function(){

Dom.top_nav.hide();

Dom.bottom_nav.hide();

Dom.nav_pannel_bk.hide();

Dom.font_container.hide();

Dom.font_icon.removeClass("font_icon_current");

});

Dom.font_icon.click(function(){

if(Dom.font_container.css("display") == "none")

{

Dom.font_icon.addClass("font_icon_current");

Dom.nav_pannel_bk.show();

Dom.font_container.show();

}

else{

Dom.nav_pannel_bk.hide();

Dom.font_container.hide();

Dom.font_icon.removeClass("font_icon_current");

}

});

Dom.model_night.click(function(){

Dom.model_night.hide();

Dom.model_day.show();

dark();

Uitl.StorageSetter("model","night");

});

Dom.model_day.click(function(){

Dom.model_night.show();

Dom.model_day.hide();

default_color();

Uitl.StorageSetter("model","day");

});

$("#large_button").click(function(){

if(initFontSize > 20)

{

return;

}

initFontSize +=1;

Dom.fiction_container.css("font-size",initFontSize);

Uitl.StorageSetter("font-size",initFontSize);

});

$("#small_button").click(function(){

if(initFontSize < 12)

{

return;

}

initFontSize -=1;

Dom.fiction_container.css("font-size",initFontSize);

Uitl.StorageSetter("font-size",initFontSize);

});

// $(".white").click(function(){

// $("body").css("background","#fff");

// $(".white").siblings("div").html("");

// $(".white").html('

// Uitl.StorageSetter("background","#fff");

// });

// $(".green").click(function(){

// $("body").css("background","#C0FF3E");

// $(".green").siblings("div").html("");

// $(".green").html('

// Uitl.StorageSetter("background","#C0FF3E");

// });

// $(".pink").click(function(){

// $("body").css("background","#EEA2AD");

//

// $(".pink").siblings("div").html("");

// $(".pink").html('

// Uitl.StorageSetter("background","#EEA2AD");

// });

// $(".dark").click(dark);

// function dark(){

// $("body").css("background","#2F4F4F");

// $(".dark").siblings("div").html("");

// $(".dark").html('

// Uitl.StorageSetter("background","#2F4F4F");

// }

// $(".default").click(default_color);

// function default_color(){

// $("body").css("background","#e9dfc7");

// $(".default").siblings("div").html("");

// $(".default").html('

// Uitl.StorageSetter("background","#e9dfc7");

// }

$(".child_mod").click(function(e){

var target = $(e.target);

if (target.hasClass("bk_container"))

{

$("body").css("background",target.css("background"));

target.siblings("div").html("");

target.html("");

target.html("

Uitl.StorageSetter("background",target.css("background"));

}

else{

return;

}

})

$("#prev_button").click(function(){

readerModel.prevChapter();

});

$("#next_button").click(function(){

readerModel.nextChapter(function(data){

obj = JSON.parse(data);

html = "

"+obj.t+"
";

var len = obj.p.length;

for(var i = 0;i < len;i++)

{

html += "

" + obj.p[i] + "

";

}

Dom.fiction_container.html(html);

});

});

}

main();

})();

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/185065?site
推荐阅读
相关标签
  

闽ICP备14008679号