Commit ad853a8b authored by liukang's avatar liukang

修改提交

parent 425291a8
...@@ -13,8 +13,8 @@ class App extends Model ...@@ -13,8 +13,8 @@ class App extends Model
{ {
return $this->hasOne('app\admin\model\Users','id','user_id'); return $this->hasOne('app\admin\model\Users','id','user_id');
} }
public function img() // public function img()
{ // {
return $this->hasOne('app\common\model\Img','id','img_id'); // return $this->hasOne('app\common\model\Img','id','img_id');
} // }
} }
\ No newline at end of file
...@@ -22,18 +22,12 @@ class Base extends Error ...@@ -22,18 +22,12 @@ class Base extends Error
$other_logo = $this->getImage(4); $other_logo = $this->getImage(4);
$index_logo = $this->getImage(5); $index_logo = $this->getImage(5);
$vedio = HomeConfig::where("home_config_cate_id",1)->where("isdeleted",0)->Order("current","desc")->find(); $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)){ if(!empty($vedio)){
$this->vedio_url = $vedio->img->img_url.$vedio->img->img_name; $this->vedio_url = $vedio->img->img_url.$vedio->img->img_name;
} }
$this->getNav(); $this->getNav();
$this->assign("other_logo_url",$this->other_logo_url); $this->assign("other_logo_url",$other_logo);
$this->assign("logo_url",$this->logo_url); $this->assign("logo_url",$index_logo);
$this->assign("vedio_url",$this->vedio_url); $this->assign("vedio_url",$this->vedio_url);
$this->assign("host_name",$this->host_name); $this->assign("host_name",$this->host_name);
} }
...@@ -61,6 +55,17 @@ class Base extends Error ...@@ -61,6 +55,17 @@ class Base extends Error
public function getNav(){ public function getNav(){
$nav = db('menu')->where(array('status'=>1,'type'=>0))->field('id,title,url,show_type')->order('order desc')->select(); $nav = db('menu')->where(array('status'=>1,'type'=>0))->field('id,title,url,show_type')->order('order desc')->select();
foreach ($nav as $key=>$value){ 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';
}
}
$child = db('menu_child')->where(array('pid'=>$value['id'],'status'=>1))->field('title,show_type,url')->order('order desc')->select(); $child = db('menu_child')->where(array('pid'=>$value['id'],'status'=>1))->field('title,show_type,url')->order('order desc')->select();
$nav[$key]['child'] = $child; $nav[$key]['child'] = $child;
} }
......
...@@ -12,7 +12,7 @@ class Index extends Base ...@@ -12,7 +12,7 @@ class Index extends Base
{ {
public function index() public function index()
{ {
$app_list = App::where("isdeleted",0)->order('num','asc')->select(); $app_list = App::where("isdeleted",0)->order('num','desc')->select();
$help_list = Question::where("isdeleted",0)->order("current","desc")->paginate(4); $help_list = Question::where("isdeleted",0)->order("current","desc")->paginate(4);
$news_list = News::where("isdeleted",0)->order("current","desc")->paginate(4); $news_list = News::where("isdeleted",0)->order("current","desc")->paginate(4);
......
...@@ -27,10 +27,10 @@ class ServiceHelp extends Base ...@@ -27,10 +27,10 @@ class ServiceHelp extends Base
} }
public function service(){ public function service(){
$question_cate_list =QuestionCate::where('isdeleted',0)->select(); $question_cate_list =QuestionCate::where('isdeleted',0)->select();
for($n=0;$n<count($question_cate_list);$n++){ // for($n=0;$n<count($question_cate_list);$n++){
$img = Img::get(intval($question_cate_list[$n]['img_id'])); // $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[$n]['img_url'] = $img['img_url'].$img['img_name'];
} // }
$this->assign('url',$this->url); $this->assign('url',$this->url);
...@@ -39,10 +39,10 @@ class ServiceHelp extends Base ...@@ -39,10 +39,10 @@ class ServiceHelp extends Base
} }
public function help(){ public function help(){
$question_cate_list =QuestionCate::where('isdeleted',0)->select(); $question_cate_list =QuestionCate::where('isdeleted',0)->select();
for($n=0;$n<count($question_cate_list);$n++){ // for($n=0;$n<count($question_cate_list);$n++){
$img = Img::get(intval($question_cate_list[$n]['img_id'])); // $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[$n]['img_url'] = $img['img_url'].$img['img_name'];
} // }
$question_list = array(); $question_list = array();
$cate = new QuestionCate(); $cate = new QuestionCate();
if(count($question_cate_list)>0){ if(count($question_cate_list)>0){
...@@ -120,10 +120,10 @@ class ServiceHelp extends Base ...@@ -120,10 +120,10 @@ class ServiceHelp extends Base
$this->redirect('/servicehelp/help.html'); $this->redirect('/servicehelp/help.html');
} }
$question_cate_list =QuestionCate::where('isdeleted',0)->select(); $question_cate_list =QuestionCate::where('isdeleted',0)->select();
for($n=0;$n<count($question_cate_list);$n++){ // for($n=0;$n<count($question_cate_list);$n++){
$img = Img::get(intval($question_cate_list[$n]['img_id'])); // $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[$n]['img_url'] = $img['img_url'].$img['img_name'];
} // }
$question = Question::where('isdeleted',0)->where('id',$question_id)->find(); $question = Question::where('isdeleted',0)->where('id',$question_id)->find();
$this->assign('url',$this->url); $this->assign('url',$this->url);
...@@ -152,10 +152,10 @@ class ServiceHelp extends Base ...@@ -152,10 +152,10 @@ class ServiceHelp extends Base
public function search(){ public function search(){
$key_str = input('s_key',''); $key_str = input('s_key','');
$question_cate_list =QuestionCate::where('isdeleted',0)->select(); $question_cate_list =QuestionCate::where('isdeleted',0)->select();
for($n=0;$n<count($question_cate_list);$n++){ // for($n=0;$n<count($question_cate_list);$n++){
$img = Img::get(intval($question_cate_list[$n]['img_id'])); // $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[$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, [ $question_list = Question::where('isdeleted',0)->whereLike('title',"%".$key_str."%")->order('current','desc')->paginate(10, false, [
'query' => request()->param() 'query' => request()->param()
......
<?php /*a:4:{s:66:"D:\PHPStormProject\3yakj\config/../template/home\index\huatai.html";i:1647940258;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\header.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1648105487;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?> <?php /*a:4:{s:66:"D:\PHPStormProject\3yakj\config/../template/home\index\huatai.html";i:1647940258;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\header.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1648113542;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?>
<html> <html>
<head> <head>
<title>朱贝-全民娱乐直播平台</title> <title>朱贝-全民娱乐直播平台</title>
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
</span> </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;?> <?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"> <span class="item">
<a href="<?php echo htmlentities($child['url']); ?>"><?php echo htmlentities($child['title']); ?></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> </span>
<?php endforeach; endif; else: echo "" ;endif; ?> <?php endforeach; endif; else: echo "" ;endif; ?>
</span> </span>
...@@ -271,7 +271,7 @@ ...@@ -271,7 +271,7 @@
<li> <li>
<?php else: ?> <?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>> <li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="home" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a> <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>
<?php endif; ?> <?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?> <?php endforeach; endif; else: echo "" ;endif; ?>
......
<?php /*a:4:{s:63:"D:\PHPStormProject\3yakj\config/../template/home\news\list.html";i:1647937410;s:72:"D:\PHPStormProject\3yakj\config/../template/home\public\header_meta.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1648105487;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?> <?php /*a:4:{s:63:"D:\PHPStormProject\3yakj\config/../template/home\news\list.html";i:1647937410;s:72:"D:\PHPStormProject\3yakj\config/../template/home\public\header_meta.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1648113542;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?>
<html> <html>
<head> <head>
<title>朱贝直播官方热门动态</title> <title>朱贝直播官方热门动态</title>
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
</span> </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;?> <?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"> <span class="item">
<a href="<?php echo htmlentities($child['url']); ?>"><?php echo htmlentities($child['title']); ?></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> </span>
<?php endforeach; endif; else: echo "" ;endif; ?> <?php endforeach; endif; else: echo "" ;endif; ?>
</span> </span>
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
<li> <li>
<?php else: ?> <?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>> <li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="home" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a> <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>
<?php endif; ?> <?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?> <?php endforeach; endif; else: echo "" ;endif; ?>
......
<?php /*a:4:{s:71:"D:\PHPStormProject\3yakj\config/../template/home\index\Index\index.html";i:1647939856;s:72:"D:\PHPStormProject\3yakj\config/../template/home\public\header_meta.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1648106266;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?> <?php /*a:4:{s:71:"D:\PHPStormProject\3yakj\config/../template/home\index\Index\index.html";i:1648110176;s:72:"D:\PHPStormProject\3yakj\config/../template/home\public\header_meta.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1648113542;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?>
<html> <html>
<head> <head>
<title>朱贝—全民娱乐直播平台</title> <title>朱贝—全民娱乐直播平台</title>
...@@ -451,7 +451,7 @@ ...@@ -451,7 +451,7 @@
<li> <li>
<?php else: ?> <?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>> <li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="home" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a> <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>
<?php endif; ?> <?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?> <?php endforeach; endif; else: echo "" ;endif; ?>
...@@ -545,16 +545,16 @@ ...@@ -545,16 +545,16 @@
<ul class="clearfix"> <ul class="clearfix">
<?php if(is_array($app_list) || $app_list instanceof \think\Collection || $app_list instanceof \think\Paginator): $i = 0; $__LIST__ = $app_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <?php if(is_array($app_list) || $app_list instanceof \think\Collection || $app_list instanceof \think\Paginator): $i = 0; $__LIST__ = $app_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<li class="down"> <li class="down" style="margin-top: 10px;">
<?php if(( $vo['app_cate']['title']!='QC')): ?> <?php if(( $vo['app_cate']['title']!='QC')): ?>
<a style="text-align: center;" href="<?php echo htmlentities($vo['file_link']); ?>" target="_Blank" class="ciqclickbtn" _client="PC" _page="首页" _position="底部" _name="<?php echo htmlentities($vo['app_cate']['title']); ?>下载"> <a style="text-align: center;" href="<?php echo htmlentities($vo['file_link']); ?>" target="_Blank" class="ciqclickbtn" _client="PC" _page="首页" _position="底部" _name="<?php echo htmlentities($vo['app_cate']['title']); ?>下载">
<img class="te" alt="" style="width:100px;height:100px;text-align: center!important;" src="<?php echo htmlentities($vo['img']['img_url']); ?><?php echo htmlentities($vo['img']['img_name']); ?>"> <img class="te" alt="" style="width:100px;height:100px;text-align: center!important;" src="<?php echo htmlentities($vo['img_url']); ?>">
<p style="margin-top: 20px"><?php echo htmlentities($vo['app_cate']['title']); ?></p> <p style="margin-top: 20px"><?php echo htmlentities($vo['app_cate']['title']); ?></p>
</a> </a>
<?php else: ?> <?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; ?> <?php endif; ?>
</li> </li>
<?php endforeach; endif; else: echo "" ;endif; ?> <?php endforeach; endif; else: echo "" ;endif; ?>
...@@ -588,23 +588,6 @@ ...@@ -588,23 +588,6 @@
</li> </li>
</ul> </ul>
</section> </section>
<!-- <section class="sec-4 i" style="margin-top:-150px;">-->
<!-- <ul class="clearfix">-->
<!-- <li style=" border-left: 0px;">-->
<!-- <img class="img" alt="" style="wdith:100%;height:100%;" src="/static/IMG/ICP.jpg">-->
<!-- </li>-->
<!-- <li style=" border-left: 0px;">-->
<!-- <img class="img" alt="" style="wdith:100%;height:100%;" src="/static/IMG/www.jpg">-->
<!-- </li> &ndash;&gt;-->
<!-- <li style=" border-left: 0px;">-->
<!-- <img class="img" alt="" style="wdith:100%;height:100%;" src="/static/IMG/yyzz3y.jpg">-->
<!-- </li>-->
<!-- <li style=" border-left: 0px;">-->
<!-- <img class="img" alt="" style="wdith:100%;height:100%;" src="/static/IMG/wenhua.jpg">-->
<!-- </li>-->
<!-- </ul>-->
<!-- </section>-->
<!-- The Modal -->
<div id="myModal" class="modal"> <div id="myModal" class="modal">
<span class="close">×</span> <span class="close">×</span>
<img class="modal-content" id="img01"> <img class="modal-content" id="img01">
......
<?php /*a:4:{s:70:"D:\PHPStormProject\3yakj\config/../template/home\servicehelp\help.html";i:1647937410;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\header.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1648106266;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?> <?php /*a:4:{s:70:"D:\PHPStormProject\3yakj\config/../template/home\servicehelp\help.html";i:1647937410;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\header.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1648113542;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?>
<html> <html>
<head> <head>
<title>朱贝-全民娱乐直播平台</title> <title>朱贝-全民娱乐直播平台</title>
...@@ -381,7 +381,7 @@ ...@@ -381,7 +381,7 @@
<li> <li>
<?php else: ?> <?php else: ?>
<li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>> <li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="home" href="<?php echo htmlentities($vo['url']); ?>" <?php if($vo['show_type']==1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($vo['title']); ?></a> <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>
<?php endif; ?> <?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?> <?php endforeach; endif; else: echo "" ;endif; ?>
......
<?php /*a:4:{s:63:"D:\PHPStormProject\3yakj\config/../template/home\join\list.html";i:1647940467;s:72:"D:\PHPStormProject\3yakj\config/../template/home\public\header_meta.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1647937410;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?> <?php /*a:4:{s:63:"D:\PHPStormProject\3yakj\config/../template/home\join\list.html";i:1647940494;s:72:"D:\PHPStormProject\3yakj\config/../template/home\public\header_meta.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:1648113542;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/ ?>
<html> <html>
<head> <head>
<title>朱贝招聘|人才招募|招商加盟|主播入驻|颜值主播</title> <title>朱贝招聘|人才招募|招商加盟|主播入驻|颜值主播</title>
...@@ -278,89 +278,39 @@ ...@@ -278,89 +278,39 @@
<header class="common-header"> <header class="common-header">
<a class="logo-href" href="/"></a> <a class="logo-href" href="/"></a>
<ul class="clearfix"> <ul class="clearfix">
<li class="no-border"> <?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'])): ?>
<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>
<li class="white-bg-service">
<span class="service business aboutuson">关于我们
<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="item">
<a href="<?php echo url('/contact'); ?>">联系我们</a>
</span>
</span>
</span>
</li>
<li class="white-bg-service">
<span class="service helpon">服务与帮助
<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/help'); ?>">帮助中心</a>
</span>
</span>
</span>
</li>
<li class="white-bg-service"> <li class="white-bg-service">
<span class="service helpon">朱贝直播助手 <span class="service">&nbsp;<?php echo htmlentities($vo['title']); ?>&nbsp;
<span class="down-list"> <span class="down-list" style="position: relative;top: -30px;left: 0px;">
<span class="item colortext"> <span class="item colortext" style="left: -1px;width: 100%">
<a href="">朱贝直播助手</a> <a href="javascript:"><?php echo htmlentities($vo['title']); ?></a>
</span>
<span class="item">
<a href="http://oss.3yakj.com/app/zhuBeiLive3.0.rar">for Windows</a>
</span> </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"> <span class="item">
<a target="_blank" href="https://obsproject.com">OBS下载地址</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> </span>
<!--<span class="item">--> <?php endforeach; endif; else: echo "" ;endif; ?>
<!--<a href="https://cdn-fastly.obsproject.com/downloads/obs-mac-27.1.dmg">for mac</a>-->
<!--</span>-->
<span class="item">
<a target="_blank" href="https://lcnsc3uqhj.feishu.cn/docs/doccnJ8LBZipIQUarP0Sous9ouc">帮助中心</a>
</span>
</span>
</span>
</li>
<li class="white-bg-service">
<a class="home" href="http://guild-rds.3yakj.com" target="_blank">公会入口</a>
<!--<span class="service business guildon">工会入口
<span class="down-list">
<span class="item colortext">
<a href="javascript:">工会入口&nbsp;&nbsp;</a>
</span>
<span class="item">
<a href="http://guild-rds.3yakj.com" target="_blank">mcn机构入口</a>
</span>
<span class="item">
<a href="http://guild-rds.3yakj.com" target="_blank">公会入口</a>
</span> </span>
</span> </span>
</span>--> <li>
</li> <?php else: ?>
<li class="white-bg-service"> <li <?php if($k==1): ?>class="no-border"<?php else: ?>class="white-bg-service"<?php endif; ?>>
<a class="home" href="<?php echo url('/index/index/huatai'); ?>">华泰证券</a> <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>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul> </ul>
</header> </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>
...@@ -372,9 +322,6 @@ ...@@ -372,9 +322,6 @@
<div class="swiper-wrapper"> <div class="swiper-wrapper">
<div class="swiper-slide btn swiper-slide-active" banner_id="ba55e41fa01ad59" banner_link="" is_video="0" style="width: 1020px; margin-right: 30px;"> <div class="swiper-slide btn swiper-slide-active" banner_id="ba55e41fa01ad59" banner_link="" is_video="0" style="width: 1020px; margin-right: 30px;">
<img src="<?php echo htmlentities($join_image); ?>"> <img src="<?php echo htmlentities($join_image); ?>">
</div>
<div class="swiper-slide btn swiper-slide-active" banner_id="ba55e41fa01ad59" banner_link="" is_video="0" style="width: 1020px; margin-right: 30px;">
<img src="<?php echo htmlentities($join_image); ?>">
</div> </div>
</div> </div>
</div> </div>
......
...@@ -322,16 +322,16 @@ ...@@ -322,16 +322,16 @@
<ul class="clearfix"> <ul class="clearfix">
{volist name="app_list" id="vo"} {volist name="app_list" id="vo"}
<li class="down"> <li class="down" style="margin-top: 10px;">
{if ( $vo.app_cate.title!='QC')} {if ( $vo.app_cate.title!='QC')}
<a style="text-align: center;" href="{$vo.file_link}" target="_Blank" class="ciqclickbtn" _client="PC" _page="首页" _position="底部" _name="{$vo.app_cate.title}下载"> <a style="text-align: center;" href="{$vo.file_link}" target="_Blank" class="ciqclickbtn" _client="PC" _page="首页" _position="底部" _name="{$vo.app_cate.title}下载">
<img class="te" alt="" style="width:100px;height:100px;text-align: center!important;" src="{$vo.img.img_url}{$vo.img.img_name}"> <img class="te" alt="" style="width:100px;height:100px;text-align: center!important;" src="{$vo.img_url}">
<p style="margin-top: 20px">{$vo.app_cate.title}</p> <p style="margin-top: 20px">{$vo.app_cate.title}</p>
</a> </a>
{else /} {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} {/if}
</li> </li>
{/volist} {/volist}
...@@ -365,23 +365,6 @@ ...@@ -365,23 +365,6 @@
</li> </li>
</ul> </ul>
</section> </section>
<!-- <section class="sec-4 i" style="margin-top:-150px;">-->
<!-- <ul class="clearfix">-->
<!-- <li style=" border-left: 0px;">-->
<!-- <img class="img" alt="" style="wdith:100%;height:100%;" src="/static/IMG/ICP.jpg">-->
<!-- </li>-->
<!-- <li style=" border-left: 0px;">-->
<!-- <img class="img" alt="" style="wdith:100%;height:100%;" src="/static/IMG/www.jpg">-->
<!-- </li> &ndash;&gt;-->
<!-- <li style=" border-left: 0px;">-->
<!-- <img class="img" alt="" style="wdith:100%;height:100%;" src="/static/IMG/yyzz3y.jpg">-->
<!-- </li>-->
<!-- <li style=" border-left: 0px;">-->
<!-- <img class="img" alt="" style="wdith:100%;height:100%;" src="/static/IMG/wenhua.jpg">-->
<!-- </li>-->
<!-- </ul>-->
<!-- </section>-->
<!-- The Modal -->
<div id="myModal" class="modal"> <div id="myModal" class="modal">
<span class="close">×</span> <span class="close">×</span>
<img class="modal-content" id="img01"> <img class="modal-content" id="img01">
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<li> <li>
{else \} {else \}
<li {if $k==1}class="no-border"{else}class="white-bg-service"{/if}> <li {if $k==1}class="no-border"{else}class="white-bg-service"{/if}>
<a class="home" href="{$vo.url}" {if $vo.show_type==1}target="_blank"{/if}>{$vo.title}</a> <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>
{/if} {/if}
{/volist} {/volist}
......
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