436 lines
20 KiB
HTML
436 lines
20 KiB
HTML
<!DOCTYPE html>
|
||
<!--[if lt IE 7]>
|
||
<html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||
<!--[if IE 7]>
|
||
<html class="lt-ie9 lt-ie8"> <![endif]-->
|
||
<!--[if IE 8]>
|
||
<html class="lt-ie9"> <![endif]-->
|
||
<!--[if gt IE 8]><!-->
|
||
<html class=""> <!--<![endif]-->
|
||
<head>
|
||
<link href="__CDN__/assets/css/frontend{$Think.config.app_debug?'':'.min'}.css?v={$Think.config.site.version|htmlentities}" rel="stylesheet">
|
||
<link rel="stylesheet" media="screen" href="__CDN__/assets/addons/cms/css/common.css?v={$site.version}"/>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
|
||
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||
<meta name="renderer" content="webkit">
|
||
<title>{$title|default=''|htmlentities} – {$site.name|htmlentities}</title>
|
||
<meta name="keywords" content="{cms:config name='cms.keywords|htmlentities'/}"/>
|
||
<meta name="description" content="{cms:config name='cms.description|htmlentities'/}"/>
|
||
|
||
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_4141705_a7cxvque5n9.css">
|
||
<link rel="shortcut icon" href="__CDN__/assets/img/favicon.ico" type="image/x-icon"/>
|
||
|
||
<link rel="stylesheet" media="screen" href="__CDN__/assets/css/bootstrap.min.css?v={$site.version}"/>
|
||
<link rel="stylesheet" media="screen" href="__CDN__/assets/libs/font-awesome/css/font-awesome.min.css?v={$site.version}"/>
|
||
<link rel="stylesheet" media="screen" href="__CDN__/assets/libs/fastadmin-layer/dist/theme/default/layer.css?v={$site.version}"/>
|
||
<link rel="stylesheet" media="screen" href="__CDN__/assets/addons/cms/css/swiper.min.css?v={$site.version}">
|
||
<link rel="stylesheet" media="screen" href="__CDN__/assets/addons/cms/css/share.min.css?v={$site.version}">
|
||
<link rel="stylesheet" media="screen" href="__CDN__/assets/addons/cms/css/iconfont.css?v={$site.version}">
|
||
<link rel="stylesheet" media="screen" href="__CDN__/assets/addons/cms/css/common.css?v={$site.version}"/>
|
||
<link rel="stylesheet" media="screen" href="__CDN__/assets/addons/cms/css/add.css?v={$site.version}"/>
|
||
|
||
<!--分享-->
|
||
<meta property="og:title" content="{cms:config name='cms.title|htmlentities'/}"/>
|
||
<meta property="og:image" content="{cms:config name='cms.image|htmlentities'/}"/>
|
||
<meta property="og:description" content="{cms:config name='cms.description|htmlentities'/}"/>
|
||
|
||
|
||
<!--[if lt IE 9]>
|
||
<script src="__CDN__/libs/html5shiv.js"></script>
|
||
<script src="__CDN__/libs/respond.min.js"></script>
|
||
<![endif]-->
|
||
|
||
{cms:block name="header" field="content" /}
|
||
<script type="text/javascript" src="__CDN__/assets/libs/jquery/dist/jquery.min.js?v={$site.version}"></script>
|
||
<style>
|
||
.newename{
|
||
color: #ACACAC;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body class="group-page">
|
||
<div id="userId" style="display:none;">{$user.id}</div>
|
||
<header class="header">
|
||
<!-- S 导航 -->
|
||
<nav class="navbar navbar-default navbar-white" role="navigation">
|
||
|
||
<div class="navbar-header">
|
||
<button type="button" class="navbar-toggle sidebar-toggle">
|
||
<span class="sr-only">Toggle navigation</span>
|
||
<span class="icon-bar"></span>
|
||
<span class="icon-bar"></span>
|
||
<span class="icon-bar"></span>
|
||
</button>
|
||
<a class="navbar-brand" href="{cms:config name='cms.indexurl'/}"><img
|
||
src="{$Think.config.cms.sitelogo|default='/assets/addons/cms/img/logo.png'|cdnurl}"
|
||
style="height:100%;" alt=""></a>
|
||
</div>
|
||
|
||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||
<ul class="nav navbar-nav" data-current="{$__CHANNEL__.id|default=0}">
|
||
<!--如果你需要自定义NAV,可使用channellist标签来完成,这里只设置了2级,如果显示无限级,请使用cms:nav标签-->
|
||
{cms:channellist id="nav" type="top" condition="1=isnav"}
|
||
<!--判断是否有子级或高亮当前栏目-->
|
||
<li
|
||
class="{if $nav.has_child}dropdown{/if} {if $nav->is_active} active{/if}"
|
||
>
|
||
<a href="{$nav.url}">{$nav.name|htmlentities}</a>
|
||
{if $nav.has_nav_child} <b class="caret"></b>{/if}
|
||
<ul class="dropdown-menu {if !$nav.has_nav_child}hidden{/if}" >
|
||
<li><a href="/biyifeixin">资讯动态</a></li>
|
||
<li><a href="/hangyekuaixun">行业快讯</a></li>
|
||
</ul>
|
||
</li>
|
||
{/cms:channellist}
|
||
|
||
<!--如果需要无限级请使用cms:nav标签-->
|
||
{//cms:nav maxlevel="4" cache="86400" /}
|
||
</ul>
|
||
<ul class="nav navbar-nav navbar-right">
|
||
<li>
|
||
<form class="form-inline" action="{:addon_url('cms/search/index')}" method="get">
|
||
<div class="form-search">
|
||
<input class="form-control" name="q"
|
||
data-suggestion-url="{:addon_url('cms/search/suggestion')}" type="search"
|
||
id="searchinput" value="{$Think.request.q|default=''|htmlentities}"
|
||
placeholder="搜索">
|
||
<div class="search-icon"></div>
|
||
</div>
|
||
{:token('__searchtoken__')}
|
||
</form>
|
||
</li>
|
||
{if config('fastadmin.usercenter')}
|
||
<li class="dropdown navbar-userinfo">
|
||
{if $user}
|
||
<a href="{:url('index/user/index')}" class="dropdown-toggle">
|
||
<span class="avatar-img pull-left"><img src="{$user.avatar|cdnurl|htmlentities}"
|
||
style="width:27px;height:27px;border-radius:50%;" alt=""></span>
|
||
</a>
|
||
{else /}
|
||
<a href="{:url('index/user/login')}"><img src="/assets/addons/cms/img/user.png" alt=""></a>
|
||
{/if}
|
||
</li>
|
||
{/if}
|
||
</ul>
|
||
{if $user}
|
||
<a href="/index/user/logout" class="checkout">退出登录</a>
|
||
{/if}
|
||
</div>
|
||
|
||
</nav>
|
||
<!-- E 导航 -->
|
||
|
||
</header>
|
||
|
||
<main class="main-content">
|
||
<div class="main">
|
||
<div class="wrap">
|
||
<div class="fly-left">
|
||
<div></div>
|
||
</div>
|
||
{__CONTENT__}
|
||
</div>
|
||
</div>
|
||
</main>
|
||
|
||
<footer>
|
||
<div class="contbox">
|
||
<div class="menu">
|
||
<div class="info">
|
||
<div>
|
||
<img width="210" src="{$Think.config.cms.sitelogo|default='/assets/addons/cms/img/logo.png'|cdnurl}" alt="">
|
||
</div>
|
||
<div class="contact">
|
||
<p>浙江比翼智慧科技有限公司</p>
|
||
<div>
|
||
<img src="/assets/addons/cms/img/tel.png" alt="">
|
||
<span>400-887-7223</span>
|
||
</div>
|
||
<div>
|
||
<img src="/assets/addons/cms/img/email.png" alt="">
|
||
<span>service@fpvone.cn</span>
|
||
</div>
|
||
<div>
|
||
<img src="/assets/addons/cms/img/address.png" alt="">
|
||
<span>浙江省宁波市高新区创苑路800号7楼</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="list">
|
||
<div class="list-item">
|
||
<p>
|
||
<span>最新消息</span>
|
||
<span class="popicon"></span>
|
||
</p>
|
||
<div>
|
||
<a href="/jingsufeixing">竞速飞行</a>
|
||
</div>
|
||
</div>
|
||
<div class="list-item">
|
||
<p>
|
||
<span>赛事相关</span>
|
||
<span class="popicon"></span>
|
||
</p>
|
||
<div>
|
||
<a href="/saishi">赛事图集</a>
|
||
<a href="/saishi">赛事视频</a>
|
||
<!--<a href="/saishicaifang">赛事采访</a>-->
|
||
</div>
|
||
</div>
|
||
<div class="list-item">
|
||
<p>
|
||
<span>企业合作</span>
|
||
<span class="popicon"></span>
|
||
</p>
|
||
<div>
|
||
<a href="/d/qiyehezuo/post.html">合作伙伴</a>
|
||
<!--<a href="">成为赛事赞助商</a>-->
|
||
</div>
|
||
</div>
|
||
<div class="list-item">
|
||
<p>
|
||
<span>安全飞行</span>
|
||
<span class="popicon"></span>
|
||
</p>
|
||
<div>
|
||
<a href="/p/anquanzhunze">安全准则</a>
|
||
<a href="/p/anquanfeixingzhiyin">安全飞行指引</a>
|
||
<a href="/p/biyifeixingzhinan">比翼飞行指南</a>
|
||
</div>
|
||
</div>
|
||
<div class="list-item">
|
||
<p>
|
||
<span>探索精彩比翼</span>
|
||
<span class="popicon"></span>
|
||
</p>
|
||
<div>
|
||
<a href="/guanyuwomen">关于我们</a>
|
||
<a href="/zuixinzixun">资讯中心</a>
|
||
<!--<a href="" target="_blank" class="bysc">比翼商城</a>-->
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="dsf">
|
||
<div>
|
||
<img src="/assets/addons/cms/img/wxcode.png" alt="">
|
||
<div class="popup">
|
||
<div class="code">
|
||
<img src="/assets/addons/cms/img/wechartcode.png">
|
||
</div>
|
||
<div class="icon"></div>
|
||
</div>
|
||
</div>
|
||
<!--<div>-->
|
||
<!-- <a href="https://v.douyin.com/iJrVvu7P/" target="_blank">-->
|
||
<!-- <img src="/assets/addons/cms/img/douyin.png" alt="">-->
|
||
<!-- </a>-->
|
||
<!--</div>-->
|
||
<!--<div>-->
|
||
<!-- <a href="https://space.bilibili.com/3537109770046362?spm_id_from=333.1007.0.0"-->
|
||
<!-- target="_blank">-->
|
||
<!-- <img src="/assets/addons/cms/img/bilibili.png" alt="">-->
|
||
<!-- </a>-->
|
||
<!--</div>-->
|
||
<div>
|
||
<img src="/assets/addons/cms/img/wxvideo.png" alt="">
|
||
<div class="popup">
|
||
<div class="code">
|
||
<img src="/assets/addons/cms/img/videocode.png">
|
||
</div>
|
||
<div class="icon"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="partner">
|
||
<span>合作伙伴:</span>
|
||
<div>
|
||
{cms:diydatalist diyform="3" id="item" limit='5'}
|
||
<a href="###">
|
||
<img src="{$item.image|cdnurl}" alt="">
|
||
</a>
|
||
{/cms:diydatalist}
|
||
</div>
|
||
|
||
<a href="/d/qiyehezuo/post.html">All Partners →</a>
|
||
</div>
|
||
<div class="graph">
|
||
<div class="copy">
|
||
<p>Copyright © 浙江比翼智慧科技有限公司</p>
|
||
<p><a href="http://beian.miit.gov.cn" target="_blank">浙ICP备2021002605号-3</a></p>
|
||
<p>技术支持:云朵科技</p>
|
||
</div>
|
||
<div class="article">
|
||
<div>
|
||
<a href="/guanyuwomen">联系我们</a>
|
||
<a href="/p/yinsizhengce">隐私条款</a>
|
||
<a href="/p/shiyongtiaokuan">使用条款</a>
|
||
<a href="/d/yijianfankui/post.html">问题反馈</a>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</footer>
|
||
<script src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=cuZScgGAjMD1Hzz9VBuAqhvjhRdjujxC"></script>
|
||
<script type="text/javascript" src="__CDN__/assets/libs/bootstrap/dist/js/bootstrap.min.js?v={$site.version}"></script>
|
||
<script type="text/javascript" src="__CDN__/assets/libs/fastadmin-layer/dist/layer.js?v={$site.version}"></script>
|
||
<script type="text/javascript" src="__CDN__/assets/libs/art-template/dist/template-native.js?v={$site.version}"></script>
|
||
<script type="text/javascript" src="__CDN__/assets/addons/cms/js/jquery.autocomplete.js?v={$site.version}"></script>
|
||
<script type="text/javascript" src="__CDN__/assets/addons/cms/js/swiper.min.js?v={$site.version}"></script>
|
||
<script type="text/javascript" src="__CDN__/assets/addons/cms/js/share.min.js?v={$site.version}"></script>
|
||
<script type="text/javascript" src="__CDN__/assets/addons/cms/js/cms.js?v={$site.version}"></script>
|
||
<script src="__CDN__/assets/js/layer/layer.js"></script>
|
||
|
||
|
||
<script type="text/javascript" src="__CDN__/assets/addons/cms/js/common.js?v={$site.version}"></script>
|
||
<script type="text/javascript" src="__CDN__/assets/addons/cms/js/add.js?v={$site.version}"></script>
|
||
|
||
{cms:block name="footer" field="content" /}
|
||
|
||
<script type="text/javascript">
|
||
var require = {
|
||
config: {$config|json_encode}
|
||
};
|
||
</script>
|
||
<script>
|
||
$('footer .list-item').click(function(){
|
||
if($(window).width()<=768){
|
||
let flag=$(this).index()
|
||
for(let i =0;i<$('.list-item').length;i++){
|
||
if(i!=flag){
|
||
$('.list-item').eq(i).children('div').slideUp();
|
||
$('.list-item').eq(i).find('.popicon').removeClass('active')
|
||
}else{
|
||
$(this).children('div').slideToggle()
|
||
$(this).find('.popicon').toggleClass('active');
|
||
console.log($(this).find('.popicon').attr('class'))
|
||
}
|
||
}
|
||
|
||
}
|
||
})
|
||
for(let i=0;i<$('.nav li').length;i++){
|
||
if($('.nav li').eq(i).find('a').text()=='联赛'){
|
||
$('.nav li').eq(i).find('a').attr('target','_blank')
|
||
}
|
||
}
|
||
// 左侧导航栏
|
||
$.get('/index/user/judge_status',function(res){
|
||
if(res.code){
|
||
let html='';
|
||
if(res.data.user_type==0){
|
||
html=`
|
||
<p>
|
||
<a href="{:url('user/index')}">我的主页 <span class="newename">Home</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="{:url('players/index')}">身份认证 <span class="newename">Identity</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="https://dra.fpvone.cn/docs/dra.html" target="_blank">操作指南 <span class="newename">Guide</span></a>
|
||
</p>
|
||
<p>
|
||
<a href="{:url('user/logout')}">立即退出 <span class="newename">Sign out</span></a>
|
||
</p>
|
||
`
|
||
}else if(res.data.user_type==1){
|
||
html=`
|
||
<p>
|
||
<a href="{:url('user/index')}">我的主页 <span class="newename">Home</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="{:url('players/index')}">身份认证 <span class="newename">Identity</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="{:url('match/usermatch')}">我的赛事 <span class="newename">My event</span></a>
|
||
</p>
|
||
<p>
|
||
<a href="{:url('players/sociaty')}">飞手公会 <span class="newename">Flying guild</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="{:url('players/myclub')}">我的队伍 <span class="newename">My team</span></a>
|
||
</p>
|
||
<p>
|
||
<a href="{:url('players/joinclub')}">查找队伍 <span class="newename">Search team</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="https://dra.fpvone.cn/docs/dra.html" target="_blank">操作指南 <span class="newename">Guide</span></a>
|
||
</p>
|
||
<p>
|
||
<a class="setstorage">翼寻IM <span class="newename">Yixun IM</span></a>
|
||
</p>
|
||
<p>
|
||
<a href="{:url('user/logout')}" class="delstorage">立即退出 <span class="newename">Sign out</span></a>
|
||
</p>
|
||
`
|
||
}else{
|
||
html=`
|
||
<p>
|
||
<a href="{:url('user/index')}">我的主页 <span class="newename">Home</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="{:url('club/index')}">身份认证 <span class="newename">Identity</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="{:url('match/clubmatch')}">我的赛事 <span class="newename">My event</span></a>
|
||
</p>
|
||
<p>
|
||
<a href="{:url('club/sociaty')}">飞手公会 <span class="newename">Flying guild</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="{:url('club/myplayer')}">管理飞手 <span class="newename">Management flyer</span></a>
|
||
</p>
|
||
<p >
|
||
<a href="https://dra.fpvone.cn/docs/dra.html" target="_blank">操作指南 <span class="newename">Guide</span></a>
|
||
</p>
|
||
<p>
|
||
<a class="setstorage">翼寻IM <span class="newename">Yixun IM</span></a>
|
||
</p>
|
||
<p>
|
||
<a href="{:url('user/logout')}" class="delstorage">立即退出 <span class="newename">Sign out</span></a>
|
||
</p>
|
||
`
|
||
}
|
||
$('.fly-left>div').append(html);
|
||
$('.delstorage').click(function(){
|
||
localStorage.removeItem('userinfo');
|
||
})
|
||
$('.setstorage').click(function(){
|
||
if(!localStorage.getItem('userinfo')){
|
||
$.post('/api/Fastimadd/get_imtoken',{
|
||
user_id:$('#userId').text()
|
||
},function(res){
|
||
const resultdata={
|
||
"type":"object",
|
||
"data":JSON.parse(res).data.userinfo
|
||
}
|
||
localStorage.setItem('userinfo',JSON.stringify(resultdata));
|
||
|
||
})
|
||
}
|
||
setTimeout(function(){
|
||
window.open('/yixun')
|
||
},300)
|
||
})
|
||
if($('.fly-left>div p').length<=4){
|
||
$('.fly-left>div').width('100%')
|
||
}
|
||
// 左侧导航栏选中
|
||
for(let i=0;i<$('.fly-left p').length;i++){
|
||
if($('.fly-left p').eq(i).find('a').attr('href')==window.location.pathname){
|
||
$('.fly-left p').eq(i).addClass('fly-active')
|
||
}
|
||
}
|
||
|
||
}
|
||
})
|
||
</script>
|
||
|
||
</body>
|
||
</html> |