123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- <!DOCTYPE html>
- <html lang="en" style="font-size: 50px;">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
- <link rel="shortcut icon" href="./img/favicon.ico">
- <title>喵视网 海量高清影片、更佳观影体验</title>
- <style>
- * {
- margin: 0;
- padding: 0;
- }
- body {
- color: #eaeaea;
- background-color: #121212;
- transition: color 0.5s, background-color 0.5s;
- line-height: 1.6;
- }
- .content {
- width: 100vw;
- height: 100vh;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .guide_title {
- display: flex;
- justify-content: center;
- align-items: center;
- position: relative;
- bottom: -0.18rem;
- }
- .guide_img {
- height: 0.52rem;
- }
- .guide_title_text {
- margin-left: 0.12rem;
- color: #dd2e07;
- font-size: .48rem;
- font-weight: 600;
- }
- .guide_des {
- border-radius: 0.06rem;
- padding: 0.26rem 0;
- text-align: center;
- color: #FFF;
- font-size: 0.32rem;
- font-weight: 600;
- }
- .address {
- font-weight: 600;
- font-size: 14px;
- width: 300px;
- height: 0.96rem;
- color: #dfdfdf;
- display: flex;
- gap: 0.26rem;
- align-items: center;
- border-radius: 0.16rem;
- background: rgba(0, 0, 0, 0.5);
- border: 1px solid #333;
- overflow: hidden;
- }
- .address_title {
- height: 0.96rem;
- line-height: 0.96rem;
- text-align: center;
- width: 2rem;
- background-color: #dd2e07;
- }
- .address_value {
- font-size: 16px;
- }
- .downText {
- color: #FFF;
- text-align: center;
- font-size: .32rem;
- font-weight: 600;
- margin: .2rem 0;
- }
- .downloadLine {
- margin-top: 0.26rem;
- width: 6.2rem;
- font-size: 16px;
- font-weight: bold;
- color: #494949;
- border-radius: 4px;
- padding: 15px 0;
- text-align: center;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- #iosdownload-cn {
- background-color: #ffffff;
- }
- #androiddownload-cn {
- color: #ffffff;
- background-color: #dd2e07;
- }
- #iosdownload-en {
- background-color: #ffffff;
- }
- #androiddownload-en {
- color: #ffffff;
- background-color: #dd2e07;
- }
- .downloadLine img {
- width: 20px;
- margin-right: 8px;
- margin-top: -2px;
- }
- .addressTxt {
- color: #FFF;
- text-align: center;
- font-size: .28rem;
- font-weight: 600;
- margin-top: .26rem;
- }
- .email_address {
- text-align: center;
- margin-top: .26rem;
- color: #dfdfdf;
- font-size: 0.28rem;
- }
- .top-right-img {
- position: absolute;
- top: 0;
- right: 25px;
- }
- .switch {
- display: none;
- }
- .switch-label {
- position: relative;
- display: inline-block;
- width: 60px;
- height: 34px;
- background-color: #ccc;
- border-radius: 34px;
- cursor: pointer;
- transition: background-color 0.4s;
- -webkit-tap-highlight-color: transparent;
- outline: none;
- user-select: none;
- }
- .switch-label::before {
- content: '';
- position: absolute;
- width: 26px;
- height: 26px;
- left: 4px;
- bottom: 4px;
- background-color: white;
- border-radius: 50%;
- transition: transform 0.4s;
- }
- .switch:checked+.switch-label {
- background-color: #dd2e07;
- }
- .switch:checked+.switch-label::before {
- transform: translateX(26px);
- }
- .switch-text {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- font-size: 12px;
- color: white;
- font-weight: bold;
- }
- .switch-text:first-child {
- left: 8px;
- }
- .switch-text:last-child {
- right: 8px;
- color: black;
- }
- .guide_image {
- text-align: center;
- }
- #zn {
- display: none;
- }
- </style>
- </head>
- <body>
- <div class="content">
- <div class="top-right-img">
- <input type="checkbox" id="language-switch" class="switch">
- <label for="language-switch" class="switch-label">
- <span class="switch-text" id="switchEN">中</span>
- <span class="switch-text" id="switchZH">EN</span>
- </label>
- </div>
- <!-- 中文 -->
- <div id="en">
- <div class="guide_image">
- <img src="./img/logoHome.png">
- </div>
- <div class="guide_title">
- <p class="guide_title_text">-喵视网 APP-</p>
- </div>
- <div class="guide_des">海量高清影片、更佳观影体验</div>
- <div class="address">
- <div class="address_title">点我观看</div>
- <div class="address_value">https://c1.ys789.tv</div>
- </div>
- <div class="downText">—— 永久有效客户端,请务必下载 ——</div>
- <div id="iosdownload-cn" class="downloadLine">
- <img src="./img/iosp.png">苹果端-99.9%的人选择下载
- </div>
- <div id="androiddownload-cn" class="downloadLine">
- <img src="./img/andp.png">安卓端-99.9%的人选择下载
- </div>
- <div class="addressTxt">请下载客户端进行看片<br>当前可用!请尽快下载!<br>如客户端失效,24小时内会补充新的<br>iOS端下载后,请在意见反馈中输入666进行解锁</div>
- <p class="email_address">联系邮箱:alexsqe9@gmail.com</p>
- </div>
- <!-- 英文 -->
- <div id="zn">
- <div class="guide_image">
- <img src="./img/logoHome.png">
- </div>
- <div class="guide_title">
- <p class="guide_title_text">-喵视网 APP-</p>
- </div>
- <div class="guide_des">Vast HD films, superior experience</div>
- <div class="address">
- <div class="address_title">Watch</div>
- <div class="address_value">https://c1.ys789.tv</div>
- </div>
- <div class="downText">—— Lifetime app, download now. ——</div>
- <div id="iosdownload-en" class="downloadLine">
- <img src="./img/iosp.png">99% iOS Download
- </div>
- <div id="androiddownload-en" class="downloadLine">
- <img src="./img/andp.png">99% android Download
- </div>
- <div class="addressTxt">Download the app to watch<br>Available now! Hurry!<br>New version in 24h if needed<br>iOS: Enter 666 in feedback to unlock
- </div>
- <p class="email_address">Email:alexsqe9@gmail.com</p>
- </div>
- </div>
- <script>
- let IosURL = '';
- let AndURL = '';
- let isDataLoaded = false;
- const iosDomCN = document.querySelector('#iosdownload-cn');
- const androidDomCN = document.querySelector('#androiddownload-cn');
- const iosDomEN = document.querySelector('#iosdownload-en');
- const androidDomEN = document.querySelector('#androiddownload-en');
- const languageSwitch = document.querySelector('#language-switch');
- const enDiv = document.querySelector('#en');
- const znDiv = document.querySelector('#zn');
- function handleClick(url, isEnglish = false) {
- if (!isDataLoaded) {
- return alert(isEnglish ? 'Still loading, please try later.' : '资源正在加载中,请稍候。');
- }
- if (!url) {
- return alert(isEnglish ? 'No resource available, we will update soon.' : '暂无资源,我们将尽快更新');
- }
- window.open(url);
- }
- iosDomCN.addEventListener('click', () => handleClick(IosURL));
- androidDomCN.addEventListener('click', () => handleClick(AndURL));
- iosDomEN.addEventListener('click', () => handleClick(IosURL, true));
- androidDomEN.addEventListener('click', () => handleClick(AndURL, true));
- languageSwitch.addEventListener('change', function () {
- if (!this.checked) {
- enDiv.style.display = 'block';
- znDiv.style.display = 'none';
- } else {
- enDiv.style.display = 'none';
- znDiv.style.display = 'block';
- }
- });
- document.addEventListener("DOMContentLoaded", function () {
- fetch("https://ys.co5pct5zio5zci6k6h6icd5ou1.app/Admin/Taskorder/sel_ys_download_url")
- .then(response => response.json())
- .then(res => {
- let data = res.data[0];
- IosURL = data.ios;
- AndURL = data.android;
- isDataLoaded = true;
- console.log("Download URLs loaded:", IosURL, AndURL);
- })
- .catch(error => {
- console.error('Error loading URLs:', error);
- alert('加载资源失败,请稍后再试');
- });
- document.querySelectorAll('.address').forEach(item => {
- item.addEventListener('click', function () {
- window.open('https://c1.ys789.tv');
- });
- });
- });
- </script>
- </body>
- </html>
|