Commit 1a388236 authored by liukang's avatar liukang

修改提交

parent 601b8f89
......@@ -25,14 +25,26 @@ class About extends Base
return view("/home/about/contact");
}
public function us(){
$id = input('article');
$agreement = new mabout();
$agreement = $agreement->get_us();
$list = $agreement->where('isdeleted',0)->order('order','desc')->select();
$list = $this->dealData($list);
$content = array();
if ($id){
$content = $agreement->where('id',$id)->where('isdeleted',0)->order('current','desc')->find();
}else{
if (!empty($list)){
$id = $list[0]['id'];
$content = $agreement->where('id',$id)->where('isdeleted',0)->order('current','desc')->find();
}
}
$this->assign('url',$this->url);
if(!$agreement){
if(!$content){
return view("/home/public/error");
}
$this->assign('us',$agreement);
$this->assign('list',$list);
$this->assign('us',$content);
$this->assign('id',$id);
return view("/home/about/aboutus");
}
public function agreement(){
......
......@@ -13,8 +13,8 @@ class App extends Model
{
return $this->hasOne('app\admin\model\Users','id','user_id');
}
public function img()
{
return $this->hasOne('app\common\model\Img','id','img_id');
}
// public function img()
// {
// return $this->hasOne('app\common\model\Img','id','img_id');
// }
}
\ No newline at end of file
......@@ -19,21 +19,105 @@ class Base extends Error
public function initialize(){
$this->url = request()->controller();
$this->host_name = request()->domain();
$other_logo = HomeConfig::where("home_config_cate_id",3)->where("isdeleted",0)->Order("current","desc")->find();
$index_logo = HomeConfig::where("home_config_cate_id",2)->where("isdeleted",0)->Order("current","desc")->find();
$other_logo = $this->getImage(4);
$index_logo = $this->getImage(5);
$vedio = HomeConfig::where("home_config_cate_id",1)->where("isdeleted",0)->Order("current","desc")->find();
if(!empty($index_logo)){
$this->logo_url = $index_logo->img->img_url.$index_logo->img->img_name;
}
if(!empty($other_logo)){
$this->other_logo_url = $other_logo->img->img_url.$other_logo->img->img_name;
}
if(!empty($vedio)){
$this->vedio_url = $vedio->img->img_url.$vedio->img->img_name;
}
$this->assign("other_logo_url",$this->other_logo_url);
$this->assign("logo_url",$this->logo_url);
$this->getNav();
$this->assign("other_logo_url",$other_logo);
$this->assign("logo_url",$index_logo);
$this->assign("vedio_url",$this->vedio_url);
$this->assign("host_name",$this->host_name);
}
public function getImage($type){
//获取首页背景图
$bannerImgId = db('advertisement')->where(array('type'=>$type,'is_display'=>1))->field('id,mintype,packs')->select();
$bannerImgId = $this->dealData($bannerImgId);
$data = [];
foreach ($bannerImgId as $k=>$v){
$data = $this->getList($v);
}
return $data;
}
public function getList($data){
$where[] = ['starttime','<',time()];
$where[] = ['endtime','>',time()];
$where[] = ['starthour','<',date('h',time())];
$where[] = ['endhour','>',date('h',time())];
$cont = db('advertisement_cont')
->where($where)
->where(array('advert_id'=>$data['id']))
->field('picSrc,packs')
->order('orderby desc')
->select();
$cont = $this->dealData($cont);
$imagePre = "https://oss.3yakj.com/application_static_data";
$bannerImg = [];
if ($data['mintype'] == 0){
if (!empty($cont)){
$bannerImg = $imagePre.$cont[0]['picSrc'];
}else{
$bannerImg = '';
}
}else{
foreach ($cont as $value){
$bannerImg[] = $imagePre.$value['picSrc'];
}
}
return $bannerImg;
}
public function getNav(){
$nav = db('menu')->where(array('status'=>1))->field('id,title,url,show_type,packs')->order('order desc')->select();
$nav = $this->dealData($nav);
foreach ($nav as $key=>$value){
if (!empty($value['url'])){
$class = explode('.html',$value['url'])[0];
if ($class !== '/'){
$nav[$key]['class'] = explode('/',$class)[1];
if ($nav[$key]['class'] == 'index'){
$nav[$key]['class'] = 'home';
}
}else{
$nav[$key]['class'] = 'home';
}
}else{
$nav[$key]['class'] = '';
}
$child = db('menu_child')->where(array('pid'=>$value['id'],'status'=>1))->field('title,show_type,url,packs')->order('order desc')->select();
$nav[$key]['child'] = $this->dealData($child);
}
$this->assign('nav',$nav);
}
/**
* 处理域名数据
* @param $data
* @param $type 0:一维数组,1 二维数据
* @return array
*/
public function dealData($data,$type = 1){
$web_type = config('app.web_type');
$return = [];
if ($type){
foreach ($data as $value){
if (!empty($value['packs'])){
if (in_array($web_type,json_decode($value['packs'],true))){
$return[] = $value;
}
}
}
}else{
if (!empty($data['packs'])){
if (in_array($web_type,json_decode($data['packs'],true))){
$return = $data;
}
}
}
return $return;
}
}
\ No newline at end of file
......@@ -15,6 +15,7 @@ class Game extends Base
public function list(){
$game_cate_list = GameCate::where("isdeleted",0)->select();
$game_cate_list = $this->dealData($game_cate_list);
$map = array();
$params = request()->param();
$this->assign("params",$params);
......@@ -34,6 +35,7 @@ class Game extends Base
}
}
$game_list = mGame::where($map)->select();
$game_list = $this->dealData($game_list);
$this->assign("game_cate_list",$game_cate_list);
$this->assign("game_cate_id",$game_cate_id);
$this->assign("game_list",$game_list);
......
......@@ -12,10 +12,14 @@ class Index extends Base
{
public function index()
{
$app_list = App::where("isdeleted",0)->order('num','asc')->select();
$app_list = App::where("isdeleted",0)->order('num','desc')->select();
$app_list = $this->dealData($app_list);
$help_list = Question::where("isdeleted",0)->order("current","desc")->paginate(4);
$help_list = $this->dealData($help_list);
$news_list = News::where("isdeleted",0)->order("current","desc")->paginate(4);
$news_list = $this->dealData($news_list);
$know_list = $this->getImage(6);
$this->assign('know_list',$know_list);
$this->assign('app_list',$app_list);
$this->assign('help_list',$help_list);
$this->assign('news_list',$news_list);
......@@ -26,8 +30,11 @@ class Index extends Base
public function mobile()
{
$app_list = App::where("isdeleted",0)->order('num','asc')->select();
$app_list = $this->dealData($app_list);
$help_list = Question::where("isdeleted",0)->order("current","desc")->paginate(4);
$help_list = $this->dealData($help_list);
$news_list = News::where("isdeleted",0)->order("current","desc")->paginate(4);
$news_list = $this->dealData($news_list);
$this->assign('app_list',$app_list);
$this->assign('help_list',$help_list);
......@@ -70,11 +77,22 @@ class Index extends Base
}
return $is_mobile;
}
public function huatai(Request $request)
{
$this->assign('domain',$request->domain());
$this->assign('url',$this->url);
$imageList = $this->getImage(3);
$this->assign('domain',$request->domain());
$this->assign('url',$this->url);
$this->assign('imageList',$imageList);
return view("/home/index/huatai");
}
public function getConfig(){
$type = input('type');
//获取首页背景图
$bannerImg = $this->getImage($type);
//获取按钮
$button=array();
return json(['banner'=>$bannerImg,'button'=>$button] );
}
}
......@@ -27,29 +27,25 @@ class ServiceHelp extends Base
}
public function service(){
$question_cate_list =QuestionCate::where('isdeleted',0)->select();
for($n=0;$n<count($question_cate_list);$n++){
$img = Img::get(intval($question_cate_list[$n]['img_id']));
$question_cate_list[$n]['img_url'] = $img['img_url'].$img['img_name'];
}
$this->assign('url',$this->url);
$this->assign('question_cate_list',$question_cate_list);
return view("/home/servicehelp/service");
}
public function help(){
$question_cate_list =QuestionCate::where('isdeleted',0)->select();
for($n=0;$n<count($question_cate_list);$n++){
$img = Img::get(intval($question_cate_list[$n]['img_id']));
$question_cate_list[$n]['img_url'] = $img['img_url'].$img['img_name'];
}
// $question_cate_list = $this->dealData($question_cate_list);
$question_list = array();
$cate = new QuestionCate();
if(count($question_cate_list)>0){
$web_type = config('app.web_type');
$cate = QuestionCate::where('isdeleted',0)->where('id',$question_cate_list[0]['id'])->find();
$question_list = Question::where('isdeleted',0)->where('question_cate_id',$question_cate_list[0]['id'])->order('current','desc')->paginate(10, false, [
'query' => request()->param()
]);
$question_list = Question::where('isdeleted',0)
->where('question_cate_id',$question_cate_list[0]['id'])
->where('packs','like',"%{$web_type}%")
->order('current','desc')
->paginate(10, false, [
'query' => request()->param()
]);
$pattern = '/\[\d+\]/';
$matches = array();
for($m = 0;$m < count($question_list);$m++){
......@@ -120,11 +116,6 @@ class ServiceHelp extends Base
$this->redirect('/servicehelp/help.html');
}
$question_cate_list =QuestionCate::where('isdeleted',0)->select();
for($n=0;$n<count($question_cate_list);$n++){
$img = Img::get(intval($question_cate_list[$n]['img_id']));
$question_cate_list[$n]['img_url'] = $img['img_url'].$img['img_name'];
}
$question = Question::where('isdeleted',0)->where('id',$question_id)->find();
$this->assign('url',$this->url);
if(empty($question)){
......@@ -152,14 +143,14 @@ class ServiceHelp extends Base
public function search(){
$key_str = input('s_key','');
$question_cate_list =QuestionCate::where('isdeleted',0)->select();
for($n=0;$n<count($question_cate_list);$n++){
$img = Img::get(intval($question_cate_list[$n]['img_id']));
$question_cate_list[$n]['img_url'] = $img['img_url'].$img['img_name'];
}
$question_list = Question::where('isdeleted',0)->whereLike('title',"%".$key_str."%")->order('current','desc')->paginate(10, false, [
'query' => request()->param()
]);
$web_type = config('app.web_type');
$question_list = Question::where('isdeleted',0)
->whereLike('title',"%".$key_str."%")
->whereLike('packs',"%".$web_type."%")
->order('current','desc')
->paginate(10, false, [
'query' => request()->param()
]);
$pattern = '/\[\d+\]/';
$matches = array();
for($m = 0;$m < count($question_list);$m++){
......
......@@ -19,7 +19,7 @@ return [
// 应用地址
'app_host' => '',
// 应用调试模式
'app_debug' => false,
'app_debug' => true,
// 应用Trace
'app_trace' => false,
// 是否支持多模块
......@@ -142,5 +142,8 @@ return [
'show_error_msg' => false,
// 异常处理handle类 留空使用 \think\exception\Handle
'exception_handle' => '',
//----------------------------------------------------------------------
// 自定义参数
//----------------------------------------------------------------------
'web_type' => 2,
];
......@@ -15,7 +15,7 @@ return [
// 服务器地址
'hostname' => '106.55.103.148:3398',
// 数据库名
'database' => '3yakj_web_new',
'database' => 'fanjiao_web_new',
// 用户名
'username' => 'root',
// 密码
......
<?php /*a:4:{s:73:"D:\PHPStormProject\fjkankan\config/../template/home\servicehelp\help.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1643092775;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<?php /*a:4:{s:73:"D:\PHPStormProject\fjkankan\config/../template/home\servicehelp\help.html";i:1648198852;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1648195250;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1648116123;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="/static/common/css/common.css">
......@@ -152,6 +152,15 @@
text-decoration: none;
}
.te{
cursor: pointer;
transition: all 0.6s;
}
.te:hover{
transform: scale(1.2);
z-index:1000;
}
</style>
<link type="text/css" rel="stylesheet" href="/static/common/css/my.css">
<title>凡骄娱乐-帮助中心</title>
......@@ -353,60 +362,39 @@
<header class="common-header">
<a class="logo-href" href="/"></a>
<ul class="clearfix">
<li class="no-border">
<a class="home" href="<?php echo url('/home'); ?>">首页</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="/nationalTide">国潮</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="<?php echo url('/news'); ?>">凡骄动态</a>
</li>
<li>
<a class="join <?php echo $url=='Join' ? 'active' : ''; ?>" href="<?php echo url('/join'); ?>">加入我们</a>
</li>
<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $k = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;if(!empty($vo['child'])): ?>
<li class="white-bg-service">
<span class="service business">关于我们
<span class="down-list">
<span class="item colortext">
<a href="javascript:">关于我们&nbsp;&nbsp;</a>
</span>
<span class="item">
<a href="<?php echo url('/aboutus'); ?>">关于凡骄</a>
</span>
<span class="service">&nbsp;<?php echo htmlentities($vo['title']); ?>&nbsp;
<span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext" style="left: -1px;width: 100%">
<a href="javascript:"><?php echo htmlentities($vo['title']); ?></a>
</span>
<?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $key = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($key % 2 );++$key;?>
<span class="item">
<a href="<?php echo url('/contact'); ?>">联系我们</a>
<a href="<?php echo htmlentities($child['url']); ?>" <?php if($child['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($child['title']); ?></a>
</span>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
</span>
<li>
<?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="<?php echo htmlentities($vo['class']); ?> <?php echo $url==ucfirst($vo['class']) ? 'active' : ''; ?>" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a>
</li>
<li class="white-bg-service"><span class="service business" href="/business">业务体系<span class="down-list">
<span class="item colortext"><a href="javascript:">业务体系&nbsp;&nbsp;</a></span>
<span class="item"><a href="<?php echo url('/game'); ?>" >凡骄游戏</a></span>
</span></span></li>
<li class="
<span class="service"><a href="<?php echo url('/servicehelp/help'); ?>">帮助</a>
<!-- <span class="down-list"> -->
<!-- <span class="item colortext">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">充值与帮助</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/service'); ?>">在线充值</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">帮助中心</a>-->
<!-- </span>-->
<!-- </span>-->
</span>
</li>
<!-- <li>
<a class="guild <?php echo $url=='Guild' ? 'active' : ''; ?>" href="http://guild-rds.3yakj.com">公会入口</a>
</li> -->
<li>
<!-- <a class="servicehelp <?php echo $url=='ServiceHelp' ? 'active' : ''; ?>" href="<?php echo url('/servicehelp/info'); ?>">凡骄麻将</a> -->
</li>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var ul = document.getElementsByClassName("clearfix");
var childList = ul[0].children;
for (var i = 0;i < childList.length ; i++){
if (childList[i].className === ''){
ul[0].removeChild(ul[0].children[i]);
}
}
</script>
<div class="user-services">
<p class="line"></p>
......@@ -419,6 +407,7 @@
</div>
<?php endforeach; endif; else: echo "" ;endif; ?>
</div>
<?php if(!empty($question_cate_list)): ?>
<div class="usercontext">
<div class="tips-container">
<form id="search-form" method="get" action="/servicehelp/search.html">
......@@ -459,6 +448,7 @@
<?php endif; ?>
</div>
</div>
<?php endif; ?>
</section>
</div>
......
This diff is collapsed.
<?php /*a:4:{s:70:"D:\PHPStormProject\fjkankan\config/../template/home\about\aboutus.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1643092775;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<?php /*a:4:{s:70:"D:\PHPStormProject\fjkankan\config/../template/home\about\aboutus.html";i:1648196613;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1648195250;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1648116123;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="/static/common/css/common.css">
......@@ -152,6 +152,15 @@
text-decoration: none;
}
.te{
cursor: pointer;
transition: all 0.6s;
}
.te:hover{
transform: scale(1.2);
z-index:1000;
}
</style>
<title>凡骄娱乐-关于我们</title>
......@@ -298,74 +307,55 @@
<header class="common-header">
<a class="logo-href" href="/"></a>
<ul class="clearfix">
<li class="no-border">
<a class="home" href="<?php echo url('/home'); ?>">首页</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="/nationalTide">国潮</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="<?php echo url('/news'); ?>">凡骄动态</a>
</li>
<li>
<a class="join <?php echo $url=='Join' ? 'active' : ''; ?>" href="<?php echo url('/join'); ?>">加入我们</a>
</li>
<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $k = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;if(!empty($vo['child'])): ?>
<li class="white-bg-service">
<span class="service business">关于我们
<span class="down-list">
<span class="item colortext">
<a href="javascript:">关于我们&nbsp;&nbsp;</a>
</span>
<span class="item">
<a href="<?php echo url('/aboutus'); ?>">关于凡骄</a>
</span>
<span class="service">&nbsp;<?php echo htmlentities($vo['title']); ?>&nbsp;
<span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext" style="left: -1px;width: 100%">
<a href="javascript:"><?php echo htmlentities($vo['title']); ?></a>
</span>
<?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $key = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($key % 2 );++$key;?>
<span class="item">
<a href="<?php echo url('/contact'); ?>">联系我们</a>
<a href="<?php echo htmlentities($child['url']); ?>" <?php if($child['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($child['title']); ?></a>
</span>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
</span>
<li>
<?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="<?php echo htmlentities($vo['class']); ?> <?php echo $url==ucfirst($vo['class']) ? 'active' : ''; ?>" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a>
</li>
<li class="white-bg-service"><span class="service business" href="/business">业务体系<span class="down-list">
<span class="item colortext"><a href="javascript:">业务体系&nbsp;&nbsp;</a></span>
<span class="item"><a href="<?php echo url('/game'); ?>" >凡骄游戏</a></span>
</span></span></li>
<li class="
<span class="service"><a href="<?php echo url('/servicehelp/help'); ?>">帮助</a>
<!-- <span class="down-list"> -->
<!-- <span class="item colortext">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">充值与帮助</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/service'); ?>">在线充值</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">帮助中心</a>-->
<!-- </span>-->
<!-- </span>-->
</span>
</li>
<!-- <li>
<a class="guild <?php echo $url=='Guild' ? 'active' : ''; ?>" href="http://guild-rds.3yakj.com">公会入口</a>
</li> -->
<li>
<!-- <a class="servicehelp <?php echo $url=='ServiceHelp' ? 'active' : ''; ?>" href="<?php echo url('/servicehelp/info'); ?>">凡骄麻将</a> -->
</li>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var ul = document.getElementsByClassName("clearfix");
var childList = ul[0].children;
for (var i = 0;i < childList.length ; i++){
if (childList[i].className === ''){
ul[0].removeChild(ul[0].children[i]);
}
}
</script>
<div class="wrapper">
<p class="line"></p>
<nav>
<ul class="clearfix">
<li class=" on "><a href="/aboutus/us.html" "="">关于凡骄</a></li>
<li class=""><a href="/aboutus/agreement.html" "="">用户协议</a></li>
<li class=""><a href="/aboutus/vipterms.html" "="">会员条款</a></li>
<?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<li class="<?php if($id==$vo['id']): ?>on<?php endif; ?>"><a href="/aboutus/us/article/<?php echo htmlentities($vo['id']); ?>.html"><?php echo htmlentities($vo['title']); ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</nav>
<?php if(!empty($us)): ?>
<section class="info-sec info-sec-1">
<?php echo htmlspecialchars_decode($us['content']); ?>
<?php echo htmlspecialchars_decode($us['content']); ?>
</section>
<?php endif; ?>
......
This diff is collapsed.
This diff is collapsed.
<?php /*a:4:{s:66:"D:\PHPStormProject\fjkankan\config/../template/home\news\list.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1643092775;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<?php /*a:4:{s:69:"D:\PHPStormProject\fjkankan\config/../template/home\public\error.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1648195250;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1648116123;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="/static/common/css/common.css">
......@@ -152,32 +152,20 @@
text-decoration: none;
}
</style>
<title>凡骄娱乐-动态</title>
.te{
cursor: pointer;
transition: all 0.6s;
}
.te:hover{
transform: scale(1.2);
z-index:1000;
}
</style>
<title>404</title>
<link type="text/css" rel="stylesheet" href="/static/common/css/w3-style.css">
<style>
.wrapper{padding-top: 120px;}
article{width:960px;margin:0 auto;}
.line{border: 0;height: 1px;background-color: #e4e4e4;margin-bottom:60px;}
.line2{border: 0;border-bottom:1px dashed #7994b6;margin:40px 0 24px 0;width:590px;}
aside {font-family: 'Myriad Pro';color: #737373;border-top:3px solid #067efc;float: left;width: 76px;text-align: center;padding-top:13px;}
aside .day{font-size:48px;line-height: 42px;}
aside .month{font-size:16px;}
.dynamic-list{padding: 0 25px 0 188px;}
section a{color:#2e2e2e;font-size:24px;text-decoration:none;font-weight:100;}
section img{max-width: 100%;height: auto;}
section .date{color:#b3b3b3;font-size:12px;margin-bottom:30px;}
section .note{color:#737373;font-size:14px;line-height:24px;}
.more-link {font-size: 14px;}
section .note p{line-height: 22px;padding-bottom:40px;}
section .pic{margin-top:35px;}
.common-footer{margin-top:123px;}
.page{color: #5B5B5B;text-decoration: none;cursor: pointer;}
.page:hover{color:#00A2FF;text-decoration:none;}
.page.page-left{float: left;}
.page.page-right{float: right;}
.common-header{
margin-left: -560px;
}
......@@ -186,14 +174,13 @@
}
.common-header{
margin-left: -560px;
.common-footer ul{
width: 428px !important;
}
.common-header li .service.business .down-list{
left: -3px;
.common-footer li{
margin: 0 17px 30px 17px;
}
</style>
</head>
<body class="white-bg">
......@@ -223,104 +210,52 @@
<header class="common-header">
<a class="logo-href" href="/"></a>
<ul class="clearfix">
<li class="no-border">
<a class="home" href="<?php echo url('/home'); ?>">首页</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="/nationalTide">国潮</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="<?php echo url('/news'); ?>">凡骄动态</a>
</li>
<li>
<a class="join <?php echo $url=='Join' ? 'active' : ''; ?>" href="<?php echo url('/join'); ?>">加入我们</a>
</li>
<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $k = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;if(!empty($vo['child'])): ?>
<li class="white-bg-service">
<span class="service business">关于我们
<span class="down-list">
<span class="item colortext">
<a href="javascript:">关于我们&nbsp;&nbsp;</a>
</span>
<span class="item">
<a href="<?php echo url('/aboutus'); ?>">关于凡骄</a>
</span>
<span class="service">&nbsp;<?php echo htmlentities($vo['title']); ?>&nbsp;
<span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext" style="left: -1px;width: 100%">
<a href="javascript:"><?php echo htmlentities($vo['title']); ?></a>
</span>
<?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $key = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($key % 2 );++$key;?>
<span class="item">
<a href="<?php echo url('/contact'); ?>">联系我们</a>
<a href="<?php echo htmlentities($child['url']); ?>" <?php if($child['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($child['title']); ?></a>
</span>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
</span>
<li>
<?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="<?php echo htmlentities($vo['class']); ?> <?php echo $url==ucfirst($vo['class']) ? 'active' : ''; ?>" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a>
</li>
<li class="white-bg-service"><span class="service business" href="/business">业务体系<span class="down-list">
<span class="item colortext"><a href="javascript:">业务体系&nbsp;&nbsp;</a></span>
<span class="item"><a href="<?php echo url('/game'); ?>" >凡骄游戏</a></span>
</span></span></li>
<li class="
<span class="service"><a href="<?php echo url('/servicehelp/help'); ?>">帮助</a>
<!-- <span class="down-list"> -->
<!-- <span class="item colortext">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">充值与帮助</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/service'); ?>">在线充值</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">帮助中心</a>-->
<!-- </span>-->
<!-- </span>-->
</span>
</li>
<!-- <li>
<a class="guild <?php echo $url=='Guild' ? 'active' : ''; ?>" href="http://guild-rds.3yakj.com">公会入口</a>
</li> -->
<li>
<!-- <a class="servicehelp <?php echo $url=='ServiceHelp' ? 'active' : ''; ?>" href="<?php echo url('/servicehelp/info'); ?>">凡骄麻将</a> -->
</li>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var ul = document.getElementsByClassName("clearfix");
var childList = ul[0].children;
for (var i = 0;i < childList.length ; i++){
if (childList[i].className === ''){
ul[0].removeChild(ul[0].children[i]);
}
}
</script>
<div class="wrapper">
<p class="line"></p>
<?php if(is_array($news_list) || $news_list instanceof \think\Collection || $news_list instanceof \think\Paginator): $i = 0; $__LIST__ = $news_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<article class="clearfix">
<aside>
<p class="day"><?php echo date('d',$vo['current']); ?></p>
<p class="month"><?php echo date('m',$vo['current']); ?></p>
</aside>
<div class="dynamic-list">
<section>
<h2><a href="/news/<?php echo htmlentities($vo['id']); ?>.html"><?php echo htmlentities($vo['news_title']); ?></a></h2>
<p class="date"><?php echo date('Y-m-d',$vo['current']); ?></p>
<div class="note clearfix">
<p>
<?php echo htmlspecialchars_decode($vo['news_content_str']); ?>
</p>
<p> <a href="/news/<?php echo htmlentities($vo['id']); ?>.html" class="more-link">阅读全文</a></p>
</div>
<p class="line2"></p>
</section>
</div>
</article>
<?php endforeach; endif; else: echo "" ;endif; ?>
<div>
<?php echo $news_list; ?>
</div>
<article class="clearfix">
<article class="clearfix">
<div class="dynamic-list clearfix">
<?php if($first != 'false'): ?>
<a class="page page-left" href="/news.html?page=<?php echo htmlentities($first); ?>"><span></span>最近动态</a>
<?php endif; if($second != 'false'): ?>
<a class="page page-right" href="/news.html?page=<?php echo htmlentities($second); ?>"><span></span>早期动态</a>
<?php endif; ?>
<div style="height:120px;background: #f5f5f5;border-bottom: 1px solid #e4e4e4;"></div>
<div class="wrapper ">
<div class="con_nofound">
<div class="Title">
<span class="bigTitle">404!</span>
<span class="subTitle">你访问的页面不存在</span>
</div>
</article>
</article>
</div>
<div id="hiddenTip" class="hiddenTip" style="display: block;">其实人生很短暂,这一分钟,你想明白了什么?</div>
</div>
</div>
<footer class="common-footer">
<ul class="clearfix" style="width: 510px;">
<li><a href="<?php echo url('/aboutus'); ?>">关于凡骄</a></li>
......@@ -349,4 +284,4 @@
$('.common-header .active').addClass('on');
})
</script>
</html>
</html>
\ No newline at end of file
This diff is collapsed.
<?php /*a:4:{s:70:"D:\PHPStormProject\fjkankan\config/../template/home\about\contact.html";i:1643093834;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1643092775;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<?php /*a:4:{s:70:"D:\PHPStormProject\fjkankan\config/../template/home\about\contact.html";i:1643093834;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1648195250;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1648116123;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="/static/common/css/common.css">
......@@ -152,6 +152,15 @@
text-decoration: none;
}
.te{
cursor: pointer;
transition: all 0.6s;
}
.te:hover{
transform: scale(1.2);
z-index:1000;
}
</style>
<title>凡骄娱乐-联系我们</title>
......@@ -216,60 +225,39 @@
<header class="common-header">
<a class="logo-href" href="/"></a>
<ul class="clearfix">
<li class="no-border">
<a class="home" href="<?php echo url('/home'); ?>">首页</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="/nationalTide">国潮</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="<?php echo url('/news'); ?>">凡骄动态</a>
</li>
<li>
<a class="join <?php echo $url=='Join' ? 'active' : ''; ?>" href="<?php echo url('/join'); ?>">加入我们</a>
</li>
<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $k = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;if(!empty($vo['child'])): ?>
<li class="white-bg-service">
<span class="service business">关于我们
<span class="down-list">
<span class="item colortext">
<a href="javascript:">关于我们&nbsp;&nbsp;</a>
</span>
<span class="item">
<a href="<?php echo url('/aboutus'); ?>">关于凡骄</a>
</span>
<span class="service">&nbsp;<?php echo htmlentities($vo['title']); ?>&nbsp;
<span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext" style="left: -1px;width: 100%">
<a href="javascript:"><?php echo htmlentities($vo['title']); ?></a>
</span>
<?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $key = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($key % 2 );++$key;?>
<span class="item">
<a href="<?php echo url('/contact'); ?>">联系我们</a>
<a href="<?php echo htmlentities($child['url']); ?>" <?php if($child['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($child['title']); ?></a>
</span>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
</span>
<li>
<?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="<?php echo htmlentities($vo['class']); ?> <?php echo $url==ucfirst($vo['class']) ? 'active' : ''; ?>" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a>
</li>
<li class="white-bg-service"><span class="service business" href="/business">业务体系<span class="down-list">
<span class="item colortext"><a href="javascript:">业务体系&nbsp;&nbsp;</a></span>
<span class="item"><a href="<?php echo url('/game'); ?>" >凡骄游戏</a></span>
</span></span></li>
<li class="
<span class="service"><a href="<?php echo url('/servicehelp/help'); ?>">帮助</a>
<!-- <span class="down-list"> -->
<!-- <span class="item colortext">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">充值与帮助</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/service'); ?>">在线充值</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">帮助中心</a>-->
<!-- </span>-->
<!-- </span>-->
</span>
</li>
<!-- <li>
<a class="guild <?php echo $url=='Guild' ? 'active' : ''; ?>" href="http://guild-rds.3yakj.com">公会入口</a>
</li> -->
<li>
<!-- <a class="servicehelp <?php echo $url=='ServiceHelp' ? 'active' : ''; ?>" href="<?php echo url('/servicehelp/info'); ?>">凡骄麻将</a> -->
</li>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var ul = document.getElementsByClassName("clearfix");
var childList = ul[0].children;
for (var i = 0;i < childList.length ; i++){
if (childList[i].className === ''){
ul[0].removeChild(ul[0].children[i]);
}
}
</script>
<!-- <div class="wrapper">
......
<?php /*a:4:{s:72:"D:\PHPStormProject\fjkankan\config/../template/home\about\agreement.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1643092775;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<?php /*a:4:{s:72:"D:\PHPStormProject\fjkankan\config/../template/home\about\agreement.html";i:1648195788;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1648195250;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1648116123;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="/static/common/css/common.css">
......@@ -152,6 +152,15 @@
text-decoration: none;
}
.te{
cursor: pointer;
transition: all 0.6s;
}
.te:hover{
transform: scale(1.2);
z-index:1000;
}
</style>
<title>凡骄娱乐-关于我们</title>
......@@ -298,60 +307,39 @@
<header class="common-header">
<a class="logo-href" href="/"></a>
<ul class="clearfix">
<li class="no-border">
<a class="home" href="<?php echo url('/home'); ?>">首页</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="/nationalTide">国潮</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="<?php echo url('/news'); ?>">凡骄动态</a>
</li>
<li>
<a class="join <?php echo $url=='Join' ? 'active' : ''; ?>" href="<?php echo url('/join'); ?>">加入我们</a>
</li>
<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $k = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;if(!empty($vo['child'])): ?>
<li class="white-bg-service">
<span class="service business">关于我们
<span class="down-list">
<span class="item colortext">
<a href="javascript:">关于我们&nbsp;&nbsp;</a>
</span>
<span class="item">
<a href="<?php echo url('/aboutus'); ?>">关于凡骄</a>
</span>
<span class="service">&nbsp;<?php echo htmlentities($vo['title']); ?>&nbsp;
<span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext" style="left: -1px;width: 100%">
<a href="javascript:"><?php echo htmlentities($vo['title']); ?></a>
</span>
<?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $key = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($key % 2 );++$key;?>
<span class="item">
<a href="<?php echo url('/contact'); ?>">联系我们</a>
<a href="<?php echo htmlentities($child['url']); ?>" <?php if($child['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($child['title']); ?></a>
</span>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
</span>
<li>
<?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="<?php echo htmlentities($vo['class']); ?> <?php echo $url==ucfirst($vo['class']) ? 'active' : ''; ?>" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a>
</li>
<li class="white-bg-service"><span class="service business" href="/business">业务体系<span class="down-list">
<span class="item colortext"><a href="javascript:">业务体系&nbsp;&nbsp;</a></span>
<span class="item"><a href="<?php echo url('/game'); ?>" >凡骄游戏</a></span>
</span></span></li>
<li class="
<span class="service"><a href="<?php echo url('/servicehelp/help'); ?>">帮助</a>
<!-- <span class="down-list"> -->
<!-- <span class="item colortext">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">充值与帮助</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/service'); ?>">在线充值</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">帮助中心</a>-->
<!-- </span>-->
<!-- </span>-->
</span>
</li>
<!-- <li>
<a class="guild <?php echo $url=='Guild' ? 'active' : ''; ?>" href="http://guild-rds.3yakj.com">公会入口</a>
</li> -->
<li>
<!-- <a class="servicehelp <?php echo $url=='ServiceHelp' ? 'active' : ''; ?>" href="<?php echo url('/servicehelp/info'); ?>">凡骄麻将</a> -->
</li>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var ul = document.getElementsByClassName("clearfix");
var childList = ul[0].children;
for (var i = 0;i < childList.length ; i++){
if (childList[i].className === ''){
ul[0].removeChild(ul[0].children[i]);
}
}
</script>
<div class="wrapper">
......
<?php /*a:4:{s:66:"D:\PHPStormProject\fjkankan\config/../template/home\game\list.html";i:1643254400;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1643092775;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<?php /*a:4:{s:66:"D:\PHPStormProject\fjkankan\config/../template/home\game\list.html";i:1648198636;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1648195250;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1648116123;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="/static/common/css/common.css">
......@@ -152,6 +152,15 @@
text-decoration: none;
}
.te{
cursor: pointer;
transition: all 0.6s;
}
.te:hover{
transform: scale(1.2);
z-index:1000;
}
</style>
<title>凡骄娱乐-游戏</title>
<style>
......@@ -229,60 +238,39 @@
<header class="common-header">
<a class="logo-href" href="/"></a>
<ul class="clearfix">
<li class="no-border">
<a class="home" href="<?php echo url('/home'); ?>">首页</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="/nationalTide">国潮</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="<?php echo url('/news'); ?>">凡骄动态</a>
</li>
<li>
<a class="join <?php echo $url=='Join' ? 'active' : ''; ?>" href="<?php echo url('/join'); ?>">加入我们</a>
</li>
<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $k = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;if(!empty($vo['child'])): ?>
<li class="white-bg-service">
<span class="service business">关于我们
<span class="down-list">
<span class="item colortext">
<a href="javascript:">关于我们&nbsp;&nbsp;</a>
</span>
<span class="item">
<a href="<?php echo url('/aboutus'); ?>">关于凡骄</a>
</span>
<span class="service">&nbsp;<?php echo htmlentities($vo['title']); ?>&nbsp;
<span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext" style="left: -1px;width: 100%">
<a href="javascript:"><?php echo htmlentities($vo['title']); ?></a>
</span>
<?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $key = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($key % 2 );++$key;?>
<span class="item">
<a href="<?php echo url('/contact'); ?>">联系我们</a>
<a href="<?php echo htmlentities($child['url']); ?>" <?php if($child['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($child['title']); ?></a>
</span>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
</span>
<li>
<?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="<?php echo htmlentities($vo['class']); ?> <?php echo $url==ucfirst($vo['class']) ? 'active' : ''; ?>" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a>
</li>
<li class="white-bg-service"><span class="service business" href="/business">业务体系<span class="down-list">
<span class="item colortext"><a href="javascript:">业务体系&nbsp;&nbsp;</a></span>
<span class="item"><a href="<?php echo url('/game'); ?>" >凡骄游戏</a></span>
</span></span></li>
<li class="
<span class="service"><a href="<?php echo url('/servicehelp/help'); ?>">帮助</a>
<!-- <span class="down-list"> -->
<!-- <span class="item colortext">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">充值与帮助</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/service'); ?>">在线充值</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">帮助中心</a>-->
<!-- </span>-->
<!-- </span>-->
</span>
</li>
<!-- <li>
<a class="guild <?php echo $url=='Guild' ? 'active' : ''; ?>" href="http://guild-rds.3yakj.com">公会入口</a>
</li> -->
<li>
<!-- <a class="servicehelp <?php echo $url=='ServiceHelp' ? 'active' : ''; ?>" href="<?php echo url('/servicehelp/info'); ?>">凡骄麻将</a> -->
</li>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var ul = document.getElementsByClassName("clearfix");
var childList = ul[0].children;
for (var i = 0;i < childList.length ; i++){
if (childList[i].className === ''){
ul[0].removeChild(ul[0].children[i]);
}
}
</script>
......@@ -298,7 +286,7 @@
</nav>
<section>
<?php if(is_array($game_list) || $game_list instanceof \think\Collection || $game_list instanceof \think\Paginator): $k = 0; $__LIST__ = $game_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
<p><img src="<?php echo htmlentities($vo['img']['img_url']); ?><?php echo htmlentities($vo['img']['img_name']); ?>" alt="<?php echo htmlentities($vo['game_cate']['title']); ?>" width="960" height="260" class="alignnone size-full wp-image-4485"></p>
<p><img src="<?php echo htmlentities($vo['img_url']); ?>" style="margin-top: 10px;" alt="<?php echo htmlentities($vo['game_cate']['title']); ?>" width="960" height="260" class="alignnone size-full wp-image-4485"></p>
<?php endforeach; endif; else: echo "" ;endif; ?>
</section>
</div>
......
<?php /*a:4:{s:74:"D:\PHPStormProject\fjkankan\config/../template/home\index\Index\index.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1643092775;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1643092775;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<?php /*a:4:{s:74:"D:\PHPStormProject\fjkankan\config/../template/home\index\Index\index.html";i:1648195474;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\header.html";i:1648195250;s:71:"D:\PHPStormProject\fjkankan\config/../template/home\public\nav_bar.html";i:1648116123;s:70:"D:\PHPStormProject\fjkankan\config/../template/home\public\footer.html";i:1643092775;}*/ ?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="/static/common/css/common.css">
......@@ -152,6 +152,15 @@
text-decoration: none;
}
.te{
cursor: pointer;
transition: all 0.6s;
}
.te:hover{
transform: scale(1.2);
z-index:1000;
}
</style>
<title>凡骄娱乐-首页</title>
......@@ -418,60 +427,39 @@
<header class="common-header">
<a class="logo-href" href="/"></a>
<ul class="clearfix">
<li class="no-border">
<a class="home" href="<?php echo url('/home'); ?>">首页</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="/nationalTide">国潮</a>
</li>
<li>
<a class="news <?php echo $url=='News' ? 'active' : ''; ?>" href="<?php echo url('/news'); ?>">凡骄动态</a>
</li>
<li>
<a class="join <?php echo $url=='Join' ? 'active' : ''; ?>" href="<?php echo url('/join'); ?>">加入我们</a>
</li>
<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $k = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;if(!empty($vo['child'])): ?>
<li class="white-bg-service">
<span class="service business">关于我们
<span class="down-list">
<span class="item colortext">
<a href="javascript:">关于我们&nbsp;&nbsp;</a>
</span>
<span class="item">
<a href="<?php echo url('/aboutus'); ?>">关于凡骄</a>
</span>
<span class="service">&nbsp;<?php echo htmlentities($vo['title']); ?>&nbsp;
<span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext" style="left: -1px;width: 100%">
<a href="javascript:"><?php echo htmlentities($vo['title']); ?></a>
</span>
<?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $key = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($key % 2 );++$key;?>
<span class="item">
<a href="<?php echo url('/contact'); ?>">联系我们</a>
<a href="<?php echo htmlentities($child['url']); ?>" <?php if($child['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($child['title']); ?></a>
</span>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
</span>
<li>
<?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="<?php echo htmlentities($vo['class']); ?> <?php echo $url==ucfirst($vo['class']) ? 'active' : ''; ?>" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a>
</li>
<li class="white-bg-service"><span class="service business" href="/business">业务体系<span class="down-list">
<span class="item colortext"><a href="javascript:">业务体系&nbsp;&nbsp;</a></span>
<span class="item"><a href="<?php echo url('/game'); ?>" >凡骄游戏</a></span>
</span></span></li>
<li class="
<span class="service"><a href="<?php echo url('/servicehelp/help'); ?>">帮助</a>
<!-- <span class="down-list"> -->
<!-- <span class="item colortext">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">充值与帮助</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/service'); ?>">在线充值</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="<?php echo url('/servicehelp/help'); ?>">帮助中心</a>-->
<!-- </span>-->
<!-- </span>-->
</span>
</li>
<!-- <li>
<a class="guild <?php echo $url=='Guild' ? 'active' : ''; ?>" href="http://guild-rds.3yakj.com">公会入口</a>
</li> -->
<li>
<!-- <a class="servicehelp <?php echo $url=='ServiceHelp' ? 'active' : ''; ?>" href="<?php echo url('/servicehelp/info'); ?>">凡骄麻将</a> -->
</li>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var ul = document.getElementsByClassName("clearfix");
var childList = ul[0].children;
for (var i = 0;i < childList.length ; i++){
if (childList[i].className === ''){
ul[0].removeChild(ul[0].children[i]);
}
}
</script>
<div class="wrapper">
<header id="playerbanner" class="banner">
......@@ -489,16 +477,17 @@
</div>
</div>
</header>
<?php if(!empty($know_list)): ?>
<section class="sec-1">
<h2 class="tit">用视频认识我</h2>
<p class="note">进入凡骄的世界,去结识那些陌生而有趣的人</p>
<ul class="clearfix">
<li><img class="te" src="/static/common/img/fanjiao_1.png" style="width:290px"></li>
<li><img class="te" src="/static/common/img/fanjiao_2.png" style="width:290px"></li>
<li><img class="te" src="/static/common/img/fanjiao_3.png" style="width:290px"></li>
<li><img class="te" src="/static/common/img/fanjiao_4.png" style="width:290px"></li>
<?php if(is_array($know_list) || $know_list instanceof \think\Collection || $know_list instanceof \think\Paginator): $i = 0; $__LIST__ = $know_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<li><img class="te" src="<?php echo htmlentities($vo['img_url']); ?>" style="width:290px"></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</section>
<?php endif; ?>
<!-- <section class="sec-2">
<h2 class="tit">年轻人的社交选择</h2>
<p class="note">加入凡骄找到新朋友<br></p>
......@@ -542,6 +531,7 @@
</div>
</section>-->
<section id="downloads" name="downloads" class="sec-3">
<?php if(empty($app_list) || (($app_list instanceof \think\Collection || $app_list instanceof \think\Paginator ) && $app_list->isEmpty())): else: ?>
<h2 class="tit">根据你的手机,选择下载</h2>
<ul class="clearfix">
......@@ -550,16 +540,17 @@
<?php if(( $vo['app_cate']['title']!='QC')): ?>
<a href="<?php echo htmlentities($vo['file_link']); ?>" target="_Blank" class="ciqclickbtn" _client="PC" _page="首页" _position="底部" _name="<?php echo htmlentities($vo['app_cate']['title']); ?>下载">
<i class="icon">
<img class="te" alt="" style="width:50px;height:50px;" src="<?php echo htmlentities($vo['img']['img_url']); ?><?php echo htmlentities($vo['img']['img_name']); ?>">
<img class="te" alt="" style="width:50px;height:50px;" src="<?php echo htmlentities($vo['img_url']); ?>">
</i>
<p><?php echo htmlentities($vo['app_cate']['title']); ?></p>
</a>
<?php else: ?>
<img alt="" style="width:100%;height:100%" src="<?php echo htmlentities($vo['img']['img_url']); ?><?php echo htmlentities($vo['img']['img_name']); ?>">
<img alt="" style="width:100%;height:100%" src="<?php echo htmlentities($vo['img_url']); ?>">
<?php endif; ?>
</li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</section>
<section class="sec-4">
<ul class="clearfix">
......
This diff is collapsed.
......@@ -125,14 +125,16 @@
<p class="line"></p>
<nav>
<ul class="clearfix">
<li class=" on "><a href="/aboutus/us.html" "="">关于凡骄</a></li>
<li class=""><a href="/aboutus/agreement.html" "="">用户协议</a></li>
<li class=""><a href="/aboutus/vipterms.html" "="">会员条款</a></li>
{volist name="list" id="vo"}
<li class="{if $id==$vo.id}on{/if}"><a href="/aboutus/us/article/{$vo.id}.html">{$vo.title}</a></li>
{/volist}
</ul>
</nav>
{if !empty($us)}
<section class="info-sec info-sec-1">
{:htmlspecialchars_decode($us.content)}
{:htmlspecialchars_decode($us.content)}
</section>
{/if}
......
......@@ -125,14 +125,16 @@
<p class="line"></p>
<nav>
<ul class="clearfix">
<li class=""><a href="/aboutus/us.html" "="">关于凡骄</a></li>
<li class=" on "><a href="/aboutus/agreement.html" "="">用户协议</a></li>
<li class=""><a href="/aboutus/vipterms.html" "="">会员条款</a></li>
{volist name="list" id="vo"}
<li class="{if $id==$vo.id}on{/if}"><a href="/aboutus/us/article/{$vo.id}.html">{$vo.title}</a></li>
{/volist}
</ul>
</nav>
<section>
{:htmlspecialchars_decode($agreement.content)}
{if !empty($us)}
<section class="info-sec info-sec-1">
{:htmlspecialchars_decode($us.content)}
</section>
{/if}
</div>
......
......@@ -65,7 +65,7 @@
</nav>
<section>
{volist name="game_list" id="vo" key="k"}
<p><img src="{$vo.img.img_url}{$vo.img.img_name}" alt="{$vo.game_cate.title}" width="960" height="260" class="alignnone size-full wp-image-4485"></p>
<p><img src="{$vo.img_url}" style="margin-top: 10px;" alt="{$vo.game_cate.title}" width="960" height="260" class="alignnone size-full wp-image-4485"></p>
{/volist}
</section>
</div>
......
......@@ -256,16 +256,17 @@
</div>
</div>
</header>
{if !empty($know_list)}
<section class="sec-1">
<h2 class="tit">用视频认识我</h2>
<p class="note">进入凡骄的世界,去结识那些陌生而有趣的人</p>
<ul class="clearfix">
<li><img class="te" src="/static/common/img/fanjiao_1.png" style="width:290px"></li>
<li><img class="te" src="/static/common/img/fanjiao_2.png" style="width:290px"></li>
<li><img class="te" src="/static/common/img/fanjiao_3.png" style="width:290px"></li>
<li><img class="te" src="/static/common/img/fanjiao_4.png" style="width:290px"></li>
{volist name="know_list" id="vo"}
<li><img class="te" src="{$vo.img_url}" style="width:290px"></li>
{/volist}
</ul>
</section>
{/if}
<!-- <section class="sec-2">
<h2 class="tit">年轻人的社交选择</h2>
<p class="note">加入凡骄找到新朋友<br></p>
......@@ -309,6 +310,7 @@
</div>
</section>-->
<section id="downloads" name="downloads" class="sec-3">
{empty name="app_list"}{else}
<h2 class="tit">根据你的手机,选择下载</h2>
<ul class="clearfix">
......@@ -317,16 +319,17 @@
{if ( $vo.app_cate.title!='QC')}
<a href="{$vo.file_link}" target="_Blank" class="ciqclickbtn" _client="PC" _page="首页" _position="底部" _name="{$vo.app_cate.title}下载">
<i class="icon">
<img class="te" alt="" style="width:50px;height:50px;" src="{$vo.img.img_url}{$vo.img.img_name}">
<img class="te" alt="" style="width:50px;height:50px;" src="{$vo.img_url}">
</i>
<p>{$vo.app_cate.title}</p>
</a>
{else /}
<img alt="" style="width:100%;height:100%" src="{$vo.img.img_url}{$vo.img.img_name}">
<img alt="" style="width:100%;height:100%" src="{$vo.img_url}">
{/if}
</li>
{/volist}
</ul>
{/empty}
</section>
<section class="sec-4">
<ul class="clearfix">
......
......@@ -151,4 +151,13 @@
text-decoration: none;
}
.te{
cursor: pointer;
transition: all 0.6s;
}
.te:hover{
transform: scale(1.2);
z-index:1000;
}
</style>
\ No newline at end of file
......@@ -26,57 +26,37 @@
<header class="common-header">
<a class="logo-href" href="/"></a>
<ul class="clearfix">
<li class="no-border">
<a class="home" href="{:url('/home')}">首页</a>
</li>
<li>
<a class="news {$url=='News'?'active':''}" href="/nationalTide">国潮</a>
</li>
<li>
<a class="news {$url=='News'?'active':''}" href="{:url('/news')}">凡骄动态</a>
</li>
<li>
<a class="join {$url=='Join'?'active':''}" href="{:url('/join')}">加入我们</a>
</li>
{volist name="nav" id="vo" key="k"}
{if !empty($vo.child)}
<li class="white-bg-service">
<span class="service business">关于我们
<span class="down-list">
<span class="item colortext">
<a href="javascript:">关于我们&nbsp;&nbsp;</a>
</span>
<span class="item">
<a href="{:url('/aboutus')}">关于凡骄</a>
</span>
<span class="service">&nbsp;{$vo.title}&nbsp;
<span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext" style="left: -1px;width: 100%">
<a href="javascript:">{$vo.title}</a>
</span>
{volist name="vo.child" id="child" key="key"}
<span class="item">
<a href="{:url('/contact')}">联系我们</a>
<a href="{$child.url}" {if $child.show_type==1}target="_blank"{/if}>{$child.title}</a>
</span>
{/volist}
</span>
</span>
<li>
{else \}
<li {if $k==1}class="no-border"{else}class="white-bg-service"{/if}>
<a class="{$vo.class} {$url==ucfirst($vo.class)?'active':''}" href="{$vo.url}" {if $vo.show_type==1}target="_blank"{/if}>{$vo.title}</a>
</li>
<li class="white-bg-service"><span class="service business" href="/business">业务体系<span class="down-list">
<span class="item colortext"><a href="javascript:">业务体系&nbsp;&nbsp;</a></span>
<span class="item"><a href="{:url('/game')}" >凡骄游戏</a></span>
</span></span></li>
<li class="
<span class="service"><a href="{:url('/servicehelp/help')}">帮助</a>
<!-- <span class="down-list"> -->
<!-- <span class="item colortext">-->
<!-- <a href="{:url('/servicehelp/help')}">充值与帮助</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="{:url('/servicehelp/service')}">在线充值</a>-->
<!-- </span>-->
<!-- <span class="item">-->
<!-- <a href="{:url('/servicehelp/help')}">帮助中心</a>-->
<!-- </span>-->
<!-- </span>-->
</span>
</li>
<!-- <li>
<a class="guild {$url=='Guild'?'active':''}" href="http://guild-rds.3yakj.com">公会入口</a>
</li> -->
<li>
<!-- <a class="servicehelp {$url=='ServiceHelp'?'active':''}" href="{:url('/servicehelp/info')}">凡骄麻将</a> -->
</li>
{/if}
{/volist}
</ul>
</header>
\ No newline at end of file
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var ul = document.getElementsByClassName("clearfix");
var childList = ul[0].children;
for (var i = 0;i < childList.length ; i++){
if (childList[i].className === ''){
ul[0].removeChild(ul[0].children[i]);
}
}
</script>
\ No newline at end of file
......@@ -186,6 +186,7 @@
</div>
{/volist}
</div>
{if !empty($question_cate_list)}
<div class="usercontext">
<div class="tips-container">
<form id="search-form" method="get" action="/servicehelp/search.html">
......@@ -226,6 +227,7 @@
{/if}
</div>
</div>
{/if}
</section>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment