Files
orico-official-website-old/app/mobile/view/download/catelists.phtml
2024-10-29 14:04:59 +08:00

143 lines
5.5 KiB
PHTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>软件下载_ORICO/奥睿科官网</title>
<meta name="Keywords" content="软件下载">
<meta name="Description" content="软件下载">
{include file="include/head" /}
<script type="text/javascript">
var navID = "1";
</script>
<style>
.clearfix:after {content: ".";display: block;height:0;clear:both; visibility:hidden; }
.clearfix {*zoom:1;}
.mobile-search { background:linear-gradient(to right,#009fdf, #1eb7f3);width:100%;padding-top:8px;}
.download-title {font-size:28px; text-align: center; color:#333;margin:15px 0;}
.download-bg {background: #fff;border-radius:10px; margin:8px 25px;box-shadow: 0px 2px 40px 0px #E6EAF4;-moz-box-shadow: 0px 2px 40px 0px #E6EAF4;-webkit-box-shadow:0px 2px 40px 0px #E6EAF4; padding:1.333rem;}
@media screen and (max-width: 375px) {
.download-left {width:60%;margin:auto; }
.download-right {width:100%; font-size:0.8rem;}
.down-btn {border:1px solid #009fdf;cursor: pointer;text-align: center; color:#009fdf; font-size: 0.8rem; margin:auto; border-radius: 20px;padding:0.5rem 1rem }
}
.download-left img {width:100%;}
@media screen and (min-width: 376px) {
.download-left {width:30%; float: left;}
.download-right {width:65%; float: right; font-size: 0.64rem;}
}
.down-btn {border:1px solid #009fdf;cursor: pointer;text-align: center; color:#009fdf; font-size: 0.8rem; margin:5px 0; border-radius: 20px;padding:0.5rem 1rem }
.down-btn a { color:#009fdf;}
.down-gray {color:#666; margin: 5px 0;}
.margin-top-60{
margin-top: 52px;
}
</style>
</head>
<body>
<!--头部-->
{include file="include/top_back1" /}
<!--search-->
<div class="margin-top-60"></div>
<div class="menu mobile-search margin-top-90">
<div class="search">
<!-- <a href="__ORICOROOT__/search">-->
<div class="search margin-bottom-30">
<button class="updown_search_btn" type="sumbit" id="search-btn"><span class="icon-search-svg"></span></button>
<input class="form-control" name="keywords" id="search_software" placeholder="全站搜索" value="<?php if(isset($keywords)){ echo $keywords;} ?>" type="text">
</div>
<!-- </a>-->
</div>
</div>
<!--软件驱动下载-->
<!--tab切换-->
<div class="tab">
<div class="download-title">软件下载</div>
<!--a href="<?php echo url('__ORICOROOT__/download/catelists_down?id=3')?>" class="list">手册</a-->
</div>
<!--tab切换-->
<!--循环-->
<?php if($list): ?>
<?php foreach ($list as $key => $value): ?>
<div class="download-bg clearfix">
<div class="download-left"><img src="<?php echo $value['picture']; ?>"></div>
<div class="download-right">
<div class="font-48"> <?php echo $value['name']; ?></div>
<div class="down-gray">
<p>适合型号:<?php echo $value['app_model']; ?></p>
<p>支持系统:<?php echo $value['support_os']; ?></p>
</div>
<?php
$downloadpath = explode(',', $value['downloadpath']);
$downloadpath64 = explode(',', $value['downloadpath64']);
foreach ($downloadpath as $k => $dl):
$dlname = empty($downloadpath64[$k]) ? '下载' : $downloadpath64[$k];
//$url=url('index/download/download', ['id' => $detail['id'], 'bit' => $k]);
?>
<div class="down-btn"><a href="/<?php echo trim($dl, '/'); ?>" class="l_button" data-cod="dl" data-id="<?php echo $value['id']; ?>" target="_blank"><?php echo $dlname; ?></a></div>
<?php endforeach; ?>
</div>
</div>
<?php endforeach; ?>
<?php else:?>
<div class="list clearfix">查询无此驱动!</div>
<?php endif;?>
<?php if ($page) { echo $page; } ?>
<!--底部-->
{include file="include/bottom1" /}
<script type="text/javascript">
/*定位光标*/
document.querySelector('#search_software').focus();
$(function() {
//
$("#search-btn").bind("click", function(event) {
var skeyword = $("#search_software").val();
if (skeyword) {
var href = "__ORICOROOT__/download.html?skeyword=" + encodeURIComponent(skeyword);
location.href = href;
}
else{
var href = "__ORICOROOT__/download.html";
location.href = href;
}
});
$("#search-in").keyup(function(event) {
if (event && event.keyCode === 13) {
$("#search-btn").trigger("click");
}
});
var $category = $(".navlist");
$category.hide();
$(".navul li").mouseleave(function() {
$(this).children("a").addClass("aons");
$(this).children("dl").stop(true, true).slideUp(500);
});
$(".navul li").mouseenter(function() {
$category.hide();
$(this).children("dl").stop(true, true).slideDown(500);
});
//搜索框
$(".Searchbox .icon").click(function() {
$(".Search").slideToggle();
});
});
</script>
<style>
.list .des {
word-break: break-all;
}
</style>
</body></html>