diff --git a/public/novels/ae/en-US/game.css b/public/novels/ae/en-US/game.css index aebbc2f4..acdab833 100644 --- a/public/novels/ae/en-US/game.css +++ b/public/novels/ae/en-US/game.css @@ -108,7 +108,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/bg.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/bg.jpg) center / auto 100% no-repeat; z-index: 520; display: none; @@ -120,7 +120,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/CG1.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/CG1.jpg) center / auto 100% no-repeat; z-index: 520; display: none; @@ -132,32 +132,32 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/dark.png) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/dark.png) center / auto 100% no-repeat; } .catalog-content-1A { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/A.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/A.png); } .catalog-content-2Ab { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Ab.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Ab.png); } .catalog-content-3Abc { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Abc.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Abc.png); } .catalog-content-2Ba { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Ba.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Ba.png); } .catalog-content-3Bac { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Bac.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Bac.png); } .catalog-content-3Cab { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Cab.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Cab.png); } #catalog-content-0 { @@ -190,7 +190,7 @@ p { top: 6rem; height: 2rem; right: 3rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/go.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/go.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -226,7 +226,7 @@ p { top: 1.55rem; height: 1.5rem; left: 7.75rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_1_on.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_1_on.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -238,7 +238,7 @@ p { top: 1.35rem; height: 1.5rem; left: 7.75rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_1_off.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_1_off.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -251,7 +251,7 @@ p { top: 1.55rem; height: 1.5rem; left: 14.3rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_2_on.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_2_on.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -263,7 +263,7 @@ p { top: 1.35rem; height: 1.5rem; left: 14.3rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_2_off.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_2_off.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -276,7 +276,7 @@ p { top: 1.55rem; height: 1.5rem; left: 20.85rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_3_on.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_3_on.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -288,7 +288,7 @@ p { top: 1.35rem; height: 1.5rem; left: 20.85rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_3_off.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_3_off.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -301,7 +301,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/portraitBg.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/portraitBg.jpg) center / auto 100% no-repeat; z-index: 520; display: none; @@ -313,7 +313,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/listBG.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/listBG.jpg) center / auto 100% no-repeat; z-index: 1200; display: none; @@ -325,7 +325,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/bg.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/bg.jpg) center / auto 100% no-repeat; z-index: 1300; display: none; @@ -356,7 +356,7 @@ p { width: 28.55rem; left: 0; bottom: 0; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barBottom.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barBottom.png); background-size: 28.55rem 2.1rem; background-position: left; background-repeat: no-repeat; @@ -380,7 +380,7 @@ p { height: 2.1rem; left: 0; bottom: 0; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barTop.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barTop.png); background-size: 28.55rem 2.1rem; background-position: left; background-repeat: no-repeat; @@ -393,7 +393,7 @@ p { bottom: -1.75rem; height: 4.5rem; width: 39.1rem; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barFrame.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barFrame.png); background-size: 39.1rem 4.5rem; background-position: left; background-repeat: no-repeat; @@ -406,7 +406,7 @@ p { width: 2.6rem; left: 0; bottom: -0.375rem; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barIcon.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barIcon.png); background-size: 2.6rem 2.85rem; background-position: left; background-repeat: no-repeat; @@ -420,7 +420,7 @@ p { width: 5.9rem; right: 0.75rem; bottom: 0.65rem; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/details.png) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/details.png) center / auto 100% no-repeat; cursor: pointer; } @@ -713,7 +713,7 @@ p { top: 0; right: 0; z-index: 810; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/close.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/close.png'); background-size: 100% 100%; background-position: center; cursor: pointer; @@ -741,7 +741,7 @@ p { bottom: 6rem; right: 0; z-index: 810; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/remark.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/remark.png'); background-size: 100% 100%; background-position: center; } @@ -754,7 +754,7 @@ p { top: 0; right: 0; z-index: 810; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/close.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/close.png'); background-size: 100% 100%; background-position: center; cursor: pointer; @@ -768,7 +768,7 @@ p { top: 0; right: 0; z-index: 810; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/exit.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/exit.png'); background-size: 100% 100%; background-position: center; cursor: pointer; @@ -791,7 +791,7 @@ p { top: 0; left: 0; z-index: 810; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/save.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/save.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -805,7 +805,7 @@ p { top: 0; left: 6.4rem; z-index: 810; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/load.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/load.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -827,7 +827,7 @@ p { height: 100%; bottom: 0; left: 6.4rem; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/auto.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/auto.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -835,7 +835,7 @@ p { } .dialog-btn-autoplay-on { - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/auto_1.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/auto_1.png'); } .dialog-btn-history { @@ -844,7 +844,7 @@ p { height: 100%; top: 0; right: 0; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/log.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/log.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -857,7 +857,7 @@ p { height: 100%; top: 0; left: 0; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/skip.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/skip.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -865,7 +865,7 @@ p { } .dialog-btn-skip-on { - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/skip_1.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/skip_1.png'); } .menuscene { @@ -875,7 +875,7 @@ p { top: 0px; left: 0px; z-index: 400; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/back.jpg') + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/back.jpg') black no-repeat; background-size: 100% auto; background-position: center; @@ -886,7 +886,7 @@ p { width: 100%; height: 100%; z-index: 0; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/fg.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/fg.png'); background-size: auto 100%; } @@ -898,7 +898,7 @@ p { top: 0px; left: 0px; z-index: 400; - background: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/back_pad.jpg"); + background: url("https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/back_pad.jpg"); background-size: 100% 100%; background-position: center; }*/ @@ -1458,7 +1458,7 @@ p { width: /*90%*/ 42rem; height: /*25%*/ 7rem; z-index: 210; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialog.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialog.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1468,7 +1468,7 @@ p { .dialog_article { height: 21rem; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png'); } .history { @@ -1478,7 +1478,7 @@ p { width: 42rem; height: 21rem; z-index: 250; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1492,7 +1492,7 @@ p { width: 42rem; height: 21rem; z-index: 250; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1627,17 +1627,17 @@ p { .dialog-chara-line.dialog-chara-left { width: 1.14rem; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-L.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-L.png'); } .dialog-chara-line.dialog-chara-center { background-repeat: repeat; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-M.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-M.png'); } .dialog-chara-line.dialog-chara-right { width: 2.4rem; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-R.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-R.png'); } .dialog-chara-padding { @@ -1835,19 +1835,19 @@ p { } .high { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/high.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/high.gif); } .low { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/low.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/low.gif); } .middle { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/middle.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/middle.gif); } .super { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/super.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/super.gif); } ul li { @@ -1883,27 +1883,27 @@ ul li { } #pagenum-1 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/left.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/left.png); } #pagenum-2 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/right.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/right.png); } #pagenum-5 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/leftPage.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/leftPage.png); } #pagenum-6 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/rightPage.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/rightPage.png); } #pagenum-7 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/left.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/left.png); } #pagenum-8 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/right.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/right.png); } .cg-frame { @@ -1925,7 +1925,7 @@ ul li { background-size: auto 88%; background-position: center; display: inline-block; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/common/cgclose.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/common/cgclose.png); } .showCgOrigin { diff --git a/public/novels/ae/en-US/game.js b/public/novels/ae/en-US/game.js index f09d9748..a87aa70e 100644 --- a/public/novels/ae/en-US/game.js +++ b/public/novels/ae/en-US/game.js @@ -1,4 +1,4 @@ -var base_url = 'https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy' +var base_url = 'https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy' base_url = resPath var now_galgame_tag = '_2017_anti_entropy_now_galgame' var now_scene_tag = '_2017_anti_entropy_now_scene' @@ -74,9 +74,7 @@ function tryAudio(pauseOrPlay, indexOrInner, countNumber) { //------------------------------------------------------ $(function () { loadExistXmlFile('date_url', function () { - date_url = xml_files_all_in_this['date_url'] - .getElementsByTagName('log')[0] - .getAttribute('lastDate') + date_url = xml_files_all_in_this['date_url'].getElementsByTagName('log')[0].getAttribute('lastDate') }) preLoadUiImages('ui', uiImageList) $('#all').on('selectstart', function () { @@ -120,14 +118,9 @@ $('.galgame-content').click(function () { if (listenScene != null && listenAction != null) { if (listenLoading != 1) nextAction(listenScene, listenAction) //进行下一步 else Action(listenScene, listenAction, listenLoading) //调回状态 - } else if ( - listenScene == null && - listenAction == null && - listenLoading != null - ) { + } else if (listenScene == null && listenAction == null && listenLoading != null) { if (listenLoading >= 0) { - if (autoSpeed == 'typing') - dialogAutoplay('stop') //自动播放的打字,优先关闭自动播放 + if (autoSpeed == 'typing') dialogAutoplay('stop') //自动播放的打字,优先关闭自动播放 else str_index_in_autotype = listenLoading //打字机状态调整 } else if (listenLoading == -1) dialogAutoplay('stop') //处理自动播放变化 else if (listenLoading == -2) $('.dialog-overflow').stop(true, true) //立即结束滚屏动画 @@ -159,9 +152,7 @@ $.fn.autotype_text = function (gotoScene, gotoAction) { str_index_in_autotype++ $pThis.html(str.substring(0, str_index_in_autotype)) //当前显示的文本长度 - if ( - $('.dialog-overflow')[0].scrollHeight > $('.dialog-overflow').height() - ) { + if ($('.dialog-overflow')[0].scrollHeight > $('.dialog-overflow').height()) { //超出内容一次性显示完毕 $pThis.html(str) str_index_in_autotype = str.length @@ -281,9 +272,7 @@ function getdialogAutoplaySpeed() { if (!checkTextScroll()) overflowTime = textTime else overflowTime = parseInt( - ((baseTime() * $('.dialog-overflow').height()) / - parseInt($('.dialog-text').css('line-height'))) * - 2.5 + ((baseTime() * $('.dialog-overflow').height()) / parseInt($('.dialog-text').css('line-height'))) * 2.5 ) } if (textTime <= overflowTime) { @@ -379,12 +368,9 @@ function cgPage(page, flag) { 'background-image', "url('" + base_url + '/resources/cg/' + getText(cgListSort[i]) + "')" ) - $('#cg-' + (j - page * 4)).click( - { str: getText(cgListSort[i]) }, - function (e) { - showCgOrigin(e.data.str) - } - ) + $('#cg-' + (j - page * 4)).click({ str: getText(cgListSort[i]) }, function (e) { + showCgOrigin(e.data.str) + }) $('#cg-' + (j - page * 4)).show() } else if (j >= (page + 1) * 4) { break @@ -409,18 +395,11 @@ function cgPage(page, flag) { if (j >= page * 4 && j < (page + 1) * 4) { $('#cg-' + (j - page * 4)).css( 'background-image', - "url('" + - base_url + - '/resources/cg/' + - getText(cgListSort[i]) + - "')" - ) - $('#cg-' + (j - page * 4)).click( - { str: getText(cgListSort[i]) }, - function (e) { - showCgOrigin(e.data.str) - } + "url('" + base_url + '/resources/cg/' + getText(cgListSort[i]) + "')" ) + $('#cg-' + (j - page * 4)).click({ str: getText(cgListSort[i]) }, function (e) { + showCgOrigin(e.data.str) + }) $('#cg-' + (j - page * 4)).show() } else if (j >= (page + 1) * 4) { break @@ -495,9 +474,7 @@ function generate_all_characterData(name) { newCharacter['id'] = characterList[j].getAttribute('id') if (!characterData[newCharacter['id']]) { characterData[newCharacter['id']] = newCharacter - } else if ( - characterData[newCharacter['id']]['name'] != newCharacter['name'] - ) { + } else if (characterData[newCharacter['id']]['name'] != newCharacter['name']) { console.log( 'id-' + newCharacter['id'] + @@ -508,9 +485,7 @@ function generate_all_characterData(name) { '; in line ' + j ) - } else if ( - characterData[newCharacter['id']]['color'] != newCharacter['color'] - ) { + } else if (characterData[newCharacter['id']]['color'] != newCharacter['color']) { console.log( 'id-' + newCharacter['id'] + @@ -521,9 +496,7 @@ function generate_all_characterData(name) { '; in line ' + j ) - } else if ( - characterData[newCharacter['id']]['src'] != newCharacter['src'] - ) { + } else if (characterData[newCharacter['id']]['src'] != newCharacter['src']) { console.log( 'id-' + newCharacter['id'] + @@ -612,7 +585,7 @@ function checkTextScroll() { } return { scrollTop: scrollTop1, - textLenth: (baseTime() / 5) * ((scrollTop1 - scrollTop0) / lineHeight), + textLenth: (baseTime() / 5) * ((scrollTop1 - scrollTop0) / lineHeight) } } else if (scrollTop0 + showHeight < scrollHeight0 - lineHeight / 5) { return { scrollTop: scrollTop1, textLenth: baseTime() / 20 } //误差累积的情形 @@ -639,8 +612,7 @@ function Action(gotoScene, gotoAction, skipKey, loadKey2) { { duration: checkTextScroll_answer.textLenth, start: function () { - if (autoSpeed == 'auto' || autoSpeed == 'typing') - dialogAutoplayAutoStop('autotype') + if (autoSpeed == 'auto' || autoSpeed == 'typing') dialogAutoplayAutoStop('autotype') }, step: function () { if (autoSpeed == 'stop') { @@ -662,7 +634,7 @@ function Action(gotoScene, gotoAction, skipKey, loadKey2) { setListens(gotoScene, lastEventNode) //console.log("set: " + lastEventNode); } - }, + } } ) return @@ -685,10 +657,7 @@ function Action(gotoScene, gotoAction, skipKey, loadKey2) { ClearCharas() ClearDialog() if (thisScene.getAttribute('background')) { - if ( - thisScene.getAttribute('background') == 'black' || - thisScene.getAttribute('background') == 'white' - ) { + if (thisScene.getAttribute('background') == 'black' || thisScene.getAttribute('background') == 'white') { $('.background').css('background', thisScene.getAttribute('background')) } else { var size = '100%' @@ -699,11 +668,7 @@ function Action(gotoScene, gotoAction, skipKey, loadKey2) { .removeAttr('background') .css( 'background', - "url('" + - base_url + - '/resources/background/' + - thisScene.getAttribute('background') + - "') no-repeat" + "url('" + base_url + '/resources/background/' + thisScene.getAttribute('background') + "') no-repeat" ) //附加属性 white去除 否则会一瞬间跳白 .css('background-size', size + ' ' + size) .css('background-position', 'center') @@ -748,14 +713,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { } if (act.getAttribute('bg') != null) { $('.cgBackground') - .css( - 'background', - "url('" + - base_url + - '/resources/background/' + - act.getAttribute('bg') + - "') no-repeat" - ) + .css('background', "url('" + base_url + '/resources/background/' + act.getAttribute('bg') + "') no-repeat") .css('background-size', 'auto 100%') .css('background-position', 'center') .fadeIn(fadeInTimeCG) @@ -764,14 +722,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { } $('.cg') .unbind() - .css( - 'background', - "url('" + - base_url + - '/resources/cg/' + - act.getAttribute('src') + - "') no-repeat" - ) + .css('background', "url('" + base_url + '/resources/cg/' + act.getAttribute('src') + "') no-repeat") .css('background-size', 'auto 100%') .css('background-position', 'center') .fadeIn(fadeInTimeCG) @@ -808,22 +759,10 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { $('.screen') .css('background-color', color) - .css( - 'animation', - 'screenblink ' + time + 'ms linear 0s infinite forwards' - ) - .css( - '-moz-animation', - 'screenblink ' + time + 'ms linear 0s infinite forwards' - ) - .css( - '-webkit-animation', - 'screenblink ' + time + 'ms linear 0s infinite forwards' - ) - .css( - '-o-animation', - 'screenblink ' + time + 'ms linear 0s infinite forwards' - ) + .css('animation', 'screenblink ' + time + 'ms linear 0s infinite forwards') + .css('-moz-animation', 'screenblink ' + time + 'ms linear 0s infinite forwards') + .css('-webkit-animation', 'screenblink ' + time + 'ms linear 0s infinite forwards') + .css('-o-animation', 'screenblink ' + time + 'ms linear 0s infinite forwards') .show() setTimeout(function () { @@ -840,10 +779,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { return } var time = Number(act.getAttribute('time')) - var id = - act.getAttribute('position') == 'all' - ? 'all' - : 'character-' + act.getAttribute('position') + var id = act.getAttribute('position') == 'all' ? 'all' : 'character-' + act.getAttribute('position') var className = act.getAttribute('type') || 'shake' $('#' + id).addClass(className) setTimeout(function () { @@ -873,15 +809,11 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { thisTextTemp = act.innerHTML } else { $('.dialog').removeClass('dialog_article') - $('.dialog-overflow') - .removeClass('dialog-overflow_article') - .removeClass('dialog-overflow_article_center') + $('.dialog-overflow').removeClass('dialog-overflow_article').removeClass('dialog-overflow_article_center') } } else { $('.dialog').removeClass('dialog_article') - $('.dialog-overflow') - .removeClass('dialog-overflow_article') - .removeClass('dialog-overflow_article_center') + $('.dialog-overflow').removeClass('dialog-overflow_article').removeClass('dialog-overflow_article_center') } if (thisTextTemp == null) thisTextTemp = getText(act) tempAttribute = act.getAttribute('remark') @@ -903,9 +835,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { ClearDialog() //清除临时加载的格式 post_achievement_in_event(act) $('.dialog').removeClass('dialog_article') - $('.dialog-overflow') - .removeClass('dialog-overflow_article') - .removeClass('dialog-overflow_article_center') + $('.dialog-overflow').removeClass('dialog-overflow_article').removeClass('dialog-overflow_article_center') $('.dialog-chara').show() var chara = act.getAttribute('chara') var textColour = characterData[chara]['color'] @@ -940,13 +870,13 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { choices.push({ text: getText(choiceList[i]), continueScene: gotoScene, - continueAction: gotoAction, + continueAction: gotoAction }) //选择肢无影响 } else { choices.push({ text: getText(choiceList[i]), goto: choiceList[i].getAttribute('goto'), - change: choiceList[i].getAttribute('change'), + change: choiceList[i].getAttribute('change') }) } } @@ -970,11 +900,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { if (chara) { if (characterData[chara]) { var url = - "url('" + - base_url + - '/resources/chara/' + - characterData[chara]['src'] + - "') 50% 50% /auto 100% no-repeat" + "url('" + base_url + '/resources/chara/' + characterData[chara]['src'] + "') 50% 50% /auto 100% no-repeat" var positionLeft = [] positionLeft['mostleft'] = '-50' positionLeft['left'] = '-25' @@ -1051,10 +977,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { return } var sound = $('#sound')[0] - $('#sound').attr( - 'src', - base_url + '/resources/sound/' + act.getAttribute('src') - ) + $('#sound').attr('src', base_url + '/resources/sound/' + act.getAttribute('src')) if (!isNaN(sound.duration)) sound.currentTime = 0 sound.play() @@ -1065,18 +988,12 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { lastEventNode = gotoAction var bgm = $('#bgm')[0] if (act.getAttribute('status') == 'start') { - $('#bgm').attr( - 'src', - base_url + '/resources/sound/' + act.getAttribute('src') - ) + $('#bgm').attr('src', base_url + '/resources/sound/' + act.getAttribute('src')) if (!isNaN(bgm.duration)) bgm.currentTime = 0 bgm.play() } else if (act.getAttribute('status') == 'continue') { if (bgm.paused) { - $('#bgm').attr( - 'src', - base_url + '/resources/sound/' + act.getAttribute('src') - ) + $('#bgm').attr('src', base_url + '/resources/sound/' + act.getAttribute('src')) if (!isNaN(bgm.duration)) bgm.currentTime = 0 bgm.play() } @@ -1113,10 +1030,7 @@ function thanksWords() { // } $('#confirm_1') .html(`
`) - .css( - 'background', - "url('" + base_url + "/resources/ui/thanks.png') no-repeat" - ) + .css('background', "url('" + base_url + "/resources/ui/thanks.png') no-repeat") .css('background-size', 'auto 100%') .css('background-position', 'center') $('.submit-center').click(function () { @@ -1129,17 +1043,8 @@ function thanksWords() { function nextChapterBox() { $('#confirm_1') - .html( - `
` - ) - .css( - 'background', - "url('" + - base_url + - '/resources/catalog/' + - date_url + - "nextChapter.png') no-repeat" - ) + .html(`
`) + .css('background', "url('" + base_url + '/resources/catalog/' + date_url + "nextChapter.png') no-repeat") .css('background-size', 'auto 100%') .css('background-position', 'center') $('#confirm').fadeIn() @@ -1150,21 +1055,13 @@ function gotoA(sceneKey, change, skipKey) { var changeTime = 1000 if (change != null) { changeColour = change - if ( - change.indexOf('none') >= 0 || - change.indexOf('None') >= 0 || - change.indexOf('NONE') >= 0 || - change == '0' - ) { + if (change.indexOf('none') >= 0 || change.indexOf('None') >= 0 || change.indexOf('NONE') >= 0 || change == '0') { changeColour = null } } if (changeColour) dialogAutoplay('stop') //强制终止自动播放 $('.white').removeClass().addClass('white').hide() //容错 - $('.background') - .css('transition-duration', '0ms') - .css('transform', 'scale(1,1)') - .css('transform-origin', 'center') + $('.background').css('transition-duration', '0ms').css('transform', 'scale(1,1)').css('transform-origin', 'center') if (changeColour) { setListens() //单击暂时无响应 $('.white') @@ -1195,22 +1092,10 @@ function nextAction(nowScene, nowAction, nowKey) { }, 1) } -function RefreshDialog( - dialog_text, - gotoScene, - gotoAction, - typeLoad, - textColour -) { +function RefreshDialog(dialog_text, gotoScene, gotoAction, typeLoad, textColour) { $('.dialog-text').html(dialog_text) $('div.article-pic').css('background-image', function (n, v) { - return ( - "url('" + - base_url + - '/resources/background/' + - $('div.article-pic')[n].getAttribute('picsrc') + - "')" - ) + return "url('" + base_url + '/resources/background/' + $('div.article-pic')[n].getAttribute('picsrc') + "')" }) if (checkTextScroll() == null) { $('.dialog-overflow_article').addClass('dialog-overflow_article_center') //居中 @@ -1242,7 +1127,7 @@ function ShowDialog(mode, content) { { c1: content[i]['continueScene'], c2: content[i]['continueAction'], - c3: i, + c3: i }, function (e) { historyChoiceList[e.data.c2] = e.data.c3 // 记录非转场选择 @@ -1258,14 +1143,11 @@ function ShowDialog(mode, content) { choiceHtml = $('
  • ') .text(content[i]['text']) .addClass('choice radius shadow') - .click( - { g: content[i]['goto'], c: content[i]['change'] }, - function (e) { - gotoA(e.data.g, e.data.c) - $('.choice_list').hide() - $('.choice_list').html('') - } - ) + .click({ g: content[i]['goto'], c: content[i]['change'] }, function (e) { + gotoA(e.data.g, e.data.c) + $('.choice_list').hide() + $('.choice_list').html('') + }) $('.choice_list ul').append(choiceHtml) } else { @@ -1289,30 +1171,12 @@ function ShowDialog(mode, content) { } function ClearCharas() { - $('.character-back') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-mostleft') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-left') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-mostright') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-right') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-center') - .css('transition-duration', '') - .css('transform', '') - .html('') + $('.character-back').css('transition-duration', '').css('transform', '').html('') + $('.character-mostleft').css('transition-duration', '').css('transform', '').html('') + $('.character-left').css('transition-duration', '').css('transform', '').html('') + $('.character-mostright').css('transition-duration', '').css('transform', '').html('') + $('.character-right').css('transition-duration', '').css('transform', '').html('') + $('.character-center').css('transition-duration', '').css('transform', '').html('') $('.dialog-chara-text').html('') } @@ -1403,8 +1267,7 @@ function startGame(galgameKey, loadKey) { startLoad() //catalogListTemp 和 catalogListLength都是全局变量,注意 var xmlDoc = loadExistXmlFile('catalog_list', function () { - catalogListTemp = - xml_files_all_in_this['catalog_list'].getElementsByTagName('log') + catalogListTemp = xml_files_all_in_this['catalog_list'].getElementsByTagName('log') catalogListLength = catalogListTemp.length LoadFinish() startGame(galgameKey, loadKey) @@ -1529,10 +1392,7 @@ function preLoadImagesBegin(imageList) { var thisScene = sceneList[i] //场景列表在流程上已被读取 var thisBgFileName = thisScene.getAttribute('background') if (thisBgFileName.length) { - if ( - $.inArray(thisBgFileName, bgInSceneList) < 0 && - $.inArray('.', thisBgFileName) > 0 - ) { + if ($.inArray(thisBgFileName, bgInSceneList) < 0 && $.inArray('.', thisBgFileName) > 0) { bgInSceneList.push(thisBgFileName) } } @@ -1588,14 +1448,8 @@ function preLoadImagesBegin(imageList) { else if (imageList[i].getAttribute('type') == 'cg') continue else if (imageList[i].getAttribute('type') == 'background') continue var $tempImage = $('') - var tempSrc = - base_url + - '/resources/' + - imageList[i].getAttribute('type') + - '/' + - imageList[i].getAttribute('src') - if (imageList[i].getAttribute('type') == 'www') - tempSrc = imageList[i].getAttribute('src') + var tempSrc = base_url + '/resources/' + imageList[i].getAttribute('type') + '/' + imageList[i].getAttribute('src') + if (imageList[i].getAttribute('type') == 'www') tempSrc = imageList[i].getAttribute('src') $tempImage .attr('src', tempSrc) .addClass('preload-image') @@ -1727,10 +1581,7 @@ function add_record() { $('#confirm_1').html( '
    ' ) - $('#confirm_1').css( - 'background', - "url('/novels/ae/en-US/quicksave.png') no-repeat" - ) + $('#confirm_1').css('background', "url('/novels/ae/en-US/quicksave.png') no-repeat") $('#confirm_1').css('background-size', 'auto 100%') $('#confirm_1').css('background-position', 'center') $('#confirm').fadeIn() @@ -1741,10 +1592,7 @@ function get_record() { $('#confirm_1').html( '
    ' ) - $('#confirm_1').css( - 'background', - "url('/novels/ae/en-US/quickload.png') no-repeat" - ) + $('#confirm_1').css('background', "url('/novels/ae/en-US/quickload.png') no-repeat") $('#confirm_1').css('background-size', 'auto 100%') $('#confirm_1').css('background-position', 'center') $('#confirm').fadeIn() @@ -1792,10 +1640,7 @@ function get_record_submit() { } function showCgOrigin(str) { - $('.showCgOrigin').css( - 'background-image', - "url('" + base_url + '/resources/cg/' + str + "')" - ) + $('.showCgOrigin').css('background-image', "url('" + base_url + '/resources/cg/' + str + "')") $('.showCgOrigin').fadeIn() } @@ -1813,16 +1658,7 @@ function browserRedirect() { var bIsAndroid = sUserAgent.match(/android/i) == 'android' var bIsCE = sUserAgent.match(/windows ce/i) == 'windows ce' var bIsWM = sUserAgent.match(/windows mobile/i) == 'windows mobile' - if ( - bIsIpad || - bIsIphoneOs || - bIsMidp || - bIsUc7 || - bIsUc || - bIsAndroid || - bIsCE || - bIsWM - ) { + if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) { return 'phone' } else { return 'pc' @@ -1846,20 +1682,14 @@ function check_size() { } winHeight = parseInt(winHeight) //通过深入Document内部对body进行检测,获取窗口大小 - if ( - document.documentElement && - document.documentElement.clientHeight && - document.documentElement.clientWidth - ) { + if (document.documentElement && document.documentElement.clientHeight && document.documentElement.clientWidth) { winHeight = document.documentElement.clientHeight winWidth = document.documentElement.clientWidth } $('html').css( 'font-size', $(window).width() / $(window).height() > 16 / 9 - ? ($(window).height() / ((9 / 16) * $(window).width())) * - (($(window).width() / 736) * 16.1) + - 'px' + ? ($(window).height() / ((9 / 16) * $(window).width())) * (($(window).width() / 736) * 16.1) + 'px' : ($(window).width() / 736) * 16.1 + 'px' ) $('.bottom').css('display', 'none') @@ -1882,13 +1712,7 @@ function check_size() { } // CUSTOM: requests XML from user-configurable xmlPath, if it fails, it'll fall back to main VN repo -function get_xml_ajax_async( - xmlName, - callBack, - fileType, - xmlFileURL, - first = true -) { +function get_xml_ajax_async(xmlName, callBack, fileType, xmlFileURL, first = true) { if (!xmlFileURL) { if (fileType) { xmlFileURL = xmlPath + xmlName + '.' + fileType @@ -1906,16 +1730,11 @@ function get_xml_ajax_async( }, error: function (XMLHttpRequest, textStatus, errorThrown) { if (first) { - get_xml_ajax_async( - xmlName, - callBack, - fileType, - xmlFileURL.replace(xmlPath, xmlPathDef) - ) + get_xml_ajax_async(xmlName, callBack, fileType, xmlFileURL.replace(xmlPath, xmlPathDef)) } else { callBack() } - }, + } }) } var loading_xml_files = new Array() @@ -1986,8 +1805,7 @@ function catalogPageNew(page, flag) { page = catalogPageIndex } var xmlDoc = loadExistXmlFile('catalog_list', function () { - catalogListTemp = - xml_files_all_in_this['catalog_list'].getElementsByTagName('log') + catalogListTemp = xml_files_all_in_this['catalog_list'].getElementsByTagName('log') catalogListLength = catalogListTemp.length catalogPageNew(page, flag) }) @@ -2014,20 +1832,12 @@ function catalogPageNew(page, flag) { flag_background = false $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - catalogListSort[i].getAttribute('picOne') + - ".jpg')" + "url('" + base_url + '/resources/background/' + catalogListSort[i].getAttribute('picOne') + ".jpg')" ) } $('#catalog-chap-' + (j - page * 2)).css( 'background-image', - "url('" + - base_url + - '/resources/catalog/t' + - getText(catalogListSort[i]) + - ".png')" + "url('" + base_url + '/resources/catalog/t' + getText(catalogListSort[i]) + ".png')" ) $('#catalog-content-' + (j - page * 2)) .removeClass('catalog-content-1A') @@ -2049,9 +1859,7 @@ function catalogPageNew(page, flag) { .removeClass('catalog-label_3_off') .unbind() $('#article-frame-' + (j - page * 2)).html( - '

    ' + - catalogListSort[i].getAttribute('quotationOne') + - '

    ' + '

    ' + catalogListSort[i].getAttribute('quotationOne') + '

    ' ) if (!catalogListSort[i].getAttribute('partThree')) { if (!catalogListSort[i].getAttribute('partTwo')) { @@ -2062,16 +1870,14 @@ function catalogPageNew(page, flag) { .click( { str: catalogListSort[i].getAttribute('id'), - sce: catalogListSort[i].getAttribute('partOne'), + sce: catalogListSort[i].getAttribute('partOne') }, function (ee) { startGame(ee.data.str, { S: ee.data.sce, A: 0 }) } ) } else { - $('#catalog-content-' + (j - page * 2)).addClass( - 'catalog-content-2Ab' - ) + $('#catalog-content-' + (j - page * 2)).addClass('catalog-content-2Ab') $('#catalog-label_1-' + (j - page * 2)) .addClass('catalog-label_1_on') .click( @@ -2082,21 +1888,15 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + '

    ' + e.data.quo + '

    ' ) $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-2Ba') @@ -2121,21 +1921,15 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + '

    ' + e.data.quo + '

    ' ) $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-2Ab') @@ -2155,7 +1949,7 @@ function catalogPageNew(page, flag) { .click( { str: catalogListSort[i].getAttribute('id'), - sce: catalogListSort[i].getAttribute('partOne'), + sce: catalogListSort[i].getAttribute('partOne') }, function (ee) { startGame(ee.data.str, { S: ee.data.sce, A: 0 }) @@ -2174,22 +1968,14 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" - ) - $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) + $('#article-frame-' + e.data.pos).html('

    ' + e.data.quo + '

    ') $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-3Bac') .removeClass('catalog-content-3Cab') @@ -2214,22 +2000,14 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" - ) - $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) + $('#article-frame-' + e.data.pos).html('

    ' + e.data.quo + '

    ') $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-3Abc') .removeClass('catalog-content-3Cab') @@ -2254,22 +2032,14 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" - ) - $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) + $('#article-frame-' + e.data.pos).html('

    ' + e.data.quo + '

    ') $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-3Abc') .removeClass('catalog-content-3Bac') @@ -2289,7 +2059,7 @@ function catalogPageNew(page, flag) { .click( { str: catalogListSort[i].getAttribute('id'), - sce: catalogListSort[i].getAttribute('partOne'), + sce: catalogListSort[i].getAttribute('partOne') }, function (ee) { startGame(ee.data.str, { S: ee.data.sce, A: 0 }) @@ -2438,9 +2208,7 @@ function showHistory() { historyTextBox.append(pHtml) } else if (thisEvent.nodeName == 'speak') { pHtml = $('

    ') - pHtml - .html(characterData[thisEvent.getAttribute('chara')]['name'] + ':') - .addClass('history-text') + pHtml.html(characterData[thisEvent.getAttribute('chara')]['name'] + ':').addClass('history-text') historyTextBox.append(pHtml) pHtml = $('

    ') pHtml.html(getText(thisEvent)).addClass('history-text') @@ -2469,8 +2237,7 @@ function showHistory() { } historyTextBox.children().addClass('history-text') - var scrollIndex = - $('.history-overflow')[0].scrollHeight - $('.history-overflow').height() + var scrollIndex = $('.history-overflow')[0].scrollHeight - $('.history-overflow').height() $('.history-overflow').scrollTop(scrollIndex) } @@ -2542,13 +2309,7 @@ function showremark() { } } $('div.article-pic').css('background-image', function (n, v) { - return ( - "url('" + - base_url + - '/resources/background/' + - $('div.article-pic')[n].getAttribute('picsrc') + - "')" - ) + return "url('" + base_url + '/resources/background/' + $('div.article-pic')[n].getAttribute('picsrc') + "')" }) remarkTextBox.children().addClass('history-text') $('.remark-overflow').scrollTop(0) @@ -2571,18 +2332,12 @@ function wrk_get_size() { var winHeight if (window.innerWidth) winWidth = window.innerWidth - else if (document.body && document.body.clientWidth) - winWidth = document.body.clientWidth + else if (document.body && document.body.clientWidth) winWidth = document.body.clientWidth //获取窗口高度 if (window.innerHeight) winHeight = window.innerHeight - else if (document.body && document.body.clientHeight) - winHeight = document.body.clientHeight + else if (document.body && document.body.clientHeight) winHeight = document.body.clientHeight //通过深入Document内部对body进行检测,获取窗口大小 - if ( - document.documentElement && - document.documentElement.clientHeight && - document.documentElement.clientWidth - ) { + if (document.documentElement && document.documentElement.clientHeight && document.documentElement.clientWidth) { winHeight = document.documentElement.clientHeight winWidth = document.documentElement.clientWidth } @@ -2606,11 +2361,7 @@ wrk_check_size() var achievementQueryString = '' if (GetQueryString('auth_key')) { if (GetQueryString('sign')) { - achievementQueryString = - '?auth_key=' + - GetQueryString('auth_key') + - '&sign=' + - GetQueryString('sign') + achievementQueryString = '?auth_key=' + GetQueryString('auth_key') + '&sign=' + GetQueryString('sign') } } //achievement------------------------------------------- @@ -2625,7 +2376,7 @@ function post_achievement(str_ach, callbackOne, callbackTwo) { data: { achievement: str_ach, chapter: now_galgame, - scene: now_scene, + scene: now_scene }, success: function (result) { ajax_answer_achievement = result @@ -2634,7 +2385,7 @@ function post_achievement(str_ach, callbackOne, callbackTwo) { error: function (XMLHttpRequest, textStatus, errorThrown) { ajax_answer_achievement = null if (callbackTwo) callbackTwo() - }, + } }) } @@ -2689,27 +2440,21 @@ function portraitPage(typeReturn) { var retcode = achievement_result['retcode'] var retcode_award = award_result['retcode'] if (retcode_award > 0) { - award_pic_url = - "url('" + base_url + "/resources/achievement/haveSentAward.png')" + award_pic_url = "url('" + base_url + "/resources/achievement/haveSentAward.png')" award_click_flag = false } else if (retcode_award < -100) { award_pic_url = '' award_click_flag = false } else { - award_pic_url = - "url('" + base_url + "/resources/achievement/clickSentAward.png')" + award_pic_url = "url('" + base_url + "/resources/achievement/clickSentAward.png')" award_click_flag = true } if (retcode > 0) { - var achievement_progress = - parseInt(achievement_result['progress'] * 100) + '%' - var achievement_progress_rem = - achievement_result['progress'] * 28.55 + 'rem' - var achievement_progress_text = - achievement_result['progress'] * 28.55 + 1.3 + 0.5 + 'rem' + var achievement_progress = parseInt(achievement_result['progress'] * 100) + '%' + var achievement_progress_rem = achievement_result['progress'] * 28.55 + 'rem' + var achievement_progress_text = achievement_result['progress'] * 28.55 + 1.3 + 0.5 + 'rem' var achievement_progress_text_r = 1.3 + 0.5 + 'rem' - var achievement_progress_icon = - achievement_result['progress'] * 28.55 - 1.3 + 'rem' + var achievement_progress_icon = achievement_result['progress'] * 28.55 - 1.3 + 'rem' achievement_list = achievement_result['achievement'] achievement_portraits = achievement_result['portrait'] //preload @@ -2740,12 +2485,7 @@ function portraitPage(typeReturn) { } achievementImageList.push('null_h.png') for (var j = 0; j < achievement_list.length; j++) { - if ( - $.inArray( - achievement_list[j]['image'] + '_h.png', - achievementImageList - ) < 0 - ) { + if ($.inArray(achievement_list[j]['image'] + '_h.png', achievementImageList) < 0) { achievementImageList.push(achievement_list[j]['image'] + '_h.png') } } @@ -2761,26 +2501,17 @@ function portraitPage(typeReturn) { $('.portrait-wrapper#portrait-frame').html('') var pHtml = $('
    ') pHtml.addClass('portrait-wrapper') - pHtml.css( - 'background-image', - "url('" + base_url + "/resources/achievement/sofaBack.png')" - ) + pHtml.css('background-image', "url('" + base_url + "/resources/achievement/sofaBack.png')") pHtml.css('z-index', '600') $('.portrait-wrapper#portrait-frame').append(pHtml) pHtml = $('
    ') pHtml.addClass('portrait-wrapper') - pHtml.css( - 'background-image', - "url('" + base_url + "/resources/achievement/sofaFrontLeft.png')" - ) + pHtml.css('background-image', "url('" + base_url + "/resources/achievement/sofaFrontLeft.png')") pHtml.css('z-index', '700') $('.portrait-wrapper#portrait-frame').append(pHtml) pHtml = $('
    ') pHtml.addClass('portrait-wrapper') - pHtml.css( - 'background-image', - "url('" + base_url + "/resources/achievement/sofaFrontRight.png')" - ) + pHtml.css('background-image', "url('" + base_url + "/resources/achievement/sofaFrontRight.png')") pHtml.css('z-index', '700') $('.portrait-wrapper#portrait-frame').append(pHtml) @@ -2800,11 +2531,7 @@ function portraitPage(typeReturn) { pHtml.addClass('portrait-wrapper') pHtml.css( 'background-image', - "url('" + - base_url + - '/resources/achievement/' + - achievement_portraits[i]['name'] + - ".png')" + "url('" + base_url + '/resources/achievement/' + achievement_portraits[i]['name'] + ".png')" ) pHtml.css('z-index', achievement_portraits[i]['index']) $('.portrait-wrapper#portrait-frame').append(pHtml) @@ -2848,14 +2575,11 @@ function exhibitionPage(page) { exhibition_index = Number(page) } var xmlDoc = loadExistXmlFile('exhibition_list', function () { - exhibition_list = - xml_files_all_in_this['exhibition_list'].getElementsByTagName('log') + exhibition_list = xml_files_all_in_this['exhibition_list'].getElementsByTagName('log') exhibitionPage(page) }) if (!xmlDoc) return - exhibition_last = Number( - exhibition_list[exhibition_list.length - 1].getAttribute('id') - ) + exhibition_last = Number(exhibition_list[exhibition_list.length - 1].getAttribute('id')) $('.pagenum#pagenum-5').removeClass('pagenum-gray') if (exhibition_index == 10010) { $('.pagenum#pagenum-5').addClass('pagenum-gray') @@ -2884,20 +2608,12 @@ function exhibitionPage(page) { pHtml_txt.html(achievement_list[j]['text']) pHtml_pic.css( 'background-image', - "url('" + - base_url + - '/resources/achievement/' + - achievement_list[j]['image'] + - "_h.png')" + "url('" + base_url + '/resources/achievement/' + achievement_list[j]['image'] + "_h.png')" ) if (exhibition_list[i].getAttribute('type') != 'end') { pHtml_tip.css( 'background-image', - "url('" + - base_url + - '/resources/achievement/' + - exhibition_list[i].getAttribute('type') + - "_b.png')" + "url('" + base_url + '/resources/achievement/' + exhibition_list[i].getAttribute('type') + "_b.png')" ) } break @@ -2910,26 +2626,15 @@ function exhibitionPage(page) { if (j >= achievement_list.length) { pHtml_txt.html('????????????????????') pHtml_txt.css('color', '#cccccc') - pHtml_pic.css( - 'background-image', - "url('" + base_url + "/resources/achievement/null_h.png')" - ) + pHtml_pic.css('background-image', "url('" + base_url + "/resources/achievement/null_h.png')") if (exhibition_list[i].getAttribute('type') != 'end') { pHtml_tip.css( 'background-image', - "url('" + - base_url + - '/resources/achievement/' + - exhibition_list[i].getAttribute('type') + - ".png')" + "url('" + base_url + '/resources/achievement/' + exhibition_list[i].getAttribute('type') + ".png')" ) } } - pHtml_box - .append(pHtml_pic) - .append(pHtml_tip) - .append(pHtml_tit) - .append(pHtml_txt) + pHtml_box.append(pHtml_pic).append(pHtml_tip).append(pHtml_tit).append(pHtml_txt) pHtml_box.addClass('exhibition-member') pHtml.append(pHtml_box) pHtml.addClass('achievement-list-member') diff --git a/public/novels/ae/en-US/index.html b/public/novels/ae/en-US/index.html index a82c9847..23e33db0 100644 --- a/public/novels/ae/en-US/index.html +++ b/public/novels/ae/en-US/index.html @@ -19,12 +19,12 @@ content="black-translucent" /> @@ -64,14 +64,14 @@
    @@ -82,7 +82,7 @@ @@ -266,25 +266,25 @@ diff --git a/public/novels/ae/ko-KR/game.css b/public/novels/ae/ko-KR/game.css index f0458576..d1d8adb7 100644 --- a/public/novels/ae/ko-KR/game.css +++ b/public/novels/ae/ko-KR/game.css @@ -109,7 +109,8 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/bg.jpg) center /auto 100% no-repeat; + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/bg.jpg) + center / auto 100% no-repeat; z-index: 520; display: none; } @@ -120,7 +121,8 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/CG1.jpg) center /auto 100% no-repeat; + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/CG1.jpg) + center / auto 100% no-repeat; z-index: 520; display: none; } @@ -131,31 +133,32 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/dark.png) center /auto 100% no-repeat; + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/dark.png) + center / auto 100% no-repeat; } .catalog-content-1A { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/A.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/A.png); } .catalog-content-2Ab { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Ab.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Ab.png); } .catalog-content-3Abc { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Abc.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Abc.png); } .catalog-content-2Ba { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Ba.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Ba.png); } .catalog-content-3Bac { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Bac.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Bac.png); } .catalog-content-3Cab { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Cab.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/Cab.png); } #catalog-content-0 { @@ -188,7 +191,7 @@ p { top: 6rem; height: 2rem; right: 3rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/go.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/go.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -224,7 +227,7 @@ p { top: 1.55rem; height: 1.5rem; left: 7.75rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_1_on.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_1_on.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -236,7 +239,7 @@ p { top: 1.35rem; height: 1.5rem; left: 7.75rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_1_off.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_1_off.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -249,7 +252,7 @@ p { top: 1.55rem; height: 1.5rem; left: 14.3rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_2_on.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_2_on.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -261,7 +264,7 @@ p { top: 1.35rem; height: 1.5rem; left: 14.3rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_2_off.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_2_off.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -274,7 +277,7 @@ p { top: 1.55rem; height: 1.5rem; left: 20.85rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_3_on.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_3_on.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -286,7 +289,7 @@ p { top: 1.35rem; height: 1.5rem; left: 20.85rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_3_off.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/catalog/label_3_off.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -299,7 +302,8 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/portraitBg.jpg) center /auto 100% no-repeat; + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/portraitBg.jpg) + center / auto 100% no-repeat; z-index: 520; display: none; } @@ -310,7 +314,8 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/listBG.jpg) center /auto 100% no-repeat; + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/listBG.jpg) + center / auto 100% no-repeat; z-index: 1200; display: none; } @@ -321,7 +326,8 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/bg.jpg) center /auto 100% no-repeat; + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/background/bg.jpg) + center / auto 100% no-repeat; z-index: 1300; display: none; } @@ -351,20 +357,20 @@ p { width: 28.55rem; left: 0; bottom: 0; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barBottom.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barBottom.png); background-size: 28.55rem 2.1rem; background-position: left; background-repeat: no-repeat; overflow: hidden; } -.progress-award-text{ +.progress-award-text { position: absolute; height: 2.1rem; width: 28.55rem; - left:0; - bottom:-0.1rem; - background-size:28.55rem 2.1rem; + left: 0; + bottom: -0.1rem; + background-size: 28.55rem 2.1rem; background-position: center; background-repeat: no-repeat; overflow: visible; @@ -375,7 +381,7 @@ p { height: 2.1rem; left: 0; bottom: 0; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barTop.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barTop.png); background-size: 28.55rem 2.1rem; background-position: left; background-repeat: no-repeat; @@ -388,7 +394,7 @@ p { bottom: -1.75rem; height: 4.5rem; width: 39.1rem; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barFrame.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barFrame.png); background-size: 39.1rem 4.5rem; background-position: left; background-repeat: no-repeat; @@ -401,7 +407,7 @@ p { width: 2.6rem; left: 0; bottom: -0.375rem; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barIcon.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/barIcon.png); background-size: 2.6rem 2.85rem; background-position: left; background-repeat: no-repeat; @@ -415,7 +421,8 @@ p { width: 5.9rem; right: 0.75rem; bottom: 0.65rem; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/details.png) center /auto 100% no-repeat; + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/details.png) + center / auto 100% no-repeat; cursor: pointer; } @@ -579,7 +586,7 @@ p { top: 0; left: 0; z-index: 901; - background: rgba(0, 0, 0, .6); + background: rgba(0, 0, 0, 0.6); overflow-x: auto; overflow-y: hidden; } @@ -629,7 +636,7 @@ p { top: 78%; left: 23%; z-index: 903; - background: url(/novels/ae/ko-KR/cancel.webp) right /auto 100% no-repeat; + background: url(/novels/ae/ko-KR/cancel.webp) right / auto 100% no-repeat; } .submit { @@ -639,7 +646,7 @@ p { top: 78%; right: 23%; z-index: 903; - background: url(/novels/ae/ko-KR/confirm.webp) left /auto 100% no-repeat; + background: url(/novels/ae/ko-KR/confirm.webp) left / auto 100% no-repeat; } .submit-center { @@ -649,7 +656,7 @@ p { top: 78%; right: 37.5%; z-index: 903; - background: url(/novels/ae/ko-KR/confirm.webp) left /auto 100% no-repeat; + background: url(/novels/ae/ko-KR/confirm.webp) left / auto 100% no-repeat; } .goto { @@ -707,7 +714,7 @@ p { top: 0; right: 0; z-index: 810; - background: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/close.png"); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/close.png'); background-size: 100% 100%; background-position: center; cursor: pointer; @@ -735,7 +742,7 @@ p { bottom: 6rem; right: 0; z-index: 810; - background: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/remark.png"); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/remark.png'); background-size: 100% 100%; background-position: center; } @@ -748,7 +755,7 @@ p { top: 0; right: 0; z-index: 810; - background: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/close.png"); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/close.png'); background-size: 100% 100%; background-position: center; cursor: pointer; @@ -762,7 +769,7 @@ p { top: 0; right: 0; z-index: 810; - background: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/exit.png"); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/exit.png'); background-size: 100% 100%; background-position: center; cursor: pointer; @@ -770,10 +777,8 @@ p { .buttonBar { position: absolute; - width: /*14rem*/ - 40rem; - height: /*2.3rem*/ - 3.6rem; + width: /*14rem*/ 40rem; + height: /*2.3rem*/ 3.6rem; margin: 0 1rem; top: 0; left: 0; @@ -782,13 +787,12 @@ p { .record_btn { position: absolute; - width: /*47%*/ - 6.4rem; + width: /*47%*/ 6.4rem; height: 100%; top: 0; left: 0; z-index: 810; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/save.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/save.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -797,13 +801,12 @@ p { .read_record_btn { position: absolute; - width: /*47%*/ - 6.4rem; + width: /*47%*/ 6.4rem; height: 100%; top: 0; left: 6.4rem; z-index: 810; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/load.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/load.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -825,7 +828,7 @@ p { height: 100%; bottom: 0; left: 6.4rem; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/auto.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/auto.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -833,7 +836,7 @@ p { } .dialog-btn-autoplay-on { - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/auto_1.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/auto_1.png'); } .dialog-btn-history { @@ -842,7 +845,7 @@ p { height: 100%; top: 0; right: 0; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/log.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/log.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -855,7 +858,7 @@ p { height: 100%; top: 0; left: 0; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/skip.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/skip.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -863,7 +866,7 @@ p { } .dialog-btn-skip-on { - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/skip_1.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/skip_1.png'); } .menuscene { @@ -873,7 +876,8 @@ p { top: 0px; left: 0px; z-index: 400; - background: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/back.jpg") black no-repeat; + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/back.jpg') + black no-repeat; background-size: 100% auto; background-position: center; } @@ -883,11 +887,11 @@ p { width: 100%; height: 100%; z-index: 0; - background: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/fg.png"); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/fg.png'); background-size: auto 100%; } -@media screen and (max-aspect-ratio:16/9) { +@media screen and (max-aspect-ratio: 16/9) { /*.menuscene{ position: absolute; width: 100%; @@ -895,7 +899,7 @@ p { top: 0px; left: 0px; z-index: 400; - background: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/back_pad.jpg"); + background: url("https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/menu/back_pad.jpg"); background-size: 100% 100%; background-position: center; }*/ @@ -903,14 +907,10 @@ p { .grid_layout { position: absolute; - right: /*35%*/ - 2.4rem; - bottom: /*43%*/ - 0.6rem; - width: /*30%*/ - 15rem; - height: /*50%*/ - 15rem; + right: /*35%*/ 2.4rem; + bottom: /*43%*/ 0.6rem; + width: /*30%*/ 15rem; + height: /*50%*/ 15rem; z-index: 1; border-collapse: collapse; } @@ -931,19 +931,19 @@ p { } .menu_btn_1 { - background-image: url("/novels/ae/ko-KR/newgame.webp"); + background-image: url('/novels/ae/ko-KR/newgame.webp'); } .menu_btn_2 { - background-image: url("/novels/ae/ko-KR/gallery.webp"); + background-image: url('/novels/ae/ko-KR/gallery.webp'); } .menu_btn_3 { - background-image: url("/novels/ae/ko-KR/history.webp"); + background-image: url('/novels/ae/ko-KR/history.webp'); } .menu_btn_4 { - background-image: url("/novels/ae/ko-KR/achievement.webp"); + background-image: url('/novels/ae/ko-KR/achievement.webp'); } #loading { @@ -1040,36 +1040,35 @@ p { z-index: 810; } -@media screen and (max-aspect-ratio:16/9) { +@media screen and (max-aspect-ratio: 16/9) { .link { - position: absolute; - width: 27%; - height: 12%; - top: 72%; - left: 36%; - z-index: 1002; + position: absolute; + width: 27%; + height: 12%; + top: 72%; + left: 36%; + z-index: 1002; } .close_btn { - position: absolute; - width: 20%; - height: 12%; - top: 15%; - left: 75%; - z-index: 1002; + position: absolute; + width: 20%; + height: 12%; + top: 15%; + left: 75%; + z-index: 1002; } .tab { - position: absolute; - width: 19%; - height: 12%; - top: 72%; - left: 75%; - z-index: 1002; + position: absolute; + width: 19%; + height: 12%; + top: 72%; + left: 75%; + z-index: 1002; } } .choice { - padding: /*10px*/ - 1rem; + padding: /*10px*/ 1rem; margin: 13px 0 0 21px; cursor: pointer; background: rgba(64, 31, 40, 0.9); @@ -1115,22 +1114,20 @@ p { @keyframes mymove_left_center { from { - background-position: 10% 100%; + background-position: 10% 100%; } to { - background-position: bottom center; + background-position: bottom center; } } @-webkit-keyframes mymove_left_center -/*Safari and Chrome*/ - - { +/*Safari and Chrome*/ { from { - background-position: 10% 100%; + background-position: 10% 100%; } to { - background-position: bottom center; + background-position: bottom center; } } @@ -1172,22 +1169,20 @@ p { @keyframes mymove_left_right { from { - background-position: 10% 100%; + background-position: 10% 100%; } to { - background-position: 90% 100%; + background-position: 90% 100%; } } @-webkit-keyframes mymove_left_right -/*Safari and Chrome*/ - - { +/*Safari and Chrome*/ { from { - background-position: 10% 100%; + background-position: 10% 100%; } to { - background-position: 90% 100%; + background-position: 90% 100%; } } @@ -1229,22 +1224,20 @@ p { @keyframes mymove_center_right { from { - background-position: bottom center; + background-position: bottom center; } to { - background-position: 90% 100%; + background-position: 90% 100%; } } @-webkit-keyframes mymove_center_right -/*Safari and Chrome*/ - - { +/*Safari and Chrome*/ { from { - background-position: bottom center; + background-position: bottom center; } to { - background-position: 90% 100%; + background-position: 90% 100%; } } @@ -1286,22 +1279,20 @@ p { @keyframes mymove_right_center { from { - background-position: 90% 100%; + background-position: 90% 100%; } to { - background-position: bottom center; + background-position: bottom center; } } @-webkit-keyframes mymove_right_center -/*Safari and Chrome*/ - - { +/*Safari and Chrome*/ { from { - background-position: 90% 100%; + background-position: 90% 100%; } to { - background-position: bottom center; + background-position: bottom center; } } @@ -1343,22 +1334,20 @@ p { @keyframes mymove_right_left { from { - background-position: 90% 100%; + background-position: 90% 100%; } to { - background-position: 10% 100%; + background-position: 10% 100%; } } @-webkit-keyframes mymove_right_left -/*Safari and Chrome*/ - - { +/*Safari and Chrome*/ { from { - background-position: 90% 100%; + background-position: 90% 100%; } to { - background-position: 10% 100%; + background-position: 10% 100%; } } @@ -1400,22 +1389,20 @@ p { @keyframes mymove_center_left { from { - background-position: bottom center; + background-position: bottom center; } to { - background-position: 10% 100%; + background-position: 10% 100%; } } @-webkit-keyframes mymove_center_left -/*Safari and Chrome*/ - - { +/*Safari and Chrome*/ { from { - background-position: bottom center; + background-position: bottom center; } to { - background-position: 10% 100%; + background-position: 10% 100%; } } @@ -1471,16 +1458,12 @@ p { .dialog { position: absolute; - bottom: /*1%*/ - 1rem; - left: /*5%*/ - 1.75rem; - width: /*90%*/ - 42rem; - height: /*25%*/ - 7rem; + bottom: /*1%*/ 1rem; + left: /*5%*/ 1.75rem; + width: /*90%*/ 42rem; + height: /*25%*/ 7rem; z-index: 210; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialog.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialog.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1490,7 +1473,7 @@ p { .dialog_article { height: 21rem; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png'); } .history { @@ -1500,7 +1483,7 @@ p { width: 42rem; height: 21rem; z-index: 250; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1514,7 +1497,7 @@ p { width: 42rem; height: 21rem; z-index: 250; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/dialogBig.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1522,8 +1505,7 @@ p { } .dialog-padding { - padding: /*12px 30px*/ - 1rem 2.5rem; + padding: /*12px 30px*/ 1rem 2.5rem; } .history-padding { @@ -1617,8 +1599,7 @@ p { } .history-choice { - padding: /*10px*/ - 1rem; + padding: /*10px*/ 1rem; margin: 13px 0 0 21px; cursor: pointer; background: rgba(64, 31, 40, 0.9); @@ -1633,8 +1614,7 @@ p { .dialog-chara { position: absolute; - bottom: /*30%*/ - 6.3rem; + bottom: /*30%*/ 6.3rem; left: 0.2rem; width: auto; height: 3.6rem; @@ -1652,17 +1632,17 @@ p { .dialog-chara-line.dialog-chara-left { width: 1.14rem; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-L.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-L.png'); } .dialog-chara-line.dialog-chara-center { background-repeat: repeat; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-M.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-M.png'); } .dialog-chara-line.dialog-chara-right { width: 2.4rem; - background-image: url("https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-R.png"); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/Label-R.png'); } .dialog-chara-padding { @@ -1746,73 +1726,73 @@ p { @-ms-keyframes shake { 0% { - -ms-transform: translate(3px, 3px); + -ms-transform: translate(3px, 3px); } 25% { - -ms-transform: translate(-3px, -3px); + -ms-transform: translate(-3px, -3px); } 50% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } 75% { - -ms-transform: translate(3px, -3px); + -ms-transform: translate(3px, -3px); } 100% { - -ms-transform: translate(-3px, 3px); + -ms-transform: translate(-3px, 3px); } } @-moz-keyframes shake { 0% { - -moz-transform: translate(3px, 3px); + -moz-transform: translate(3px, 3px); } 25% { - -moz-transform: translate(-3px, -3px); + -moz-transform: translate(-3px, -3px); } 50% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } 75% { - -moz-transform: translate(3px, -3px); + -moz-transform: translate(3px, -3px); } 100% { - -moz-transform: translate(-3px, 3px); + -moz-transform: translate(-3px, 3px); } } @-webkit-keyframes shake { 0% { - -webkit-transform: translate(3px, 3px); + -webkit-transform: translate(3px, 3px); } 25% { - -webkit-transform: translate(-3px, -3px); + -webkit-transform: translate(-3px, -3px); } 50% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } 75% { - -webkit-transform: translate(3px, -3px); + -webkit-transform: translate(3px, -3px); } 100% { - -webkit-transform: translate(-3px, 3px); + -webkit-transform: translate(-3px, 3px); } } @keyframes shake { 0% { - transform: translate(3px, 3px); + transform: translate(3px, 3px); } 25% { - transform: translate(-3px, -3px); + transform: translate(-3px, -3px); } 50% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } 75% { - transform: translate(3px, -3px); + transform: translate(3px, -3px); } 100% { - transform: translate(-3px, 3px); + transform: translate(-3px, 3px); } } @@ -1860,19 +1840,19 @@ p { } .high { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/high.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/high.gif); } .low { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/low.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/low.gif); } .middle { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/middle.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/middle.gif); } .super { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/super.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/expression/super.gif); } ul li { @@ -1908,27 +1888,27 @@ ul li { } #pagenum-1 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/left.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/left.png); } #pagenum-2 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/right.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/right.png); } #pagenum-5 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/leftPage.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/leftPage.png); } #pagenum-6 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/rightPage.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/achievement/rightPage.png); } #pagenum-7 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/left.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/left.png); } #pagenum-8 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/right.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/ui/right.png); } .cg-frame { @@ -1950,7 +1930,7 @@ ul li { background-size: auto 88%; background-position: center; display: inline-block; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/resources/common/cgclose.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/resources/common/cgclose.png); } .showCgOrigin { @@ -1998,73 +1978,73 @@ ul li { @-ms-keyframes updown { 0% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } 25% { - -ms-transform: translate(0px, 4px); + -ms-transform: translate(0px, 4px); } 50% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } 75% { - -ms-transform: translate(0px, -4px); + -ms-transform: translate(0px, -4px); } 100% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } } @-moz-keyframes updown { 0% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } 25% { - -moz-transform: translate(0px, 4px); + -moz-transform: translate(0px, 4px); } 50% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } 75% { - -moz-transform: translate(0px, -4px); + -moz-transform: translate(0px, -4px); } 100% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } } @-webkit-keyframes updown { 0% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } 25% { - -webkit-transform: translate(0px, 4px); + -webkit-transform: translate(0px, 4px); } 50% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } 75% { - -webkit-transform: translate(0px, -4px); + -webkit-transform: translate(0px, -4px); } 100% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } } @keyframes updown { 0% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } 25% { - transform: translate(0px, 4px); + transform: translate(0px, 4px); } 50% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } 75% { - transform: translate(0px, -4px); + transform: translate(0px, -4px); } 100% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } } @@ -2077,73 +2057,73 @@ ul li { @-ms-keyframes rightleft { 0% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } 25% { - -ms-transform: translate(4px, 0px); + -ms-transform: translate(4px, 0px); } 50% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } 75% { - -ms-transform: translate(-4px, 0px); + -ms-transform: translate(-4px, 0px); } 100% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } } @-moz-keyframes rightleft { 0% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } 25% { - -moz-transform: translate(4px, 0px); + -moz-transform: translate(4px, 0px); } 50% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } 75% { - -moz-transform: translate(-4px, 0px); + -moz-transform: translate(-4px, 0px); } 100% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } } @-webkit-keyframes rightleft { 0% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } 25% { - -webkit-transform: translate(4px, 0px); + -webkit-transform: translate(4px, 0px); } 50% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } 75% { - -webkit-transform: translate(-4px, 0px); + -webkit-transform: translate(-4px, 0px); } 100% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } } @keyframes rightleft { 0% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } 25% { - transform: translate(4px, 0px); + transform: translate(4px, 0px); } 50% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } 75% { - transform: translate(-4px, 0px); + transform: translate(-4px, 0px); } 100% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } } @@ -2156,73 +2136,73 @@ ul li { @-ms-keyframes rightleft { 0% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } 25% { - -ms-transform: translate(4px, 0px); + -ms-transform: translate(4px, 0px); } 50% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } 75% { - -ms-transform: translate(-4px, 0px); + -ms-transform: translate(-4px, 0px); } 100% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } } @-moz-keyframes rightleft { 0% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } 25% { - -moz-transform: translate(4px, 0px); + -moz-transform: translate(4px, 0px); } 50% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } 75% { - -moz-transform: translate(-4px, 0px); + -moz-transform: translate(-4px, 0px); } 100% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } } @-webkit-keyframes rightleft { 0% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } 25% { - -webkit-transform: translate(4px, 0px); + -webkit-transform: translate(4px, 0px); } 50% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } 75% { - -webkit-transform: translate(-4px, 0px); + -webkit-transform: translate(-4px, 0px); } 100% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } } @keyframes rightleft { 0% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } 25% { - transform: translate(4px, 0px); + transform: translate(4px, 0px); } 50% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } 75% { - transform: translate(-4px, 0px); + transform: translate(-4px, 0px); } 100% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } } @@ -2235,73 +2215,73 @@ ul li { @-ms-keyframes jump { 0% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } 25% { - -ms-transform: translate(0px, 15px); + -ms-transform: translate(0px, 15px); } 50% { - -ms-transform: translate(0px, 20px); + -ms-transform: translate(0px, 20px); } 75% { - -ms-transform: translate(0px, 15px); + -ms-transform: translate(0px, 15px); } 100% { - -ms-transform: translate(0px, 0px); + -ms-transform: translate(0px, 0px); } } @-moz-keyframes jump { 0% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } 25% { - -moz-transform: translate(0px, 15px); + -moz-transform: translate(0px, 15px); } 50% { - -moz-transform: translate(0px, 20px); + -moz-transform: translate(0px, 20px); } 75% { - -moz-transform: translate(0px, 15px); + -moz-transform: translate(0px, 15px); } 100% { - -moz-transform: translate(0px, 0px); + -moz-transform: translate(0px, 0px); } } @-webkit-keyframes jump { 0% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } 25% { - -webkit-transform: translate(0px, 15px); + -webkit-transform: translate(0px, 15px); } 50% { - -webkit-transform: translate(0px, 20px); + -webkit-transform: translate(0px, 20px); } 75% { - -webkit-transform: translate(0px, 15px); + -webkit-transform: translate(0px, 15px); } 100% { - -webkit-transform: translate(0px, 0px); + -webkit-transform: translate(0px, 0px); } } @keyframes jump { 0% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } 25% { - transform: translate(0px, 15px); + transform: translate(0px, 15px); } 50% { - transform: translate(0px, 20px); + transform: translate(0px, 20px); } 75% { - transform: translate(0px, 15px); + transform: translate(0px, 15px); } 100% { - transform: translate(0px, 0px); + transform: translate(0px, 0px); } } diff --git a/public/novels/ae/ko-KR/game.js b/public/novels/ae/ko-KR/game.js index 36de1f81..90f938e3 100644 --- a/public/novels/ae/ko-KR/game.js +++ b/public/novels/ae/ko-KR/game.js @@ -1,4 +1,4 @@ -var base_url = 'https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy' +var base_url = 'https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy' var extra_url = '/novels/ae/ko-KR/extra' base_url = resPath var now_galgame_tag = '_2017_anti_entropy_now_galgame' @@ -75,9 +75,7 @@ function tryAudio(pauseOrPlay, indexOrInner, countNumber) { //------------------------------------------------------ $(function () { loadExistXmlFile('date_url', function () { - date_url = xml_files_all_in_this['date_url'] - .getElementsByTagName('log')[0] - .getAttribute('lastDate') + date_url = xml_files_all_in_this['date_url'].getElementsByTagName('log')[0].getAttribute('lastDate') }) preLoadUiImages('ui', uiImageList) $('#all').on('selectstart', function () { @@ -121,14 +119,9 @@ $('.galgame-content').click(function () { if (listenScene != null && listenAction != null) { if (listenLoading != 1) nextAction(listenScene, listenAction) //进行下一步 else Action(listenScene, listenAction, listenLoading) //调回状态 - } else if ( - listenScene == null && - listenAction == null && - listenLoading != null - ) { + } else if (listenScene == null && listenAction == null && listenLoading != null) { if (listenLoading >= 0) { - if (autoSpeed == 'typing') - dialogAutoplay('stop') //自动播放的打字,优先关闭自动播放 + if (autoSpeed == 'typing') dialogAutoplay('stop') //自动播放的打字,优先关闭自动播放 else str_index_in_autotype = listenLoading //打字机状态调整 } else if (listenLoading == -1) dialogAutoplay('stop') //处理自动播放变化 else if (listenLoading == -2) $('.dialog-overflow').stop(true, true) //立即结束滚屏动画 @@ -160,9 +153,7 @@ $.fn.autotype_text = function (gotoScene, gotoAction) { str_index_in_autotype++ $pThis.html(str.substring(0, str_index_in_autotype)) //当前显示的文本长度 - if ( - $('.dialog-overflow')[0].scrollHeight > $('.dialog-overflow').height() - ) { + if ($('.dialog-overflow')[0].scrollHeight > $('.dialog-overflow').height()) { //超出内容一次性显示完毕 $pThis.html(str) str_index_in_autotype = str.length @@ -282,9 +273,7 @@ function getdialogAutoplaySpeed() { if (!checkTextScroll()) overflowTime = textTime else overflowTime = parseInt( - ((baseTime() * $('.dialog-overflow').height()) / - parseInt($('.dialog-text').css('line-height'))) * - 2.5 + ((baseTime() * $('.dialog-overflow').height()) / parseInt($('.dialog-text').css('line-height'))) * 2.5 ) } if (textTime <= overflowTime) { @@ -380,12 +369,9 @@ function cgPage(page, flag) { 'background-image', "url('" + getResourceUrl('cg', getText(cgListSort[i])) + "')" ) - $('#cg-' + (j - page * 4)).click( - { str: getText(cgListSort[i]) }, - function (e) { - showCgOrigin(e.data.str) - } - ) + $('#cg-' + (j - page * 4)).click({ str: getText(cgListSort[i]) }, function (e) { + showCgOrigin(e.data.str) + }) $('#cg-' + (j - page * 4)).show() } else if (j >= (page + 1) * 4) { break @@ -412,12 +398,9 @@ function cgPage(page, flag) { 'background-image', "url('" + getResourceUrl('cg', getText(cgListSort[i])) + "')" ) - $('#cg-' + (j - page * 4)).click( - { str: getText(cgListSort[i]) }, - function (e) { - showCgOrigin(e.data.str) - } - ) + $('#cg-' + (j - page * 4)).click({ str: getText(cgListSort[i]) }, function (e) { + showCgOrigin(e.data.str) + }) $('#cg-' + (j - page * 4)).show() } else if (j >= (page + 1) * 4) { break @@ -492,9 +475,7 @@ function generate_all_characterData(name) { newCharacter['id'] = characterList[j].getAttribute('id') if (!characterData[newCharacter['id']]) { characterData[newCharacter['id']] = newCharacter - } else if ( - characterData[newCharacter['id']]['name'] != newCharacter['name'] - ) { + } else if (characterData[newCharacter['id']]['name'] != newCharacter['name']) { console.log( 'id-' + newCharacter['id'] + @@ -505,9 +486,7 @@ function generate_all_characterData(name) { '; in line ' + j ) - } else if ( - characterData[newCharacter['id']]['color'] != newCharacter['color'] - ) { + } else if (characterData[newCharacter['id']]['color'] != newCharacter['color']) { console.log( 'id-' + newCharacter['id'] + @@ -518,9 +497,7 @@ function generate_all_characterData(name) { '; in line ' + j ) - } else if ( - characterData[newCharacter['id']]['src'] != newCharacter['src'] - ) { + } else if (characterData[newCharacter['id']]['src'] != newCharacter['src']) { console.log( 'id-' + newCharacter['id'] + @@ -609,7 +586,7 @@ function checkTextScroll() { } return { scrollTop: scrollTop1, - textLenth: (baseTime() / 5) * ((scrollTop1 - scrollTop0) / lineHeight), + textLenth: (baseTime() / 5) * ((scrollTop1 - scrollTop0) / lineHeight) } } else if (scrollTop0 + showHeight < scrollHeight0 - lineHeight / 5) { return { scrollTop: scrollTop1, textLenth: baseTime() / 20 } //误差累积的情形 @@ -636,8 +613,7 @@ function Action(gotoScene, gotoAction, skipKey, loadKey2) { { duration: checkTextScroll_answer.textLenth, start: function () { - if (autoSpeed == 'auto' || autoSpeed == 'typing') - dialogAutoplayAutoStop('autotype') + if (autoSpeed == 'auto' || autoSpeed == 'typing') dialogAutoplayAutoStop('autotype') }, step: function () { if (autoSpeed == 'stop') { @@ -659,7 +635,7 @@ function Action(gotoScene, gotoAction, skipKey, loadKey2) { setListens(gotoScene, lastEventNode) //console.log("set: " + lastEventNode); } - }, + } } ) return @@ -682,10 +658,7 @@ function Action(gotoScene, gotoAction, skipKey, loadKey2) { ClearCharas() ClearDialog() if (thisScene.getAttribute('background')) { - if ( - thisScene.getAttribute('background') == 'black' || - thisScene.getAttribute('background') == 'white' - ) { + if (thisScene.getAttribute('background') == 'black' || thisScene.getAttribute('background') == 'white') { $('.background').css('background', thisScene.getAttribute('background')) } else { var size = '100%' @@ -696,11 +669,7 @@ function Action(gotoScene, gotoAction, skipKey, loadKey2) { .removeAttr('background') .css( 'background', - "url('" + - base_url + - '/resources/background/' + - thisScene.getAttribute('background') + - "') no-repeat" + "url('" + base_url + '/resources/background/' + thisScene.getAttribute('background') + "') no-repeat" ) //附加属性 white去除 否则会一瞬间跳白 .css('background-size', size + ' ' + size) .css('background-position', 'center') @@ -745,14 +714,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { } if (act.getAttribute('bg') != null) { $('.cgBackground') - .css( - 'background', - "url('" + - base_url + - '/resources/background/' + - act.getAttribute('bg') + - "') no-repeat" - ) + .css('background', "url('" + base_url + '/resources/background/' + act.getAttribute('bg') + "') no-repeat") .css('background-size', 'auto 100%') .css('background-position', 'center') .fadeIn(fadeInTimeCG) @@ -761,12 +723,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { } $('.cg') .unbind() - .css( - 'background', - "url('" + - getResourceUrl('cg', act.getAttribute('src')) + - "') no-repeat" - ) + .css('background', "url('" + getResourceUrl('cg', act.getAttribute('src')) + "') no-repeat") .css('background-size', 'auto 100%') .css('background-position', 'center') .fadeIn(fadeInTimeCG) @@ -803,22 +760,10 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { $('.screen') .css('background-color', color) - .css( - 'animation', - 'screenblink ' + time + 'ms linear 0s infinite forwards' - ) - .css( - '-moz-animation', - 'screenblink ' + time + 'ms linear 0s infinite forwards' - ) - .css( - '-webkit-animation', - 'screenblink ' + time + 'ms linear 0s infinite forwards' - ) - .css( - '-o-animation', - 'screenblink ' + time + 'ms linear 0s infinite forwards' - ) + .css('animation', 'screenblink ' + time + 'ms linear 0s infinite forwards') + .css('-moz-animation', 'screenblink ' + time + 'ms linear 0s infinite forwards') + .css('-webkit-animation', 'screenblink ' + time + 'ms linear 0s infinite forwards') + .css('-o-animation', 'screenblink ' + time + 'ms linear 0s infinite forwards') .show() setTimeout(function () { @@ -835,10 +780,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { return } var time = Number(act.getAttribute('time')) - var id = - act.getAttribute('position') == 'all' - ? 'all' - : 'character-' + act.getAttribute('position') + var id = act.getAttribute('position') == 'all' ? 'all' : 'character-' + act.getAttribute('position') var className = act.getAttribute('type') || 'shake' $('#' + id).addClass(className) setTimeout(function () { @@ -868,15 +810,11 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { thisTextTemp = act.innerHTML } else { $('.dialog').removeClass('dialog_article') - $('.dialog-overflow') - .removeClass('dialog-overflow_article') - .removeClass('dialog-overflow_article_center') + $('.dialog-overflow').removeClass('dialog-overflow_article').removeClass('dialog-overflow_article_center') } } else { $('.dialog').removeClass('dialog_article') - $('.dialog-overflow') - .removeClass('dialog-overflow_article') - .removeClass('dialog-overflow_article_center') + $('.dialog-overflow').removeClass('dialog-overflow_article').removeClass('dialog-overflow_article_center') } if (thisTextTemp == null) thisTextTemp = getText(act) tempAttribute = act.getAttribute('remark') @@ -898,9 +836,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { ClearDialog() //清除临时加载的格式 post_achievement_in_event(act) $('.dialog').removeClass('dialog_article') - $('.dialog-overflow') - .removeClass('dialog-overflow_article') - .removeClass('dialog-overflow_article_center') + $('.dialog-overflow').removeClass('dialog-overflow_article').removeClass('dialog-overflow_article_center') $('.dialog-chara').show() var chara = act.getAttribute('chara') var textColour = characterData[chara]['color'] @@ -935,13 +871,13 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { choices.push({ text: getText(choiceList[i]), continueScene: gotoScene, - continueAction: gotoAction, + continueAction: gotoAction }) //选择肢无影响 } else { choices.push({ text: getText(choiceList[i]), goto: choiceList[i].getAttribute('goto'), - change: choiceList[i].getAttribute('change'), + change: choiceList[i].getAttribute('change') }) } } @@ -965,11 +901,7 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { if (chara) { if (characterData[chara]) { var url = - "url('" + - base_url + - '/resources/chara/' + - characterData[chara]['src'] + - "') 50% 50% /auto 100% no-repeat" + "url('" + base_url + '/resources/chara/' + characterData[chara]['src'] + "') 50% 50% /auto 100% no-repeat" var positionLeft = [] positionLeft['mostleft'] = '-50' positionLeft['left'] = '-25' @@ -1057,18 +989,12 @@ function processAction(act, gotoScene, gotoAction, skipKey, loadKey2) { lastEventNode = gotoAction var bgm = $('#bgm')[0] if (act.getAttribute('status') == 'start') { - $('#bgm').attr( - 'src', - base_url + '/resources/sound/' + act.getAttribute('src') - ) + $('#bgm').attr('src', base_url + '/resources/sound/' + act.getAttribute('src')) if (!isNaN(bgm.duration)) bgm.currentTime = 0 bgm.play() } else if (act.getAttribute('status') == 'continue') { if (bgm.paused) { - $('#bgm').attr( - 'src', - base_url + '/resources/sound/' + act.getAttribute('src') - ) + $('#bgm').attr('src', base_url + '/resources/sound/' + act.getAttribute('src')) if (!isNaN(bgm.duration)) bgm.currentTime = 0 bgm.play() } @@ -1118,9 +1044,7 @@ function thanksWords() { function nextChapterBox() { $('#confirm_1') - .html( - `
    ` - ) + .html(`
    `) .css('background', "url('/novels/ae/ko-KR/end.png') no-repeat") .css('background-size', 'auto 100%') .css('background-position', 'center') @@ -1132,21 +1056,13 @@ function gotoA(sceneKey, change, skipKey) { var changeTime = 1000 if (change != null) { changeColour = change - if ( - change.indexOf('none') >= 0 || - change.indexOf('None') >= 0 || - change.indexOf('NONE') >= 0 || - change == '0' - ) { + if (change.indexOf('none') >= 0 || change.indexOf('None') >= 0 || change.indexOf('NONE') >= 0 || change == '0') { changeColour = null } } if (changeColour) dialogAutoplay('stop') //强制终止自动播放 $('.white').removeClass().addClass('white').hide() //容错 - $('.background') - .css('transition-duration', '0ms') - .css('transform', 'scale(1,1)') - .css('transform-origin', 'center') + $('.background').css('transition-duration', '0ms').css('transform', 'scale(1,1)').css('transform-origin', 'center') if (changeColour) { setListens() //单击暂时无响应 $('.white') @@ -1177,22 +1093,10 @@ function nextAction(nowScene, nowAction, nowKey) { }, 1) } -function RefreshDialog( - dialog_text, - gotoScene, - gotoAction, - typeLoad, - textColour -) { +function RefreshDialog(dialog_text, gotoScene, gotoAction, typeLoad, textColour) { $('.dialog-text').html(dialog_text) $('div.article-pic').css('background-image', function (n, v) { - return ( - "url('" + - base_url + - '/resources/background/' + - $('div.article-pic')[n].getAttribute('picsrc') + - "')" - ) + return "url('" + base_url + '/resources/background/' + $('div.article-pic')[n].getAttribute('picsrc') + "')" }) if (checkTextScroll() == null) { $('.dialog-overflow_article').addClass('dialog-overflow_article_center') //居中 @@ -1224,7 +1128,7 @@ function ShowDialog(mode, content) { { c1: content[i]['continueScene'], c2: content[i]['continueAction'], - c3: i, + c3: i }, function (e) { historyChoiceList[e.data.c2] = e.data.c3 // 记录非转场选择 @@ -1240,14 +1144,11 @@ function ShowDialog(mode, content) { choiceHtml = $('
  • ') .text(content[i]['text']) .addClass('choice radius shadow') - .click( - { g: content[i]['goto'], c: content[i]['change'] }, - function (e) { - gotoA(e.data.g, e.data.c) - $('.choice_list').hide() - $('.choice_list').html('') - } - ) + .click({ g: content[i]['goto'], c: content[i]['change'] }, function (e) { + gotoA(e.data.g, e.data.c) + $('.choice_list').hide() + $('.choice_list').html('') + }) $('.choice_list ul').append(choiceHtml) } else { @@ -1271,30 +1172,12 @@ function ShowDialog(mode, content) { } function ClearCharas() { - $('.character-back') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-mostleft') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-left') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-mostright') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-right') - .css('transition-duration', '') - .css('transform', '') - .html('') - $('.character-center') - .css('transition-duration', '') - .css('transform', '') - .html('') + $('.character-back').css('transition-duration', '').css('transform', '').html('') + $('.character-mostleft').css('transition-duration', '').css('transform', '').html('') + $('.character-left').css('transition-duration', '').css('transform', '').html('') + $('.character-mostright').css('transition-duration', '').css('transform', '').html('') + $('.character-right').css('transition-duration', '').css('transform', '').html('') + $('.character-center').css('transition-duration', '').css('transform', '').html('') $('.dialog-chara-text').html('') } @@ -1385,8 +1268,7 @@ function startGame(galgameKey, loadKey) { startLoad() //catalogListTemp 和 catalogListLength都是全局变量,注意 var xmlDoc = loadExistXmlFile('catalog_list', function () { - catalogListTemp = - xml_files_all_in_this['catalog_list'].getElementsByTagName('log') + catalogListTemp = xml_files_all_in_this['catalog_list'].getElementsByTagName('log') catalogListLength = catalogListTemp.length LoadFinish() startGame(galgameKey, loadKey) @@ -1532,10 +1414,7 @@ function preLoadImagesBegin(imageList) { var thisScene = sceneList[i] //场景列表在流程上已被读取 var thisBgFileName = thisScene.getAttribute('background') if (thisBgFileName.length) { - if ( - $.inArray(thisBgFileName, bgInSceneList) < 0 && - $.inArray('.', thisBgFileName) > 0 - ) { + if ($.inArray(thisBgFileName, bgInSceneList) < 0 && $.inArray('.', thisBgFileName) > 0) { bgInSceneList.push(thisBgFileName) } } @@ -1594,13 +1473,9 @@ function preLoadImagesBegin(imageList) { else if (imageList[i].getAttribute('type') == 'cg') continue else if (imageList[i].getAttribute('type') == 'background') continue var $tempImage = $('') - var tempSrc = getResourceUrl( - imageList[i].getAttribute('type'), - imageList[i].getAttribute('src') - ) + var tempSrc = getResourceUrl(imageList[i].getAttribute('type'), imageList[i].getAttribute('src')) - if (imageList[i].getAttribute('type') == 'www') - tempSrc = imageList[i].getAttribute('src') + if (imageList[i].getAttribute('type') == 'www') tempSrc = imageList[i].getAttribute('src') $tempImage .attr('src', tempSrc) .addClass('preload-image') @@ -1732,10 +1607,7 @@ function add_record() { $('#confirm_1').html( '
    ' ) - $('#confirm_1').css( - 'background', - "url('/novels/ae/ko-KR/quicksave.webp') no-repeat" - ) + $('#confirm_1').css('background', "url('/novels/ae/ko-KR/quicksave.webp') no-repeat") $('#confirm_1').css('background-size', 'auto 100%') $('#confirm_1').css('background-position', 'center') $('#confirm').fadeIn() @@ -1746,10 +1618,7 @@ function get_record() { $('#confirm_1').html( '
    ' ) - $('#confirm_1').css( - 'background', - "url('/novels/ae/ko-KR/quickload.webp') no-repeat" - ) + $('#confirm_1').css('background', "url('/novels/ae/ko-KR/quickload.webp') no-repeat") $('#confirm_1').css('background-size', 'auto 100%') $('#confirm_1').css('background-position', 'center') $('#confirm').fadeIn() @@ -1797,10 +1666,7 @@ function get_record_submit() { } function showCgOrigin(str) { - $('.showCgOrigin').css( - 'background-image', - "url('" + getResourceUrl('cg', str) + "')" - ) + $('.showCgOrigin').css('background-image', "url('" + getResourceUrl('cg', str) + "')") $('.showCgOrigin').fadeIn() } @@ -1818,16 +1684,7 @@ function browserRedirect() { var bIsAndroid = sUserAgent.match(/android/i) == 'android' var bIsCE = sUserAgent.match(/windows ce/i) == 'windows ce' var bIsWM = sUserAgent.match(/windows mobile/i) == 'windows mobile' - if ( - bIsIpad || - bIsIphoneOs || - bIsMidp || - bIsUc7 || - bIsUc || - bIsAndroid || - bIsCE || - bIsWM - ) { + if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) { return 'phone' } else { return 'pc' @@ -1851,20 +1708,14 @@ function check_size() { } winHeight = parseInt(winHeight) //通过深入Document内部对body进行检测,获取窗口大小 - if ( - document.documentElement && - document.documentElement.clientHeight && - document.documentElement.clientWidth - ) { + if (document.documentElement && document.documentElement.clientHeight && document.documentElement.clientWidth) { winHeight = document.documentElement.clientHeight winWidth = document.documentElement.clientWidth } $('html').css( 'font-size', $(window).width() / $(window).height() > 16 / 9 - ? ($(window).height() / ((9 / 16) * $(window).width())) * - (($(window).width() / 736) * 16.1) + - 'px' + ? ($(window).height() / ((9 / 16) * $(window).width())) * (($(window).width() / 736) * 16.1) + 'px' : ($(window).width() / 736) * 16.1 + 'px' ) $('.bottom').css('display', 'none') @@ -1887,13 +1738,7 @@ function check_size() { } // CUSTOM: requests XML from user-configurable xmlPath, if it fails, it'll fall back to main VN repo -function get_xml_ajax_async( - xmlName, - callBack, - fileType, - xmlFileURL, - first = true -) { +function get_xml_ajax_async(xmlName, callBack, fileType, xmlFileURL, first = true) { if (!xmlFileURL) { if (fileType) { xmlFileURL = xmlPath + xmlName + '.' + fileType @@ -1911,16 +1756,11 @@ function get_xml_ajax_async( }, error: function (XMLHttpRequest, textStatus, errorThrown) { if (first) { - get_xml_ajax_async( - xmlName, - callBack, - fileType, - xmlFileURL.replace(xmlPath, xmlPathDef) - ) + get_xml_ajax_async(xmlName, callBack, fileType, xmlFileURL.replace(xmlPath, xmlPathDef)) } else { callBack() } - }, + } }) } var loading_xml_files = new Array() @@ -1991,8 +1831,7 @@ function catalogPageNew(page, flag) { page = catalogPageIndex } var xmlDoc = loadExistXmlFile('catalog_list', function () { - catalogListTemp = - xml_files_all_in_this['catalog_list'].getElementsByTagName('log') + catalogListTemp = xml_files_all_in_this['catalog_list'].getElementsByTagName('log') catalogListLength = catalogListTemp.length catalogPageNew(page, flag) }) @@ -2019,20 +1858,12 @@ function catalogPageNew(page, flag) { flag_background = false $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - catalogListSort[i].getAttribute('picOne') + - ".jpg')" + "url('" + base_url + '/resources/background/' + catalogListSort[i].getAttribute('picOne') + ".jpg')" ) } $('#catalog-chap-' + (j - page * 2)).css( 'background-image', - "url('" + - base_url + - '/resources/catalog/t' + - getText(catalogListSort[i]) + - ".png')" + "url('" + base_url + '/resources/catalog/t' + getText(catalogListSort[i]) + ".png')" ) $('#catalog-content-' + (j - page * 2)) .removeClass('catalog-content-1A') @@ -2054,9 +1885,7 @@ function catalogPageNew(page, flag) { .removeClass('catalog-label_3_off') .unbind() $('#article-frame-' + (j - page * 2)).html( - '

    ' + - catalogListSort[i].getAttribute('quotationOne') + - '

    ' + '

    ' + catalogListSort[i].getAttribute('quotationOne') + '

    ' ) if (!catalogListSort[i].getAttribute('partThree')) { if (!catalogListSort[i].getAttribute('partTwo')) { @@ -2067,16 +1896,14 @@ function catalogPageNew(page, flag) { .click( { str: catalogListSort[i].getAttribute('id'), - sce: catalogListSort[i].getAttribute('partOne'), + sce: catalogListSort[i].getAttribute('partOne') }, function (ee) { startGame(ee.data.str, { S: ee.data.sce, A: 0 }) } ) } else { - $('#catalog-content-' + (j - page * 2)).addClass( - 'catalog-content-2Ab' - ) + $('#catalog-content-' + (j - page * 2)).addClass('catalog-content-2Ab') $('#catalog-label_1-' + (j - page * 2)) .addClass('catalog-label_1_on') .click( @@ -2087,21 +1914,15 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + '

    ' + e.data.quo + '

    ' ) $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-2Ba') @@ -2126,21 +1947,15 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + '

    ' + e.data.quo + '

    ' ) $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-2Ab') @@ -2160,7 +1975,7 @@ function catalogPageNew(page, flag) { .click( { str: catalogListSort[i].getAttribute('id'), - sce: catalogListSort[i].getAttribute('partOne'), + sce: catalogListSort[i].getAttribute('partOne') }, function (ee) { startGame(ee.data.str, { S: ee.data.sce, A: 0 }) @@ -2179,22 +1994,14 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" - ) - $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) + $('#article-frame-' + e.data.pos).html('

    ' + e.data.quo + '

    ') $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-3Bac') .removeClass('catalog-content-3Cab') @@ -2219,22 +2026,14 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" - ) - $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) + $('#article-frame-' + e.data.pos).html('

    ' + e.data.quo + '

    ') $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-3Abc') .removeClass('catalog-content-3Cab') @@ -2259,22 +2058,14 @@ function catalogPageNew(page, flag) { sc1: catalogListSort[i].getAttribute('partOne'), sc2: catalogListSort[i].getAttribute('partTwo'), sc3: catalogListSort[i].getAttribute('partThree'), - pos: j - page * 2, + pos: j - page * 2 }, function (e) { $('.catalog-wrapper-new').css( 'background-image', - "url('" + - base_url + - '/resources/background/' + - e.data.pic + - ".jpg')" - ) - $('#article-frame-' + e.data.pos).html( - '

    ' + - e.data.quo + - '

    ' + "url('" + base_url + '/resources/background/' + e.data.pic + ".jpg')" ) + $('#article-frame-' + e.data.pos).html('

    ' + e.data.quo + '

    ') $('#catalog-content-' + e.data.pos) .removeClass('catalog-content-3Abc') .removeClass('catalog-content-3Bac') @@ -2294,7 +2085,7 @@ function catalogPageNew(page, flag) { .click( { str: catalogListSort[i].getAttribute('id'), - sce: catalogListSort[i].getAttribute('partOne'), + sce: catalogListSort[i].getAttribute('partOne') }, function (ee) { startGame(ee.data.str, { S: ee.data.sce, A: 0 }) @@ -2443,9 +2234,7 @@ function showHistory() { historyTextBox.append(pHtml) } else if (thisEvent.nodeName == 'speak') { pHtml = $('

    ') - pHtml - .html(characterData[thisEvent.getAttribute('chara')]['name'] + ':') - .addClass('history-text') + pHtml.html(characterData[thisEvent.getAttribute('chara')]['name'] + ':').addClass('history-text') historyTextBox.append(pHtml) pHtml = $('

    ') pHtml.html(getText(thisEvent)).addClass('history-text') @@ -2474,8 +2263,7 @@ function showHistory() { } historyTextBox.children().addClass('history-text') - var scrollIndex = - $('.history-overflow')[0].scrollHeight - $('.history-overflow').height() + var scrollIndex = $('.history-overflow')[0].scrollHeight - $('.history-overflow').height() $('.history-overflow').scrollTop(scrollIndex) } @@ -2547,13 +2335,7 @@ function showremark() { } } $('div.article-pic').css('background-image', function (n, v) { - return ( - "url('" + - base_url + - '/resources/background/' + - $('div.article-pic')[n].getAttribute('picsrc') + - "')" - ) + return "url('" + base_url + '/resources/background/' + $('div.article-pic')[n].getAttribute('picsrc') + "')" }) remarkTextBox.children().addClass('history-text') $('.remark-overflow').scrollTop(0) @@ -2576,18 +2358,12 @@ function wrk_get_size() { var winHeight if (window.innerWidth) winWidth = window.innerWidth - else if (document.body && document.body.clientWidth) - winWidth = document.body.clientWidth + else if (document.body && document.body.clientWidth) winWidth = document.body.clientWidth //获取窗口高度 if (window.innerHeight) winHeight = window.innerHeight - else if (document.body && document.body.clientHeight) - winHeight = document.body.clientHeight + else if (document.body && document.body.clientHeight) winHeight = document.body.clientHeight //通过深入Document内部对body进行检测,获取窗口大小 - if ( - document.documentElement && - document.documentElement.clientHeight && - document.documentElement.clientWidth - ) { + if (document.documentElement && document.documentElement.clientHeight && document.documentElement.clientWidth) { winHeight = document.documentElement.clientHeight winWidth = document.documentElement.clientWidth } @@ -2611,11 +2387,7 @@ wrk_check_size() var achievementQueryString = '' if (GetQueryString('auth_key')) { if (GetQueryString('sign')) { - achievementQueryString = - '?auth_key=' + - GetQueryString('auth_key') + - '&sign=' + - GetQueryString('sign') + achievementQueryString = '?auth_key=' + GetQueryString('auth_key') + '&sign=' + GetQueryString('sign') } } //achievement------------------------------------------- @@ -2630,7 +2402,7 @@ function post_achievement(str_ach, callbackOne, callbackTwo) { data: { achievement: str_ach, chapter: now_galgame, - scene: now_scene, + scene: now_scene }, success: function (result) { ajax_answer_achievement = result @@ -2639,7 +2411,7 @@ function post_achievement(str_ach, callbackOne, callbackTwo) { error: function (XMLHttpRequest, textStatus, errorThrown) { ajax_answer_achievement = null if (callbackTwo) callbackTwo() - }, + } }) } @@ -2694,27 +2466,21 @@ function portraitPage(typeReturn) { var retcode = achievement_result['retcode'] var retcode_award = award_result['retcode'] if (retcode_award > 0) { - award_pic_url = - "url('" + base_url + "/resources/achievement/haveSentAward.png')" + award_pic_url = "url('" + base_url + "/resources/achievement/haveSentAward.png')" award_click_flag = false } else if (retcode_award < -100) { award_pic_url = '' award_click_flag = false } else { - award_pic_url = - "url('" + base_url + "/resources/achievement/clickSentAward.png')" + award_pic_url = "url('" + base_url + "/resources/achievement/clickSentAward.png')" award_click_flag = true } if (retcode > 0) { - var achievement_progress = - parseInt(achievement_result['progress'] * 100) + '%' - var achievement_progress_rem = - achievement_result['progress'] * 28.55 + 'rem' - var achievement_progress_text = - achievement_result['progress'] * 28.55 + 1.3 + 0.5 + 'rem' + var achievement_progress = parseInt(achievement_result['progress'] * 100) + '%' + var achievement_progress_rem = achievement_result['progress'] * 28.55 + 'rem' + var achievement_progress_text = achievement_result['progress'] * 28.55 + 1.3 + 0.5 + 'rem' var achievement_progress_text_r = 1.3 + 0.5 + 'rem' - var achievement_progress_icon = - achievement_result['progress'] * 28.55 - 1.3 + 'rem' + var achievement_progress_icon = achievement_result['progress'] * 28.55 - 1.3 + 'rem' achievement_list = achievement_result['achievement'] achievement_portraits = achievement_result['portrait'] //preload @@ -2745,12 +2511,7 @@ function portraitPage(typeReturn) { } achievementImageList.push('null_h.png') for (var j = 0; j < achievement_list.length; j++) { - if ( - $.inArray( - achievement_list[j]['image'] + '_h.png', - achievementImageList - ) < 0 - ) { + if ($.inArray(achievement_list[j]['image'] + '_h.png', achievementImageList) < 0) { achievementImageList.push(achievement_list[j]['image'] + '_h.png') } } @@ -2766,26 +2527,17 @@ function portraitPage(typeReturn) { $('.portrait-wrapper#portrait-frame').html('') var pHtml = $('
    ') pHtml.addClass('portrait-wrapper') - pHtml.css( - 'background-image', - "url('" + base_url + "/resources/achievement/sofaBack.png')" - ) + pHtml.css('background-image', "url('" + base_url + "/resources/achievement/sofaBack.png')") pHtml.css('z-index', '600') $('.portrait-wrapper#portrait-frame').append(pHtml) pHtml = $('
    ') pHtml.addClass('portrait-wrapper') - pHtml.css( - 'background-image', - "url('" + base_url + "/resources/achievement/sofaFrontLeft.png')" - ) + pHtml.css('background-image', "url('" + base_url + "/resources/achievement/sofaFrontLeft.png')") pHtml.css('z-index', '700') $('.portrait-wrapper#portrait-frame').append(pHtml) pHtml = $('
    ') pHtml.addClass('portrait-wrapper') - pHtml.css( - 'background-image', - "url('" + base_url + "/resources/achievement/sofaFrontRight.png')" - ) + pHtml.css('background-image', "url('" + base_url + "/resources/achievement/sofaFrontRight.png')") pHtml.css('z-index', '700') $('.portrait-wrapper#portrait-frame').append(pHtml) @@ -2805,11 +2557,7 @@ function portraitPage(typeReturn) { pHtml.addClass('portrait-wrapper') pHtml.css( 'background-image', - "url('" + - base_url + - '/resources/achievement/' + - achievement_portraits[i]['name'] + - ".png')" + "url('" + base_url + '/resources/achievement/' + achievement_portraits[i]['name'] + ".png')" ) pHtml.css('z-index', achievement_portraits[i]['index']) $('.portrait-wrapper#portrait-frame').append(pHtml) @@ -2853,14 +2601,11 @@ function exhibitionPage(page) { exhibition_index = Number(page) } var xmlDoc = loadExistXmlFile('exhibition_list', function () { - exhibition_list = - xml_files_all_in_this['exhibition_list'].getElementsByTagName('log') + exhibition_list = xml_files_all_in_this['exhibition_list'].getElementsByTagName('log') exhibitionPage(page) }) if (!xmlDoc) return - exhibition_last = Number( - exhibition_list[exhibition_list.length - 1].getAttribute('id') - ) + exhibition_last = Number(exhibition_list[exhibition_list.length - 1].getAttribute('id')) $('.pagenum#pagenum-5').removeClass('pagenum-gray') if (exhibition_index == 10010) { $('.pagenum#pagenum-5').addClass('pagenum-gray') @@ -2889,20 +2634,12 @@ function exhibitionPage(page) { pHtml_txt.html(achievement_list[j]['text']) pHtml_pic.css( 'background-image', - "url('" + - base_url + - '/resources/achievement/' + - achievement_list[j]['image'] + - "_h.png')" + "url('" + base_url + '/resources/achievement/' + achievement_list[j]['image'] + "_h.png')" ) if (exhibition_list[i].getAttribute('type') != 'end') { pHtml_tip.css( 'background-image', - "url('" + - base_url + - '/resources/achievement/' + - exhibition_list[i].getAttribute('type') + - "_b.png')" + "url('" + base_url + '/resources/achievement/' + exhibition_list[i].getAttribute('type') + "_b.png')" ) } break @@ -2915,26 +2652,15 @@ function exhibitionPage(page) { if (j >= achievement_list.length) { pHtml_txt.html('????????????????????') pHtml_txt.css('color', '#cccccc') - pHtml_pic.css( - 'background-image', - "url('" + base_url + "/resources/achievement/null_h.png')" - ) + pHtml_pic.css('background-image', "url('" + base_url + "/resources/achievement/null_h.png')") if (exhibition_list[i].getAttribute('type') != 'end') { pHtml_tip.css( 'background-image', - "url('" + - base_url + - '/resources/achievement/' + - exhibition_list[i].getAttribute('type') + - ".png')" + "url('" + base_url + '/resources/achievement/' + exhibition_list[i].getAttribute('type') + ".png')" ) } } - pHtml_box - .append(pHtml_pic) - .append(pHtml_tip) - .append(pHtml_tit) - .append(pHtml_txt) + pHtml_box.append(pHtml_pic).append(pHtml_tip).append(pHtml_tit).append(pHtml_txt) pHtml_box.addClass('exhibition-member') pHtml.append(pHtml_box) pHtml.addClass('achievement-list-member') diff --git a/public/novels/ae/ko-KR/index.html b/public/novels/ae/ko-KR/index.html index 74ccf8ba..0c035019 100644 --- a/public/novels/ae/ko-KR/index.html +++ b/public/novels/ae/ko-KR/index.html @@ -19,12 +19,12 @@ content="black-translucent" /> @@ -65,14 +65,14 @@
    @@ -83,7 +83,7 @@ @@ -267,25 +267,25 @@ diff --git a/public/novels/duriduri/en-US/gameDurandal.css b/public/novels/duriduri/en-US/gameDurandal.css index 24bfd863..0af1e474 100644 --- a/public/novels/duriduri/en-US/gameDurandal.css +++ b/public/novels/duriduri/en-US/gameDurandal.css @@ -22,9 +22,8 @@ li { @font-face { font-family: 'htmlHeitiFamily'; - src: local('STHeiTiSC'), local('Microsoft YaHei Light'), - local('Microsoft YaHei'), local('PingFang SC'), local('Noto Sans CJK SC'), - local('Droid Sans Fallback'); + src: local('STHeiTiSC'), local('Microsoft YaHei Light'), local('Microsoft YaHei'), local('PingFang SC'), + local('Noto Sans CJK SC'), local('Droid Sans Fallback'); } body { @@ -106,7 +105,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/background/bg.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/background/bg.jpg) center / auto 100% no-repeat; z-index: 520; display: none; @@ -118,7 +117,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/background/CG1.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/background/CG1.jpg) center / auto 100% no-repeat; z-index: 520; display: none; @@ -130,27 +129,27 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/dark.png) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/dark.png) center / auto 100% no-repeat; } .catalog-content-1A { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/A.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/A.png); } .catalog-content-2Ab { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Ab.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Ab.png); } .catalog-content-3Abc { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Abc.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Abc.png); } .catalog-content-2Ba { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Ba.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Ba.png); } .catalog-content-3Bac { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Bac.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Bac.png); } .catalog-content-3Cab { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Cab.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/Cab.png); } #catalog-content-0 { @@ -182,7 +181,7 @@ p { top: 6rem; height: 2rem; right: 3rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/go.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/go.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -218,7 +217,7 @@ p { top: 1.35rem; height: 1.5rem; left: 7.75rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_1_on.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_1_on.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -230,7 +229,7 @@ p { top: 1.35rem; height: 1.5rem; left: 7.75rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_1_off.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_1_off.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -243,7 +242,7 @@ p { top: 1.35rem; height: 1.5rem; left: 14.3rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_2_on.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_2_on.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -255,7 +254,7 @@ p { top: 1.35rem; height: 1.5rem; left: 14.3rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_2_off.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_2_off.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -268,7 +267,7 @@ p { top: 1.35rem; height: 1.5rem; left: 20.85rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_3_on.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_3_on.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -280,7 +279,7 @@ p { top: 1.35rem; height: 1.5rem; left: 20.85rem; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_3_off.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/catalog/label_3_off.png); background-repeat: no-repeat; background-position: center; background-size: 100%; @@ -293,7 +292,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/portraitBg.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/portraitBg.jpg) center / auto 100% no-repeat; z-index: 520; display: none; @@ -305,7 +304,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/listBG.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/listBG.jpg) center / auto 100% no-repeat; z-index: 1200; display: none; @@ -317,7 +316,7 @@ p { height: 100%; top: 0px; left: 0px; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/background/bg.jpg) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/background/bg.jpg) center / auto 100% no-repeat; z-index: 1300; display: none; @@ -348,7 +347,7 @@ p { width: 28.55rem; left: 0; bottom: 0; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/barBottom.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/barBottom.png); background-size: 28.55rem 2.1rem; background-position: left; background-repeat: no-repeat; @@ -372,7 +371,7 @@ p { height: 2.1rem; left: 0; bottom: 0; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/barTop.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/barTop.png); background-size: 28.55rem 2.1rem; background-position: left; background-repeat: no-repeat; @@ -385,7 +384,7 @@ p { bottom: -1.75rem; height: 4.5rem; width: 39.1rem; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/barFrame.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/barFrame.png); background-size: 39.1rem 4.5rem; background-position: left; background-repeat: no-repeat; @@ -398,7 +397,7 @@ p { width: 2.6rem; left: 0; bottom: -0.375rem; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/barIcon.png); + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/barIcon.png); background-size: 2.6rem 2.85rem; background-position: left; background-repeat: no-repeat; @@ -412,7 +411,7 @@ p { width: 5.9rem; right: 0.75rem; bottom: 0.65rem; - background: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/details.png) + background: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/details.png) center / auto 100% no-repeat; cursor: pointer; } @@ -566,7 +565,7 @@ p { height: 50%; top: 10%; left: 25%; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/common/horizon_hint.png') + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/common/horizon_hint.png') 100% 100% /100% auto no-repeat; } #confirm { @@ -668,7 +667,7 @@ p { top: 0; right: 0; z-index: 810; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/close.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/close.png'); background-size: 100% 100%; background-position: center; cursor: pointer; @@ -696,7 +695,7 @@ p { bottom: 6rem; right: 0; z-index: 810; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/remark.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/remark.png'); background-size: 100% 100%; background-position: center; } @@ -709,7 +708,7 @@ p { top: 0; right: 0; z-index: 810; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/close.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/close.png'); background-size: 100% 100%; background-position: center; cursor: pointer; @@ -723,7 +722,7 @@ p { top: 0; right: 0; z-index: 810; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/exit.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/exit.png'); background-size: 100% 100%; background-position: center; cursor: pointer; @@ -746,7 +745,7 @@ p { top: 0; left: 0; z-index: 810; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/save.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/save.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -760,7 +759,7 @@ p { top: 0; left: 6.4rem; z-index: 810; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/load.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/load.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -782,7 +781,7 @@ p { height: 100%; bottom: 0; left: 6.4rem; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/auto.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/auto.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -790,7 +789,7 @@ p { } .dialog-btn-autoplay-on { - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/auto_1.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/auto_1.png'); } .dialog-btn-history { @@ -799,7 +798,7 @@ p { height: 100%; top: 0; right: 0; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/log.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/log.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -812,7 +811,7 @@ p { height: 100%; top: 0; left: 0; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/skip.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/skip.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -820,7 +819,7 @@ p { } .dialog-btn-skip-on { - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/skip_1.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/skip_1.png'); } .menuscene { @@ -839,7 +838,7 @@ p { width: 100%; height: 100%; z-index: 0; - background: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/menu/fg.png'); + background: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/menu/fg.png'); background-size: auto 100%; } @@ -878,7 +877,7 @@ p { background-image: url('/novels/duriduri/en-US/history.png'); } .menu_btn_4 { - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/menu/achievement.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/menu/achievement.png'); } #loading { @@ -1366,7 +1365,7 @@ p { width: /*90%*/ 42rem; height: /*25%*/ 7rem; z-index: 210; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/dialog.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/dialog.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1377,7 +1376,7 @@ p { .dialog_article { height: 21rem; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/dialogBig.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/dialogBig.png'); } .history { @@ -1387,7 +1386,7 @@ p { width: 42rem; height: 21rem; z-index: 250; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/dialogBig.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/dialogBig.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1402,7 +1401,7 @@ p { width: 42rem; height: 21rem; z-index: 250; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/dialogBig.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/dialogBig.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1544,15 +1543,15 @@ p { .dialog-chara-line.dialog-chara-left { width: 1.14rem; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/Label-L.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/Label-L.png'); } .dialog-chara-line.dialog-chara-center { background-repeat: repeat; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/Label-M.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/Label-M.png'); } .dialog-chara-line.dialog-chara-right { width: 2.4rem; - background-image: url('https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/Label-R.png'); + background-image: url('https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/Label-R.png'); } .dialog-chara-padding { @@ -1738,16 +1737,16 @@ p { } .high { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/expression/high.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/expression/high.gif); } .low { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/expression/low.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/expression/low.gif); } .middle { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/expression/middle.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/expression/middle.gif); } .super { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/expression/super.gif); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/expression/super.gif); } ul li { @@ -1783,23 +1782,23 @@ ul li { } #pagenum-1 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/left.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/left.png); } #pagenum-2 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/right.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/right.png); } #pagenum-5 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/leftPage.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/leftPage.png); } #pagenum-6 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/rightPage.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/achievement/rightPage.png); } #pagenum-7 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/left.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/left.png); } #pagenum-8 { - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/right.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/ui/right.png); } .cg-frame { @@ -1820,7 +1819,7 @@ ul li { background-size: auto 88%; background-position: center; display: inline-block; - background-image: url(https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/common/cgclose.png); + background-image: url(https://act-webstatic.mihoyo.com/event_bh3_com/avg-anti-entropy/static_CN/baseDurandal/resources/common/cgclose.png); } .showCgOrigin { diff --git a/public/novels/duriduri/en-US/index.html b/public/novels/duriduri/en-US/index.html index 9bed15f0..08522f18 100644 --- a/public/novels/duriduri/en-US/index.html +++ b/public/novels/duriduri/en-US/index.html @@ -19,12 +19,12 @@ content="black-translucent" /> @@ -61,7 +61,7 @@