136 lines
4.4 KiB
PHTML
Executable File
136 lines
4.4 KiB
PHTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>手册</title>
|
|
{include file="include/head" /}
|
|
<script type="text/javascript">
|
|
var navID = "1";
|
|
</script>
|
|
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/software.css">
|
|
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/montserrat.css">
|
|
</head>
|
|
|
|
<body class="bg-gray">
|
|
<!--top-->
|
|
<header class="header-PC header-Index">
|
|
<div id="header" class="theme-white">
|
|
|
|
{include file="include/top-head2023" /}
|
|
</div>
|
|
</header>
|
|
{include file="include/top-header-mobile" /}
|
|
<!--内容-->
|
|
<!--banner-->
|
|
<div class="Swt-Banner position-r">
|
|
<img src="__PUBLIC__/weben/images/software/banner_01.png" alt="" />
|
|
<div class="banner_title">软件和驱动程序</div>
|
|
</div>
|
|
<!--banner-->
|
|
<div class="contact_c">
|
|
<!--搜索-->
|
|
<div class="search_all">
|
|
<input type="text" name="textfield" placeholder="搜索型号" id="search_software">
|
|
<div class="searchbtn" id="search-btn"><img src="__PUBLIC__/weben/images/software/search.png"></div>
|
|
</div>
|
|
<!--搜索-->
|
|
<!--tab切换-->
|
|
<div class="tab">
|
|
<a href="__ORICOROOT__/download.html" class="list">软件驱动</a>
|
|
<a href="<?php echo url('__ORICOROOT__/download/catelists_down?id=3')?>" class="list on">手册</a>
|
|
<a href="__ORICOROOT__/video/category/1.html" class="list">视频</a>
|
|
</div>
|
|
<!--tab切换-->
|
|
<!--Manual-->
|
|
<div class="manual">
|
|
<?php if ($list): ?>
|
|
<?php foreach ($list as $detail): ?>
|
|
<div class="list">
|
|
<div class="left_img">
|
|
<?php if($detail['picture']):?>
|
|
<img src="<?php echo $detail['picture']; ?>" alt="" />
|
|
<?php else:?>
|
|
<img src="__PUBLIC__/weben/images/software/manual.png" alt="" />
|
|
<?php endif;?>
|
|
|
|
</div>
|
|
<div>
|
|
<p class="title"><?php echo $detail['name']; ?></p>
|
|
<p class="m-t-24">
|
|
<span class="sub_title">支持的型号: </span>
|
|
<span class="des"><?php echo $detail['app_model']; ?></span>
|
|
</p>
|
|
<p>
|
|
<?php
|
|
$downloadpath = explode(',', $detail['downloadpath']);
|
|
$downloadpath64 = explode(',', $detail['downloadpath64']);
|
|
foreach ($downloadpath as $k => $dl):
|
|
$dlname = empty($downloadpath64[$k]) ? '下载' : $downloadpath64[$k];
|
|
//$url=url('index/download/download', ['id' => $detail['id'], 'bit' => $k]);
|
|
?>
|
|
<a class="l_button" href="<?php echo url('/') . trim($dl, '/'); ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><?php echo $dlname; ?></a>
|
|
<?php endforeach; ?>
|
|
</p>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
<?php else: ?>
|
|
<div class="list">查询无结果</div>
|
|
<?php endif; ?>
|
|
<!--Manual-->
|
|
</div>
|
|
<!-- 分页 s -->
|
|
<?php
|
|
if ($page) {
|
|
echo $page;
|
|
}
|
|
?>
|
|
<!-- 分页 e -->
|
|
</div>
|
|
|
|
<!--内容 -->
|
|
|
|
<!-- bottom s -->
|
|
{include file="include/bottom2023" /}
|
|
<!-- bottom e -->
|
|
</body>
|
|
|
|
</html>
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
|
//
|
|
$("#search-btn").bind("click", function(event) {
|
|
var skeyword = $("#search_software").val();
|
|
if (skeyword) {
|
|
var href = "<?php echo url('Download/catelists_down?id=3')?>?skeyword=" + encodeURIComponent(skeyword);
|
|
location.href = href;
|
|
}
|
|
else{
|
|
var href = "<?php echo url('Download/catelists_down?id=3')?>";
|
|
location.href = href;
|
|
}
|
|
});
|
|
$("#search_software").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);
|
|
});
|
|
|
|
|
|
});
|
|
</script>
|