diff --git a/css/animation.min.css b/css/animation.min.css deleted file mode 100644 index c8e8ae9..0000000 --- a/css/animation.min.css +++ /dev/null @@ -1 +0,0 @@ -@keyframes fade-in{0%{opacity:0;backdrop-filter:blur(0)}100%{opacity:1;backdrop-filter:blur(10px)}}@-webkit-keyframes fade-in{0%{opacity:0;backdrop-filter:blur(0)}100%{opacity:1;backdrop-filter:blur(10px)}}@-moz-keyframes fade-in{0%{opacity:0;backdrop-filter:blur(0)}100%{opacity:1;backdrop-filter:blur(10px)}}@-o-keyframes fade-in{0%{opacity:0;backdrop-filter:blur(0)}100%{opacity:1;backdrop-filter:blur(10px)}}@keyframes fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fade{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fade{0%{opacity:0}100%{opacity:1}}@-o-keyframes fade{0%{opacity:0}100%{opacity:1}} \ No newline at end of file diff --git a/css/cursor.css b/css/cursor.css index 04c74fd..b791917 100644 --- a/css/cursor.css +++ b/css/cursor.css @@ -3,9 +3,9 @@ width: 18px; height: 18px; background: #ffffffcc; - border-radius: 50%; + border-radius: 8px; opacity: 0.25; - z-index: 99999999; + z-index: 10086; pointer-events: none; transition: 0.2s ease-in-out; transition-property: background, opacity, transform; @@ -23,8 +23,4 @@ #cursor.active { opacity: 0.5; transform: scale(0.5); -} - -* { - cursor: url("data:image/svg+xml,") 4 4, auto !important; } \ No newline at end of file diff --git a/css/cursor.min.css b/css/cursor.min.css deleted file mode 100644 index bb37542..0000000 --- a/css/cursor.min.css +++ /dev/null @@ -1 +0,0 @@ -#cursor{position:fixed;width:18px;height:18px;background:#ffffffcc;border-radius:50%;opacity:.25;z-index:99999999;pointer-events:none;transition:.2s ease-in-out;transition-property:background,opacity,transform}#cursor.hidden{opacity:0}#cursor.hover{opacity:.1;transform:scale(2.5)}#cursor.active{opacity:.5;transform:scale(.5)}*{cursor:url("data:image/svg+xml,") 4 4,auto!important} \ No newline at end of file diff --git a/css/firefox.min.css b/css/firefox.min.css deleted file mode 100644 index 69ed436..0000000 --- a/css/firefox.min.css +++ /dev/null @@ -1 +0,0 @@ -.box-wrapper,.hitokoto,.link-card,.message,.more,.music,.time,footer{background:rgba(0,0,0,.3)}.link-card:hover{background:rgb(0,0,0,.4)}.progress{background:rgba(0,0,0,.2)!important} \ No newline at end of file diff --git a/css/font.css b/css/font.css index d31401e..2178e9a 100644 --- a/css/font.css +++ b/css/font.css @@ -10,13 +10,12 @@ @font-face { font-family: "MiSans"; - /* src: url('../font/MiSans-Regular.woff') format('woff'); */ src: url('https://file.imsyy.top/font/MiSans-Regular.woff') format('woff'); + font-display: sans-serif; } @font-face { font-family: "iconfont"; - /* Project id 2831425 */ src: url('../font/iconfont.woff2') format('woff2'), url('../font/iconfont.woff') format('woff'), url('../font/iconfont.ttf') format('truetype'); diff --git a/css/font.min.css b/css/font.min.css deleted file mode 100644 index 234bd15..0000000 --- a/css/font.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Pacifico-Regular;src:url(../font/Pacifico-Regular.ttf) format('truetype')}@font-face{font-family:UnidreamLED;src:url(../font/UnidreamLED.ttf) format('truetype')}@font-face{font-family:MiSans;src:url(https://file.imsyy.top/font/MiSans-Regular.woff) format('woff')}@font-face{font-family:iconfont;src:url(../font/iconfont.woff2) format('woff2'),url(../font/iconfont.woff) format('woff'),url(../font/iconfont.ttf) format('truetype')}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-z_shangpinheji:before{content:"\e683"}.icon-a-daohangzhiyindingwei-05:before{content:"\e970"}.icon-volume-x:before{content:"\e67a"}.icon-volume-1:before{content:"\e67b"}.icon-volume:before{content:"\e67c"}.icon-volume-2:before{content:"\e67d"}.icon-music:before{content:"\e986"}.icon-next-one:before{content:"\e609"}.icon-next-one-copy:before{content:"\ebd5"}.icon-pause:before{content:"\e733"}.icon-play:before{content:"\e65c"}.icon-undo:before{content:"\e875"}.icon-wrench-fill:before{content:"\e86e"}.icon-plus:before{content:"\e653"}.icon-right:before{content:"\e613"}.icon-right-copy:before{content:"\ebd4"}.icon-times:before{content:"\e857"}.icon-bars:before{content:"\e61f"}.icon-link:before{content:"\e603"}.icon-close:before{content:"\e656"}.icon-photo:before{content:"\ebd3"}.icon-navigation1:before{content:"\e637"}.icon-cloud:before{content:"\e624"}.icon-lab:before{content:"\e88d"}.icon-blog-solid:before{content:"\e631"}.icon-comment-alt-lines:before{content:"\e679"}.icon-music-list:before{content:"\e699"}.icon-youxiang:before{content:"\e605"}.icon-github:before{content:"\e691"}.icon-telegram1:before{content:"\e731"}.icon-QQ:before{content:"\e882"}.icon-twitter:before{content:"\e883"}.icon-github1:before{content:"\e799"}.icon-weixin:before{content:"\e600"}.icon-telegram:before{content:"\e8db"}.icon-yinhao-copy:before{content:"\e608"}.icon-yinhao-copy-copy:before{content:"\e62e"} \ No newline at end of file diff --git a/css/lantern.min.css b/css/lantern.min.css deleted file mode 100644 index 183cd9c..0000000 --- a/css/lantern.min.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.lantern__warpper{position:fixed;top:12px;left:40px;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:999}.lantern__warpper.lantern__secondary{left:calc(100% - 130px)}.lantern__warpper.lantern__secondary .lantern__box{-webkit-animation-duration:3s;animation-duration:3s}.lantern__box{position:relative;display:inline-block;width:90px;height:70px;background:rgba(216,0,15,.8);border-radius:50% 50%;animation:lantern-swing 3s ease-in-out infinite alternate-reverse;-webkit-transform-origin:50% -70px;-ms-transform-origin:50% -70px;transform-origin:50% -70px;-webkit-box-shadow:-5px 5px 50px 4px #fa6c00;box-shadow:-5px 5px 50px 4px #fa6c00}.lantern__box:after,.lantern__box:before{content:"";position:absolute;height:8px;width:45px;left:50%;border:1px solid #dc8f03;background:-webkit-gradient(linear,left top,right top,from(#dc8f03),color-stop(orange),color-stop(#dc8f03),color-stop(orange),to(#dc8f03));background:-o-linear-gradient(left,#dc8f03,orange,#dc8f03,orange,#dc8f03);background:linear-gradient(90deg,#dc8f03,orange,#dc8f03,orange,#dc8f03)}.lantern__box:before{top:0;border-radius:5px 5px 0 0;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.lantern__box:after{bottom:0;border-radius:0 0 5px 5px;-webkit-transform:translate(-50%,50%);-ms-transform:translate(-50%,50%);transform:translate(-50%,50%)}.lantern__line{position:absolute;width:2px;height:12px;top:0;left:50%;-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);background:#dc8f03}.lantern__circle{width:80%;-webkit-box-sizing:border-box;box-sizing:border-box}.lantern__circle,.lantern__circle .lantern__ellipse{height:100%;margin:0 auto;border-radius:50%;border:2px solid #dc8f03}.lantern__circle .lantern__ellipse{width:50%}.lantern__circle .lantern__text{font-family:华文行楷,Microsoft YaHei,sans-serif;font-size:24.3px;color:#dc8f03;font-weight:700;line-height:66px;text-align:center}.lantern__tail{position:relative;width:4px;height:12px;margin:0 auto;animation:lantern-swing 3s ease-in-out infinite alternate-reverse;background:orange;border-radius:0 0 5px 5px}.lantern__tail .lantern__junction{position:absolute;top:0;left:50%;width:8px;height:8px;-webkit-transform:translate(-50%,8.4px);-ms-transform:translate(-50%,8.4px);transform:translate(-50%,8.4px);background:#e69603;border-radius:50%}.lantern__tail .lantern__rect{position:absolute;top:0;left:50%;-webkit-transform:translate(-50%,10.8px);-ms-transform:translate(-50%,10.8px);transform:translate(-50%,10.8px);width:8px;height:24px;background:orange;border-radius:5px 5px 0 5px}@-webkit-keyframes lantern-swing{0%{-webkit-transform:rotate(-8deg);transform:rotate(-8deg)}to{-webkit-transform:rotate(8deg);transform:rotate(8deg)}}@keyframes lantern-swing{0%{-webkit-transform:rotate(-8deg);transform:rotate(-8deg)}to{-webkit-transform:rotate(8deg);transform:rotate(8deg)}}@media (max-width:460px){.lantern__warpper{top:8px;left:30px}.lantern__warpper.lantern__secondary{left:calc(100% - 80px)}.lantern__box{width:50px;height:40px;-webkit-transform-origin:50% -40px;-ms-transform-origin:50% -40px;transform-origin:50% -40px;-webkit-box-shadow:-5px 5px 50px -1px #fa6c00;box-shadow:-5px 5px 50px -1px #fa6c00}.lantern__box:after,.lantern__box:before{height:4px;width:25px}.lantern__line{width:2px;height:8px}.lantern__circle .lantern__text{font-size:13.5px;line-height:38px}.lantern__tail{width:4px;height:8px}.lantern__tail .lantern__junction{width:8px;height:8px;-webkit-transform:translate(-50%,5.6px);-ms-transform:translate(-50%,5.6px);transform:translate(-50%,5.6px)}.lantern__tail .lantern__rect{-webkit-transform:translate(-50%,7.2px);-ms-transform:translate(-50%,7.2px);transform:translate(-50%,7.2px);width:8px;height:16px}}@media screen and (max-width:720px){.lantern__warpper{display:none}} \ No newline at end of file diff --git a/css/loading.min.css b/css/loading.min.css deleted file mode 100644 index 3f7ad2f..0000000 --- a/css/loading.min.css +++ /dev/null @@ -1 +0,0 @@ -#loading-box .loading-left-bg,#loading-box .loading-right-bg{position:fixed;z-index:999998;width:50%;height:100%;background-color:rgb(81 81 81 / 80%);transition:all .7s cubic-bezier(.42,0,0,1.01);backdrop-filter:blur(10px)}#loading-box .loading-right-bg{right:0}#loading-box>.spinner-box{position:fixed;z-index:999999;display:flex;justify-content:center;align-items:center;width:100%;height:100vh}#loading-box .spinner-box .loading-word{position:absolute;color:#fff;font-size:.95rem;transform:translateY(64px);text-align:center}p.loading-title{font-size:1.25rem;margin:20px 10px 4px 10px}#loading-box .spinner-box .configure-core{width:100%;height:100%;background-color:#37474f}div.loaded div.loading-left-bg{transform:translate(-100%,0)}div.loaded div.loading-right-bg{transform:translate(100%,0)}div.loaded div.spinner-box{display:none!important}.loader{position:absolute;top:calc(50% - 32px);left:calc(50% - 32px);width:64px;height:64px;border-radius:50%;perspective:800px;transition:all .7s cubic-bezier(.42,0,0,1.01)}.inner{position:absolute;box-sizing:border-box;width:100%;height:100%;border-radius:50%}.inner.one{left:0;top:0;animation:rotate-one 1s linear infinite;border-bottom:3px solid #efeffa}.inner.two{right:0;top:0;animation:rotate-two 1s linear infinite;border-right:3px solid #efeffa}.inner.three{right:0;bottom:0;animation:rotate-three 1s linear infinite;border-top:3px solid #efeffa}@keyframes rotate-one{0%{transform:rotateX(35deg) rotateY(-45deg) rotateZ(0)}100%{transform:rotateX(35deg) rotateY(-45deg) rotateZ(360deg)}}@keyframes rotate-two{0%{transform:rotateX(50deg) rotateY(10deg) rotateZ(0)}100%{transform:rotateX(50deg) rotateY(10deg) rotateZ(360deg)}}@keyframes rotate-three{0%{transform:rotateX(35deg) rotateY(55deg) rotateZ(0)}100%{transform:rotateX(35deg) rotateY(55deg) rotateZ(360deg)}} \ No newline at end of file diff --git a/css/mobile.min.css b/css/mobile.min.css deleted file mode 100644 index 2af2ae8..0000000 --- a/css/mobile.min.css +++ /dev/null @@ -1 +0,0 @@ -@charset "utf-8";@media (max-width:1200px){.container,.container-lg,.container-md,.container-sm{max-width:1000px!important}.weekday{display:none}.music-text{max-width:170px!important}}@media (max-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:900px!important}.col.left{margin-right:.75rem}.col.right{margin-left:.75rem}.col.hitokotos{display:none}.col.times{margin-left:0}.weekday{display:inline}.main-img img{width:110px}span.img-title{font-size:4.75rem}span.img-text{font-size:1.75rem}span.link-name{display:none!important}.link-card i{margin-left:10px!important;margin-right:10px!important}}@media (max-width:840px){.social{max-width:100%;justify-content:center}#link-text{display:none!important}.link i{margin:0 20px}}@media (max-width:789px){span.img-text{display:none}}@media (max-width:768px){.main-img img{width:100px}span.img-title{font-size:4.5rem}}@media (max-width:720px){.main-left{transform:translateY(20px)}.col.left{margin-right:0}.col.right{display:none}.col.right{margin-left:0}span.img-text{display:inline}.message{max-width:100%;pointer-events:none}.link-card{height:80px!important;align-items:center!important;flex-direction:column!important;justify-content:center!important}.link-card i{font-size:1.75rem}i.iconfont.icon-a-daohangzhiyindingwei-05,i.iconfont.icon-z_shangpinheji{font-size:1.65rem}span.link-name{display:block!important;font-size:.85rem}.link-card:hover span.link-name{font-size:.95rem}i.iconfont.icon-link,span.line-text{font-size:1.05rem}.menu{display:flex;justify-content:center;position:fixed;top:84%}.munu-button{padding:5px 20px;background:rgb(0 0 0 / 20%);backdrop-filter:blur(10px);border-radius:6px;font-size:1.25rem;transition:.5s;width:60px;display:flex;justify-content:center;align-items:center;height:40px}footer{font-size:.85rem}.col.hitokotos{margin-right:0}.hitokoto-from,.hitokoto-text{font-size:1.05rem}.music-text{max-width:100%!important}#music-name{font-size:1.05rem}#music-open{display:none}#cursor{background:0 0!important}}@media (max-width:390px){.main-img img{display:none}}@media (min-width:568px){.iziToast{border-radius:30px!important}}@media (min-width:720px){.menu{display:none!important}}@media (min-width:992px){span#win_speed,span#win_text{display:none}}@media (min-width:1400px){span#win_speed,span#win_text{display:inline!important}}.menus .col.left{display:none}.menus .col.right{display:block!important;transition:.5s;padding:0 .75rem}.menus .col.hitokotos{display:block}.menus .col.times{display:none}.menus .row{--bs-gutter-x:0rem}.menus .col.\32{margin:0 .75rem}.menus .logo{display:inline!important;text-align:center;position:fixed;top:8%;font-size:1.75rem}.logo-text{font-family:Pacifico-Regular!important}#link-text,.close,.hitokoto,.line,.link-card,.logo,.main-img,.message,.social,.time{animation:fade .5;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}.mobile .col.hitokotos{display:none}.mobile .col.times{display:block} \ No newline at end of file diff --git a/css/style.css b/css/style.css index a57f7b3..0bd4b7c 100644 --- a/css/style.css +++ b/css/style.css @@ -20,6 +20,7 @@ p { font-family: 'MiSans', sans-serif; } + a:hover { color: white; } @@ -501,6 +502,7 @@ span.link-name { .link-card:hover span.link-name { font-size: 1.15rem; + transition: 0.1s; } i.iconfont.icon-a-daohangzhiyindingwei-05, @@ -709,7 +711,8 @@ i.iconfont.icon-github1 { border-color: #eeeeee !important; } -.btn-check:focus+.btn, .btn:focus { +.btn-check:focus+.btn, +.btn:focus { box-shadow: none !important; } diff --git a/css/style.min.css b/css/style.min.css deleted file mode 100644 index 90db696..0000000 --- a/css/style.min.css +++ /dev/null @@ -1 +0,0 @@ -@charset "utf-8";body,html{width:100%;height:100%;margin:0;padding:0;background-color:#333}*,a,p{text-decoration:none;transition:.3s;color:#efefef;user-select:none;font-family:MiSans,sans-serif}a:hover{color:#fff}.cards{transition:.5s}.cards:hover{transform:scale(1.01);transition:.5s}.cards:active{transform:scale(.95);transition:.5s}.noscript{z-index:999999;font-size:.95rem;text-align:center;margin:14px 0}.bg-all{z-index:-1;position:absolute;top:calc(0px + 0px);left:0;width:100%;height:calc(100% - 0px);transition:.25s}#bg{transform:scale(1.1);filter:blur(10px);position:fixed;left:0;top:0;width:100%;height:100%;object-fit:cover;transition:opacity 1s,transform .25s,filter .25s;backface-visibility:hidden}img.error{display:none}.cover{opacity:0;position:fixed;left:0;top:0;width:100%;height:100%;background-image:radial-gradient(rgba(0,0,0,0) 0,rgba(0,0,0,.5) 100%),radial-gradient(rgba(0,0,0,0) 33%,rgba(0,0,0,.3) 166%);transition:.25s}section{display:block;position:fixed;width:100%;height:100%;min-height:600px;transform:scale(1.1);transition:ease 1.25s;opacity:0;filter:blur(10px)}main{width:100%;height:100%;background:rgb(0 0 0 / 20%);display:flex}.container{width:100%;display:flex;justify-content:space-around}.row{align-items:center;justify-content:center;width:100%;--bs-gutter-x:0!important}.col.\32{margin:0 1.5rem}.main-left{transform:translateY(40px)}.row.rightone{display:flex;align-items:center}.main-img{display:flex;align-items:center}.main-img img{border-radius:50%;width:120px}.main-img img:hover{transform:rotate(360deg)}.img-title{width:100%;margin-left:12px;transform:translateY(-8%)}span.img-title{font-size:5rem;font-family:Pacifico-Regular!important}span.img-text{font-size:2rem;font-family:Pacifico-Regular!important}.message{background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:1rem;border-radius:6px;margin-top:3.5rem;max-width:460px;cursor:pointer}.des{display:flex;justify-content:space-between}.des-title{margin:1rem 1rem;line-height:2rem}span#change{font-family:Pacifico-Regular!important}i.iconfont.icon-yinhao-copy{align-self:flex-end}.social{margin-top:1rem;display:flex;align-items:center;max-width:460px}.link i{font-size:1.75rem;margin:0 10px}#link-text{display:none;flex:1;text-align:right;margin-right:1rem}.col.hitokotos{margin-right:.75rem}.hitokoto{width:100%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:20px;border-radius:6px;height:165px;display:flex;justify-content:center;flex-direction:column}.hitokoto-all{margin-top:10px;display:flex;flex-direction:column}.hitokoto-text{font-size:1.1rem}#hitokoto_text{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hitokoto-from{margin-top:10px;font-weight:700;align-self:flex-end;font-size:1.1rem}.open-music{display:none;justify-content:center;background:rgb(0 0 0 / 15%);padding:4px 0;font-size:.95rem;animation:fade;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}.open-music:hover{background:rgb(0 0 0 / 30%)}#music{display:none}.music{width:100%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:20px;border-radius:6px;height:165px;display:flex;justify-content:center;flex-direction:column;animation:fade;-webkit-animation:fade .3s;-moz-animation:fade .3s;-o-animation:fade .3s;-ms-animation:fade .3s}.music-all{display:flex;flex-direction:column;align-items:center;justify-content:space-around;height:100%}.music-button{display:flex;align-items:center;margin-bottom:6px}.music-control{display:flex;flex-direction:row;align-items:center;justify-content:space-evenly;width:100%}.music-menu{height:26px;display:flex;align-items:center}i.iconfont.icon-pause,i.iconfont.icon-play{font-size:2.25rem;padding:6px;border-radius:6px}i.iconfont.icon-pause:hover,i.iconfont.icon-play:hover{background:rgb(255 255 255 / 20%);padding:6px;border-radius:6px}i#last,i#next{font-size:2rem}.music-text{margin-top:6px;font-size:1.1rem;text-overflow:ellipsis;max-width:220px;overflow-x:hidden;white-space:nowrap;animation:fade;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}#music-close,#music-open{background:rgb(255 255 255 / 15%);padding:2px 8px;border-radius:6px;margin:0 6px;text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}#music-close:hover,#music-open:hover{background:rgb(255 255 255 / 30%)}.music-volume{margin-top:6px;display:flex;align-items:center;flex-direction:row;animation:fade;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}#volume-ico{padding-top:1px;margin-right:6px}.music-volume i{font-size:1.75rem}input[type=range]{-webkit-appearance:none;width:100%;border-radius:10px;height:8px;background:rgb(255 255 255 / 15%)}input[type=range]::-moz-range-thumb,input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}input[type=range]::-moz-range-track,input[type=range]::-webkit-slider-runnable-track{height:15px;border-radius:10px}input[type=range]:focus{outline:0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:15px;width:15px;background:#fff;border-radius:50%}.col.times{margin-left:.75rem}.time{width:100%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:20px;border-radius:6px;text-align:center;display:flex;flex-direction:column;height:165px;font-size:1.1rem}span.time-text{font-size:3.25rem;letter-spacing:2px;font-family:UnidreamLED!important}.line{margin:1rem .25rem;margin-top:2rem;font-size:1.1rem;display:flex;align-items:center}span.line-text{font-size:1.2rem;margin:0 6px}i.iconfont.icon-link{font-size:1.2rem}.link-card{height:100px;width:100%;border-radius:6px;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);display:flex;align-items:center;flex-direction:row;justify-content:center}.link-card i{margin-left:0;font-size:2.2rem}.link-card:hover{background:rgb(0 0 0 / 40%);transition:.5s}span.link-name{font-size:1.1rem}.link-card:hover span.link-name{font-size:1.15rem}i.iconfont.icon-a-daohangzhiyindingwei-05,i.iconfont.icon-z_shangpinheji{font-size:2rem}.more{display:none!important;width:46%;z-index:999;position:fixed;height:82%;right:4%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);top:7%;border-radius:6px;padding:30px}.mores .more{display:flex!important;justify-content:space-evenly;flex-direction:column;align-items:center;animation:fade;-webkit-animation:fade .3s;-moz-animation:fade .3s;-o-animation:fade .3s;-ms-animation:fade .3s}.mores .col.right{display:none}.close{display:none;left:auto;top:4px;right:8px;font-size:1.45rem}.close:hover{transform:scale(1.2)}.progress{width:100%;height:20px;align-items:center;background:rgb(0 0 0 / 0%)!important;backdrop-filter:blur(5px)}.progress-bar{font-family:UnidreamLED!important;background-color:#efefef!important;color:rgb(86 77 89)!important;font-size:.95rem;height:20px}.date{width:100%}.date-text{margin:1rem 0 .5rem 0}.mores .link-card{height:48px!important}.box-left{flex:0 44%;min-width:400px}.box{position:fixed;left:0;right:0;top:0;bottom:0;z-index:1996;background-color:rgba(0,0,0,.5);backdrop-filter:blur(20px);animation:fade .3s}.box-wrapper{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1997;width:80%;height:80%;background:rgb(255 255 255 / 40%);border-radius:6px;-webkit-animation:fade .3s;animation:fade .3s;padding:40px;display:flex;flex-direction:row;justify-content:space-between}#accordion{min-width:360px;margin-right:40px;margin-top:20px;margin-left:14px;border-radius:8px;box-shadow:0 2px 2px 0 rgb(0 0 0 / 7%),0 1px 5px 0 rgb(0 0 0 / 10%)}.accordion-item{background-color:transparent!important;border:none!important}.accordion-item:first-of-type .accordion-button{border-radius:8px}.accordion-button{color:#fff!important;background-color:transparent;transition:.3s}.accordion-button:focus{border-color:#ffffff26!important;outline:0!important;box-shadow:none!important;border-radius:8px;transition:.3s}.accordion-button:not(.collapsed){background-color:#ffffff26;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;font-weight:700;transition:.3s}.accordion-button::after{border-radius:8px;background-image:none!important}.accordion-body{padding:1rem 0!important;background-color:#ffffff10}.closebox{left:auto;top:10px;right:16px}.closebox:hover{transform:scale(1.2)}i.iconfont.icon-close,i.iconfont.icon-github1{font-size:1.45rem}.set{display:flex;flex-direction:column;padding:0 1.5rem}.btn-group,.btn-group-vertical{margin-top:10px}.btn-outline-primary{color:#eee!important;border-color:#ffffff26!important}.btn-outline-primary:hover{background-color:#ffffff26!important;border-color:#eee!important}.btn-check:focus+.btn,.btn:focus{box-shadow:none!important}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{background-color:#ffffff26!important;border-color:#eee!important}#wallpaper{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap}.form-radio{flex:1 1 0%;width:31.3%;min-width:31.3%;max-width:31.3%;text-align:center;margin:1%}input[type=radio]+label{padding:6px 10px;background:#ffffff26;border-radius:8px;transition:.3s;border:2px solid transparent;width:100%}input[type=radio]:checked+label{background:#ffffff06;border:2px solid #eee}.upnote{display:flex;flex-direction:column;padding:0 1.5rem;height:156px;overflow-y:auto}.uptext{line-height:32px}.box-right{flex:0 54%;display:flex;flex-direction:row;justify-content:center;align-items:center}.aplayer{background:0 0!important;width:100%;border-radius:6px!important;margin-right:18px}.aplayer.aplayer-withlrc .aplayer-pic{display:none}.aplayer.aplayer-withlrc .aplayer-info{margin-left:0!important}.aplayer.aplayer-withlrc .aplayer-info{background-color:#ffffff26;border-radius:6px}.aplayer .aplayer-info .aplayer-music .aplayer-title{font-size:16px!important}.aplayer.aplayer-withlist .aplayer-list{margin-top:6px}.aplayer .aplayer-list ol li.aplayer-list-light{background:#ffffff26!important;border-radius:6px!important}.aplayer .aplayer-list ol li:hover{background:#ffffff26!important;border-radius:6px!important}.aplayer .aplayer-list ol li{border-top:1px solid transparent!important}.aplayer.aplayer-withlist .aplayer-info{border-bottom:1px solid transparent!important}.aplayer-list-cur{background-color:#eee!important}.aplayer .aplayer-info .aplayer-controller{display:none!important}.aplayer .aplayer-lrc{margin:4px 0 0!important;height:34px!important}.aplayer .aplayer-lrc{text-align:left!important;margin-left:5px!important}.aplayer .aplayer-lrc p.aplayer-lrc-current{font-size:14.5px!important}.aplayer .aplayer-info .aplayer-music .aplayer-author,.aplayer .aplayer-info .aplayer-music .aplayer-title,.aplayer .aplayer-lrc p,span.aplayer-list-author,span.aplayer-list-index,span.aplayer-list-title{color:#fff!important}.aplayer .aplayer-lrc:after,.aplayer .aplayer-lrc:before{background:0 0!important}i.iconfont.icon-bars,i.iconfont.icon-times{font-size:1.25rem}footer{text-align:center;height:46px;backdrop-filter:blur(10px);background:rgb(0 0 0 / 25%)}.power{line-height:46px;color:#eee;animation:fade;-webkit-animation:fade .75s;-moz-animation:fade .75s;-o-animation:fade .75s;-ms-animation:fade .75s}#lrc{display:none;line-height:46px;color:#eee;animation:fade;-webkit-animation:fade .75s;-moz-animation:fade .75s;-o-animation:fade .75s;-ms-animation:fade .75s}.iziToast{backdrop-filter:blur(10px)!important}.iziToast>.iziToast-body .iziToast-title{font-size:16px!important}.iziToast-body .iziToast-message{line-height:18px!important}.iziToast>.iziToast-body .iziToast-message{margin:6px 0 4px 0!important}.iziToast:after{box-shadow:none!important}.iziToast>.iziToast-body .iziToast-texts{margin:6px 6px!important;display:flex!important;align-items:center}.iziToast-message{word-break:break-all!important}.iziToast>.iziToast-close{background:url(https://cdn.jsdelivr.net/gh/imsyy/file/pic/close.png) no-repeat 50% 50%!important;background-size:8px!important}::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}::-webkit-scrollbar-thumb{border-radius:10px;background-color:#eee} \ No newline at end of file diff --git a/index.html b/index.html index bbe2ce7..1091254 100644 --- a/index.html +++ b/index.html @@ -15,15 +15,19 @@ 無名の主页 + + - - - - - - + + + + + + @@ -36,6 +40,7 @@ crossorigin="anonymous" referrerpolicy="no-referrer" /> + - - - - + + + + + diff --git a/js/Meting.js b/js/Meting.js new file mode 100644 index 0000000..926c452 --- /dev/null +++ b/js/Meting.js @@ -0,0 +1,99 @@ +"use strict"; + +function _objectSpread(a) { + for (var b = 1; b < arguments.length; b++) { + var c = null == arguments[b] ? {} : arguments[b], + d = Object.keys(c); + "function" == typeof Object.getOwnPropertySymbols && (d = d.concat(Object.getOwnPropertySymbols(c).filter(function (a) { + return Object.getOwnPropertyDescriptor(c, a).enumerable + }))), d.forEach(function (b) { + _defineProperty(a, b, c[b]) + }) + } + return a +} + +function _defineProperty(a, b, c) { + return b in a ? Object.defineProperty(a, b, { + value: c, + enumerable: !0, + configurable: !0, + writable: !0 + }) : a[b] = c, a +} +class MetingJSElement extends HTMLElement { + connectedCallback() { + window.APlayer && window.fetch && (this._init(), this._parse()) + } + disconnectedCallback() { + this.lock || this.aplayer.destroy() + } + _camelize(a) { + return a.replace(/^[_.\- ]+/, "").toLowerCase().replace(/[_.\- ]+(\w|$)/g, (a, b) => b.toUpperCase()) + } + _init() { + let a = {}; + for (let b = 0; b < this.attributes.length; b += 1) a[this._camelize(this.attributes[b].name)] = this.attributes[b].value; + let b = ["server", "type", "id", "api", "auth", "auto", "lock", "name", "title", "artist", "author", "url", "cover", "pic", "lyric", "lrc"]; + this.meta = {}; + for (var c = 0; c < b.length; c++) { + let d = b[c]; + this.meta[d] = a[d], delete a[d] + } + this.config = a, this.api = this.meta.api || window.meting_api || "https://api.wuenci.com/meting/api/?server=:server&type=:type&id=:id&r=:r", this.meta.auto && this._parse_link() + } + _parse_link() { + let a = [ + ["music.163.com.*song.*id=(\\d+)", "netease", "song"], + ["music.163.com.*album.*id=(\\d+)", "netease", "album"], + ["music.163.com.*artist.*id=(\\d+)", "netease", "artist"], + ["music.163.com.*playlist.*id=(\\d+)", "netease", "playlist"], + ["music.163.com.*discover/toplist.*id=(\\d+)", "netease", "playlist"], + ["y.qq.com.*song/(\\w+).html", "tencent", "song"], + ["y.qq.com.*album/(\\w+).html", "tencent", "album"], + ["y.qq.com.*singer/(\\w+).html", "tencent", "artist"], + ["y.qq.com.*playsquare/(\\w+).html", "tencent", "playlist"], + ["y.qq.com.*playlist/(\\w+).html", "tencent", "playlist"], + ["xiami.com.*song/(\\w+)", "xiami", "song"], + ["xiami.com.*album/(\\w+)", "xiami", "album"], + ["xiami.com.*artist/(\\w+)", "xiami", "artist"], + ["xiami.com.*collect/(\\w+)", "xiami", "playlist"] + ]; + for (var b = 0; b < a.length; b++) { + let c = a[b], + d = new RegExp(c[0]), + e = d.exec(this.meta.auto); + if (null !== e) return this.meta.server = c[1], this.meta.type = c[2], void(this.meta.id = e[1]) + } + } + _parse() { + if (this.meta.url) { + let a = { + name: this.meta.name || this.meta.title || "Audio name", + artist: this.meta.artist || this.meta.author || "Audio artist", + url: this.meta.url, + cover: this.meta.cover || this.meta.pic, + lrc: this.meta.lrc || this.meta.lyric || "", + type: this.meta.type || "auto" + }; + return a.lrc || (this.meta.lrcType = 0), this.innerText && (a.lrc = this.innerText, this.meta.lrcType = 2), void this._loadPlayer([a]) + } + let a = this.api.replace(":server", this.meta.server).replace(":type", this.meta.type).replace(":id", this.meta.id).replace(":auth", this.meta.auth).replace(":r", Math.random()); + fetch(a).then(a => a.json()).then(a => this._loadPlayer(a)) + } + _loadPlayer(a) { + let b = { + audio: a, + mutex: !0, + lrcType: this.meta.lrcType || 3, + storageName: "metingjs" + }; + if (a.length) { + let a = _objectSpread({}, b, this.config); + for (let b in a)("true" === a[b] || "false" === a[b]) && (a[b] = "true" === a[b]); + let c = document.createElement("div"); + a.container = c, this.appendChild(c), this.aplayer = new APlayer(a) + } + } +} +window.customElements && !window.customElements.get("meting-js") && (window.MetingJSElement = MetingJSElement, window.customElements.define("meting-js", MetingJSElement)); \ No newline at end of file diff --git a/js/cursor.js b/js/cursor.js index 527abb8..1b347e7 100644 --- a/js/cursor.js +++ b/js/cursor.js @@ -42,8 +42,7 @@ class Cursor { this.pt.push(el[i].outerHTML); document.body.appendChild((this.scr = document.createElement("style"))); - this.scr.innerHTML = - `* {cursor: url("data:image/svg+xml,") 4 4, auto}`; + this.scr.innerHTML = `* {cursor: url("data:image/svg+xml,") 4 4, auto !important}`; } refresh() { @@ -80,8 +79,8 @@ class Cursor { render() { if (this.pos.prev) { - this.pos.prev.x = Math.lerp(this.pos.prev.x, this.pos.curr.x, 0.45); - this.pos.prev.y = Math.lerp(this.pos.prev.y, this.pos.curr.y, 0.45); + this.pos.prev.x = Math.lerp(this.pos.prev.x, this.pos.curr.x, 0.15); + this.pos.prev.y = Math.lerp(this.pos.prev.y, this.pos.curr.y, 0.15); this.move(this.pos.prev.x, this.pos.prev.y); } else { this.pos.prev = this.pos.curr; diff --git a/js/cursor.min.js b/js/cursor.min.js deleted file mode 100644 index 71c46f3..0000000 --- a/js/cursor.min.js +++ /dev/null @@ -1 +0,0 @@ -var CURSOR;Math.lerp=((s,t,e)=>(1-e)*s+e*t);const getStyle=(s,t)=>{try{return window.getComputedStyle?window.getComputedStyle(s)[t]:s.currentStyle[t]}catch(s){}return""};class Cursor{constructor(){this.pos={curr:null,prev:null},this.pt=[],this.create(),this.init(),this.render()}move(s,t){this.cursor.style.left=`${s}px`,this.cursor.style.top=`${t}px`}create(){this.cursor||(this.cursor=document.createElement("div"),this.cursor.id="cursor",this.cursor.classList.add("hidden"),document.body.append(this.cursor));var s=document.getElementsByTagName("*");for(let t=0;t\") 4 4, auto}"}refresh(){this.scr.remove(),this.cursor.classList.remove("hover"),this.cursor.classList.remove("active"),this.pos={curr:null,prev:null},this.pt=[],this.create(),this.init(),this.render()}init(){document.onmouseover=(s=>this.pt.includes(s.target.outerHTML)&&this.cursor.classList.add("hover")),document.onmouseout=(s=>this.pt.includes(s.target.outerHTML)&&this.cursor.classList.remove("hover")),document.onmousemove=(s=>{null==this.pos.curr&&this.move(s.clientX-8,s.clientY-8),this.pos.curr={x:s.clientX-8,y:s.clientY-8},this.cursor.classList.remove("hidden")}),document.onmouseenter=(s=>this.cursor.classList.remove("hidden")),document.onmouseleave=(s=>this.cursor.classList.add("hidden")),document.onmousedown=(s=>this.cursor.classList.add("active")),document.onmouseup=(s=>this.cursor.classList.remove("active"))}render(){this.pos.prev?(this.pos.prev.x=Math.lerp(this.pos.prev.x,this.pos.curr.x,.45),this.pos.prev.y=Math.lerp(this.pos.prev.y,this.pos.curr.y,.45),this.move(this.pos.prev.x,this.pos.prev.y)):this.pos.prev=this.pos.curr,requestAnimationFrame(()=>this.render())}}CURSOR=new Cursor; \ No newline at end of file diff --git a/js/js.cookie.min.js b/js/js.cookie.min.js deleted file mode 100644 index 666a539..0000000 --- a/js/js.cookie.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var n;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var t=window.Cookies,o=window.Cookies=e();o.noConflict=function(){return window.Cookies=t,o}}})(function(){function e(){for(var e=0,n={};e
',document.body.appendChild(n)}); \ No newline at end of file diff --git a/js/main.js b/js/main.js index 8993268..ca47e29 100644 --- a/js/main.js +++ b/js/main.js @@ -41,7 +41,7 @@ setTimeout(function () { //延迟加载音乐播放器 function downloadJSAtOnload() { var element = document.createElement("script"); - element.src = "./js/music.min.js"; + element.src = "./js/music.js"; document.body.appendChild(element); } if (window.addEventListener) @@ -55,12 +55,12 @@ else window.onload = downloadJSAtOnload; new_element=document.createElement("link"); new_element.setAttribute("rel","stylesheet"); new_element.setAttribute("type","text/css"); -new_element.setAttribute("href","./css/lantern.min.css"); +new_element.setAttribute("href","./css/lantern.css"); document.body.appendChild(new_element); new_element=document.createElement("script"); new_element.setAttribute("type","text/javascript"); -new_element.setAttribute("src","./js/lantern.min.js"); +new_element.setAttribute("src","./js/lantern.js"); document.body.appendChild(new_element); */ @@ -76,6 +76,7 @@ if (isFirefox = navigator.userAgent.indexOf("Firefox") > 0) { setTimeout(function () { iziToast.show({ timeout: 8000, + iconUrl: './img/icon/warn.png', message: '您正在使用火狐浏览器,部分功能可能不支持' }); }, 3800); @@ -94,7 +95,7 @@ fetch('https://v1.hitokoto.cn?max_length=24') //获取天气 //每日限量 100 次 //请前往 https://www.tianqiapi.com/ 申请(免费) -fetch('https://www.yiketianqi.com/free/day?appid=43986679&appsecret=TksqGZT7&unescape=1') +fetch('https://www.yiketianqi.com/free/day?appid=43656176&appsecret=I42og6Lm&unescape=1') .then(response => response.json()) .then(data => { $('#wea_text').html(data.wea) diff --git a/js/main.min.js b/js/main.min.js deleted file mode 100644 index 7e1ff7a..0000000 --- a/js/main.min.js +++ /dev/null @@ -1 +0,0 @@ -function downloadJSAtOnload(){var t=document.createElement("script");t.src="./js/music.min.js",document.body.appendChild(t)}function time(){clearTimeout(t),dt=new Date;var e=dt.getYear()+1900,n=dt.getMonth()+1,o=dt.getDate(),s=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],i=dt.getDay(),a=dt.getHours(),c=dt.getMinutes(),l=dt.getSeconds();a<10&&(a="0"+a),c<10&&(c="0"+c),l<10&&(l="0"+l),$("#time").html(e+" 年 "+n+" 月 "+o+" 日 "+s[i]+"
"+a+":"+c+":"+l+""),t=setTimeout(time,1e3)}if(iziToast.settings({timeout:1e4,progressBar:!1,close:!1,closeOnEscape:!0,position:"topCenter",transitionIn:"bounceInDown",transitionOut:"flipOutX",displayMode:"replace",layout:"1",backgroundColor:"#00000040",titleColor:"#efefef",messageColor:"#efefef",iconColor:"#efefef"}),window.addEventListener("load",function(){$("#loading-box").attr("class","loaded"),$("#bg").css("cssText","transform: scale(1);filter: blur(0px);transition: ease 1.5s;"),$(".cover").css("cssText","opacity: 1;transition: ease 1.5s;"),$("#section").css("cssText","transform: scale(1) !important;opacity: 1 !important;filter: blur(0px) !important"),setTimeout(function(){iziToast.show({timeout:2500,title:hello,message:"欢迎来到我的主页"})},800)},!1),setTimeout(function(){$("#loading-text").html("字体及文件加载可能需要一定时间")},3e3),window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload,isFirefox=navigator.userAgent.indexOf("Firefox")>0){var head=document.getElementsByTagName("head")[0],link=document.createElement("link");link.href="./css/firefox.css",link.rel="stylesheet",link.type="text/css",head.appendChild(link),window.addEventListener("load",function(){setTimeout(function(){iziToast.show({timeout:8e3,message:"您正在使用火狐浏览器,部分功能可能不支持"})},3800)},!1)}fetch("https://v1.hitokoto.cn?max_length=24").then(t=>t.json()).then(t=>{$("#hitokoto_text").html(t.hitokoto),$("#from_text").html(t.from)}).catch(console.error),fetch("https://www.yiketianqi.com/free/day?appid=43986679&appsecret=TksqGZT7&unescape=1").then(t=>t.json()).then(t=>{$("#wea_text").html(t.wea),$("#city_text").html(t.city),$("#tem_night").html(t.tem_night),$("#tem_day").html(t.tem_day)}).catch(console.error);var t=null;t=setTimeout(time,1e3),$("#social").mouseover(function(){$("#social").css({background:"rgb(0 0 0 / 25%)","border-radius":"6px","backdrop-filter":"blur(5px)"}),$("#link-text").css({display:"block"})}).mouseout(function(){$("#social").css({background:"none","border-radius":"6px","backdrop-filter":"none"}),$("#link-text").css({display:"none"})}),$("#github").mouseover(function(){$("#link-text").html("去 Github 看看")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#qq").mouseover(function(){$("#link-text").html("有什么事吗")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#email").mouseover(function(){$("#link-text").html("来封 Email")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#telegram").mouseover(function(){$("#link-text").html("你懂的 ~")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#twitter").mouseover(function(){$("#link-text").html("你懂的 ~")}).mouseout(function(){$("#link-text").html("通过这里联系我")});var shoemore=!1;$("#switchmore").on("click",function(){shoemore=!shoemore,shoemore&&$(document).width()>=990?($("#container").attr("class","container mores"),$("#change").html("Oops !"),$("#change1").html("哎呀,这都被你发现了( 再点击一次可关闭 )")):($("#container").attr("class","container"),$("#change").html("Hello World !"),$("#change1").html("一个建立于 21 世纪的小站,存活于互联网的边缘"))}),$("#close").on("click",function(){$("#switchmore").click()});var switchmenu=!1;$("#switchmenu").on("click",function(){switchmenu=!switchmenu,switchmenu?($("#row").attr("class","row menus"),$("#menu").html("")):($("#row").attr("class","row"),$("#menu").html(""))}),$("#openmore").on("click",function(){$("#box").css("display","block"),$("#row").css("display","none"),$("#more").css("cssText","display:none !important")}),$("#closemore").on("click",function(){$("#box").css("display","none"),$("#row").css("display","flex"),$("#more").css("display","flex")}),window.addEventListener("load",function(){window.addEventListener("resize",function(){window.innerWidth>=600&&($("#row").attr("class","row"),$("#menu").html(""),$("#rightone").attr("class","row rightone")),window.innerWidth<=990&&($("#container").attr("class","container"),$("#change").html("Hello World !"),$("#change1").html("一个建立于 21 世纪的小站,存活于互联网的边缘"),$("#box").css("display","none"),$("#row").css("display","flex"),$("#more").css("display","flex"))})});var changemore=!1;$("#changemore").on("click",function(){changemore=!changemore,changemore?$("#rightone").attr("class","row menus mobile"):$("#rightone").attr("class","row menus")}),$("#more").hover(function(){$("#close").css("display","block")},function(){$("#close").css("display","none")}),document.oncontextmenu=function(){return iziToast.show({timeout:2e3,iconUrl:"./img/icon/warn.png",message:"为了浏览体验,本站禁用右键"}),!1};var myDate=new Date,mon=myDate.getMonth()+1,date=myDate.getDate(),days=["4.4","5.12","7.7","9.9","9.18","12.13"];for(var day of days){var d=day.split(".");mon==d[0]&&date==d[1]&&(document.write(""),$("#change").html("Silence in silence"),$("#change1").html("今天是中国国家纪念日,全站已切换为黑白模式"),window.addEventListener("load",function(){iziToast.show({timeout:14e3,iconUrl:"./img/icon/candle.png",message:"今天是中国国家纪念日"})},!1))}var styleTitle1="\nfont-size: 20px;\nfont-weight: 600;\ncolor: rgb(244,167,89);\n",styleTitle2="\nfont-size:12px;\ncolor: rgb(244,167,89);\n",styleContent="\ncolor: rgb(30,152,255);\n",title1="無名の主页",title2="\n _____ __ __ _______ ____ __\n|_ _| \\/ |/ ____\\ \\ / /\\ \\ / /\n | | | \\ / | (___ \\ \\_/ / \\ \\_/ / \n | | | |\\/| |\\___ \\ \\ / \\ / \n _| |_| | | |____) | | | | | \n|_____|_| |_|_____/ |_| |_| \n",content="\n版 本 号:2.2\n更新日期:2022-04-12\n\n更新说明:\n1. 新增 壁纸个性化设置\n2. 新增 音乐播放器支持音量控制\n3. 优化 部分动画及细节\n4. 优化 页面加载缓慢\n5. 优化 音乐延迟加载\n\n主页: https://www.imsyy.top\nGithub: https://github.com/imsyy/home\n";console.log(`%c${title1} %c${title2}\n%c${content}`,styleTitle1,styleTitle2,styleContent); \ No newline at end of file diff --git a/js/music.js b/js/music.js index 224f17e..d824afe 100644 --- a/js/music.js +++ b/js/music.js @@ -1,506 +1,137 @@ -const ap = new APlayer({ - container: document.getElementById('aplayer'), - order: 'random', - preload: 'auto', - listMaxHeight: '336px', - volume: '0.5', - mutex: true, - lrcType: 3, - /* 下方更改为你自己的歌单就行 */ - audio: [{ - name: "夜曲", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%A4%9C%E6%9B%B2.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M0000024bjiL2aocxT_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%A4%9C%E6%9B%B2.lrc", - theme: "#171513" - }, - { - name: "断了的弦", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%96%AD%E4%BA%86%E7%9A%84%E5%BC%A6.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000001BGzMs369FzU_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%96%AD%E4%BA%86%E7%9A%84%E5%BC%A6.lrc", - theme: "#0057a7" - }, - { - name: "发如雪", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%8F%91%E5%A6%82%E9%9B%AA.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M0000024bjiL2aocxT_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%8F%91%E5%A6%82%E9%9B%AA.lrc", - theme: "#171513" - }, - { - name: "稻香", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%A8%BB%E9%A6%99.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000002Neh8l0uciQZ_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%A8%BB%E9%A6%99.lrc", - theme: "#e3ae55" - }, - { - name: "七里香", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%B8%83%E9%87%8C%E9%A6%99.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000003DFRzD192KKD_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%B8%83%E9%87%8C%E9%A6%99.lrc", - theme: "#395732" - }, - { - name: "晴天", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%99%B4%E5%A4%A9.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000000MkMni19ClKG_3.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%99%B4%E5%A4%A9.lrc", - theme: "#08362e" - }, - { - name: "以父之名", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%BB%A5%E7%88%B6%E4%B9%8B%E5%90%8D.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000000MkMni19ClKG_3.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%BB%A5%E7%88%B6%E4%B9%8B%E5%90%8D.lrc", - theme: "#08362e" - }, - { - name: "本草纲目", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%9C%AC%E8%8D%89%E7%BA%B2%E7%9B%AE.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000002jLGWe16Tf1H_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%9C%AC%E8%8D%89%E7%BA%B2%E7%9B%AE.lrc", - theme: "#171513" - }, - { - name: "一路向北", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%B8%80%E8%B7%AF%E5%90%91%E5%8C%97.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000002MAeob3zLXwZ_2.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%B8%80%E8%B7%AF%E5%90%91%E5%8C%97.lrc", - theme: "#383a37" - }, - { - name: "半岛铁盒", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%8D%8A%E5%B2%9B%E9%93%81%E7%9B%92.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000004MGitN0zEHpb_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%8D%8A%E5%B2%9B%E9%93%81%E7%9B%92.lrc", - theme: "#f0a059" - }, - { - name: "简单爱", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%AE%80%E5%8D%95%E7%88%B1.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000000I5jJB3blWeN_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%AE%80%E5%8D%95%E7%88%B1.lrc", - theme: "#c21c0f" - }, - { - name: "青花瓷", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E9%9D%92%E8%8A%B1%E7%93%B7.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000002eFUFm2XYZ7z_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E9%9D%92%E8%8A%B1%E7%93%B7.lrc", - theme: "#000000" - }, - { - name: "烟花易冷", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%83%9F%E8%8A%B1%E6%98%93%E5%86%B7.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000000bviBl4FjTpO_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%83%9F%E8%8A%B1%E6%98%93%E5%86%B7.lrc", - theme: "#86b5bb" - }, - { - name: "霍元甲", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E9%9C%8D%E5%85%83%E7%94%B2.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000000OixvE1YjIqd_3.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E9%9C%8D%E5%85%83%E7%94%B2.lrc", - theme: "#295249" - }, - { - name: "兰亭序", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%85%B0%E4%BA%AD%E5%BA%8F.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000002Neh8l0uciQZ_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%85%B0%E4%BA%AD%E5%BA%8F.lrc", - theme: "#e3ae55" - }, - { - name: "枫", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%9E%AB.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M0000024bjiL2aocxT_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%9E%AB.lrc", - theme: "#171513" - }, - { - name: "断了的弦", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%96%AD%E4%BA%86%E7%9A%84%E5%BC%A6.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000001BGzMs369FzU_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%96%AD%E4%BA%86%E7%9A%84%E5%BC%A6.lrc", - theme: "#0057a7" - }, - { - name: "天涯过客", - artist: "周杰伦", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%A4%A9%E6%B6%AF%E8%BF%87%E5%AE%A2.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000001uqejs3d6EID_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%A4%A9%E6%B6%AF%E8%BF%87%E5%AE%A2.lrc", - theme: "#b88e16" - }, - { - name: "千里之外", - artist: "周杰伦 / 费玉清", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6%26%E8%B4%B9%E7%8E%89%E6%B8%85-%E5%8D%83%E9%87%8C%E4%B9%8B%E5%A4%96.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000002jLGWe16Tf1H_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6%26%E8%B4%B9%E7%8E%89%E6%B8%85-%E5%8D%83%E9%87%8C%E4%B9%8B%E5%A4%96.lrc", - theme: "#171513" - }, - { - name: "珊瑚海", - artist: "周杰伦 / 梁心颐", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6%26%E6%A2%81%E5%BF%83%E9%A2%90-%E7%8F%8A%E7%91%9A%E6%B5%B7.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M0000024bjiL2aocxT_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6%26%E6%A2%81%E5%BF%83%E9%A2%90-%E7%8F%8A%E7%91%9A%E6%B5%B7.lrc", - theme: "#181714" - }, - { - name: "单车", - artist: "陈奕迅", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%8D%95%E8%BD%A6.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000004S8YQr3UmEbG_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%8D%95%E8%BD%A6.lrc", - theme: "#32201f" - }, - { - name: "孤勇者", - artist: "陈奕迅", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E9%99%88%E5%A5%95%E8%BF%85-%E5%AD%A4%E5%8B%87%E8%80%85.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000001uaPM93kxk1R_3.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%AD%A4%E5%8B%87%E8%80%85.lrc", - theme: "#131915" - }, - { - name: "浮夸", - artist: "陈奕迅", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E9%99%88%E5%A5%95%E8%BF%85-%E6%B5%AE%E5%A4%B8.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000003J6fvc0bVJon_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E6%B5%AE%E5%A4%B8.lrc", - theme: "#040402" - }, - { - name: "十年", - artist: "陈奕迅", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%8D%81%E5%B9%B4.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000003J6fvc0bVJon_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%8D%81%E5%B9%B4.lrc", - theme: "#040402" - }, - { - name: "一丝不挂", - artist: "陈奕迅", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E9%99%88%E5%A5%95%E8%BF%85-%E4%B8%80%E4%B8%9D%E4%B8%8D%E6%8C%82.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000001sjRhH0wqa4Q_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E4%B8%80%E4%B8%9D%E4%B8%8D%E6%8C%82.lrc", - theme: "#0d0d0d" - }, - { - name: "麻雀", - artist: "李荣浩", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E9%BA%BB%E9%9B%80.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000003P3ByD1n8nBK_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E9%BA%BB%E9%9B%80.lrc", - theme: "#849fbd" - }, - { - name: "老街", - artist: "李荣浩", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E8%80%81%E8%A1%97.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000001LP8hk0a6pOp_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E8%80%81%E8%A1%97.lrc", - theme: "#e0d7bb" - }, - { - name: "年少有为", - artist: "李荣浩", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E5%B9%B4%E5%B0%91%E6%9C%89%E4%B8%BA.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000000RLvtE1eDyOs_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E5%B9%B4%E5%B0%91%E6%9C%89%E4%B8%BA.lrc", - theme: "#d2ddd5" - }, - { - name: "爸爸妈妈", - artist: "李荣浩", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E7%88%B8%E7%88%B8%E5%A6%88%E5%A6%88.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000001fi1zG0EjU2u_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E7%88%B8%E7%88%B8%E5%A6%88%E5%A6%88.lrc", - theme: "#aec3ce" - }, - { - name: "干杯", - artist: "五月天", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%B9%B2%E6%9D%AF.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000001fbipy4azgKM_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%B9%B2%E6%9D%AF.lrc", - theme: "#0f1e32" - }, - { - name: "倔强", - artist: "五月天", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%80%94%E5%BC%BA.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M0000006MmDz4Hl2Ud_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%80%94%E5%BC%BA.lrc", - theme: "#b3dae1" - }, - { - name: "知足", - artist: "五月天", - url: "https://drive.imsyy.top/api/raw/?path=/音乐/文件引用/五月天-知足.mp3", - cover: "https://y.qq.com/music/photo_new/T002R300x300M0000020I7sO0ayXhN_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E7%9F%A5%E8%B6%B3.lrc", - theme: "#0a0708" - }, - { - name: "如烟", - artist: "五月天", - url: "https://drive.imsyy.top/api/raw/?path=/音乐/文件引用/五月天-如烟.mp3", - cover: "https://y.qq.com/music/photo_new/T002R300x300M0000020I7sO0ayXhN_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%A6%82%E7%83%9F.lrc", - theme: "#0a0708" - }, - { - name: "叹服", - artist: "许嵩", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9-%E5%8F%B9%E6%9C%8D.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000002CJON012PxwU_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9-%E5%8F%B9%E6%9C%8D.lrc", - theme: "#def3fc" - }, - { - name: "幻听", - artist: "许嵩", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9-%E5%B9%BB%E5%90%AC.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000004RbL3b0BDIe2_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9-%E5%B9%BB%E5%90%AC.lrc", - theme: "#bf1c21" - }, - { - name: "庐州月", - artist: "许嵩", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9-%E5%BA%90%E5%B7%9E%E6%9C%88.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000002CJON012PxwU_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9-%E5%BA%90%E5%B7%9E%E6%9C%88.lrc", - theme: "#def3fc" - }, - { - name: "断桥残雪", - artist: "许嵩", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9-%E6%96%AD%E6%A1%A5%E6%AE%8B%E9%9B%AA.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000001jmC6x1RMfh0_2.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9-%E6%96%AD%E6%A1%A5%E6%AE%8B%E9%9B%AA.lrc", - theme: "#1a1b14" - }, - { - name: "有何不可", - artist: "许嵩", - url: "https://drive.imsyy.top/api/raw/?path=/音乐/华语音乐/许嵩/许嵩%20-%20有何不可%20-%20独白版.mp3", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000002KSDg90IaScI_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9%20-%20%E6%9C%89%E4%BD%95%E4%B8%8D%E5%8F%AF%20-%20%E7%8B%AC%E7%99%BD%E7%89%88.lrc", - theme: "#edbe76" - }, - { - name: "温泉", - artist: "许嵩 / 刘美麟", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9%26%E5%88%98%E7%BE%8E%E9%BA%9F-%E6%B8%A9%E6%B3%89.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000000vKMVO0srdMF_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9%26%E5%88%98%E7%BE%8E%E9%BA%9F-%E6%B8%A9%E6%B3%89.lrc", - theme: "#e3b58b" - }, - { - name: "素颜", - artist: "许嵩 / 何曼婷", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9%26%E4%BD%95%E6%9B%BC%E5%A9%B7-%E7%B4%A0%E9%A2%9C.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M0000035f8nw11cjkf_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9%26%E4%BD%95%E6%9B%BC%E5%A9%B7-%E7%B4%A0%E9%A2%9C.lrc", - theme: "#622931" - }, - { - name: "打上花火", - artist: "米津玄师 / daoko", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88%26daoko-%E6%89%93%E4%B8%8A%E8%8A%B1%E7%81%AB.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000002rLPlR0CXaWS_3.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88%26daoko-%E6%89%93%E4%B8%8A%E8%8A%B1%E7%81%AB.lrc", - theme: "#ed1306" - }, - { - name: "Lemon", - artist: "米津玄师", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88-Lemon.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000000nPoD43Dybcc_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88-Lemon.lrc", - theme: "#20778f" - }, - { - name: "LOSER", - artist: "米津玄师", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88-LOSER.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000002kl9Hs4WaKFO_3.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88-LOSER.lrc", - theme: "#13141d" - }, - { - name: "Numb", - artist: "Linkin Park", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2FLinkin%20Park-Numb.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000000C4MQU17Phga_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2FLinkin%20Park-Numb.lrc", - theme: "#0d0d0d" - }, - { - name: "In The End", - artist: "Linkin Park", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2FLinkin%20Park-In%20The%20End.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000004ImTxE1OkGqR_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2FLinkin%20Park-In%20The%20End.lrc", - theme: "#270408" - }, - { - name: "My Love", - artist: "Westlife", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/Westlife-My%20Love.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000000vux3D1vZI0u_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2FWestlife-My%20Love.lrc", - theme: "#e88ba6" - }, - { - name: "Victory", - artist: "Two Steps From Hell / Thomas Bergersen", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/Two%20Steps%20From%20Hell%26Thomas%20Bergersen-Victory.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000002hKKCC1LSc8y_2.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2FTwo%20Steps%20From%20Hell%26Thomas%20Bergersen-Victory.lrc", - theme: "#0a0c1b" - }, - { - name: "Star Sky", - artist: "Two Steps From Hell / Thomas Bergersen", - url: "https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/Two%20Steps%20From%20Hell%26Thomas%20Bergersen-Star%20Sky.mp3&raw=true", - cover: "https://y.qq.com/music/photo_new/T002R300x300M000002hKKCC1LSc8y_2.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2FTwo%20Steps%20From%20Hell%26Thomas%20Bergersen-Star%20Sky.lrc", - theme: "#0a0c1b" - }, - { - name: "Fireflies", - artist: "Owl City", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2FOwl%20City-Fireflies.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000002FEF7L03Cv7T_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2FOwl%20City-Fireflies.lrc", - theme: "#33658d" - }, - { - name: "The Saltwater Room", - artist: "Owl City", - url: "https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2FOwl%20City-The%20Saltwater%20Room.mp3&raw=true", - cover: "https://y.gtimg.cn/music/photo_new/T002R300x300M000002FEF7L03Cv7T_1.jpg?max_age=2592000", - lrc: "https://s-sh-2127-music.oss.dogecdn.com/lrc%2FOwl%20City-The%20Saltwater%20Room.lrc", - theme: "#33658d" - } - ] -}); +/* +音乐信息 -/* 底栏歌词 */ -setInterval(function () { - $("#lrc").html(" " + $(".aplayer-lrc-current").text() + " "); -}, 500); +感谢 @武恩赐 提供的 MetingAPI +https://api.wuenci.com/meting/api/ -/* 音乐通知及控制 */ -ap.on('play', function () { - music = $(".aplayer-title").text() + $(".aplayer-author").text(); - iziToast.info({ - timeout: 8000, - iconUrl: './img/icon/music.png', - displayMode: 'replace', - message: music - }); - $("#play").html(""); - $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); - if ($(document).width() >= 990) { - $('.power').css("cssText", "display:none"); - $('#lrc').css("cssText", "display:block !important"); +作者: imsyy +主页:https://www.imsyy.top/ +GitHub:https://github.com/imsyy/home +版权所有,请勿删除 +*/ +var server = "netease"; //netease: 网易云音乐; tencent: QQ音乐; kugou: 酷狗音乐; xiami: 虾米; kuwo: 酷我 +var type = "playlist"; //song: 单曲; playlist: 歌单; album: 唱片 +var id = "60198"; //封面 ID / 单曲 ID / 歌单 ID + +$.ajax({ + url: "https://api.wuenci.com/meting/api/?server=" + server + "&type=" + type + "&id=" + id, //json文件位置,文件名 + type: "GET", + dataType: "JSON", + success: function (data) { + const ap = new APlayer({ + container: document.getElementById('aplayer'), + order: 'random', + preload: 'auto', + listMaxHeight: '336px', + volume: '0.5', + mutex: true, + lrcType: 3, + audio: data, + }); + + /* 底栏歌词 */ + setInterval(function () { + $("#lrc").html(" " + $(".aplayer-lrc-current").text() + " "); + }, 500); + + /* 音乐通知及控制 */ + ap.on('play', function () { + music = $(".aplayer-title").text() + $(".aplayer-author").text(); + iziToast.info({ + timeout: 8000, + iconUrl: './img/icon/music.png', + displayMode: 'replace', + message: music + }); + $("#play").html(""); + $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); + if ($(document).width() >= 990) { + $('.power').css("cssText", "display:none"); + $('#lrc').css("cssText", "display:block !important"); + } + }); + + ap.on('pause', function () { + $("#play").html(""); + if ($(document).width() >= 990) { + $('#lrc').css("cssText", "display:none !important"); + $('.power').css("cssText", "display:block"); + } + }); + + $("#music").hover(function () { + $('.music-text').css("display", "none"); + $('.music-volume').css("display", "flex"); + }, function () { + $('.music-text').css("display", "block"); + $('.music-volume').css("display", "none"); + }) + + /* 一言与音乐切换 */ + $('#open-music').on('click', function () { + $('#hitokoto').css("display", "none"); + $('#music').css("display", "flex"); + }); + + $("#hitokoto").hover(function () { + $('#open-music').css("display", "flex"); + }, function () { + $('#open-music').css("display", "none"); + }) + + $('#music-close').on('click', function () { + $('#music').css("display", "none"); + $('#hitokoto').css("display", "flex"); + }); + + /* 上下曲 */ + $('#play').on('click', function () { + ap.toggle(); + $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); + }); + + $('#last').on('click', function () { + ap.skipBack(); + $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); + }); + + $('#next').on('click', function () { + ap.skipForward(); + $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); + }); + + /* 打开音乐列表 */ + $('#music-open').on('click', function () { + if ($(document).width() >= 990) { + $('#box').css("display", "block"); + $('#row').css("display", "none"); + $('#more').css("cssText", "display:none !important"); + } + }); + + //音量调节 + $("#volume").on('click', function () { + var x = $("#volume").val(); + ap.volume(x, true); + if (x == 0) { + $("#volume-ico").html(""); + } else if (x > 0 && x <= 0.3) { + $("#volume-ico").html(""); + } else if (x > 0.3 && x <= 0.6) { + $("#volume-ico").html(""); + } else { + $("#volume-ico").html(""); + } + }); + }, + error: function () { + setTimeout(function () { + iziToast.info({ + timeout: 12000, + iconUrl: './img/icon/warn.png', + displayMode: 'replace', + message: '音乐播放器加载失败' + }); + }, 3800); } -}); - -ap.on('pause', function () { - $("#play").html(""); - if ($(document).width() >= 990) { - $('#lrc').css("cssText", "display:none !important"); - $('.power').css("cssText", "display:block"); - } -}); - -//音量调节 -function changevolume() { - var x = $("#volume").val(); - ap.volume(x, true); - if (x == 0) { - $("#volume-ico").html(""); - } else if (x > 0 && x <= 0.3) { - $("#volume-ico").html(""); - } else if (x > 0.3 && x <= 0.6) { - $("#volume-ico").html(""); - } else { - $("#volume-ico").html(""); - } -} - -$("#music").hover(function () { - $('.music-text').css("display", "none"); - $('.music-volume').css("display", "flex"); -}, function () { - $('.music-text').css("display", "block"); - $('.music-volume').css("display", "none"); -}) - -/* 一言与音乐切换 */ -$('#open-music').on('click', function () { - $('#hitokoto').css("display", "none"); - $('#music').css("display", "flex"); -}); - -$("#hitokoto").hover(function () { - $('#open-music').css("display", "flex"); -}, function () { - $('#open-music').css("display", "none"); -}) - -$('#music-close').on('click', function () { - $('#music').css("display", "none"); - $('#hitokoto').css("display", "flex"); -}); - -/* 上下曲 */ -$('#play').on('click', function () { - ap.toggle(); - $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); -}); - -$('#last').on('click', function () { - ap.skipBack(); - $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); -}); - -$('#next').on('click', function () { - ap.skipForward(); - $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); -}); - -/* 打开音乐列表 */ -$('#music-open').on('click', function () { - if ($(document).width() >= 990) { - $('#box').css("display", "block"); - $('#row').css("display", "none"); - $('#more').css("cssText", "display:none !important"); - } -}); \ No newline at end of file +}) \ No newline at end of file diff --git a/js/music.min.js b/js/music.min.js deleted file mode 100644 index 58fb685..0000000 --- a/js/music.min.js +++ /dev/null @@ -1 +0,0 @@ -function changevolume(){var E=$("#volume").val();ap.volume(E,!0),0==E?$("#volume-ico").html(""):E>0&&E<=.3?$("#volume-ico").html(""):E>.3&&E<=.6?$("#volume-ico").html(""):$("#volume-ico").html("")}const ap=new APlayer({container:document.getElementById("aplayer"),order:"random",preload:"auto",listMaxHeight:"336px",volume:"0.5",mutex:!0,lrcType:3,audio:[{name:"夜曲",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%A4%9C%E6%9B%B2.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M0000024bjiL2aocxT_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%A4%9C%E6%9B%B2.lrc",theme:"#171513"},{name:"断了的弦",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%96%AD%E4%BA%86%E7%9A%84%E5%BC%A6.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000001BGzMs369FzU_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%96%AD%E4%BA%86%E7%9A%84%E5%BC%A6.lrc",theme:"#0057a7"},{name:"发如雪",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%8F%91%E5%A6%82%E9%9B%AA.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M0000024bjiL2aocxT_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%8F%91%E5%A6%82%E9%9B%AA.lrc",theme:"#171513"},{name:"稻香",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%A8%BB%E9%A6%99.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000002Neh8l0uciQZ_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%A8%BB%E9%A6%99.lrc",theme:"#e3ae55"},{name:"七里香",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%B8%83%E9%87%8C%E9%A6%99.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000003DFRzD192KKD_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%B8%83%E9%87%8C%E9%A6%99.lrc",theme:"#395732"},{name:"晴天",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%99%B4%E5%A4%A9.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000000MkMni19ClKG_3.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%99%B4%E5%A4%A9.lrc",theme:"#08362e"},{name:"以父之名",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%BB%A5%E7%88%B6%E4%B9%8B%E5%90%8D.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000000MkMni19ClKG_3.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%BB%A5%E7%88%B6%E4%B9%8B%E5%90%8D.lrc",theme:"#08362e"},{name:"本草纲目",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%9C%AC%E8%8D%89%E7%BA%B2%E7%9B%AE.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000002jLGWe16Tf1H_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%9C%AC%E8%8D%89%E7%BA%B2%E7%9B%AE.lrc",theme:"#171513"},{name:"一路向北",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%B8%80%E8%B7%AF%E5%90%91%E5%8C%97.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000002MAeob3zLXwZ_2.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%B8%80%E8%B7%AF%E5%90%91%E5%8C%97.lrc",theme:"#383a37"},{name:"半岛铁盒",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%8D%8A%E5%B2%9B%E9%93%81%E7%9B%92.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000004MGitN0zEHpb_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%8D%8A%E5%B2%9B%E9%93%81%E7%9B%92.lrc",theme:"#f0a059"},{name:"简单爱",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%AE%80%E5%8D%95%E7%88%B1.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000000I5jJB3blWeN_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%AE%80%E5%8D%95%E7%88%B1.lrc",theme:"#c21c0f"},{name:"青花瓷",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E9%9D%92%E8%8A%B1%E7%93%B7.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000002eFUFm2XYZ7z_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E9%9D%92%E8%8A%B1%E7%93%B7.lrc",theme:"#000000"},{name:"烟花易冷",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%83%9F%E8%8A%B1%E6%98%93%E5%86%B7.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000000bviBl4FjTpO_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%83%9F%E8%8A%B1%E6%98%93%E5%86%B7.lrc",theme:"#86b5bb"},{name:"霍元甲",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E9%9C%8D%E5%85%83%E7%94%B2.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000000OixvE1YjIqd_3.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E9%9C%8D%E5%85%83%E7%94%B2.lrc",theme:"#295249"},{name:"兰亭序",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%85%B0%E4%BA%AD%E5%BA%8F.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000002Neh8l0uciQZ_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%85%B0%E4%BA%AD%E5%BA%8F.lrc",theme:"#e3ae55"},{name:"枫",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%9E%AB.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M0000024bjiL2aocxT_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%9E%AB.lrc",theme:"#171513"},{name:"断了的弦",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%96%AD%E4%BA%86%E7%9A%84%E5%BC%A6.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000001BGzMs369FzU_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%96%AD%E4%BA%86%E7%9A%84%E5%BC%A6.lrc",theme:"#0057a7"},{name:"天涯过客",artist:"周杰伦",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%A4%A9%E6%B6%AF%E8%BF%87%E5%AE%A2.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000001uqejs3d6EID_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6-%E5%A4%A9%E6%B6%AF%E8%BF%87%E5%AE%A2.lrc",theme:"#b88e16"},{name:"千里之外",artist:"周杰伦 / 费玉清",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6%26%E8%B4%B9%E7%8E%89%E6%B8%85-%E5%8D%83%E9%87%8C%E4%B9%8B%E5%A4%96.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000002jLGWe16Tf1H_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6%26%E8%B4%B9%E7%8E%89%E6%B8%85-%E5%8D%83%E9%87%8C%E4%B9%8B%E5%A4%96.lrc",theme:"#171513"},{name:"珊瑚海",artist:"周杰伦 / 梁心颐",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E5%91%A8%E6%9D%B0%E4%BC%A6%26%E6%A2%81%E5%BF%83%E9%A2%90-%E7%8F%8A%E7%91%9A%E6%B5%B7.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M0000024bjiL2aocxT_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E5%91%A8%E6%9D%B0%E4%BC%A6%26%E6%A2%81%E5%BF%83%E9%A2%90-%E7%8F%8A%E7%91%9A%E6%B5%B7.lrc",theme:"#181714"},{name:"单车",artist:"陈奕迅",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%8D%95%E8%BD%A6.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000004S8YQr3UmEbG_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%8D%95%E8%BD%A6.lrc",theme:"#32201f"},{name:"孤勇者",artist:"陈奕迅",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E9%99%88%E5%A5%95%E8%BF%85-%E5%AD%A4%E5%8B%87%E8%80%85.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000001uaPM93kxk1R_3.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%AD%A4%E5%8B%87%E8%80%85.lrc",theme:"#131915"},{name:"浮夸",artist:"陈奕迅",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E9%99%88%E5%A5%95%E8%BF%85-%E6%B5%AE%E5%A4%B8.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000003J6fvc0bVJon_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E6%B5%AE%E5%A4%B8.lrc",theme:"#040402"},{name:"十年",artist:"陈奕迅",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%8D%81%E5%B9%B4.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000003J6fvc0bVJon_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E5%8D%81%E5%B9%B4.lrc",theme:"#040402"},{name:"一丝不挂",artist:"陈奕迅",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E9%99%88%E5%A5%95%E8%BF%85-%E4%B8%80%E4%B8%9D%E4%B8%8D%E6%8C%82.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000001sjRhH0wqa4Q_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E9%99%88%E5%A5%95%E8%BF%85-%E4%B8%80%E4%B8%9D%E4%B8%8D%E6%8C%82.lrc",theme:"#0d0d0d"},{name:"麻雀",artist:"李荣浩",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E9%BA%BB%E9%9B%80.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000003P3ByD1n8nBK_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E9%BA%BB%E9%9B%80.lrc",theme:"#849fbd"},{name:"老街",artist:"李荣浩",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E8%80%81%E8%A1%97.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000001LP8hk0a6pOp_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E8%80%81%E8%A1%97.lrc",theme:"#e0d7bb"},{name:"年少有为",artist:"李荣浩",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E5%B9%B4%E5%B0%91%E6%9C%89%E4%B8%BA.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000000RLvtE1eDyOs_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E5%B9%B4%E5%B0%91%E6%9C%89%E4%B8%BA.lrc",theme:"#d2ddd5"},{name:"爸爸妈妈",artist:"李荣浩",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E7%88%B8%E7%88%B8%E5%A6%88%E5%A6%88.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000001fi1zG0EjU2u_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E6%9D%8E%E8%8D%A3%E6%B5%A9-%E7%88%B8%E7%88%B8%E5%A6%88%E5%A6%88.lrc",theme:"#aec3ce"},{name:"干杯",artist:"五月天",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%B9%B2%E6%9D%AF.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000001fbipy4azgKM_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%B9%B2%E6%9D%AF.lrc",theme:"#0f1e32"},{name:"倔强",artist:"五月天",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%80%94%E5%BC%BA.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M0000006MmDz4Hl2Ud_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%80%94%E5%BC%BA.lrc",theme:"#b3dae1"},{name:"知足",artist:"五月天",url:"https://drive.imsyy.top/api/raw/?path=/音乐/文件引用/五月天-知足.mp3",cover:"https://y.qq.com/music/photo_new/T002R300x300M0000020I7sO0ayXhN_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E7%9F%A5%E8%B6%B3.lrc",theme:"#0a0708"},{name:"如烟",artist:"五月天",url:"https://drive.imsyy.top/api/raw/?path=/音乐/文件引用/五月天-如烟.mp3",cover:"https://y.qq.com/music/photo_new/T002R300x300M0000020I7sO0ayXhN_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E4%BA%94%E6%9C%88%E5%A4%A9-%E5%A6%82%E7%83%9F.lrc",theme:"#0a0708"},{name:"叹服",artist:"许嵩",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9-%E5%8F%B9%E6%9C%8D.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000002CJON012PxwU_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9-%E5%8F%B9%E6%9C%8D.lrc",theme:"#def3fc"},{name:"幻听",artist:"许嵩",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9-%E5%B9%BB%E5%90%AC.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000004RbL3b0BDIe2_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9-%E5%B9%BB%E5%90%AC.lrc",theme:"#bf1c21"},{name:"庐州月",artist:"许嵩",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9-%E5%BA%90%E5%B7%9E%E6%9C%88.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000002CJON012PxwU_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9-%E5%BA%90%E5%B7%9E%E6%9C%88.lrc",theme:"#def3fc"},{name:"断桥残雪",artist:"许嵩",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9-%E6%96%AD%E6%A1%A5%E6%AE%8B%E9%9B%AA.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000001jmC6x1RMfh0_2.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9-%E6%96%AD%E6%A1%A5%E6%AE%8B%E9%9B%AA.lrc",theme:"#1a1b14"},{name:"有何不可",artist:"许嵩",url:"https://drive.imsyy.top/api/raw/?path=/音乐/华语音乐/许嵩/许嵩%20-%20有何不可%20-%20独白版.mp3",cover:"https://y.qq.com/music/photo_new/T002R300x300M000002KSDg90IaScI_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9%20-%20%E6%9C%89%E4%BD%95%E4%B8%8D%E5%8F%AF%20-%20%E7%8B%AC%E7%99%BD%E7%89%88.lrc",theme:"#edbe76"},{name:"温泉",artist:"许嵩 / 刘美麟",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9%26%E5%88%98%E7%BE%8E%E9%BA%9F-%E6%B8%A9%E6%B3%89.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000000vKMVO0srdMF_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9%26%E5%88%98%E7%BE%8E%E9%BA%9F-%E6%B8%A9%E6%B3%89.lrc",theme:"#e3b58b"},{name:"素颜",artist:"许嵩 / 何曼婷",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E8%AE%B8%E5%B5%A9%26%E4%BD%95%E6%9B%BC%E5%A9%B7-%E7%B4%A0%E9%A2%9C.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M0000035f8nw11cjkf_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E8%AE%B8%E5%B5%A9%26%E4%BD%95%E6%9B%BC%E5%A9%B7-%E7%B4%A0%E9%A2%9C.lrc",theme:"#622931"},{name:"打上花火",artist:"米津玄师 / daoko",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88%26daoko-%E6%89%93%E4%B8%8A%E8%8A%B1%E7%81%AB.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000002rLPlR0CXaWS_3.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88%26daoko-%E6%89%93%E4%B8%8A%E8%8A%B1%E7%81%AB.lrc",theme:"#ed1306"},{name:"Lemon",artist:"米津玄师",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88-Lemon.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000000nPoD43Dybcc_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88-Lemon.lrc",theme:"#20778f"},{name:"LOSER",artist:"米津玄师",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88-LOSER.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000002kl9Hs4WaKFO_3.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2F%E7%B1%B3%E6%B4%A5%E7%8E%84%E5%B8%88-LOSER.lrc",theme:"#13141d"},{name:"Numb",artist:"Linkin Park",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2FLinkin%20Park-Numb.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000000C4MQU17Phga_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2FLinkin%20Park-Numb.lrc",theme:"#0d0d0d"},{name:"In The End",artist:"Linkin Park",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2FLinkin%20Park-In%20The%20End.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000004ImTxE1OkGqR_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2FLinkin%20Park-In%20The%20End.lrc",theme:"#270408"},{name:"My Love",artist:"Westlife",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/Westlife-My%20Love.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000000vux3D1vZI0u_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2FWestlife-My%20Love.lrc",theme:"#e88ba6"},{name:"Victory",artist:"Two Steps From Hell / Thomas Bergersen",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/Two%20Steps%20From%20Hell%26Thomas%20Bergersen-Victory.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000002hKKCC1LSc8y_2.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2FTwo%20Steps%20From%20Hell%26Thomas%20Bergersen-Victory.lrc",theme:"#0a0c1b"},{name:"Star Sky",artist:"Two Steps From Hell / Thomas Bergersen",url:"https://drive.imsyy.top/api?path=/%E9%9F%B3%E4%B9%90/%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8/Two%20Steps%20From%20Hell%26Thomas%20Bergersen-Star%20Sky.mp3&raw=true",cover:"https://y.qq.com/music/photo_new/T002R300x300M000002hKKCC1LSc8y_2.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2FTwo%20Steps%20From%20Hell%26Thomas%20Bergersen-Star%20Sky.lrc",theme:"#0a0c1b"},{name:"Fireflies",artist:"Owl City",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2FOwl%20City-Fireflies.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000002FEF7L03Cv7T_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2FOwl%20City-Fireflies.lrc",theme:"#33658d"},{name:"The Saltwater Room",artist:"Owl City",url:"https://drive.imsyy.top/api?path=%2F%E9%9F%B3%E4%B9%90%2F%E6%96%87%E4%BB%B6%E5%BC%95%E7%94%A8%2FOwl%20City-The%20Saltwater%20Room.mp3&raw=true",cover:"https://y.gtimg.cn/music/photo_new/T002R300x300M000002FEF7L03Cv7T_1.jpg?max_age=2592000",lrc:"https://s-sh-2127-music.oss.dogecdn.com/lrc%2FOwl%20City-The%20Saltwater%20Room.lrc",theme:"#33658d"}]});setInterval(function(){$("#lrc").html(" "+$(".aplayer-lrc-current").text()+" ")},500),ap.on("play",function(){music=$(".aplayer-title").text()+$(".aplayer-author").text(),iziToast.info({timeout:8e3,iconUrl:"./img/icon/music.png",displayMode:"replace",message:music}),$("#play").html(""),$("#music-name").html($(".aplayer-title").text()+$(".aplayer-author").text()),$(document).width()>=990&&($(".power").css("cssText","display:none"),$("#lrc").css("cssText","display:block !important"))}),ap.on("pause",function(){$("#play").html(""),$(document).width()>=990&&($("#lrc").css("cssText","display:none !important"),$(".power").css("cssText","display:block"))}),$("#music").hover(function(){$(".music-text").css("display","none"),$(".music-volume").css("display","flex")},function(){$(".music-text").css("display","block"),$(".music-volume").css("display","none")}),$("#open-music").on("click",function(){$("#hitokoto").css("display","none"),$("#music").css("display","flex")}),$("#hitokoto").hover(function(){$("#open-music").css("display","flex")},function(){$("#open-music").css("display","none")}),$("#music-close").on("click",function(){$("#music").css("display","none"),$("#hitokoto").css("display","flex")}),$("#play").on("click",function(){ap.toggle(),$("#music-name").html($(".aplayer-title").text()+$(".aplayer-author").text())}),$("#last").on("click",function(){ap.skipBack(),$("#music-name").html($(".aplayer-title").text()+$(".aplayer-author").text())}),$("#next").on("click",function(){ap.skipForward(),$("#music-name").html($(".aplayer-title").text()+$(".aplayer-author").text())}),$("#music-open").on("click",function(){$(document).width()>=990&&($("#box").css("display","block"),$("#row").css("display","none"),$("#more").css("cssText","display:none !important"))}); \ No newline at end of file diff --git a/js/set.js b/js/set.js index 55be4be..1ef3b51 100644 --- a/js/set.js +++ b/js/set.js @@ -84,6 +84,7 @@ $(document).ready(function () { var rd = Math.floor(Math.random() * 10); $('#bg').attr('src', pictures[rd]) //随机默认壁纸 iziToast.show({ + timeout: 2500, message: '壁纸设置成功', }); } @@ -92,6 +93,7 @@ $(document).ready(function () { setBgImg(bg_img); $('#bg').attr('src', 'https://api.dujin.org/bing/1920.php'); //必应每日 iziToast.show({ + timeout: 2500, message: '壁纸设置成功', }); } @@ -100,6 +102,7 @@ $(document).ready(function () { setBgImg(bg_img); $('#bg').attr('src', 'https://api.ixiaowai.cn/gqapi/gqapi.php'); //随机风景 iziToast.show({ + timeout: 2500, message: '壁纸设置成功', }); } @@ -108,6 +111,7 @@ $(document).ready(function () { setBgImg(bg_img); $('#bg').attr('src', 'https://api.ixiaowai.cn/api/api.php'); //随机动漫 iziToast.show({ + timeout: 2500, message: '壁纸设置成功', }); } diff --git a/js/set.min.js b/js/set.min.js deleted file mode 100644 index 6c904a1..0000000 --- a/js/set.min.js +++ /dev/null @@ -1 +0,0 @@ -function setBgImg(a){return!!a&&(Cookies.set("bg_img",a,{expires:36500}),!0)}function getBgImg(){var a=Cookies.get("bg_img");return a&&"{}"!==a?JSON.parse(a):(setBgImg(bg_img_preinstall),bg_img_preinstall)}function setBgImgInit(){var a=getBgImg();switch($("input[name='wallpaper-type'][value="+a.type+"]").click(),a.type){case"1":var g=new Array;g[0]="./img/background1.webp",g[1]="./img/background2.webp",g[2]="./img/background3.webp",g[3]="./img/background4.webp",g[4]="./img/background5.webp",g[5]="./img/background6.webp",g[6]="./img/background7.webp",g[7]="./img/background8.webp",g[8]="./img/background9.webp",g[9]="./img/background10.webp";var i=Math.floor(10*Math.random());$("#bg").attr("src",g[i]);break;case"2":$("#bg").attr("src","https://api.dujin.org/bing/1920.php");break;case"3":$("#bg").attr("src","https://api.ixiaowai.cn/gqapi/gqapi.php");break;case"4":$("#bg").attr("src","https://api.ixiaowai.cn/api/api.php")}}var bg_img_preinstall={type:"1",path:""};$(document).ready(function(){setBgImgInit(),$("#wallpaper").on("click",".set-wallpaper",function(){var a=$(this).val(),g=getBgImg();if(g.type=a,"1"===a){setBgImg(g);var i=new Array;i[0]="./img/background1.webp",i[1]="./img/background2.webp",i[2]="./img/background3.webp",i[3]="./img/background4.webp",i[4]="./img/background5.webp",i[5]="./img/background6.webp",i[6]="./img/background7.webp",i[7]="./img/background8.webp",i[8]="./img/background9.webp",i[9]="./img/background10.webp";var e=Math.floor(10*Math.random());$("#bg").attr("src",i[e]),iziToast.show({message:"壁纸设置成功"})}"2"===a&&(setBgImg(g),$("#bg").attr("src","https://api.dujin.org/bing/1920.php"),iziToast.show({message:"壁纸设置成功"})),"3"===a&&(setBgImg(g),$("#bg").attr("src","https://api.ixiaowai.cn/gqapi/gqapi.php"),iziToast.show({message:"壁纸设置成功"})),"4"===a&&(setBgImg(g),$("#bg").attr("src","https://api.ixiaowai.cn/api/api.php"),iziToast.show({message:"壁纸设置成功"}))})}); \ No newline at end of file diff --git a/js/time.min.js b/js/time.min.js deleted file mode 100644 index eb5c320..0000000 --- a/js/time.min.js +++ /dev/null @@ -1 +0,0 @@ -function init_life_time(){function e(){let e=+new Date,r=new Date((new Date).toLocaleDateString()).getTime(),s=(e-r)/1e3/60/60,t=s/24*100;$("#dayProgress .date-text span").html(parseInt(s)),$("#dayProgress .progress .progress-bar").css("width",parseInt(t)+"%"),$("#dayProgress .progress .progress-bar").html(parseInt(t)+"%");let o={0:7,1:1,2:2,3:3,4:4,5:5,6:6},a=o[(new Date).getDay()],l=a/7*100;$("#weekProgress .date-text span").html(a),$("#weekProgress .progress .progress-bar").css("width",parseInt(l)+"%"),$("#weekProgress .progress .progress-bar").html(parseInt(l)+"%");let g=(new Date).getFullYear(),n=(new Date).getDate(),h=(new Date).getMonth()+1,p=new Date(g,h,0).getDate(),i=n/p*100;$("#monthProgress .date-text span").html(n),$("#monthProgress .progress .progress-bar").css("width",parseInt(i)+"%"),$("#monthProgress .progress .progress-bar").html(parseInt(i)+"%");let w=h/12*100;$("#yearProgress .date-text span").html(h),$("#yearProgress .progress .progress-bar").css("width",parseInt(w)+"%"),$("#yearProgress .progress .progress-bar").html(parseInt(w)+"%")}e(),setInterval(()=>{e()},1e3)}if(init_life_time(),now=new Date,hour=now.getHours(),hour<6)var hello="凌晨好";else if(hour<9)hello="早上好";else if(hour<12)hello="上午好";else if(hour<14)hello="中午好";else if(hour<17)hello="下午好";else if(hour<19)hello="傍晚好";else if(hour<22)hello="晚上好";else hello="夜深了"; \ No newline at end of file diff --git a/upgrade-your-browser/css/support.style.css b/upgrade-your-browser/css/support.style.css deleted file mode 100644 index cb87c28..0000000 --- a/upgrade-your-browser/css/support.style.css +++ /dev/null @@ -1,58 +0,0 @@ -/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */ -html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0} -*, ::after, ::before {box-sizing: border-box;} - -a{text-decoration:none;color:#0072c6;}a:hover{text-decoration:none;color:#004d8c;} -body{text-align:center;font-size:14px;line-height:24px;font-family:Microsoft YaHei, '宋体', sans-serif;color:#454545;overflow-y:scroll;_overflow-y:auto;*overflow-y:auto} -.page{width:960px;margin:0 auto;padding:10px;text-align:left;} -h2,h3{font-family:Microsoft YaHei} -h1{font-size:40px;line-height:60px;font-weight:100;margin:20px 0 15px;} -h2{font-size:20px;line-height:25px;font-weight:100;margin:10px 0;} -h3{font-weight:bold} - -code{padding: 2px 4px;font-size: 95%;color: #c7254e;background-color: #f9f2f4;border-radius: 4px;} -pre code{white-space: pre-wrap;word-break:break-word;display:inline-block;word-break:break-all;} -ul{padding:0 1em;} -ul li{list-style-type:disc;list-style-position:inside;} - -b,strong{font-weight:bold} -em{color:red} - -p{margin-bottom:10px} -hr, .hr{margin:20px 0;border:0;width:100%;height:1px;overflow:hidden;background-color:#ccc} - -.text-right{text-align:right} -.clearboth{clear:both;width:100%;content: "";} -.clearleft{clear:left;width:100%;content: "";} -.clearright{clear:right;width:100%;content: "";} - -.browser-list{margin:16px 0 10px;padding:0;height:42px;_overflow:hidden} -.browser{display:block;width:155px;height:34px;line-height:22px;float:left;list-style:none;} -.browser.clearleft{height:1px} -.browser span{display:block;font-size:12px;line-height:1.2;} -.browser img{width:34px;height:34px;border:0;float:left;margin-right:10px;} -.browser.firefox{width:150px} -.browser.edge{width:150px} -.browser.safari{width:150px} -.browser.se360{width:160px} -.browser.qqbrowser{width:140px} -.small-alert{font-size:12px;margin:15px 0 8px;color:#90949c} -.small-alert:not(.hide)+hr{margin-top:0} -.hide{display:none} -.alert-danger{display:block;color:#777;background-color:#f1f1f1;padding:6px 12px;_padding:8px 12px 6px;clear:both;} -.alert-info{color:#000;background-color:#f1f6fc;margin-top:12px} -.alert-info img{vertical-align:text-top;} -#win-danger{margin-top:12px;position: relative;} -#win-danger .arrow{background:url(/images/arrow.png) no-repeat;border:0;position:absolute;display:block;width:20px;height:12px;left:325px;top:-12px} - -.targetline, #referrer a{word-break:break-all;} -.top-alert {background:#f2f2f2;} -.top-alert-content {font-size:14px;} - -@media only screen and (max-width: 959px) { -.page {max-width:100%;padding:20px;font-size:16px;line-height:26px;} -h1 {font-size:26px;line-height:1.8;font-weight:bold;margin-top:0} -.browser-list {height:auto} -.browser {margin:0 20px 20px 0} -code {word-break: break-word;} -} diff --git a/upgrade-your-browser/css/support.style.min.css b/upgrade-your-browser/css/support.style.min.css new file mode 100644 index 0000000..49dcd0f --- /dev/null +++ b/upgrade-your-browser/css/support.style.min.css @@ -0,0 +1 @@ +a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}table{border-collapse:collapse;border-spacing:0}*,::after,::before{box-sizing:border-box}a{text-decoration:none;color:#0072c6}a:hover{text-decoration:none;color:#004d8c}body{text-align:center;font-size:14px;line-height:24px;font-family:Microsoft YaHei,'宋体',sans-serif;color:#454545;overflow-y:scroll}.page{width:960px;margin:0 auto;padding:10px;text-align:left}h2,h3{font-family:Microsoft YaHei}h1{font-size:40px;line-height:60px;font-weight:100;margin:20px 0 15px}h2{font-size:20px;line-height:25px;font-weight:100;margin:10px 0}h3{font-weight:700}code{padding:2px 4px;font-size:95%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}pre code{white-space:pre-wrap;word-break:break-word;display:inline-block;word-break:break-all}ul{padding:0 1em}ul li{list-style-type:disc;list-style-position:inside}b,strong{font-weight:700}em{color:red}p{margin-bottom:10px}.hr,hr{margin:20px 0;border:0;width:100%;height:1px;overflow:hidden;background-color:#ccc}.text-right{text-align:right}.clearboth{clear:both;width:100%;content:""}.clearleft{clear:left;width:100%;content:""}.clearright{clear:right;width:100%;content:""}.browser-list{margin:16px 0 10px;padding:0;height:42px}.browser{display:block;width:155px;height:34px;line-height:22px;float:left;list-style:none}.browser.clearleft{height:1px}.browser span{display:block;font-size:12px;line-height:1.2}.browser img{width:34px;height:34px;border:0;float:left;margin-right:10px}.browser.firefox{width:150px}.browser.edge{width:150px}.browser.safari{width:150px}.browser.se360{width:160px}.browser.qqbrowser{width:140px}.small-alert{font-size:12px;margin:15px 0 8px;color:#90949c}.small-alert:not(.hide)+hr{margin-top:0}.hide{display:none}.alert-danger{display:block;color:#777;background-color:#f1f1f1;padding:6px 12px;clear:both}.alert-info{color:#000;background-color:#f1f6fc;margin-top:12px}.alert-info img{vertical-align:text-top}#win-danger{margin-top:12px;position:relative}#win-danger .arrow{background:url(/images/arrow.png) no-repeat;border:0;position:absolute;display:block;width:20px;height:12px;left:325px;top:-12px}#referrer a,.targetline{word-break:break-all}.top-alert{background:#f2f2f2}.top-alert-content{font-size:14px}@media only screen and (max-width:959px){.page{max-width:100%;padding:20px;font-size:16px;line-height:26px}h1{font-size:26px;line-height:1.8;font-weight:700;margin-top:0}.browser-list{height:auto}.browser{margin:0 20px 20px 0}code{word-break:break-word}} \ No newline at end of file diff --git a/upgrade-your-browser/end-of-ie-support/css/support.style.css b/upgrade-your-browser/end-of-ie-support/css/support.style.css deleted file mode 100644 index cb87c28..0000000 --- a/upgrade-your-browser/end-of-ie-support/css/support.style.css +++ /dev/null @@ -1,58 +0,0 @@ -/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */ -html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0} -*, ::after, ::before {box-sizing: border-box;} - -a{text-decoration:none;color:#0072c6;}a:hover{text-decoration:none;color:#004d8c;} -body{text-align:center;font-size:14px;line-height:24px;font-family:Microsoft YaHei, '宋体', sans-serif;color:#454545;overflow-y:scroll;_overflow-y:auto;*overflow-y:auto} -.page{width:960px;margin:0 auto;padding:10px;text-align:left;} -h2,h3{font-family:Microsoft YaHei} -h1{font-size:40px;line-height:60px;font-weight:100;margin:20px 0 15px;} -h2{font-size:20px;line-height:25px;font-weight:100;margin:10px 0;} -h3{font-weight:bold} - -code{padding: 2px 4px;font-size: 95%;color: #c7254e;background-color: #f9f2f4;border-radius: 4px;} -pre code{white-space: pre-wrap;word-break:break-word;display:inline-block;word-break:break-all;} -ul{padding:0 1em;} -ul li{list-style-type:disc;list-style-position:inside;} - -b,strong{font-weight:bold} -em{color:red} - -p{margin-bottom:10px} -hr, .hr{margin:20px 0;border:0;width:100%;height:1px;overflow:hidden;background-color:#ccc} - -.text-right{text-align:right} -.clearboth{clear:both;width:100%;content: "";} -.clearleft{clear:left;width:100%;content: "";} -.clearright{clear:right;width:100%;content: "";} - -.browser-list{margin:16px 0 10px;padding:0;height:42px;_overflow:hidden} -.browser{display:block;width:155px;height:34px;line-height:22px;float:left;list-style:none;} -.browser.clearleft{height:1px} -.browser span{display:block;font-size:12px;line-height:1.2;} -.browser img{width:34px;height:34px;border:0;float:left;margin-right:10px;} -.browser.firefox{width:150px} -.browser.edge{width:150px} -.browser.safari{width:150px} -.browser.se360{width:160px} -.browser.qqbrowser{width:140px} -.small-alert{font-size:12px;margin:15px 0 8px;color:#90949c} -.small-alert:not(.hide)+hr{margin-top:0} -.hide{display:none} -.alert-danger{display:block;color:#777;background-color:#f1f1f1;padding:6px 12px;_padding:8px 12px 6px;clear:both;} -.alert-info{color:#000;background-color:#f1f6fc;margin-top:12px} -.alert-info img{vertical-align:text-top;} -#win-danger{margin-top:12px;position: relative;} -#win-danger .arrow{background:url(/images/arrow.png) no-repeat;border:0;position:absolute;display:block;width:20px;height:12px;left:325px;top:-12px} - -.targetline, #referrer a{word-break:break-all;} -.top-alert {background:#f2f2f2;} -.top-alert-content {font-size:14px;} - -@media only screen and (max-width: 959px) { -.page {max-width:100%;padding:20px;font-size:16px;line-height:26px;} -h1 {font-size:26px;line-height:1.8;font-weight:bold;margin-top:0} -.browser-list {height:auto} -.browser {margin:0 20px 20px 0} -code {word-break: break-word;} -} diff --git a/upgrade-your-browser/end-of-ie-support/css/support.style.min.css b/upgrade-your-browser/end-of-ie-support/css/support.style.min.css new file mode 100644 index 0000000..49dcd0f --- /dev/null +++ b/upgrade-your-browser/end-of-ie-support/css/support.style.min.css @@ -0,0 +1 @@ +a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}table{border-collapse:collapse;border-spacing:0}*,::after,::before{box-sizing:border-box}a{text-decoration:none;color:#0072c6}a:hover{text-decoration:none;color:#004d8c}body{text-align:center;font-size:14px;line-height:24px;font-family:Microsoft YaHei,'宋体',sans-serif;color:#454545;overflow-y:scroll}.page{width:960px;margin:0 auto;padding:10px;text-align:left}h2,h3{font-family:Microsoft YaHei}h1{font-size:40px;line-height:60px;font-weight:100;margin:20px 0 15px}h2{font-size:20px;line-height:25px;font-weight:100;margin:10px 0}h3{font-weight:700}code{padding:2px 4px;font-size:95%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}pre code{white-space:pre-wrap;word-break:break-word;display:inline-block;word-break:break-all}ul{padding:0 1em}ul li{list-style-type:disc;list-style-position:inside}b,strong{font-weight:700}em{color:red}p{margin-bottom:10px}.hr,hr{margin:20px 0;border:0;width:100%;height:1px;overflow:hidden;background-color:#ccc}.text-right{text-align:right}.clearboth{clear:both;width:100%;content:""}.clearleft{clear:left;width:100%;content:""}.clearright{clear:right;width:100%;content:""}.browser-list{margin:16px 0 10px;padding:0;height:42px}.browser{display:block;width:155px;height:34px;line-height:22px;float:left;list-style:none}.browser.clearleft{height:1px}.browser span{display:block;font-size:12px;line-height:1.2}.browser img{width:34px;height:34px;border:0;float:left;margin-right:10px}.browser.firefox{width:150px}.browser.edge{width:150px}.browser.safari{width:150px}.browser.se360{width:160px}.browser.qqbrowser{width:140px}.small-alert{font-size:12px;margin:15px 0 8px;color:#90949c}.small-alert:not(.hide)+hr{margin-top:0}.hide{display:none}.alert-danger{display:block;color:#777;background-color:#f1f1f1;padding:6px 12px;clear:both}.alert-info{color:#000;background-color:#f1f6fc;margin-top:12px}.alert-info img{vertical-align:text-top}#win-danger{margin-top:12px;position:relative}#win-danger .arrow{background:url(/images/arrow.png) no-repeat;border:0;position:absolute;display:block;width:20px;height:12px;left:325px;top:-12px}#referrer a,.targetline{word-break:break-all}.top-alert{background:#f2f2f2}.top-alert-content{font-size:14px}@media only screen and (max-width:959px){.page{max-width:100%;padding:20px;font-size:16px;line-height:26px}h1{font-size:26px;line-height:1.8;font-weight:700;margin-top:0}.browser-list{height:auto}.browser{margin:0 20px 20px 0}code{word-break:break-word}} \ No newline at end of file diff --git a/upgrade-your-browser/end-of-ie-support/index.html b/upgrade-your-browser/end-of-ie-support/index.html index b75420c..015710e 100644 --- a/upgrade-your-browser/end-of-ie-support/index.html +++ b/upgrade-your-browser/end-of-ie-support/index.html @@ -1,62 +1 @@ - - - - - - - - - - 对旧版 Internet Explorer 的支持服务已终止 - - - - - - - - - - - -
-
-
本页是 IE 旧版支持服务终止页面的文字副本,因微软官方网页无法在旧版IE中正常访问,故提供此备份以供旧版IE用户浏览。查看原网页 -
-
-
-
-

对旧版 Internet Explorer 的支持服务已终止

-

从 2016 年 1 月 12 日开始,仅面向受支持操作系统的最新版 Internet Explorer 将收到技术支持和安全更新。Internet Explorer 11 是最新版的 Internet - Explorer,将继续在 Windows 7、Windows 8.1 和 Windows 10 上收到安全更新、兼容性修复程序和技术支持。

-
-

这意味着什么?

-

这意味着您应该采取行动。2016 年 1 月 12 日之后,Microsoft 将不再为 Internet Explorer - 早期版本提供安全更新或技术支持。安全更新用于修补可能被恶意软件利用的漏洞,从而为提高用户及其数据的安全性提供帮助。定期安全更新帮助保护计算机不受恶意攻击,因此升级和保持最新很重要。

-
-

我如何升级 Internet Explorer?

-

中小型企业:对于考虑浏览器升级的中小型企业,选择有很多。没有 Web 应用程序的中小型组织(员工在 500 人以下)可使用自动更新进行自动更新。对于依赖现有 Web - 应用程序的中小型企业,可以寻找 Microsoft 认证合作伙伴以了解符合其业务需要的最佳方案。

-

企业客户:Microsoft 为大型组织(员工在 500 人以上)提供丰富的技术资源、工具和专家指导,以帮助这些组织轻松部署和管理 Windows、Office 以及 Internet - Explorer 产品和技术。通过联系您的 Microsoft 销售代表、Microsoft Services 部门或 Microsoft 认证合作伙伴,详细了解迁移和部署计划。了解如何通过访问 TechNet - 自行试用和部署最新版本的 Edge。

-
-

使用 Internet Explorer 早期版本的潜在风险

-

2016 年 1 月 12 日后运行 Internet Explorer 早期版本可能使您面临潜在风险,例如:

-

安全性:没有关键的浏览器安全更新,您的 PC 可能易受有害病毒、间谍软件和其他恶意软件的攻击,它们可以窃取或损害您的业务数据和信息。

-

合规性:需要遵守法规规定(如 HIPAA)的企业应执行尽职调查,以评估它们使用不受支持的软件是否仍能满足合规性要求。

-

缺乏独立软件 (ISV) 支持:许多独立软件供应商 (ISV) 都不再支持 Internet Explorer 早期版本。例如,Office 365 采用现代 Web - 标准,而且与最新浏览器一起使用时运行最出色。

-
-

Copyright © 2020 無名 . All Rights Reserved

-
- -
- -
- - - \ No newline at end of file +对旧版 Internet Explorer 的支持服务已终止
本页是 IE 旧版支持服务终止页面的文字副本,因微软官方网页无法在旧版IE中正常访问,故提供此备份以供旧版IE用户浏览。查看原网页

对旧版 Internet Explorer 的支持服务已终止

从 2016 年 1 月 12 日开始,仅面向受支持操作系统的最新版 Internet Explorer 将收到技术支持和安全更新。Internet Explorer 11 是最新版的 Internet Explorer,将继续在 Windows 7、Windows 8.1 和 Windows 10 上收到安全更新、兼容性修复程序和技术支持。

这意味着什么?

这意味着您应该采取行动。2016 年 1 月 12 日之后,Microsoft 将不再为 Internet Explorer 早期版本提供安全更新或技术支持。安全更新用于修补可能被恶意软件利用的漏洞,从而为提高用户及其数据的安全性提供帮助。定期安全更新帮助保护计算机不受恶意攻击,因此升级和保持最新很重要。

我如何升级 Internet Explorer?

中小型企业:对于考虑浏览器升级的中小型企业,选择有很多。没有 Web 应用程序的中小型组织(员工在 500 人以下)可使用自动更新进行自动更新。对于依赖现有 Web 应用程序的中小型企业,可以寻找 Microsoft 认证合作伙伴以了解符合其业务需要的最佳方案。

企业客户:Microsoft 为大型组织(员工在 500 人以上)提供丰富的技术资源、工具和专家指导,以帮助这些组织轻松部署和管理 Windows、Office 以及 Internet Explorer 产品和技术。通过联系您的 Microsoft 销售代表、Microsoft Services 部门或 Microsoft 认证合作伙伴,详细了解迁移和部署计划。了解如何通过访问 TechNet 自行试用和部署最新版本的 Edge。

使用 Internet Explorer 早期版本的潜在风险

2016 年 1 月 12 日后运行 Internet Explorer 早期版本可能使您面临潜在风险,例如:

安全性:没有关键的浏览器安全更新,您的 PC 可能易受有害病毒、间谍软件和其他恶意软件的攻击,它们可以窃取或损害您的业务数据和信息。

合规性:需要遵守法规规定(如 HIPAA)的企业应执行尽职调查,以评估它们使用不受支持的软件是否仍能满足合规性要求。

缺乏独立软件 (ISV) 支持:许多独立软件供应商 (ISV) 都不再支持 Internet Explorer 早期版本。例如,Office 365 采用现代 Web 标准,而且与最新浏览器一起使用时运行最出色。

Copyright © 2020無名 . All Rights Reserved

\ No newline at end of file diff --git a/upgrade-your-browser/end-of-ie-support/js/er3eport.js b/upgrade-your-browser/end-of-ie-support/js/er3eport.js deleted file mode 100644 index 62f74f1..0000000 --- a/upgrade-your-browser/end-of-ie-support/js/er3eport.js +++ /dev/null @@ -1,60 +0,0 @@ -// simple error report by baidu tongji - -var _hmt = _hmt || []; - -var er3eport = {}; -er3eport.start = (new Date().getTime()); -er3eport.codetime = function () { - return (new Date().getTime()) - er3eport.start; -}; -er3eport.dodnt = function () { - window.dnt = 1; if (typeof window.dodnt === 'function') window.dodnt(); -}; -er3eport.jqdefined = function () { - _hmt.push(['_setCustomVar', 2, 'JSERROR', 'jQueryDefined' + ' # ' + er3eport.codetime(), 3]); - er3eport.dodnt(); -}; -er3eport.listener = function (msg) { - - var logstr = false; - var errtype = 'JSERROR'; - if (typeof msg === 'string') { - logstr = msg; - - } else { - if (msg.error) logstr = msg.error.stack; - else if (msg.message) logstr = msg.message; - - var src; - if (msg.srcElement && msg.srcElement.src) src = msg.srcElement.src; - else if (msg.target && msg.target.src) src = msg.target.src; - - if (! logstr) { - if (src) { - logstr = 'FileError: ' + src; - errtype = 'FILEERROR'; - } else if (msg.type) { - logstr = msg.type; - } - } - } - - if (typeof logstr !== 'string') { - logstr = 'empty_error_string' - } else { - logstr = logstr.replace(/\n/g, '').replace(/\s+/g, ' '); - } - - _hmt.push(['_trackEvent', errtype, window.location.pathname, logstr + ' #UA# ' + navigator.userAgent + ' # ' + er3eport.codetime()]); - - return true; -} - -if (typeof jQuery === 'function') er3eport.jqdefined(); -if (Object.defineProperty) Object.defineProperty(window, 'jQuery', {set: er3eport.jqdefined}); - -if (window.addEventListener) { - window.addEventListener('error', er3eport.listener, true); -} else if (window.attachEvent) { - window.attachEvent('onerror', er3eport.listener); -} \ No newline at end of file diff --git a/upgrade-your-browser/end-of-ie-support/js/er3eport.min.js b/upgrade-your-browser/end-of-ie-support/js/er3eport.min.js new file mode 100644 index 0000000..2abb5fa --- /dev/null +++ b/upgrade-your-browser/end-of-ie-support/js/er3eport.min.js @@ -0,0 +1 @@ +var _hmt=_hmt||[],er3eport={};er3eport.start=(new Date).getTime(),er3eport.codetime=function(){return(new Date).getTime()-er3eport.start},er3eport.dodnt=function(){window.dnt=1,"function"==typeof window.dodnt&&window.dodnt()},er3eport.jqdefined=function(){_hmt.push(["_setCustomVar",2,"JSERROR","jQueryDefined # "+er3eport.codetime(),3]),er3eport.dodnt()},er3eport.listener=function(e){var t,r=!1,n="JSERROR";"string"==typeof e?r=e:(e.error?r=e.error.stack:e.message&&(r=e.message),e.srcElement&&e.srcElement.src?t=e.srcElement.src:e.target&&e.target.src&&(t=e.target.src),r||(t?(r="FileError: "+t,n="FILEERROR"):e.type&&(r=e.type)));return r="string"!=typeof r?"empty_error_string":r.replace(/\n/g,"").replace(/\s+/g," "),_hmt.push(["_trackEvent",n,window.location.pathname,r+" #UA# "+navigator.userAgent+" # "+er3eport.codetime()]),!0},"function"==typeof jQuery&&er3eport.jqdefined(),Object.defineProperty&&Object.defineProperty(window,"jQuery",{set:er3eport.jqdefined}),window.addEventListener?window.addEventListener("error",er3eport.listener,!0):window.attachEvent&&window.attachEvent("onerror",er3eport.listener); \ No newline at end of file diff --git a/upgrade-your-browser/end-of-ie-support/js/hello.world.js b/upgrade-your-browser/end-of-ie-support/js/hello.world.js deleted file mode 100644 index cdb8a1b..0000000 --- a/upgrade-your-browser/end-of-ie-support/js/hello.world.js +++ /dev/null @@ -1,83 +0,0 @@ -setTimeout(function() { - - var realPathname = window.location.pathname; - // ie 兼容 - if (realPathname.indexOf('/') !== 0) { - realPathname = '/' + realPathname; - } - var isUPPage = realPathname === '/upgrade-your-browser.html'; - var isSpHost = window.location.hostname === 'support.dmeng.net'; - window.dodnt = function() { - var now = new Date(); var time = now.getTime(); time += 600 * 1000; now.setTime(time); - document.cookie = 'dnt=1' + '; expires=' + now.toUTCString() + '; path=/'; - }; var doTrack = typeof window.dnt === 'undefined'; - if (doTrack === false && document.cookie.match(/dnt=1/) === null) window.dodnt(); - - window._hmt = window._hmt || []; - var _hmt_id = '6ddc2cf73e10ed480880c454b957e809'; - if (isSpHost) { - - if (doTrack) { - - _hmt_id = '3546503052812606f053b8bb63ef0e99'; - - // 统计需要升级的IE版本 - if (isUPPage) { - - var iever = "none"; - - var _jsver = 0; - /*@cc_on - _jsver = @_jscript_version; - @*/ - if (_jsver === 0) { - // IE11 或者不是 IE - - if (!!window.MSInputMethodContext && !!document.documentMode) { - iever = 11; - } - } else { - var docmode = document.documentMode; - if (!! docmode && docmode > 5) { - iever = docmode; - } else if (_jsver === 5.7 && window.XMLHttpRequest) { - iever = 7; - } else if (_jsver === 5.6 || (_jsver === 5.7 && !window.XMLHttpRequest)) { - iever = 6; - } else { - iever = 5; - } - iever += ""; - } - - var winver = 'other'; - var ua = navigator.userAgent; - - if (ua.indexOf("Windows NT 5") !== -1) { - winver = 'winXP'; - } else if (ua.indexOf("Windows NT 6.1") !== -1) { - winver = 'win7'; - } else if (ua.indexOf("Windows NT 6.2") !== -1) { - winver = 'win8'; - } else if (ua.indexOf("Windows NT 6.3") !== -1) { - winver = 'win8.1'; - } else if (ua.indexOf("Windows NT 10") !== -1) { - winver = 'win10'; - } - - _hmt.push(['_setCustomVar', 1, 'ClientVer', winver + "_IE" + iever, 3]); - } - - } else { - _hmt_id = 'b5afc37c04e670dc17f68727f92ea21c'; - } - } - - _hmt.unshift(['_setAccount', _hmt_id]); - - var helloWorldJS = document.getElementById('hello-world-js'); - var hm = document.createElement('script'); - hm.src = '//hm.baidu.com/hm.js?' + _hmt_id; - helloWorldJS.parentNode.insertBefore(hm, helloWorldJS); - -}, 1500); diff --git a/upgrade-your-browser/index.html b/upgrade-your-browser/index.html index 4efb6de..e04cf3e 100644 --- a/upgrade-your-browser/index.html +++ b/upgrade-your-browser/index.html @@ -1,97 +1 @@ - - - - - - - - - - 请升级您的浏览器 - - - - - - - - - - - -
-

是时候升级你的浏览器了

-

你正在使用旧版 Internet Explorer( IE11 及以下版本或使用该内核的浏览器 )。这意味着在升级浏览器前,你将无法访问此网站。

-
-

请注意:Windows XP 及旧版 Internet Explorer 的支持服务已终止

-

自2016年1月12日起,微软不再为 IE 11 以下版本提供相应支持和更新。没有关键的浏览器安全更新,您的电脑可能易受有害病毒、间谍软件和其他恶意软件的攻击,它们可以窃取或损害您的业务数据和信息。请参阅 微软对旧版 Internet Explorer 的支持服务已终止的说明

-
-

更先进的浏览器

-

推荐使用以下浏览器的最新版本。如果你的电脑已有以下浏览器的最新版本则直接使用该浏览器或开启极速模式访问即可。

- - - -
-

为什么会出现这个页面?

-

如果你不知道升级浏览器是什么意思,请请教一些熟练电脑操作的朋友。如果你使用的不是 IE6 / 7 / 8 / 9 / 10,而是 Google Chrome、Safari、Microsoft Edge、火狐浏览器等,出现这个页面可能是因为你使用的不是该浏览器的最新版本,升级至最新即可。 -

-
-

一起抵制 IE6、IE7、IE8、IE9、IE10、IE11

-

为了兼容这个曾经的浏览器霸主,网页设计人员需要做大量的代码工作。对于普通用户而言,低版本 IE 更是一个岌岌可危的安全隐患,在 Windows 历史上几次大的木马病毒事件都是利用 IE 漏洞进行传播。所以,请和我们一起抵制 IE 的过期版本! -

-
-

Copyright © 2020 無名 . All Rights Reserved

-
-
- -
- - - \ No newline at end of file +请升级您的浏览器

是时候升级你的浏览器了

你正在使用旧版 Internet Explorer( IE11 及以下版本或使用该内核的浏览器 )。这意味着在升级浏览器前,你将无法访问此网站。

请注意:Windows XP 及旧版 Internet Explorer 的支持服务已终止

自2016年1月12日起,微软不再为 IE 11 以下版本提供相应支持和更新。没有关键的浏览器安全更新,您的电脑可能易受有害病毒、间谍软件和其他恶意软件的攻击,它们可以窃取或损害您的业务数据和信息。请参阅 微软对旧版 Internet Explorer 的支持服务已终止的说明

更先进的浏览器

推荐使用以下浏览器的最新版本。如果你的电脑已有以下浏览器的最新版本则直接使用该浏览器或开启极速模式访问即可。

为什么会出现这个页面?

如果你不知道升级浏览器是什么意思,请请教一些熟练电脑操作的朋友。如果你使用的不是 IE6 / 7 / 8 / 9 / 10,而是 Google Chrome、Safari、Microsoft Edge、火狐浏览器等,出现这个页面可能是因为你使用的不是该浏览器的最新版本,升级至最新即可。

一起抵制 IE6、IE7、IE8、IE9、IE10、IE11

为了兼容这个曾经的浏览器霸主,网页设计人员需要做大量的代码工作。对于普通用户而言,低版本 IE 更是一个岌岌可危的安全隐患,在 Windows 历史上几次大的木马病毒事件都是利用 IE 漏洞进行传播。所以,请和我们一起抵制 IE 的过期版本!

Copyright © 2020無名 . All Rights Reserved

\ No newline at end of file diff --git a/upgrade-your-browser/js/er3eport.js b/upgrade-your-browser/js/er3eport.js deleted file mode 100644 index 62f74f1..0000000 --- a/upgrade-your-browser/js/er3eport.js +++ /dev/null @@ -1,60 +0,0 @@ -// simple error report by baidu tongji - -var _hmt = _hmt || []; - -var er3eport = {}; -er3eport.start = (new Date().getTime()); -er3eport.codetime = function () { - return (new Date().getTime()) - er3eport.start; -}; -er3eport.dodnt = function () { - window.dnt = 1; if (typeof window.dodnt === 'function') window.dodnt(); -}; -er3eport.jqdefined = function () { - _hmt.push(['_setCustomVar', 2, 'JSERROR', 'jQueryDefined' + ' # ' + er3eport.codetime(), 3]); - er3eport.dodnt(); -}; -er3eport.listener = function (msg) { - - var logstr = false; - var errtype = 'JSERROR'; - if (typeof msg === 'string') { - logstr = msg; - - } else { - if (msg.error) logstr = msg.error.stack; - else if (msg.message) logstr = msg.message; - - var src; - if (msg.srcElement && msg.srcElement.src) src = msg.srcElement.src; - else if (msg.target && msg.target.src) src = msg.target.src; - - if (! logstr) { - if (src) { - logstr = 'FileError: ' + src; - errtype = 'FILEERROR'; - } else if (msg.type) { - logstr = msg.type; - } - } - } - - if (typeof logstr !== 'string') { - logstr = 'empty_error_string' - } else { - logstr = logstr.replace(/\n/g, '').replace(/\s+/g, ' '); - } - - _hmt.push(['_trackEvent', errtype, window.location.pathname, logstr + ' #UA# ' + navigator.userAgent + ' # ' + er3eport.codetime()]); - - return true; -} - -if (typeof jQuery === 'function') er3eport.jqdefined(); -if (Object.defineProperty) Object.defineProperty(window, 'jQuery', {set: er3eport.jqdefined}); - -if (window.addEventListener) { - window.addEventListener('error', er3eport.listener, true); -} else if (window.attachEvent) { - window.attachEvent('onerror', er3eport.listener); -} \ No newline at end of file diff --git a/upgrade-your-browser/js/er3eport.min.js b/upgrade-your-browser/js/er3eport.min.js new file mode 100644 index 0000000..2abb5fa --- /dev/null +++ b/upgrade-your-browser/js/er3eport.min.js @@ -0,0 +1 @@ +var _hmt=_hmt||[],er3eport={};er3eport.start=(new Date).getTime(),er3eport.codetime=function(){return(new Date).getTime()-er3eport.start},er3eport.dodnt=function(){window.dnt=1,"function"==typeof window.dodnt&&window.dodnt()},er3eport.jqdefined=function(){_hmt.push(["_setCustomVar",2,"JSERROR","jQueryDefined # "+er3eport.codetime(),3]),er3eport.dodnt()},er3eport.listener=function(e){var t,r=!1,n="JSERROR";"string"==typeof e?r=e:(e.error?r=e.error.stack:e.message&&(r=e.message),e.srcElement&&e.srcElement.src?t=e.srcElement.src:e.target&&e.target.src&&(t=e.target.src),r||(t?(r="FileError: "+t,n="FILEERROR"):e.type&&(r=e.type)));return r="string"!=typeof r?"empty_error_string":r.replace(/\n/g,"").replace(/\s+/g," "),_hmt.push(["_trackEvent",n,window.location.pathname,r+" #UA# "+navigator.userAgent+" # "+er3eport.codetime()]),!0},"function"==typeof jQuery&&er3eport.jqdefined(),Object.defineProperty&&Object.defineProperty(window,"jQuery",{set:er3eport.jqdefined}),window.addEventListener?window.addEventListener("error",er3eport.listener,!0):window.attachEvent&&window.attachEvent("onerror",er3eport.listener); \ No newline at end of file diff --git a/upgrade-your-browser/js/hello.world.js b/upgrade-your-browser/js/hello.world.js deleted file mode 100644 index cdb8a1b..0000000 --- a/upgrade-your-browser/js/hello.world.js +++ /dev/null @@ -1,83 +0,0 @@ -setTimeout(function() { - - var realPathname = window.location.pathname; - // ie 兼容 - if (realPathname.indexOf('/') !== 0) { - realPathname = '/' + realPathname; - } - var isUPPage = realPathname === '/upgrade-your-browser.html'; - var isSpHost = window.location.hostname === 'support.dmeng.net'; - window.dodnt = function() { - var now = new Date(); var time = now.getTime(); time += 600 * 1000; now.setTime(time); - document.cookie = 'dnt=1' + '; expires=' + now.toUTCString() + '; path=/'; - }; var doTrack = typeof window.dnt === 'undefined'; - if (doTrack === false && document.cookie.match(/dnt=1/) === null) window.dodnt(); - - window._hmt = window._hmt || []; - var _hmt_id = '6ddc2cf73e10ed480880c454b957e809'; - if (isSpHost) { - - if (doTrack) { - - _hmt_id = '3546503052812606f053b8bb63ef0e99'; - - // 统计需要升级的IE版本 - if (isUPPage) { - - var iever = "none"; - - var _jsver = 0; - /*@cc_on - _jsver = @_jscript_version; - @*/ - if (_jsver === 0) { - // IE11 或者不是 IE - - if (!!window.MSInputMethodContext && !!document.documentMode) { - iever = 11; - } - } else { - var docmode = document.documentMode; - if (!! docmode && docmode > 5) { - iever = docmode; - } else if (_jsver === 5.7 && window.XMLHttpRequest) { - iever = 7; - } else if (_jsver === 5.6 || (_jsver === 5.7 && !window.XMLHttpRequest)) { - iever = 6; - } else { - iever = 5; - } - iever += ""; - } - - var winver = 'other'; - var ua = navigator.userAgent; - - if (ua.indexOf("Windows NT 5") !== -1) { - winver = 'winXP'; - } else if (ua.indexOf("Windows NT 6.1") !== -1) { - winver = 'win7'; - } else if (ua.indexOf("Windows NT 6.2") !== -1) { - winver = 'win8'; - } else if (ua.indexOf("Windows NT 6.3") !== -1) { - winver = 'win8.1'; - } else if (ua.indexOf("Windows NT 10") !== -1) { - winver = 'win10'; - } - - _hmt.push(['_setCustomVar', 1, 'ClientVer', winver + "_IE" + iever, 3]); - } - - } else { - _hmt_id = 'b5afc37c04e670dc17f68727f92ea21c'; - } - } - - _hmt.unshift(['_setAccount', _hmt_id]); - - var helloWorldJS = document.getElementById('hello-world-js'); - var hm = document.createElement('script'); - hm.src = '//hm.baidu.com/hm.js?' + _hmt_id; - helloWorldJS.parentNode.insertBefore(hm, helloWorldJS); - -}, 1500); diff --git a/upgrade-your-browser/js/main.min.js b/upgrade-your-browser/js/main.min.js new file mode 100644 index 0000000..676c4b4 --- /dev/null +++ b/upgrade-your-browser/js/main.min.js @@ -0,0 +1 @@ +var l=window.location,s=l.search.substr(1),r="",dr=document.referrer,r1=s.match(/(^|&)referrer=((http|https)[^&]*)/),r2=s.match(/^referrer=((http|https)\:\/\/.*)$/);null!==r2?r=r2[1]:null!==r1&&(r=r1[2]),""===r&&""!==dr&&null===dr.match(/\/(?:.*\.dmeng\.net|(?:(?:(?:www|m|wap|cn|search)\.)?(?:google|baidu|sogou|bing|so|yahoo|yandex|duckduckgo)\.com(?:\.[a-z]+)?))/)&&(l.href=l.protocol+"//"+l.hostname+l.pathname+"?referrer="+encodeURIComponent(dr)+"&"+s);var url=decodeURIComponent(r);-1!=url.indexOf(window.location.hostname+"/")&&(url="");var targetUrlHTML="";if(""!==url){var m=url.match(/^(https?\:\/\/[^/]+\/)index\.html$/);targetUrlHTML=' '+(m?m[1]:url)+" "} \ No newline at end of file