Commit ad853a8b authored by liukang's avatar liukang

修改提交

parent 425291a8
......@@ -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
......@@ -22,18 +22,12 @@ class Base extends Error
$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->getNav();
$this->assign("other_logo_url",$this->other_logo_url);
$this->assign("logo_url",$this->logo_url);
$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);
}
......@@ -61,6 +55,17 @@ class Base extends Error
public function getNav(){
$nav = db('menu')->where(array('status'=>1,'type'=>0))->field('id,title,url,show_type')->order('order desc')->select();
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();
$nav[$key]['child'] = $child;
}
......
......@@ -12,7 +12,7 @@ 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();
$help_list = Question::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
}
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'];
}
// 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);
......@@ -39,10 +39,10 @@ class ServiceHelp extends Base
}
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'];
}
// 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 = array();
$cate = new QuestionCate();
if(count($question_cate_list)>0){
......@@ -120,10 +120,10 @@ 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'];
}
// 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);
......@@ -152,10 +152,10 @@ 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'];
}
// 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()
......
<?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>
<head>
<title>朱贝-全民娱乐直播平台</title>
......@@ -263,7 +263,7 @@
</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 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>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
......@@ -271,7 +271,7 @@
<li>
<?php else: ?>
<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>
<?php 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>
<head>
<title>朱贝直播官方热门动态</title>
......@@ -243,7 +243,7 @@
</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 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>
<?php endforeach; endif; else: echo "" ;endif; ?>
</span>
......@@ -251,7 +251,7 @@
<li>
<?php else: ?>
<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>
<?php 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>
<head>
<title>朱贝—全民娱乐直播平台</title>
......@@ -451,7 +451,7 @@
<li>
<?php else: ?>
<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>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>
......@@ -545,16 +545,16 @@
<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;?>
<li class="down">
<li class="down" style="margin-top: 10px;">
<?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']); ?>下载">
<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>
</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; ?>
......@@ -588,23 +588,6 @@
</li>
</ul>
</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">
<span class="close">×</span>
<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>
<head>
<title>朱贝-全民娱乐直播平台</title>
......@@ -381,7 +381,7 @@
<li>
<?php else: ?>
<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>
<?php 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>
<head>
<title>朱贝招聘|人才招募|招商加盟|主播入驻|颜值主播</title>
......@@ -278,89 +278,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 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 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>
</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>
<?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('/servicehelp/help'); ?>">帮助中心</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 helpon">朱贝直播助手
<span class="down-list">
<span class="item colortext">
<a href="">朱贝直播助手</a>
</span>
<span class="item">
<a href="http://oss.3yakj.com/app/zhuBeiLive3.0.rar">for Windows</a>
</span>
<span class="item">
<a target="_blank" href="https://obsproject.com">OBS下载地址</a>
</span>
<!--<span class="item">-->
<!--<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>-->
</li>
<li class="white-bg-service">
<a class="home" href="<?php echo url('/index/index/huatai'); ?>">华泰证券</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>
......@@ -373,9 +323,6 @@
<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 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 class="swiper-pagination swiper-pagination-clickable"><span class="swiper-pagination-bullet swiper-pagination-bullet-active"></span></div>
......
......@@ -322,16 +322,16 @@
<ul class="clearfix">
{volist name="app_list" id="vo"}
<li class="down">
<li class="down" style="margin-top: 10px;">
{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}下载">
<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>
</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}
......@@ -365,23 +365,6 @@
</li>
</ul>
</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">
<span class="close">×</span>
<img class="modal-content" id="img01">
......
......@@ -44,7 +44,7 @@
<li>
{else \}
<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>
{/if}
{/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