2024-01-20 14:22:20
This commit is contained in:
17
app/us/controller/TopsNas.php
Executable file
17
app/us/controller/TopsNas.php
Executable file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace app\us\controller;
|
||||
|
||||
|
||||
class TopsNas extends BaseController
|
||||
{
|
||||
public function _initialize()
|
||||
{
|
||||
parent::_initialize();
|
||||
}
|
||||
|
||||
public function download()
|
||||
{
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
}
|
||||
68
app/us/view/include/head-nas.phtml
Executable file
68
app/us/view/include/head-nas.phtml
Executable file
@@ -0,0 +1,68 @@
|
||||
<link rel="icon" type="image/gif" href="__PUBLIC__/web/images/animated_favicon.png">
|
||||
<link rel="stylesheet" href="__PUBLIC__/web/css/swiper-3.4.2.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/css_whir.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/indexcss-nars.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/fonts.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/theme1.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/nas.css" />
|
||||
<style type="text/css">
|
||||
.mySwiper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wlj-xzbt {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.goico-img {
|
||||
width: 1.5rem !important;
|
||||
height: 1.5rem !important;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.swiper-slide img {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 700px) {
|
||||
@media screen and (min-width: 700px) {
|
||||
.Footer_icon_orico {
|
||||
left: 8%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.jjfabgimg {
|
||||
width: 20.1875rem !important;
|
||||
height: 37.6875rem !important;
|
||||
border-radius: 0.375rem;
|
||||
}
|
||||
|
||||
.nars-jjfa .jjfaSwiper .swiper-wrapper .swiper-slide {
|
||||
position: relative !important;
|
||||
width: 20.1875rem !important;
|
||||
}
|
||||
|
||||
.jjfaSwiper {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.swiper-button-next,
|
||||
.swiper-container-rtl .swiper-button-prev {
|
||||
/*background-image: auto !important;*/
|
||||
}
|
||||
|
||||
.wltitem{
|
||||
background: #ecf2fe !important;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.nars-wlj .wltitem .wljcpinfo{
|
||||
margin: 0 3.125rem;
|
||||
}
|
||||
.nars-cate .narscatecenter{
|
||||
justify-content: center;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" src='__PUBLIC__/web/scripts/jquery-3.7.1.min.js'></script>
|
||||
<script type="text/javascript" src='__PUBLIC__/web/scripts/swiper-3.4.2.jquery.min.js'></script>
|
||||
43
app/us/view/include/top-header-nas.phtml
Executable file
43
app/us/view/include/top-header-nas.phtml
Executable file
@@ -0,0 +1,43 @@
|
||||
<header class="narsPage-head">
|
||||
<div class="headcenter">
|
||||
<img
|
||||
class="logico"
|
||||
style="cursor:pointer;"
|
||||
src="__PUBLIC__/web/images/logo_nas.png"
|
||||
onclick="location.href='{:url(\'TopsNas/index\')}'"
|
||||
/>
|
||||
<nav class="headnav">
|
||||
<!-- {volist name="nav_header" id="vo"}
|
||||
<div class="navitem">
|
||||
<a href="{$vo.url}" {if condition="$vo.is_new_window_open"}target="_blank"{/if}>{$vo.name}</a>
|
||||
{if condition="!empty($vo.items)"}
|
||||
<img src="/frontend/weben/images/indeximg/black-down.png" class="downimg" alt="">
|
||||
<ul class="children">
|
||||
{volist name="vo.items" id="it"}
|
||||
<li>
|
||||
<a href="{$it.url}" {if condition="$it.is_new_window_open"}target="_blank"{/if}>{$it.name}</a>
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
{/volist} -->
|
||||
{volist name="nav_header" id="vo"}
|
||||
<a
|
||||
class="navitem"
|
||||
href="{$vo.url}" {if condition="$vo.is_new_window_open"}target="_blank"{/if}
|
||||
>
|
||||
{$vo.name}
|
||||
</a>
|
||||
{/volist}
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<script type="text/javascript">
|
||||
document.querySelectorAll('.navitem').forEach(function(it) {
|
||||
it.classList.remove('hover')
|
||||
if (location.pathname.endsWith(it.getAttribute('href'))) {
|
||||
it.classList.add('hover')
|
||||
}
|
||||
})
|
||||
</script>
|
||||
36
app/us/view/tops_nas/download.phtml
Executable file
36
app/us/view/tops_nas/download.phtml
Executable file
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>元创官网</title>
|
||||
<link rel="stylesheet" href="__PUBLIC__/web/css/swiper-3.4.2.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/nas.css" />
|
||||
{include file='include/head-nas'/}
|
||||
</head>
|
||||
<body>
|
||||
<div class="narsPage">
|
||||
<!--顶部导航-->
|
||||
<!--{#include file='include/top-header-nas'/}-->
|
||||
<!--banner -->
|
||||
<div class="narsIndex-banner">
|
||||
<div class="swiper-container mySwiper">
|
||||
<div class="swiper-wrapper">
|
||||
|
||||
<div class="swiper-slide">
|
||||
<!-- banner内容-->
|
||||
<img src="/uploads/nas/pc-beta.png" alt="" class="narsbanner-img" />
|
||||
</div>
|
||||
|
||||
<!-- Add Pagination -->
|
||||
<div class="swiper-pagination"></div>
|
||||
<!-- Add Arrows -->
|
||||
<!-- <div class="swiper-button-next swiper-button-white"></div>
|
||||
<div class="swiper-button-prev swiper-button-white"></div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file='include/bottom'/}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user