1 Star 0 Fork 0

咪鼠科技_前端/yuanchuang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 6.44 KB
一键复制 编辑 原始数据 按行查看 历史
咪鼠科技_前端 提交于 2024-07-10 13:52 . 元创mac 2.0
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>元创-AIGC</title>
<meta HTTP-EQUIV="pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate">
<meta HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<meta HTTP-EQUIV="expires" CONTENT="0">
<link rel="icon" href="img/favicon.png">
<link rel="stylesheet" type="text/css" href="css/reset.css"/>
<script type="text/javascript" src="js/less.js" ></script>
<script type="text/javascript" src="js/jquery.min.js" ></script>
<script type="text/javascript">
document.write('<link href="css/downNew.less?'+Math.random()+'" rel="stylesheet/less" type="text/css"/>');
document.write('<script src="js/down.js?v='+Math.random()+'"><\/script>');
</script>
</head>
<body style="visibility:hidden;background: #fff;" id="body">
<script type="text/javascript">
document.write('<script src="js/header.js?v='+Math.random()+'"><\/script>');
</script>
<div class="bigDivVideo">
<img src="img/closeVideo.png" class="closeBtn"/>
<video width="" height="" autoplay controls="controls" id="palyThisVideo" src="img/useVideo.mp4"></video>
</div>
<div class="topBanner" onclick="">
<img src="img/downTop.png" alt="" style="height: 100%;">
</div>
<div class="downloadBanner">
<div class="left">
<h1>元创AI智能鼠标软件下载</h1>
<div class="downloadBannerContent">
<div class="downloadBannerContentItem">
<div class="downloadBannerContentWrap downWindows showVersionWin">
<div class="downloadBannerContentIcon">
<img src="img/down/winSoft.svg" alt="">
</div>
<p>Windows</p>
<p>最新版支持Win7以上系统</p>
<span class="downBtn">
<img src="img/down/downloadBannerIcon.png" alt="">
</span>
</div>
<p class="downloadBannerContentInfo"></p>
</div>
<div class="downloadBannerContentItem ">
<a class="downloadBannerContentWrap showVersionMac" download href="software_mac/AI-YC-2.0.0-universal.dmg">
<div class="downloadBannerContentIcon">
<img src="img/down/macSoft.svg" alt="">
</div>
<p>Mac</p>
<p>最新版支持10.15以上系统</p>
<span class="downBtn">
<img src="img/down/downloadBannerIcon.png" alt="">
</span>
</a>
</div>
</div>
</div>
<div class="right">
<h1>操作视频</h1>
<div class="videoWrap">
<img src="img/useVideo.png" alt="">
</div>
</div>
</div>
<div class="footerContent">
<div class="top">
<div class="left">
<p>山东元创生成式人工智能科技有限公司</p>
<p>ShanDong YuanChuang AIGC Technology Co., Ltd</p>
<br>
<p>公司地址</p>
<p>山东省济南市历城区二环东路3966号东环国际住广场B座2502室</p>
</div>
<div class="center">
<p>售后服务电话</p>
<p>400-9909-886</p>
<br>
<p>售后服务时间</p>
<p>工作日 9:00-22:00</p>
</div>
<!-- <div class="right">
<div class="wrap">
<img src="img/code1.jpg" alt="">
<span>元创科技公众号二维码</span>
</div>
<div class="wrap">
<img src="img/qrCode.jpg" alt="">
<span>元创商城小程序二维码</span>
</div>
</div> -->
</div>
<div class="bottom">
<span>山东元创生成式人工智能科技有限公司 | 备案/许可证编号 鲁ICP备2023050503号©2023- YuanChuang All Rights Reserved.</span>
</div>
</div>
<script>
showVerson()
$('.videoWrap').click(function(){
$('.bigDivVideo').show()
})
$('.closeBtn').click(function(){
$('#palyThisVideo')[0].pause();
$('.bigDivVideo').hide()
})
function getOperatingSystemInfo() { //获取操作系统
let operatingInfo = navigator.userAgent;
let isWin = (navigator.platform == "Win32") || (navigator.platform == "Windows");
let isMac = (navigator.platform == "Mac68K") || (navigator.platform == "MacPPC") || (navigator.platform == "Macintosh") || (navigator.platform == "MacIntel");
if (isMac) return "Mac";
let isUnix = (navigator.platform == "X11") && !isWin && !isMac;
if (isUnix) return "Unix";
let isLinux = (String(navigator.platform).indexOf("Linux") > -1);
if (isLinux) return "Linux";
if (isWin) {
console.log(operatingInfo)
let isWin2K = operatingInfo.indexOf("Windows NT 5.0") > -1 || operatingInfo.indexOf("Windows 2000") > -1;
if (isWin2K) return "Win2000";
let isWinXP = operatingInfo.indexOf("Windows NT 5.1") > -1 || operatingInfo.indexOf("Windows XP") > -1;
if (isWinXP) return "WinXP";
let isWin2003 = operatingInfo.indexOf("Windows NT 5.2") > -1 || operatingInfo.indexOf("Windows 2003") > -1;
if (isWin2003) return "Win2003";
let isWinVista = operatingInfo.indexOf("Windows NT 6.0") > -1 || operatingInfo.indexOf("Windows Vista") > -1;
if (isWinVista) return "WinVista";
let isWin7 = operatingInfo.indexOf("Windows NT 6.1") > -1 || operatingInfo.indexOf("Windows 7") > -1;
if (isWin7) return "Win7";
let isWin8 = operatingInfo.indexOf("Windows 8") != -1 || operatingInfo.indexOf("Windows NT 8") != -1;
if (isWin8) return "Win8";
let isWin10 = operatingInfo.indexOf("Windows NT 10")!=-1;
if(isWin10) return "Win10/Win11"
}
return "other";
}
function showVerson(){
var versonName = getOperatingSystemInfo();
console.log(versonName)
if (versonName=='Win7'||versonName=='Win8'||versonName=='Win10/Win11') {
// $('.downWindows').css({"background":"#0096DC"});
$('.showVersionWin').css('background-image','url(img/down/activeBanner.png)');
$('.showVersionWin .downloadBannerContentIcon').css('margin-top','1.5rem')
$('.showVersionWin>p:nth-of-type(2)').css('margin-top','0rem')
let addHtml = '<span class="warningInfo" style="color:#EFC734;">检测到您为该操作系统,请优先下载!</span>';
$('.showVersionWin').prepend(addHtml)
}
else if (versonName=='Mac') {
$('.showVersionMac').css('background-image','url(img/down/activeBanner.png)');
$('.showVersionMac .downloadBannerContentIcon').css('margin-top','1.5rem')
$('.showVersionMac>p:nth-of-type(2)').css('margin-top','0rem')
let addHtml = '<span class="warningInfo"style="color:#EFC734;">检测到您为该操作系统,请优先下载!</span>';
$('.showVersionMac').prepend(addHtml)
}
else if (versonName=='WinXP') {
// $('.downWindowsXp').css({"background":"#0096DC"});
}
};
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wwwytcom/yuanchuang.git
git@gitee.com:wwwytcom/yuanchuang.git
wwwytcom
yuanchuang
yuanchuang
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385