XiYun/xysoft.html

345 lines
14 KiB
HTML
Raw Permalink Normal View History

2024-08-29 08:50:16 +08:00
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>汐云软件商店-所有软件均为官方下载地址</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.search-container {
width: 100%;
max-width: 600px;
margin-bottom: 20px;
display: flex;
align-items: center;
}
#searchBox {
flex-grow: 1;
padding: 10px 15px;
border: none;
border-radius: 25px;
background-color: #f4f4f4;
font-size: 16px;
transition: background-color 0.3s ease;
margin-right: 10px;
}
#searchBox:focus {
outline: none;
background-color: #eaeaea;
}
#searchButton {
padding: 10px 15px;
border: none;
border-radius: 25px;
background: linear-gradient(to right, #007bff, #0056b3);
color: white;
font-size: 16px;
cursor: pointer;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transition: background 0.3s ease, transform 0.3s ease;
}
#searchButton:hover {
background: linear-gradient(to right, #0056b3, #007bff);
transform: translateY(-2px);
}
#searchButton:active {
background: linear-gradient(to right, #0056b3, #007bff);
transform: translateY(1px);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.rounded-glass {
flex: 1 0 calc(25% - 10px);
margin: 5px;
box-sizing: border-box;
min-width: 200px;
background-color: #ffffff;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: inline-block;
}
/* 下载按钮样式 */
.btn-download {
display: inline-block;
padding: 10px 20px;
margin-top: 10px;
background-color: #ff00dd;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease, transform 0.3s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.btn-download:hover {
background-color: #0056b3;
transform: translateY(-2px);
}
.btn-download:active {
background-color: #1e7e34;
transform: translateY(1px);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 768px) {
.rounded-glass {
flex: 1 0 calc(50% - 10px);
}
}
@media screen and (max-width: 480px) {
.rounded-glass {
flex: 1 0 100%;
}
}
/* 新增媒体查询,适配横屏模式 */
@media screen and (orientation: landscape) and (max-width: 768px) {
.search-container {
justify-content: center;
}
.rounded-glass {
flex: 1 0 calc(33.33% - 10px);
}
}
/* 悬浮窗口样式 */
.floating-window {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(255, 255, 255, 0.9);
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
z-index: 1000;
cursor: move;
}
.floating-window h2 {
margin-top: 0;
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
background-color: #ff0000;
color: white;
border: none;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 14px;
}
</style>
</head>
<body>
<div class="container">
<div class="search-container">
<input type="text" id="searchBox" placeholder="搜索文件名...">
<button id="searchButton" onclick="search()">搜索</button>
</div>
<div id="softwareList" class="software-list">
<div class="rounded-glass">
<img src="https://sr.mihoyo.com/favicon-mi.png" alt="崩坏星穹铁道" style="border-radius: 10px; width: 50px; height: 50px;">
<p>崩坏星穹铁道</p>
<a href="https://autopatchcn.bhsr.com/client/cn/20240510154652_0D7JL9Tu4rabfH8B/gw/StarRail_setup_1.0.5.exe" class="btn-download" download>下载</a>
</div>
<div class="rounded-glass">
<img src="https://webstatic.mihoyo.com/common/clgm-web-app/sr/ico/favicon_128.2.3.0.ico" alt="云星穹铁道" style="border-radius: 10px; width: 50px; height: 50px;">
<p>云星穹铁道</p>
<a href="javascript:alert('敬请期待(')" class="btn-download" download>下载</a>
</div>
<div class="rounded-glass">
<img src="https://ys.mihoyo.com/main/favicon.ico" alt="原神" style="border-radius: 10px; width: 50px; height: 50px;">
<p>原神</p>
<a href="https://autopatchcn.yuanshen.com/client_app/download/launcher/20240513153024_R4Y2Siji8AadjI0Q/mihoyo/yuanshen_setup_202405121226.exe" class="btn-download" download>下载</a>
</div>
<div class="rounded-glass">
<img src="https://webstatic.mihoyo.com/common/clgm-web-app/ys/ico/favicon.4.8.0.ico" alt="云原神" style="border-radius: 10px; width: 50px; height: 50px;">
<p>云原神</p>
<a href="https://autopatchcn.yuanshen.com/client_app/download/cloudgame/pc/20240710141658_UAcvcAXV2bqy0RXX/cypcweb/yscloud_4.8.0.exe" class="btn-download" download>下载</a>
</div>
<div class="rounded-glass">
<img src="https://bh3.mihoyo.com/favicon.ico" alt="崩坏3" style="border-radius: 10px; width: 50px; height: 50px;">
<p>崩坏3</p>
<a href="https://bundle.bh3.com/ptpublic/rel/20240517143159_8cppQVQ0MjuWcI8x/Bh3_release_1.0.5.88_gw_pc.exe" class="btn-download" download>下载</a>
</div>
<div class="rounded-glass">
<img src="https://zzz.mihoyo.com/favicon-mi.ico" alt="决区零" style="border-radius: 10px; width: 50px; height: 50px;">
<p>决区零</p>
<a href="https://autopatchcn.juequling.com/package_download/op/client_app/download/20240618183950_ehxltROsR67s5q43/mktbackup2pc/ZenlessZoneZero_setup_202406181710.exe" class="btn-download" download>下载</a>
</div>
<div class="rounded-glass">
<img src="https://webinput.nie.netease.com/img/mc/icon.png/64" alt="我的世界" style="border-radius: 10px; width: 50px; height: 50px;">
<p>我的世界</p>
<a href="javascript:void(0)" class="btn-download" onclick="showFloatingWindow('mc')">下载</a>
</div>
<div class="rounded-glass">
<img src="https://p5.ssl.qhimg.com/t01140cfe01fe73d869.png" alt="战舰世界" style="border-radius: 10px; width: 50px; height: 50px;">
<p>战舰世界</p>
<a href="https://qgcdl.qihucdn.com/wg/qgc360/prod/wgc_24.03.00.6203_cn/world_of_warships_install_cn.exe?sid=SIDndI_o_tQB2naqeR90C51Ucsa9uxBn3b-ShazFwxbbTJpG9k91GZ7VqXqMD3yIRMVNyPJ-Vve0Vf7dNIG_31biiPeA0-rjhBHvInSLp82rCIHNj6wsQV5GF3YbLcDDDZFjgTJvZsrO-Y3&enctid=d2wobl511n1q&lpsn=wows-wgc-download&foris=1&teclient=1721713000103136006&utm_source=system_organic&utm_medium=organic&utm_campaign=vugc3agi&utm_content=unknown" class="btn-download" download>下载</a>
</div>
<div class="rounded-glass">
<img src="https://im.qq.com/pcqq/images/windows/short_icon.ico" alt="QQ" style="border-radius: 10px; width: 50px; height: 50px;">
<p>QQ</p>
<a href="javascript:void(0)" class="btn-download" onclick="showFloatingWindow('qq')">下载</a>
</div>
<div class="rounded-glass">
<img src="https://res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico" alt="微信" style="border-radius: 10px; width: 50px; height: 50px;">
<p>微信</p>
<a href="javascript:void(0)" class="btn-download" onclick="showFloatingWindow('wechat')">下载</a>
</div>
<div class="rounded-glass">
<img src="https://cdn-www.huorong.cn/Public/Uploads/uploadfile/images/20240301/b1icon13.svg" alt="火绒安全" style="border-radius: 10px; width: 50px; height: 50px;">
<p>火绒</p>
<a href="javascript:void(0)" class="btn-download" onclick="showFloatingWindow('huorong')">下载</a>
</div>
</div>
</div>
<!-- 悬浮窗口 -->
<div id="floatingWindow" class="floating-window" style="display: none;">
<button class="close-button" onclick="closeFloatingWindow()">×</button>
<h2 id="floatingWindowTitle"></h2>
<p id="floatingWindowContent"></p>
<div id="floatingWindowLinks"></div>
</div>
<script>
function search() {
const searchBox = document.getElementById('searchBox');
const filter = searchBox.value.toLowerCase();
const softwareList = document.getElementById('softwareList');
const items = softwareList.getElementsByClassName('rounded-glass');
for (let i = 0; i < items.length; i++) {
const item = items[i];
const title = item.getElementsByTagName('p')[0].innerText.toLowerCase();
if (title.includes(filter)) {
item.style.display = '';
} else {
item.style.display = 'none';
}
}
}
function showFloatingWindow(type) {
const floatingWindow = document.getElementById('floatingWindow');
const titleElement = document.getElementById('floatingWindowTitle');
const contentElement = document.getElementById('floatingWindowContent');
const linksElement = document.getElementById('floatingWindowLinks');
let title, content, links;
switch (type) {
case 'wechat':
title = '微信下载';
content = '点击下载微信:';
links = [
{ text: '64位下载', href: 'https://dldir1v6.qq.com/weixin/Windows/WeChatSetup.exe' },
{ text: '32位下载', href: 'https://889258e2e35b7dadc0dbb39cd17656d3.dlied1.cdntips.net/dldir1v6.qq.com/weixin/Windows/WeChatSetup_x86.exe?mkey=lego_ztc&f=00&sche_type=7&cip=223.80.74.83&proto=https' }
];
break;
case 'qq':
title = 'QQ下载';
content = '点击下载QQ';
links = [
{ text: 'NT版下载', href: 'https://dldir1.qq.com/qqfile/qq/QQNT/Windows/QQ_9.9.15_240808_x64_01.exe' },
{ text: 'QQ下载', href: 'https://dldir1.qq.com/qqfile/qq/PCQQ9.7.23/QQ9.7.23.240807.exe' }
];
break;
case 'mc':
title = '我的世界下载';
content = '点击下载我的世界:';
links = [
{ text: '64位下载', href: 'https://a50.gdl.netease.com/7220079231529652224/MC_setup.exe?key1=b47db592061112587555025f10ad90e0&key2=669f48a2' },
{ text: '32位下载', href: 'https://x19.gdl.netease.com/MCLauncher_1.14.0.36188.exe?key1=1c43e7dbabfc45fcd4289c3cca63992a&key2=669fe39d' }
];
break;
case 'huorong':
title = '火绒安全下载';
content = '点击下载火绒安全:';
links = [
{ text: '6.0下载X32版', href: 'https://down-tencent.huorong.cn/sysdiag-all-x86-6.0.1.4-2024.08.17.1.exe' },
{ text: '6.0下载X64版', href: 'https://down-tencent.huorong.cn/sysdiag-all-x64-6.0.1.4-2024.08.17.1.exe' },
{ text: '6.0下载RAM版', href: 'https://down-tencent.huorong.cn/sysdiag-all-arm64-6.0.1.4-2024.08.17.1.exe' }
];
break;
default:
return;
}
titleElement.innerText = title;
contentElement.innerText = content;
linksElement.innerHTML = '';
links.forEach(link => {
const a = document.createElement('a');
a.href = link.href;
a.innerText = link.text;
a.className = 'btn-download';
a.download = '';
linksElement.appendChild(a);
});
floatingWindow.style.display = 'block';
// 使悬浮窗口可拖动
floatingWindow.addEventListener('mousedown', function(e) {
let offsetX = e.clientX - floatingWindow.getBoundingClientRect().left;
let offsetY = e.clientY - floatingWindow.getBoundingClientRect().top;
function moveWindow(e) {
floatingWindow.style.left = e.clientX - offsetX + 'px';
floatingWindow.style.top = e.clientY - offsetY + 'px';
}
function stopMove() {
document.removeEventListener('mousemove', moveWindow);
document.removeEventListener('mouseup', stopMove);
}
document.addEventListener('mousemove', moveWindow);
document.addEventListener('mouseup', stopMove);
});
}
function closeFloatingWindow() {
const floatingWindow = document.getElementById('floatingWindow');
floatingWindow.style.display = 'none';
}
</script>
</body>
</html>