Переглянути джерело

wesmiler 最新前端提交

wesmiler 6 роки тому
батько
коміт
ec8df162d8
40 змінених файлів з 5611 додано та 1614 видалено
  1. 36 1
      app/index/controller/IndexController.php
  2. 10 71
      app/index/controller/JiamengController.php
  3. 100 97
      app/index/controller/NewsController.php
  4. 0 12
      app/index/controller/PhbController.php
  5. 21 17
      app/index/controller/Top10Controller.php
  6. 2 2
      app/index/service/JiamengService.php
  7. 35 1
      app/index/service/MessageService.php
  8. 9 4
      app/index/service/NewsService.php
  9. 1 0
      data/route/route.php
  10. 0 2
      public/themes/jiameng/index/news/index.html
  11. 0 8
      public/themes/jiameng/index/top10/index.html
  12. 9 11
      public/themes/mjmls/index/block/footer.html
  13. 2 2
      public/themes/mjmls/index/index/news/join.html
  14. 6 6
      public/themes/mjmls/index/jiameng/show.html
  15. 54 0
      public/themes/mjmls/index/know/index.html
  16. 111 0
      public/themes/mjmls/index/know/show.html
  17. 3 3
      public/themes/mjmls/index/news/complaint.html
  18. 40 460
      public/themes/mjmls/index/news/index.html
  19. 67 487
      public/themes/mjmls/index/news/list.html
  20. 57 358
      public/themes/mjmls/index/news/show.html
  21. 175 0
      public/themes/mjmls/index/top10/index.html
  22. 16 16
      public/themes/mjmls/static/css/index.css
  23. 42 41
      public/themes/mjmls/static/css/inside.css
  24. 42 0
      public/themes/mjmls/static/css/know-content.css
  25. 62 0
      public/themes/mjmls/static/css/know.css
  26. 23 14
      public/themes/mjmls/static/css/master.css
  27. 1583 0
      public/themes/mjmls/static/css1/index.css
  28. 2065 0
      public/themes/mjmls/static/css1/inside.css
  29. 978 0
      public/themes/mjmls/static/css1/master.css
  30. BIN
      public/themes/mjmls/static/images/1.png
  31. BIN
      public/themes/mjmls/static/images/2.png
  32. BIN
      public/themes/mjmls/static/images/3.png
  33. BIN
      public/themes/mjmls/static/images/huo01.png
  34. BIN
      public/themes/mjmls/static/images/huo02.png
  35. BIN
      public/themes/mjmls/static/images/huo03.png
  36. BIN
      public/themes/mjmls/static/images/icon_project.png
  37. BIN
      public/themes/mjmls/static/images/know_0.gif
  38. BIN
      public/themes/mjmls/static/images/know_1.gif
  39. 2 1
      public/themes/mjmls/static/js/base.js
  40. 60 0
      vendor/thinkcmf/cmf/src/common.php

+ 36 - 1
app/index/controller/IndexController.php

@@ -2,12 +2,15 @@
 namespace app\index\controller;
 use app\index\service\AdvertService;
 use app\index\service\CategoryService;
+use app\index\service\IpService;
 use app\index\service\JiamengService;
 use app\index\service\LinkService;
 use app\index\service\MessageService;
 use app\index\service\NewsCategoryService;
 use app\index\service\NewsService;
 use cmf\controller\HomeBaseController;
+use think\Db;
+
 class IndexController extends HomeBaseController
 {
     public function index()
@@ -131,7 +134,7 @@ class IndexController extends HomeBaseController
         $brandHot = JiamengService::getTopList([], 16);
 
         // 加盟动态
-        $jmMessages = MessageService::getList([], 10);
+        $jmMessages = MessageService::getList(['type'=> 1], 10);
 
         // 友情链接
         $links = LinkService::getList([], 24);
@@ -189,5 +192,37 @@ class IndexController extends HomeBaseController
     {
         return $this->fetch(':ws');
     }
+
+    /**
+     * 投诉
+     */
+    public function complaint(){
+        $param = $this->request->param();
+        isset($param['mobile'])&&$param['mobile']!='' or $this->error('请填写手机号');
+        $param['create_time'] = time();
+        $param['ip'] = get_client_ip();
+        $param['address'] = IpService::getAddress(get_client_ip());
+        if(strlen($param['content'])>200){
+            $this->error('字符长度不超过300个');
+        }
+
+        $param['content'] = strFilter($param['content']);
+        $param['name'] = strFilter($param['name']);
+        $param['mobile'] = strFilter($param['mobile']);
+        $param['type'] = 2;
+
+        //判断是否已超过10次  今天这个ip是否投诉过
+        $sum = MessageService::getTodyCount(['ip'=> $param['ip'],'type'=> 2]);
+        if($sum>0){
+            $this->error('今日投诉已超过1次,明天再来吧!');
+        }
+
+        $res = Db::name('message')->insert($param);
+        if($res){
+            $this->success('投诉提交成功');
+        }else{
+            $this->error('投诉提交失败');
+        }
+    }
 }
 ?>

+ 10 - 71
app/index/controller/JiamengController.php

@@ -3,6 +3,7 @@ namespace app\index\controller;
 use app\index\service\CategoryService;
 use app\index\service\IpService;
 use app\index\service\JiamengService;
+use app\index\service\MessageService;
 use app\index\service\PageService;
 use cmf\controller\HomeBaseController;
 use think\Db;
@@ -238,30 +239,22 @@ class JiamengController extends HomeBaseController
         if(isset($param['tzed']) && $param['tzed']<=0){
             $this->error('请选择投资额度');
         }
-        $param['content'] = $this->strFilter($param['content']);
-        $param['name'] = $this->strFilter($param['name']);
-        $param['mobile'] = $this->strFilter($param['mobile']);
-        $param['tzed'] = $this->strFilter($param['tzed']);
-        $param['area'] = $this->strFilter($param['area']);
-        $param['wechat'] = $this->strFilter($param['wechat']);
-
+        $param['content'] = strFilter($param['content']);
+        $param['name'] = strFilter($param['name']);
+        $param['mobile'] = strFilter($param['mobile']);
+        $param['tzed'] = strFilter($param['tzed']);
+        $param['area'] = strFilter($param['area']);
+        $param['wechat'] = strFilter($param['wechat']);
+        $param['type'] = 1;
 
         // print_r($param);exit;
         //判断是否已超过10次  今天这个ip是否留言过
-        $sum = Db::name('message')->where('ip',$param['ip'])->where('create_time','gt',$todaytime)->count();
+        $sum = MessageService::getTodyCount(['ip'=> $param['ip'],'type'=> 1]);
         if($sum>0){
             $this->error('今日留言已超过1次,明天再来吧!');
         }
         //判断手机号本周内是否留过
-        // 当前日期
-		$sdefaultDate = date("Y-m-d");
-		// $first =1 表示每周星期一为开始日期 0表示每周日为开始日期
-		$first=1;
-		// 获取当前周的第几天 周日是0 周一到周六是 1 - 6
-		$w = date('w', strtotime($sdefaultDate));
-		// 获取本周开始日期,如果$w是0,则表示周日,减去 6 天
-		$week_start=strtotime("$sdefaultDate -".($w ? $w - $first : 6).' days');
-		$sum = Db::name('message')->where('mobile',$param['mobile'])->where('create_time','gt',$week_start)->count();
+		$sum = MessageService::getWeekCount(['ip'=> $param['ip'],'type'=> 1]);
         if($sum>0){
             $this->error('您的手机号在本周内已预留过,下周再来吧!');
         }
@@ -273,59 +266,5 @@ class JiamengController extends HomeBaseController
         }
 
     }
-    public function strFilter($str){
-	    $str = str_replace('`', '', $str);
-	    $str = str_replace('·', '', $str);
-	    $str = str_replace('~', '', $str);
-	    $str = str_replace('!', '', $str);
-	    $str = str_replace('!', '', $str);
-	    $str = str_replace('@', '', $str);
-	    $str = str_replace('#', '', $str);
-	    $str = str_replace('$', '', $str);
-	    $str = str_replace('¥', '', $str);
-	    $str = str_replace('%', '', $str);
-	    $str = str_replace('^', '', $str);
-	    $str = str_replace('……', '', $str);
-	    $str = str_replace('&', '', $str);
-	    $str = str_replace('*', '', $str);
-	    $str = str_replace('(', '', $str);
-	    $str = str_replace(')', '', $str);
-	    $str = str_replace('(', '', $str);
-	    $str = str_replace(')', '', $str);
-	    $str = str_replace('-', '', $str);
-	    $str = str_replace('_', '', $str);
-	    $str = str_replace('——', '', $str);
-	    $str = str_replace('+', '', $str);
-	    $str = str_replace('=', '', $str);
-	    $str = str_replace('|', '', $str);
-	    $str = str_replace('\\', '', $str);
-	    $str = str_replace('[', '', $str);
-	    $str = str_replace(']', '', $str);
-	    $str = str_replace('【', '', $str);
-	    $str = str_replace('】', '', $str);
-	    $str = str_replace('{', '', $str);
-	    $str = str_replace('}', '', $str);
-	    $str = str_replace(';', '', $str);
-	    $str = str_replace(';', '', $str);
-	    $str = str_replace(':', '', $str);
-	    $str = str_replace(':', '', $str);
-	    $str = str_replace('\'', '', $str);
-	    $str = str_replace('"', '', $str);
-	    $str = str_replace('“', '', $str);
-	    $str = str_replace('”', '', $str);
-	    $str = str_replace(',', '', $str);
-	    $str = str_replace(',', '', $str);
-	    $str = str_replace('<', '', $str);
-	    $str = str_replace('>', '', $str);
-	    $str = str_replace('《', '', $str);
-	    $str = str_replace('》', '', $str);
-	    $str = str_replace('.', '', $str);
-	    $str = str_replace('。', '', $str);
-	    $str = str_replace('/', '', $str);
-	    $str = str_replace('、', '', $str);
-	    $str = str_replace('?', '', $str);
-	    $str = str_replace('?', '', $str);
-	    return trim($str);
-	}
 }
 ?>

+ 100 - 97
app/index/controller/NewsController.php

@@ -1,5 +1,8 @@
 <?php
 namespace app\index\controller;
+use app\index\service\CategoryService;
+use app\index\service\JiamengService;
+use app\index\service\NewsCategoryService;
 use app\index\service\NewsService;
 use cmf\controller\HomeBaseController;
 use think\Db;
@@ -7,71 +10,42 @@ class NewsController extends HomeBaseController
 {
     public function index()
     {
-        // $article_cates = ['加盟快讯','新店开业','店铺选址','加盟指南','品牌新闻','品牌人物'];
-        // $article_encate = ['zixun','kaiye','xuanzhi','zhinan','xinwen','renwu'];
         $map['status'] = 1;
-        $article_cates = Db::name('news_category')->order('list_order desc')->select();
-        //加盟头条
-        $toutiao = Db::name('news')->where($map)->field('id,title')->order('id desc')->limit(12)->select();
-        //热点聚焦
-        $redian = Db::name('news')->where($map)->field('id,title,thumb,keywords,create_time')->where('thumb','not null')->limit(4)->select();
-        //分类资讯
-        $ncate_list = array();
-        foreach($article_cates as $k=>$v){
-            $dqid = $v['id'];
-            $nlist = Db::name('news')->where($map)->where('ncatid',$dqid)->order('list_order')->limit(5)->select();
-            $ncate_list[$dqid] = $nlist;
-        }
-        //二级分类
-        // $cates = Db::name('category')->where('parent_id','gt',0)->order('list_order')->limit(12)->select();
-        // $cate_list = array();
-        // foreach($cates as $k=>$v){
-        //     $fl_list = Db::name('news')->where($map)->field('id,title,create_time')->where('catid',$v['id'])->limit(10)->select();
-        //     $v['infos'] = $fl_list;
-        //     $cate_list[$v['id']] = $v;
-        // }
-        //修改为显示1及分类
-        $cates = Db::name('category')->where('parent_id',0)->order('list_order')->limit(12)->select();
-        $cate_list = array();
-        foreach($cates as $k=>$v){
-        	$son_cate = Db::name('category')->where('parent_id',$v['id'])->order('list_order')->select()->toArray();
-	        $son_array = array();
-	        foreach($son_cate as $kk=>$vv){
-	        	$son_array[] = $vv['id'];
-	        }
-            $fl_list = Db::name('news')->where($map)->where('catid','in',$son_array)->field('id,title,create_time')->limit(10)->select();
-            $v['infos'] = $fl_list;
-            $cate_list[$v['id']] = $v;
-        }
+        $cate_list = NewsCategoryService::getCates(20);
+        $cate_list = $cate_list? $cate_list->toArray() : [];
+
         $catinfo = array('id'=>0);
         //排行
-        $paihang = Db::name('jiameng')->field('id,title')->order('hits desc')->limit(15)->select();
-        //横幅广告
-        //横幅广告位
-        $brand8 = Db::name('jiameng')->field('id,title,logo,guanggaowei')->where('level',8)->order('list_order')->limit(2,2)->select()->toArray();
-        //热门精选
-        $brand_jx = Db::name('jiameng')->field('id,title,logo')->order('list_order')->limit(5)->select()->toArray();
-        
-        $news1 = Db::name('news')->where($map)->field('id,title,thumb,guanggaowei')->where('level',1)->order('list_order')->limit(5)->select()->toArray();
-        $news2 = Db::name('news')->where($map)->field('id,title,guanggaowei')->where('level',2)->order('list_order')->limit(2)->select()->toArray();
+        $paihang = JiamengService::getHotList(18);
+
+        // 最新入驻
+        $brand_jx = JiamengService::getNewList(12);
         
+        $news1 = NewsService::getList(['level'=> 1], 18);
+
+        $newsHot = NewsService::getHotList();
+
         $this->assign('news1',$news1);
-        $this->assign('news2',$news2);
-        $this->assign('brand8',$brand8);
+        $this->assign('data',$news1? $news1->toArray(): ['total'=>0]);
+        $this->assign('page',$news1->render());
         $this->assign('brand_jx',$brand_jx);
-        $this->assign('cate_list',$cate_list);
+        $this->assign('hots', $newsHot);
+        $this->assign('cate_list',$cate_list? array_chunk($cate_list, 6) : []);
         $this->assign('paihang',$paihang);
-        $this->assign('cates',$cates);
-        $this->assign('ncate_list',$ncate_list);
-        $this->assign('redian',$redian);
-        $this->assign('toutiao',$toutiao);
-        $this->assign('article_cates',$article_cates);
         $this->assign('catinfo',$catinfo);
         $this->assign('link_cate_name','news');
-        // $this->assign('article_encate',$article_encate);
     
         return $this->fetch();
     }
+
+    /**
+     * 详情
+     * @return mixed
+     * @throws \think\Exception
+     * @throws \think\db\exception\DataNotFoundException
+     * @throws \think\db\exception\ModelNotFoundException
+     * @throws \think\exception\DbException
+     */
     public function show(){
         $param = $this->request->param();
         isset($param['id']) or $this->error('非法访问');
@@ -79,57 +53,65 @@ class NewsController extends HomeBaseController
         if(empty($info)){
         	$this->error('未找到新闻');
         }
+
         $catinfo = Db::name('news_category')->where('id',$info['ncatid'])->find();
-        // $article_cates = ['加盟快讯','新店开业','店铺选址','加盟指南','品牌新闻','品牌人物'];
-        // $article_dy = ['zixun'=>0,'kaiye'=>1,'xuanzhi'=>2,'zhinan'=>3,'xinwen'=>4,'renwu'=>5];
-        // $article_encate = ['zixun','kaiye','xuanzhi','zhinan','xinwen','renwu'];
         $bcate = Db::name('category')->where('id',$info['catid'])->find();
         $info['catname'] = $bcate['catname'];
-        $article_cates = Db::name('news_category')->order('list_order desc')->select();
+
         //更新点击次数
         Db::name('news')->where('id',$param['id'])->setInc('hits',1);
+
         //内容
         $content = Db::name('news_data')->where('id',$param['id'])->find();
         $info['content'] = $content['content'];
-        //下一篇
         $map['status'] = 1;
-        $nextinfo = Db::name('news')->field('id,title')->where($map)->where('id','gt',$param['id'])->order('id')->limit(1)->find();
-        if(!empty($nextinfo)){
-            $next = 1;
-        }else{
-            $next = 0;
-        }
-        $brand_info = array();
-        if($info['pid']){
-            $brand_info = Db::name('jiameng')->field('id,catid,title,touzi_level,mendian,yxjm')->find();
-            //品牌分类
-            $brand_cate = Db::name('category')->where('id',$brand_info['catid'])->find();
-            if(!empty($brand_cate)){
-                $this->assign('brand_cate',$brand_cate);
-            }else{
-                $this->assign('brand_cate',[]);
-            }
+        // 上一篇
+        $lastInfo = Db::name('news')->field('id,title')->where($map)->where('id','lt',$param['id'])->order('id desc')->limit(1)->find();
+        //下一篇
+        $nextInfo = Db::name('news')->field('id,title')->where($map)->where('id','gt',$param['id'])->order('id')->limit(1)->find();
+        $last = $lastInfo? 1 : 0;
+        $next = $nextInfo? 1 : 0;
+
+        // 最新入驻
+        $brand_jx = JiamengService::getNewList(12);
+
+        // 推荐品牌
+        $touziarr = config('params.touziLevels');
+        $jx_jm = Db::name('jiameng')
+            ->field('id,title,logo,touzi_level,hits')
+            ->whereNotIn('id',$info['id'])
+            ->orderRaw('rand()')
+            ->limit(10)
+            ->select()
+            ->each(function($item, $k) use ($touziarr){
+                $touziLevel = isset($item['touzi_level']) ? $item['touzi_level'] : '-1';
+                $item['touzi_level_name'] = isset($touziarr[$touziLevel]) ? $touziarr[$touziLevel] : '';
+                return $item;
+            });
+
+        // 加盟资讯
+        $jm_news = NewsService::getListByCate(1, 6);
+
+        // 相关资讯
+        $other_news = NewsService::getListByCate($info['catid'], 10);
+
+        $keywords = [];
+        if(isset($info['keywords']) && !empty($info['keywords'])){
+            $keywords = explode(',', $info['keywords']);
         }
-        $touziarr = array(
-            '1万元以下',
-            '1~5万元',
-            '5~10万元',
-            '10~20万元',
-            '20~50万元',
-            '50~100万元',
-            '100万元以上',
-            '200万元以上',
-            '300万元以上'
-        );
-        
-        $this->assign('touziarr',$touziarr);
-        $this->assign('brand_info',$brand_info);
-        $this->assign('nextinfo',$nextinfo);
+
+        $this->assign('lastInfo',$lastInfo);
+        $this->assign('nextInfo',$nextInfo);
+        $this->assign('last',$last);
         $this->assign('next',$next);
-        $this->assign('article_cates',$article_cates);
         $this->assign('catinfo',$catinfo);
-        // $this->assign('article_encate',$article_encate);
         $this->assign('info',$info);
+        $this->assign('brand_jx',$brand_jx);
+        $this->assign('jx_jm',$jx_jm);
+        $this->assign('jm_news',$jm_news);
+        $this->assign('other_news',$other_news);
+        $this->assign('keywords',$keywords);
+
         //seo
         $seo_title = $info['seo_title'];
         $seo_keywords = $info['seo_keywords'];;
@@ -142,8 +124,8 @@ class NewsController extends HomeBaseController
     }
 
     public function lists(){
+        $catinfo = [];
         $param = $this->request->param();
-        $article_cates = Db::name('news_category')->order('list_order desc')->select();
         $map['status'] = 1;
         if(isset($param['catname'])){
             $catinfo = Db::name('news_category')->where('enname',$param['catname'])->find();
@@ -154,14 +136,35 @@ class NewsController extends HomeBaseController
             $map['ncatid'] = $catid;
         }
 
-        if(isset($param['lavel']))
+        $kw = isset($param['kw'])? trim($param['kw']) : '';
+        if($kw){
+            $map['kw'] = $kw;
+        }
+
+        // 分类
+        $cate_list = NewsCategoryService::getCates(20);
+        $cate_list = $cate_list? $cate_list->toArray() : [];
 
         $lists = NewsService::getList($map, 10);
-        $this->assign('lists',$lists);
-        $this->assign('article_cates',$article_cates);
-        // $this->assign('article_encate',$article_encate);
+
+        //排行
+        $paihang = JiamengService::getHotList(18);
+
+        // 最新入驻
+        $brand_jx = JiamengService::getNewList(12);
+
+        $newsHot = NewsService::getHotList();
+
+        $this->assign('news1',$lists);
+        $this->assign('data',$lists? $lists->toArray(): ['total'=>0]);
+        $this->assign('page',$lists->render());
+        $this->assign('brand_jx',$brand_jx);
+        $this->assign('hots', $newsHot);
+        $this->assign('cate_list',$cate_list? array_chunk($cate_list, 6) : []);
+        $this->assign('paihang',$paihang);
         $this->assign('catinfo',$catinfo);
-        $this->assign('typeid',$catid);
+        $this->assign('link_cate_name','news');
+
         //seo
         $seo_title = $catinfo['seo_title'];
         $seo_keywords = $catinfo['seo_keywords'];

+ 0 - 12
app/index/controller/PhbController.php

@@ -1,12 +0,0 @@
-<?php
-namespace app\index\controller;
-use cmf\controller\HomeBaseController;
-use think\Db;
-class PhbController extends HomeBaseController
-{
-    public function index()
-    {
-        return $this->fetch();
-    }
-}
-?>

+ 21 - 17
app/index/controller/Top10Controller.php

@@ -1,27 +1,21 @@
 <?php
 namespace app\index\controller;
+use app\index\service\AdvertService;
+use app\index\service\JiamengService;
 use cmf\controller\HomeBaseController;
 use think\Db;
 class Top10Controller extends HomeBaseController
 {
     public function index()
     {
-        //行业分类
-        $brand_cate = Db::name('category')->where('parent_id',0)->order('list_order')->select();
-        foreach($brand_cate as $k=>$v){
-            $son_cate = Db::name('category')->where('parent_id',$v['id'])->order('list_order')->select()->toArray();
-            $v['son'] = $son_cate;
-            //推荐的品牌
-            $tuijian_brand = Db::name('jiameng')->field('id,title,thumb,touzi_level,mendian')->where('pcatid',$v['id'])->order('list_order')->limit(10)->select();
-            $v['tuijian'] = $tuijian_brand;
-            $brand_cate[$k] = $v;
-        }
         //top10
-        $top10 = Db::name('jiameng')->field('id,title,logo,hits,touzi_level,product,thumb')->order('hits desc')->limit(10)->select();
+        $top10 = Db::name('jiameng')->field('id,title,logo,hits,area,touzi_level,product,thumb')->order('hits desc')->limit(10)->select();
         //飙升榜
-        $zengzhang10 = Db::name('jiameng')->field('id,title,logo,hits,touzi_level,product')->order('list_order')->limit(10)->select();
+        $zengzhang10 = Db::name('jiameng')->field('id,title,logo,area,hits,touzi_level,product')->order('list_order')->limit(10)->select();
+
         //推荐
         $tuijian = Db::name('jiameng')->field('id,title,logo,hits,touzi_level,mendian')->orderRaw('rand()')->limit(4)->select();
+
         $touziarr = array(
             '1万元以下',
             '1~5万元',
@@ -33,17 +27,27 @@ class Top10Controller extends HomeBaseController
             '200万元以上',
             '300万元以上'
         );
-        //最新新闻
+
+        // 最新新闻
         $zuixin_news = Db::name('news')->where('ncatid',4)->order('id desc')->limit(10)->select();
-        //最热新闻
-        $hot_news = Db::name('news')->where('ncatid',4)->order('hits desc')->limit(10)->select();
+
+        // 轮播
+        $banner = AdvertService::getListBySlide(7, 1);
+
+        // 新品推荐上方广告
+        $banner1 = AdvertService::getListBySlide(9, 1);
+
+        // 品牌严选
+        $brands4 = JiamengService::getListByLevel(4, 14);
+
+        $this->assign('banner',$banner);
+        $this->assign('banner1',$banner1);
+        $this->assign('brands4',$brands4);
         $this->assign('zuixin_news',$zuixin_news);
-        $this->assign('hot_news',$hot_news);
         $this->assign('tuijian',$tuijian);
         $this->assign('zengzhang10',$zengzhang10);
         $this->assign('touziarr',$touziarr);
         $this->assign('top10',$top10);
-        $this->assign('brand_cate',$brand_cate);
         return $this->fetch();
     }
     public function show(){

+ 2 - 2
app/index/service/JiamengService.php

@@ -20,7 +20,7 @@ class JiamengService
     {
         $touziarr = config('params.touziLevels');
         $dataList = Db::name('jiameng')
-            ->field('id,title,touzi_level')
+            ->field('id,title,touzi_level,hits')
             ->where('status', 1)
             ->order('update_time desc,create_time desc, id desc')
             ->limit($num)
@@ -135,7 +135,7 @@ class JiamengService
      */
     public static function getListByLevel($level, $pageSize=10,$field=''){
         $touziarr = config('params.touziLevels');
-        $field = $field? $field : 'j.id,j.title,j.touzi_level,j.logo,j.guanggaowei,j.touzi_level,j.cover_area,j.mendian,j.product,c1.catname';
+        $field = $field? $field : 'j.id,j.title,j.touzi_level,j.logo,j.hits,j.guanggaowei,j.touzi_level,j.cover_area,j.mendian,j.product,c1.catname';
          return Db::name('jiameng')
              ->alias('j')
              ->leftJoin('category c1', 'c1.id=j.catid')

+ 35 - 1
app/index/service/MessageService.php

@@ -21,7 +21,10 @@ class MessageService
         $field = $field? $field : 'id,jm_id,jm_title,name,address,ip,content,reply';
         return Db::name('message')
             ->where(function($query) use ($params){
-
+                $type = isset($params['type'])? $params['type'] : 0;
+                if($type){
+                    $query->where('type', $type);
+                }
             })
             ->field($field)
             ->order('create_time desc')
@@ -36,4 +39,35 @@ class MessageService
                 return $item;
             });
     }
+
+    /**
+     * 获取今天提交次数
+     * @param $where
+     */
+    public static function getTodyCount($where){
+        $todaytime = strtotime(date('Y-m-d'));
+        return Db::name('message')
+            ->where($where)
+            ->where('create_time','gt',$todaytime)
+            ->count();
+    }
+
+    /**
+     * 获取本周提交次数
+     * @param $where
+     */
+    public static function getWeekCount($where){
+        // 当前日期
+        $sdefaultDate = date("Y-m-d");
+        // $first =1 表示每周星期一为开始日期 0表示每周日为开始日期
+        $first=1;
+        // 获取当前周的第几天 周日是0 周一到周六是 1 - 6
+        $w = date('w', strtotime($sdefaultDate));
+        // 获取本周开始日期,如果$w是0,则表示周日,减去 6 天
+        $week_start=strtotime("$sdefaultDate -".($w ? $w - $first : 6).' days');
+        return Db::name('message')
+            ->where($where)
+            ->where('create_time','gt',$week_start)
+            ->count();
+    }
 }

+ 9 - 4
app/index/service/NewsService.php

@@ -17,7 +17,7 @@ class NewsService
      * @throws \think\exception\DbException
      */
     public static function getList($params, $pageSize=10, $field=''){
-        $field = $field? $field : 'id,title,thumb,keywords,hits,create_time';
+        $field = $field? $field : 'id,title,thumb,keywords,hits,guanggaowei,description,create_time';
         return Db::name('news')
             ->field($field)
             ->where(function($query) use($params){
@@ -36,6 +36,11 @@ class NewsService
                     $query->where('level', $level);
                 }
 
+                $kw = isset($params['kw'])? trim($params['kw']) : '';
+                if($kw){
+                    $query->where('title', 'like', "%{$kw}%");
+                }
+
             })
             ->order('id desc')
             ->paginate($pageSize);
@@ -51,7 +56,7 @@ class NewsService
      * @throws \think\exception\DbException
      */
     public static function getHotList($num=6, $field=''){
-        $field = $field? $field : 'id,title,thumb,keywords';
+        $field = $field? $field : 'id,title,thumb,keywords,description,create_time';
         return Db::name('news')
             ->where('status',1)
             ->field($field)
@@ -71,7 +76,7 @@ class NewsService
      * @throws \think\exception\DbException
      */
     public static function getListByCate($cateId, $num=6, $field=''){
-        $field = $field? $field : 'id,title,thumb,keywords';
+        $field = $field? $field : 'id,title,thumb,keywords,description';
         return Db::name('news')
             ->where(function($query) use($cateId){
                 if(is_array($cateId)){
@@ -98,7 +103,7 @@ class NewsService
      * @throws \think\exception\DbException
      */
     public static function getListByLevel($level, $num=6, $field=''){
-        $field = $field? $field : 'id,title,thumb,keywords';
+        $field = $field? $field : 'id,title,thumb,keywords,description';
         return Db::name('news')
             ->where(function($query) use($level){
                 if(is_array($level)){

+ 1 - 0
data/route/route.php

@@ -15,6 +15,7 @@
         '/list/brand-:level.shtml' => 'index/jiameng/lists',
         '/list/level-:lv.shtml' => 'index/jiameng/lists',
         '/news:enname/' => 'index/news/lists',
+        '/news/:kw' => 'index/news/lists',
         '/search/' => 'index/jiameng/search',
         '/search/:kw' => 'index/jiameng/search',
         '/list:catname/' => 'index/news/lists',

+ 0 - 2
public/themes/jiameng/index/news/index.html

@@ -204,8 +204,6 @@
 <!-- 第四部分 -->
 <div class="four box">
     <foreach name="cate_list" id="v1">
-
-    
         <dl>
             <dt><strong>{$v1.catname}</strong><span>更多</span></dt>
             <dd>

+ 0 - 8
public/themes/jiameng/index/top10/index.html

@@ -77,13 +77,6 @@
                 <span><i class="iconfont derabde-{$v1.enname}"></i>{$v1.catname}</span>
                 <?php } ?>
             </foreach>
-            <!--<span><i class="iconfont derabde-canyin"></i>餐饮美食</span>
-            <span><i class="iconfont icon-jiaoyu"></i>教育网络</span>
-            <span><i class="iconfont icon-jiaju"></i>家居建材</span>
-            <span><i class="iconfont icon-xiyiji"></i>家纺干洗</span>
-            <span><i class="iconfont icon-ziyuan"></i>美容保养</span>
-            <span><i class="iconfont icon-muying1"></i>母婴用品</span>
-            <span><i class="iconfont icon-iconfontshenghuojiaofei"></i>生活服务</span> -->
         </div>
         <ul id="tab_box">
             <li class="tab_box_active">
@@ -95,7 +88,6 @@
                         <dd>{$v2.title}</dd>
                         <dd><span>{$touziarr[$v2.touzi_level]}</span></dd>
                     </dl>
-                                          
                     <?php } ?>
                     </foreach>    
                 </div>

+ 9 - 11
public/themes/mjmls/index/block/footer.html

@@ -34,9 +34,9 @@
 <!-- footer over -->
 <!-- 侧边栏固定 -->
 <div class="siderBar mob_none">
-    <div class="free-tel"><i class="fa fa-phone"></i>免费电话</div>
+    <div class="free-tel"><i class="fa fa-phone"></i>获取加盟资料</div>
     <div class="online">
-        <a href="#" id="zixun" target=""><i class="fa fa-commenting"></i>在线咨询</a>
+        <a href="#" class="zixun" id="zixun" target=""><i class="fa fa-commenting"></i>在线咨询</a>
     </div>
     <div class="side-wx"><i class="fa fa-comments"></i>微信 <span><img src="__TMPL__/static/images/ewm.png" alt=""></span></div>
     <div class="complaint">
@@ -53,14 +53,12 @@
             <strong>我们将尽快给您回电</strong>
             <span>上班时间:9:00-12:00 13:30-18:00(周一至周五,节假日除外)</span>
         </p>
-        <form action="" method="POST">
-            <input type="hidden" name="brand" id="brand" value="">
-            <input type="hidden" name="userid" id="userid" value="">
-            <input type="hidden" name="domain" id="domain" value="">
-
+        <form id="liuyanForm" action="/index/jiameng/message.html" method="POST">
+            <input type="hidden" name="jm_id"  value="{$info.id|default='0'}">
             <input class="name" type="text" name="name" id="name" value="" placeholder="您的称呼" required="required" />
-            <input class="phone" type="text" name="tel" id="tel" value="" placeholder="您的联系电话" required="required" />
-            <input class="submit" type="submit" name="cusSubmit" id="cusSubmit" value="给我回电">
+            <input class="xm" type="text" name="jm_title" id="xm" value="{$info.title|default=''}" placeholder="创业项目" required="required" />
+            <input class="phone" type="text" name="mobile" id="tel" value="" placeholder="您的联系电话" maxlength="11" required="required" pattern="^1[2-9][0-9]{9}$"/>
+            <input class="submit" type="submit" id="cusSubmit" value="给我回电">
         </form>
         <i class="fa fa-close"></i>
     </div>
@@ -72,7 +70,7 @@
 <script src="__TMPL__/static/js/index.js" type="text/javascript"></script>
 <script src="__TMPL__/static/layer/layer.js"></script>
 <script>
-    $('#zixun').on('click', function(){
+    /*$('#zixun').on('click', function(){
         layer.open({
             type: 2,
             title: '在线咨询',
@@ -81,7 +79,7 @@
             area : ['800px' , '520px'],
             content: '/index/news/message'
         });
-    });
+    });*/
 
     $('#complaint').on('click', function(){
         layer.open({

+ 2 - 2
public/themes/mjmls/index/index/news/join.html

@@ -24,7 +24,7 @@
                                 <i>热点</i>
                                 <a href="/news{$v.id}/" target="_blank" title="{$v.title}">{$v.title}</a>
                             </h3>
-                            <p>{$v.keywords}<a href="/news{$v.id}/" target="_blank" title="{$v.title}">【详情】</a></p>
+                            <p>{$v.description}<a href="/news{$v.id}/" target="_blank" title="{$v.title}">【详情】</a></p>
                         </div>
                     </if>
                 </foreach>
@@ -75,7 +75,7 @@
                             <i>热点</i>
                             <a href="/news{$v.id}" target="_blank" title="{$v.title}">{$v.title}</a>
                         </h3>
-                        <p>{$v.keywords}<a href="/news{$v.id}/" target="_blank">【详情】</a></p>
+                        <p>{$v.description}<a href="/news{$v.id}/" target="_blank">【详情】</a></p>
                     </div>
                     </if>
                 </foreach>

+ 6 - 6
public/themes/mjmls/index/jiameng/show.html

@@ -69,7 +69,7 @@
         <div class="fr">
             <h2 class="nowrap">{$info.title}</h2>
             <div class="box01">
-                <span>投资额:<b>¥</b>{$touziarr[$info.touzi_level]}</span>
+                <span>投资额:<b>¥</b><em>{$touziarr[$info.touzi_level]}</em></span>
                 <p>
                     <span>所属行业:{$catinfo.catname}</span>
                     <span>加盟区域:{$info.area}</span>
@@ -171,7 +171,7 @@
                             <a href="/news{$v.id}/" target="_blank" title="{$v.title}">
                                 <img src="{:cmf_get_image_preview_url($v.thumb)}" alt="{$v.title}">
                                 <h3> {$v.title}</h3>
-                                <p> {$v.keywords}</p>
+                                <p> {$v.description}</p>
                                 <span>{:date('m-d',$v.create_time)}</span>
                             </a>
                         </div>
@@ -197,7 +197,7 @@
                         <a href="/news{$v.id}/" target="_blank" title="{$v.title}">
                             <img src="{:cmf_get_image_preview_url($v.thumb)}" alt="{$v.title}">
                             <h3> {$v.title}</h3>
-                            <p> {$v.keywords}</p>
+                            <p> {$v.description}</p>
                             <span>{:date('m-d',$v.create_time)}</span>
                         </a>
                     </div>
@@ -284,7 +284,7 @@
                             <div class="fl">
                                 <strong>综合管家-张思佳</strong>
                                 <p>已帮助 <em>166</em> 人找到加盟项目</p>
-                                <a href="#" target="">在线咨询</a>
+                                <a href="#form" target="">在线咨询</a>
                             </div>
                         </div>
                         <div class="swiper-slide">
@@ -292,7 +292,7 @@
                             <div class="fl">
                                 <strong>综合管家-张思佳</strong>
                                 <p>已帮助 <em>166</em> 人找到加盟项目</p>
-                                <a href="#" target="">在线咨询</a>
+                                <a href="#form" target="">在线咨询</a>
                             </div>
                         </div>
                         <div class="swiper-slide">
@@ -300,7 +300,7 @@
                             <div class="fl">
                                 <strong>综合管家-张思佳</strong>
                                 <p>已帮助 <em>166</em> 人找到加盟项目</p>
-                                <a href="#" target="">在线咨询</a>
+                                <a href="#form" target="">在线咨询</a>
                             </div>
                         </div>
                     </div>

+ 54 - 0
public/themes/mjmls/index/know/index.html

@@ -0,0 +1,54 @@
+<include file="block/header_xm" />
+<link rel="stylesheet" type="text/css" href="__TMPL__/static/css/know-content.css"/>
+<link rel="stylesheet" type="text/css" href="__TMPL__/static/css/know.css"/>
+<style>
+    .know_show li a:link, .know_show li a:visited, .know_show li a:active{
+        color:#fff;
+    }
+    .m3l{
+        width:1200px;
+        border:none;
+    }
+</style>
+<!-- 面包屑 -->
+<div class="container crumbs">当前位置:
+    <a href="/" target="">网站首页</a> >
+    <span>问答</span>
+</div>
+<!-- 排行榜列表 -->
+<div class="container phb-content">
+<div class="m m3">
+    <div class="m3l">
+        <!--<div class="head-txt" style="margin-top: 20px;"><strong>精彩推荐</strong></div>-->
+        <div class="know-list"><table cellpadding="0" cellspacing="0" width="100%">
+            <foreach name="lists" id="vo">
+                <tr>
+                    <td class="kl-avatar"><a href="/know/detail/{$vo.id}/"><img src="__TMPL__/static/images/show.php" width="20" height="20" title="rcgl" alt=""/></a></td>
+                    <td class="kl-title"><div><a href="/know/detail/{$vo.id}/" title="{$vo.title}">{$vo.title}</a></div></td>
+                    <td class="kl-answer">0回答</td>
+                    <td class="kl-process" width="50" align="center"><img src="__TMPL__/static/images/know_1.gif" title="待解决"/></td>
+                    <td class="kl-date">{:date('m-d H:i:s',$vo.create_time)}</td>
+                </tr>
+            </foreach>
+        </table>
+        </div>
+        </table>
+    </div>
+</div>
+</div>
+<include file="block/footer" />
+<script type="text/javascript">
+    //foo("tab","span","tabUl","li","tab_on","tab_active");
+    foo("youDiv","span","youUl","li","right_active","you_active");
+    foo("title","span","titleUl","li","title_active","title_box");
+    foo('tabTop','span','tabUl0','li','red_active','red_li_active');
+    foo('tabTop1','span','tabUl1','li','red_active','red_li_active');
+    foo('brandT','span','brandB','li','brand_t_active','brand_b_active');
+    plays("#lunbo_0");
+</script>
+<script type="text/javascript">
+    jQuery(".txtMarquee-left").slide({mainCell:".bd ul",autoPlay:true,effect:"leftMarquee",vis:2,interTime:50}); //文字滚动
+    jQuery(".picFocus").slide({ mainCell:".bd ul",effect:"left",autoPlay:true }); //头部banner轮播
+    jQuery(".slideBox").slide({mainCell:".bd ul",autoPlay:true}); //加盟动态轮播
+    jQuery(".slideBox").slide({ mainCell:"ul.caini",vis:5,prevCell:".sPrev",nextCell:".sNext",effect:"leftLoop"});  //底部滚动
+</script>

+ 111 - 0
public/themes/mjmls/index/know/show.html

@@ -0,0 +1,111 @@
+<include file="block/header_xm"/>
+<link rel="stylesheet" type="text/css" href="__TMPL__/static/css/know-content.css"/>
+<link rel="stylesheet" type="text/css" href="__TMPL__/static/css/know.css"/>
+<style>
+    .know_show li a:link, .know_show li a:visited, .know_show li a:active {
+        color: #fff;
+    }
+
+</style>
+<!-- 面包屑 -->
+<div class="container crumbs">当前位置:
+    <a href="/" target="">网站首页</a> >
+    <a href="/know/" target="">加盟问答</a> >
+    <span>加盟指南</span>
+</div>
+<!-- 排行榜列表 -->
+<div class="container phb-content">
+    <div class="m">
+        <div class="know_show">
+            <table>
+                <tr>
+                    <td valign="top" class="know_show_l">
+                        <ul>
+                            <li>
+                                <a href="#" class="b"><strong>{$info.username}</strong></a>
+                            </li>
+                            <li><img src="__TMPL__/style/picture/show.php" alt="" class="know_avatar"/></li>
+                            <li><a href="#" target="_blank" rel="nofollow"><img
+                                    src="__TMPL__/style/picture/online.png.php" title="点击交谈/留言" alt="" align="absmiddle"
+                                    onerror="this.src=DTPath+'file/image/web-off.gif';"/></a></li>
+                            <li></li>
+                        </ul>
+                    </td>
+                    <td valign="top">
+                        <div class="know_info">
+<span class="f_r">
+</span>
+                            {:date('Y-m-d H:i:s',$info.create_time)} &nbsp;
+                            提问
+                        </div>
+                        <div class="b20"></div>
+                        <h1 class="title" id="title">{$info.title}</h1>
+
+                        <div id="question" class="content">
+                            {$info.content}
+                        </div>
+                        <br/><a href="#answer"><img src="__TMPL__/style/picture/btn_answer.gif" width="90" height="23"
+                                                    alt="我来回答" id="answer_btn" style="display:none;margin:20px;"/></a>
+                    </td>
+                </tr>
+                <if condition="$info.author">
+                    <tr>
+                        <td valign="top" class="know_show_l">
+                            <ul>
+                                <li>
+                                    <a href="#" class="b"><strong>{$info.author}</strong></a>
+                                </li>
+                                <li><img src="__TMPL__/style/picture/show.php" alt="" class="know_avatar"/></li>
+                                <li><a href="#" target="_blank" rel="nofollow"><img
+                                        src="__TMPL__/style/picture/online.png.php" title="点击交谈/留言" alt=""
+                                        align="absmiddle" onerror="this.src=DTPath+'file/image/web-off.gif';"/></a></li>
+                                <li></li>
+                            </ul>
+                        </td>
+                        <td valign="top">
+                            <div class="know_info">
+        <span class="f_r">
+        </span>
+                                {:date('Y-m-d H:i:s',$info.answer_time)} &nbsp;
+                                回答
+                            </div>
+                            <div class="b20"></div>
+
+                            <div class="content">
+                                {$info.answer}
+                            </div>
+                        </td>
+                    </tr>
+                </if>
+            </table>
+        </div>
+    </div>
+</div>
+<include file="block/footer"/>
+<script type="text/javascript">
+    //foo("tab","span","tabUl","li","tab_on","tab_active");
+    foo("youDiv", "span", "youUl", "li", "right_active", "you_active");
+    foo("title", "span", "titleUl", "li", "title_active", "title_box");
+    foo('tabTop', 'span', 'tabUl0', 'li', 'red_active', 'red_li_active');
+    foo('tabTop1', 'span', 'tabUl1', 'li', 'red_active', 'red_li_active');
+    foo('brandT', 'span', 'brandB', 'li', 'brand_t_active', 'brand_b_active');
+    plays("#lunbo_0");
+</script>
+<script type="text/javascript">
+    jQuery(".txtMarquee-left").slide({
+        mainCell: ".bd ul",
+        autoPlay: true,
+        effect: "leftMarquee",
+        vis: 2,
+        interTime: 50
+    }); //文字滚动
+    jQuery(".picFocus").slide({mainCell: ".bd ul", effect: "left", autoPlay: true}); //头部banner轮播
+    jQuery(".slideBox").slide({mainCell: ".bd ul", autoPlay: true}); //加盟动态轮播
+    jQuery(".slideBox").slide({
+        mainCell: "ul.caini",
+        vis: 5,
+        prevCell: ".sPrev",
+        nextCell: ".sNext",
+        effect: "leftLoop"
+    });  //底部滚动
+</script>

+ 3 - 3
public/themes/mjmls/index/news/complaint.html

@@ -82,11 +82,11 @@
     <h3>留下您的联系方式,我们会尽快联系您</h3>
     <form action="/index/index/complaint.html">
         <input type="hidden" name="jm_id" id="" value="0">
-        <p><span>咨询项目:</span><input type="text" name="jm_title" value=""></p>
         <p><span>您的称呼:</span><input type="text" name="name" placeholder="输入您的名字" id="message_name"></p>
-        <p><span>联系电话:</span><input type="text" name="mobile" placeholder="请输入您的电话号码" id="message_mobile"></p>
+        <p><span>联系电话:</span><input type="text" name="mobile" placeholder="请输入您的电话号码" pattern="^1[2-9][0-9]{9}$" maxlength="11" id="message_mobile"></p>
+        <p><span>投诉内容:</span><textarea type="text" name="content" value="" cols="60" rows="4" style="border:1px solid #e2e2e2;resize:none" maxlength="200"></textarea></p>
 
-        <p><input type="submit" name="" class="form_btn" value="提交留言"></p>
+        <p><input type="submit" name="" class="form_btn" value="提交投诉"></p>
     </form>
 </div>
 </body>

+ 40 - 460
public/themes/mjmls/index/news/index.html

@@ -1,159 +1,9 @@
-<!DOCTYPE html>
-<html lang="zh-cmn-Hans">
+<include file="block/header_xm" />
+<link rel="stylesheet" href="__TMPL__/static/css/inside.css">
 
-<head>
-    <meta charset="UTF-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
-    <title>新闻列表</title>
-    <meta name="description" content="" />
-    <meta name="keywords" content="" />
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
-    <meta name="applicable-device" content="pc,mobile">
-    <meta name="format-detection" content="telephone=no,email=no" />
-    <link rel="stylesheet" href="__TMPL__/static/css/font-awesome.min.css">
-    <link rel="stylesheet" href="__TMPL__/static/css/master.css">
-    <link rel="stylesheet" href="__TMPL__/static/css/inside.css">
-    <script src="__TMPL__/static/js/jquery-1.8.3.min.js" type="text/javascript"></script>
-    <!--[if lt IE 9]>
-    <script src="__TMPL__/static/js/html5shiv.js"></script>
-    <script src="__TMPL__/static/js/respondshiv.js"></script>
-    <![endif]-->
-</head>
+<!-- nav -->
+<include file="block/nav" />
 
-<body>
-<!-- header start -->
-<header>
-    <div class="t-header mob_none">
-        <div class="container">
-            <p class="fl">
-                <a href="/"><i class="fa fa-home"></i>首页</a> |
-                <a href="/xmk/" target="">找项目</a> |
-                <a href="/top10/" target="">排行榜</a> |
-                <a href="/news/" target="">资讯</a> |
-                <a href="/know/" target="">问答</a>
-            </p>
-            <ul class="fr">
-                <li>免费咨询:<b>400-606-6786</b></li>
-                <li class="wx"><i class="fa fa-mobile"></i>手机版
-                    <div><img src="__TMPL__/static/images/ewm.png" alt=""></div>
-                </li>
-                <li class="wx"><i class="fa fa-weixin"></i>微信
-                    <div><img src="__TMPL__/static/images/ewm.png" alt=""></div>
-                </li>
-                <li class="web-nav">
-                    <i class="fa fa-th-list"></i>网站导航
-                    <div class="web-box">
-                        <dl>
-                            <dt>资讯中心</dt>
-                            <dd>
-                                <a href="#" target="">加盟快讯</a>
-                                <a href="#" target="">经营技巧</a>
-                                <a href="#" target="">创业故事</a>
-                                <a href="#" target="">市场前景</a>
-                                <a href="#" target="">最新资讯</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">如何开店</a>
-                                <a href="#" target="">人物访谈</a>
-                            </dd>
-                        </dl>
-                        <dl>
-                            <dt>项目大全</dt>
-                            <dd>
-                                <a href="#" target="">加盟快讯</a>
-                                <a href="#" target="">经营技巧</a>
-                                <a href="#" target="">创业故事</a>
-                                <a href="#" target="">市场前景</a>
-                                <a href="#" target="">最新资讯</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">如何开店</a>
-                                <a href="#" target="">人物访谈</a>
-                            </dd>
-                        </dl>
-                        <dl>
-                            <dt>更多精彩</dt>
-                            <dd>
-                                <a href="#" target="">精品商机</a>
-                                <a href="#" target="">活动专区</a>
-                                <a href="#" target="">本季最火</a>
-                                <a href="#" target="">市场前景</a>
-                                <a href="#" target="">最新资讯</a>
-                                <a href="#" target="">排行榜</a>
-                                <a href="#" target="">最新资讯</a>
-                            </dd>
-                        </dl>
-                    </div>
-                </li>
-            </ul>
-        </div>
-    </div>
-    <div class="container m-header">
-        <div class="logo fl">
-            <a href="#" title="" target="_blank">
-                <img src="__TMPL__/static/images/logo.png" alt="">
-            </a>
-            <p class="mob_none">中国连锁经营协会唯一指定加盟平台</p>
-        </div>
-        <div class="m-header-sider fr mob_none">
-            <a href="#" class="fl" title="" target="">
-                <img src="__TMPL__/static/images/762c4bbf7055f0dddade664ee2de0c4b.png" width="210" height="84" alt="">
-            </a>
-            <p class="fr">
-                <a href="#" target=""><i class="fa fa-pencil-square-o"></i>品牌入驻</a>
-                <a href="#" target=""><i class="fa fa-columns"></i>品牌入驻</a>
-            </p>
-        </div>
-        <div class="search-con fr mob_none">
-            <form action="" method="post">
-                <i class="fa fa-search"></i>
-                <input class="s-input" type="text" id="" name="" value="" placeholder="请输入项目名称" required />
-                <input class="s-button" type="submit" id="" name="" value="搜索"></input>
-            </form>
-            <p class="nowrap">
-                <b>热门标签:</b>
-                <a href="#" title="" target="_blank">火锅</a>
-                <a href="#" title="" target="_blank">奶茶店加盟</a>
-                <a href="#" title="" target="_blank">米线</a>
-                <a href="#" title="" target="_blank">米线</a>
-            </p>
-            <p class="nowrap">
-                <b>热门品牌:</b>
-                <a href="#" title="" target="_blank">火锅</a>
-                <a href="#" title="" target="_blank">奶茶店加盟</a>
-                <a href="#" title="" target="_blank">米线</a>
-                <a href="#" title="" target="_blank">米线</a>
-            </p>
-        </div>
-        <i class="fa fa-bars pc_show"></i>
-        <div class="clearfix"></div>
-    </div>
-    <nav class="navigation mob_none">
-        <div class="container">
-            <ul class="nav-list fl">
-                <li class="active"><a href="#" title="" target="_blank">网站首页</a></li>
-                <li><a href="#" title="" target="_blank">找项目</a></li>
-                <li><a href="#" title="" target="_blank">创业资讯</a></li>
-                <li><a href="#" title="" target="_blank">行业资讯</a></li>
-                <li><a href="#" title="" target="_blank">品牌动态</a></li>
-                <li><a href="#" title="" target="_blank">项目资讯</a></li>
-            </ul>
-        </div>
-    </nav>
-</header>
-<!-- mobile-nav -->
-<nav class="mob-navigation pc_show">
-    <i class="fa fa-remove"></i>
-    <ul>
-        <li><a href="#">网站首页</a></li>
-        <li><a href="#">品牌大全</a></li>
-        <li><a href="#">创业资讯</a></li>
-        <li><a href="#">行业资讯</a></li>
-        <li><a href="#">品牌动态</a></li>
-        <li><a href="#">项目资讯</a></li>
-    </ul>
-</nav>
-<!-- header over -->
 <!-- content start -->
 <!-- 面包屑 -->
 <div class="container crumbs">
@@ -164,360 +14,90 @@
 <div class="container inner-content">
     <div class="fl infor-content">
         <ul class="infro-list">
+            <foreach name="news1" id="v">
             <li>
                 <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
-                    </a>
-                </div>
-                <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
-                    <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
-                    </div>
-                </div>
-            </li>
-            <li>
-                <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
-                    </a>
-                </div>
-                <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
-                    <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
-                    </div>
-                </div>
-            </li>
-            <li>
-                <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
-                    </a>
-                </div>
-                <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
-                    <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
-                    </div>
-                </div>
-            </li>
-            <li>
-                <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
+                    <a href="/news{$v.id}/" target="_blank" title="{$v.title}">
+                        <img src="{:cmf_get_image_preview_url($v.thumb)}" alt="{$v.title}">
                     </a>
                 </div>
                 <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
+                    <a class="nowrap" href="/news{$v.id}" target="">{$v.title}</a>
+                    <p>{$v.description}</p>
                     <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
-                    </div>
-                </div>
-            </li>
-            <li>
-                <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
-                    </a>
-                </div>
-                <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
-                    <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
+                        <span><i class="fa fa-clock-o"></i>{:date('Y-m-d',$v.create_time)}</span>
+                        <span><i class="fa fa-eye"></i>{$v.hits}</span>
                     </div>
                 </div>
             </li>
+            </foreach>
         </ul>
+
         <div class="pagCon mt10">
-            <ul>
-                <li><span>
-							<< </span>
-                </li>
-                <li class="thisclass"><span>1</span></li>
-                <li><a href="#" target="">2</a></li>
-                <li><a href="#" target="">3</a></li>
-                <li><a href="#" target="">4</a></li>
-                <li><a href="#" target="">5</a></li>
-                <li><span>···</span></li>
-                <li><a href="#" target="">60</a></li>
-                <li><a href="#" target="">>></a></li>
-                <li><b>共1280条记录</b></li>
-            </ul>
+            {$page}
+            <li><b>共{$data.total|default='0'}条记录</b></li>
         </div>
     </div>
     <div class="fr right-sidebar mob_none">
         <div class="side-box">
             <h2>文章分类</h2>
-            <div class="new-sort">
-                <a href="#" target="">品牌动态</a>
-                <a href="#" target="">加盟聚焦</a>
-                <a href="#" target="">加盟资讯</a>
-                <a href="#" target="">展会动态</a>
-                <a href="#" target="">品牌对比</a>
-                <a href="#" target="">品牌测评</a>
-            </div>
-            <div class="new-sort new-sort-2">
-                <a href="#" target="">品牌动态</a>
-                <a href="#" target="">加盟聚焦</a>
-                <a href="#" target="">加盟资讯</a>
-                <a href="#" target="">展会动态</a>
-                <a href="#" target="">品牌对比</a>
-                <a href="#" target="">品牌测评</a>
+            <foreach name="cate_list" id="cates">
+                <div <if condition="$key lt 1">class="new-sort new-sort-{$key+1}"<else/>class="new-sort new-sort-2"</if>>
+                <foreach name="cates" id="v">
+                <a href="/news{$v.enname}/" target="">{$v.catname}</a>
+                </foreach>
             </div>
+            </foreach>
         </div>
         <div class="side-box">
             <h2>热门文章</h2>
             <ul class="hot-article">
+                <foreach name="hots" id="v">
                 <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
+                    <a href="/news{$v.id}/" target="_blank" title="{$v.title}">{$v.title}</a>
+                    <span>{:date('m-d',$v.create_time)}</span>
                 </li>
+                </foreach>
             </ul>
         </div>
         <div class="side-box">
             <h2>最新入驻品牌</h2>
             <ul class="rqb-list">
+                <foreach name="brand_jx" id="v">
                 <li>
                     <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
+                    <a href="/b{$v.id}/" target="_blank" title="{$v.title}">{$v.title}</a>
+                    <span class="fr">{$v.hits|default='0'}</span>
                 </li>
+                </foreach>
             </ul>
         </div>
         <div class="side-box">
             <h2>本月人气榜</h2>
             <ul class="rqb-list">
+                <foreach name="paihang" id="v">
                 <li>
                     <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
+                    <a href="/b{$v.id}/" target="_blank">{$v.title}</a>
+                    <span class="fr">{$v.hits}</span>
                 </li>
+                </foreach>
             </ul>
         </div>
         <div class="mob-item">
             <h2>热门标签</h2>
             <div class="hot-tags">
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>网卡</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
+                <a href="/xmhuoguo/" title="" target="_blank"><i class="fa fa-tag"></i>火锅</a>
+                <a href="/xmcanyin/" title="" target="_blank"><i class="fa fa-tag"></i>餐饮</a>
+                <a href="/xmjiaoyu/" title="" target="_blank"><i class="fa fa-tag"></i>教育</a>
+                <a href="/xmkuaican/" title="" target="_blank"><i class="fa fa-tag"></i>快餐</a>
+                <a href="/xmzaojiao/" title="" target="_blank"><i class="fa fa-tag"></i>早教</a>
             </div>
         </div>
     </div>
     <div class="clearfix"></div>
 </div>
 <!-- content over -->
-<!-- footer start-->
-<div class="online-box mob_none">
-    <div class="container">
-        <img src="__TMPL__/static/images/fd_pic0101.png" alt="">
-    </div>
-</div>
-<footer>
-    <div class="container">
-        <ul class="foot-nav">
-            <li><a href="#" target="">关于我们</a></li>
-            <li><a href="#" target="">联系我们</a></li>
-            <li><a href="#" target="">招商服务</a></li>
-            <li><a href="#" target="">投诉删除</a></li>
-            <li><a href="#" target="">网站地图</a></li>
-            <li><a href="#" target="">法律声明</a></li>
-            <li><a href="#" target="">诚聘精英</a></li>
-            <li><a href="#" target="">企业文化</a></li>
-        </ul>
-        <div class="ftlx-box">
-            <div class="fl">
-                <strong>餐饮在线加盟</strong>
-                <span>地址:山东省青岛市城阳区中城路612号腾程伟业创业生态园</span>
-                <span>电话:40036698</span>
-                <span>客服:打得过你是个好</span>
-            </div>
-            <div class="fr">
-                <span><img src="__TMPL__/static/images/ewm.png" alt="">官方微信</span>
-                <span><img src="__TMPL__/static/images/ewm.png" alt="">官方微博</span>
-            </div>
-            <div class="clearfix"></div>
-        </div>
-        <p>Copyright2010-2020 7878i.com. All Rights Reserved 7878i创业网 版权所有 <br>技术支持 78餐饮创业加盟有限公司  创业有风险 投资需谨慎</p>
-    </div>
-</footer>
-<!-- footer over -->
-<!-- 侧边栏固定 -->
-<div class="siderBar mob_none">
-    <div class="free-tel"><i class="fa fa-phone"></i>免费电话</div>
-    <div class="online">
-        <a href="#" target=""><i class="fa fa-commenting"></i>在线咨询</a>
-    </div>
-    <div class="side-wx"><i class="fa fa-comments"></i>微信 <span><img src="__TMPL__/static/images/ewm.png" alt=""></span></div>
-    <div class="complaint">
-        <a href="#" target=""><i class="fa fa-pencil"></i>投诉</a>
-    </div>
-    <div class="go-top"><i class="fa fa-caret-up"></i>TOP</div>
-</div>
-<!-- 底部固定 -->
-<div class="spot-bg"></div>
-<div class="fixed-foot mob_none">
-    <div class="container">
-        <img class="fl" src="__TMPL__/static/images/pop_tel.png" alt="">
-        <p class="fl">
-            <strong>我们将尽快给您回电</strong>
-            <span>上班时间:9:00-12:00 13:30-18:00(周一至周五,节假日除外)</span>
-        </p>
-        <form action="" method="POST">
-            <input type="hidden" name="brand" id="brand" value="">
-            <input type="hidden" name="userid" id="userid" value="">
-            <input type="hidden" name="domain" id="domain" value="">
-
-            <input class="name" type="text" name="name" id="name" value="" placeholder="您的称呼" required="required" />
-            <input class="phone" type="text" name="tel" id="tel" value="" placeholder="您的联系电话"
-                   required="required" />
-            <input class="submit" type="submit" name="cusSubmit" id="cusSubmit" value="给我回电">
-        </form>
-        <i class="fa fa-close"></i>
-    </div>
-</div>
-<script src="__TMPL__/static/js/base.js" type="text/javascript"></script>
-</body>
 
-</html>
+<!-- 页脚 -->
+<include file="block/footer" />

+ 67 - 487
public/themes/mjmls/index/news/list.html

@@ -1,159 +1,9 @@
-<!DOCTYPE html>
-<html lang="zh-cmn-Hans">
+<include file="block/header_xm" />
+<link rel="stylesheet" href="__TMPL__/static/css/inside.css">
 
-<head>
-    <meta charset="UTF-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
-    <title>新闻列表</title>
-    <meta name="description" content="" />
-    <meta name="keywords" content="" />
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
-    <meta name="applicable-device" content="pc,mobile">
-    <meta name="format-detection" content="telephone=no,email=no" />
-    <link rel="stylesheet" href="__TMPL__/static/css/font-awesome.min.css">
-    <link rel="stylesheet" href="__TMPL__/static/css/master.css">
-    <link rel="stylesheet" href="__TMPL__/static/css/inside.css">
-    <script src="__TMPL__/static/js/jquery-1.8.3.min.js" type="text/javascript"></script>
-    <!--[if lt IE 9]>
-    <script src="__TMPL__/static/js/html5shiv.js"></script>
-    <script src="__TMPL__/static/js/respondshiv.js"></script>
-    <![endif]-->
-</head>
+<!-- nav -->
+<include file="block/nav" />
 
-<body>
-<!-- header start -->
-<header>
-    <div class="t-header mob_none">
-        <div class="container">
-            <p class="fl">
-                <a href="/"><i class="fa fa-home"></i>首页</a> |
-                <a href="/xmk/" target="">找项目</a> |
-                <a href="/top10/" target="">排行榜</a> |
-                <a href="/news/" target="">资讯</a> |
-                <a href="/know/" target="">问答</a>
-            </p>
-            <ul class="fr">
-                <li>免费咨询:<b>400-606-6786</b></li>
-                <li class="wx"><i class="fa fa-mobile"></i>手机版
-                    <div><img src="__TMPL__/static/images/ewm.png" alt=""></div>
-                </li>
-                <li class="wx"><i class="fa fa-weixin"></i>微信
-                    <div><img src="__TMPL__/static/images/ewm.png" alt=""></div>
-                </li>
-                <li class="web-nav">
-                    <i class="fa fa-th-list"></i>网站导航
-                    <div class="web-box">
-                        <dl>
-                            <dt>资讯中心</dt>
-                            <dd>
-                                <a href="#" target="">加盟快讯</a>
-                                <a href="#" target="">经营技巧</a>
-                                <a href="#" target="">创业故事</a>
-                                <a href="#" target="">市场前景</a>
-                                <a href="#" target="">最新资讯</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">如何开店</a>
-                                <a href="#" target="">人物访谈</a>
-                            </dd>
-                        </dl>
-                        <dl>
-                            <dt>项目大全</dt>
-                            <dd>
-                                <a href="#" target="">加盟快讯</a>
-                                <a href="#" target="">经营技巧</a>
-                                <a href="#" target="">创业故事</a>
-                                <a href="#" target="">市场前景</a>
-                                <a href="#" target="">最新资讯</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">如何开店</a>
-                                <a href="#" target="">人物访谈</a>
-                            </dd>
-                        </dl>
-                        <dl>
-                            <dt>更多精彩</dt>
-                            <dd>
-                                <a href="#" target="">精品商机</a>
-                                <a href="#" target="">活动专区</a>
-                                <a href="#" target="">本季最火</a>
-                                <a href="#" target="">市场前景</a>
-                                <a href="#" target="">最新资讯</a>
-                                <a href="#" target="">排行榜</a>
-                                <a href="#" target="">最新资讯</a>
-                            </dd>
-                        </dl>
-                    </div>
-                </li>
-            </ul>
-        </div>
-    </div>
-    <div class="container m-header">
-        <div class="logo fl">
-            <a href="#" title="" target="_blank">
-                <img src="__TMPL__/static/images/logo.png" alt="">
-            </a>
-            <p class="mob_none">中国连锁经营协会唯一指定加盟平台</p>
-        </div>
-        <div class="m-header-sider fr mob_none">
-            <a href="#" class="fl" title="" target="">
-                <img src="__TMPL__/static/images/762c4bbf7055f0dddade664ee2de0c4b.png" width="210" height="84" alt="">
-            </a>
-            <p class="fr">
-                <a href="#" target=""><i class="fa fa-pencil-square-o"></i>品牌入驻</a>
-                <a href="#" target=""><i class="fa fa-columns"></i>品牌入驻</a>
-            </p>
-        </div>
-        <div class="search-con fr mob_none">
-            <form action="" method="post">
-                <i class="fa fa-search"></i>
-                <input class="s-input" type="text" id="" name="" value="" placeholder="请输入项目名称" required />
-                <input class="s-button" type="submit" id="" name="" value="搜索"></input>
-            </form>
-            <p class="nowrap">
-                <b>热门标签:</b>
-                <a href="#" title="" target="_blank">火锅</a>
-                <a href="#" title="" target="_blank">奶茶店加盟</a>
-                <a href="#" title="" target="_blank">米线</a>
-                <a href="#" title="" target="_blank">米线</a>
-            </p>
-            <p class="nowrap">
-                <b>热门品牌:</b>
-                <a href="#" title="" target="_blank">火锅</a>
-                <a href="#" title="" target="_blank">奶茶店加盟</a>
-                <a href="#" title="" target="_blank">米线</a>
-                <a href="#" title="" target="_blank">米线</a>
-            </p>
-        </div>
-        <i class="fa fa-bars pc_show"></i>
-        <div class="clearfix"></div>
-    </div>
-    <nav class="navigation mob_none">
-        <div class="container">
-            <ul class="nav-list fl">
-                <li class="active"><a href="#" title="" target="_blank">网站首页</a></li>
-                <li><a href="#" title="" target="_blank">找项目</a></li>
-                <li><a href="#" title="" target="_blank">创业资讯</a></li>
-                <li><a href="#" title="" target="_blank">行业资讯</a></li>
-                <li><a href="#" title="" target="_blank">品牌动态</a></li>
-                <li><a href="#" title="" target="_blank">项目资讯</a></li>
-            </ul>
-        </div>
-    </nav>
-</header>
-<!-- mobile-nav -->
-<nav class="mob-navigation pc_show">
-    <i class="fa fa-remove"></i>
-    <ul>
-        <li><a href="#">网站首页</a></li>
-        <li><a href="#">品牌大全</a></li>
-        <li><a href="#">创业资讯</a></li>
-        <li><a href="#">行业资讯</a></li>
-        <li><a href="#">品牌动态</a></li>
-        <li><a href="#">项目资讯</a></li>
-    </ul>
-</nav>
-<!-- header over -->
 <!-- content start -->
 <!-- 面包屑 -->
 <div class="container crumbs">
@@ -164,360 +14,90 @@
 <div class="container inner-content">
     <div class="fl infor-content">
         <ul class="infro-list">
-            <li>
-                <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
-                    </a>
-                </div>
-                <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
-                    <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
-                    </div>
-                </div>
-            </li>
-            <li>
-                <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
-                    </a>
-                </div>
-                <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
-                    <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
-                    </div>
-                </div>
-            </li>
-            <li>
-                <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
-                    </a>
-                </div>
-                <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
-                    <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
-                    </div>
-                </div>
-            </li>
-            <li>
-                <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
-                    </a>
-                </div>
-                <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
-                    <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
+            <foreach name="news1" id="v">
+                <li>
+                    <div class="fl">
+                        <a href="/news{$v.id}/" target="_blank" title="{$v.title}">
+                            <img src="{:cmf_get_image_preview_url($v.thumb)}" alt="{$v.title}">
+                        </a>
                     </div>
-                </div>
-            </li>
-            <li>
-                <div class="fl">
-                    <a href="#" target="" title="">
-                        <img src="__TMPL__/static/images/ppjx-img.jpg" alt="">
-                    </a>
-                </div>
-                <div class="fl listent">
-                    <a class="nowrap" href="#" target="">足生堂足疗开启急速财富之旅</a>
-                    <p>南京足生堂企业管理有限公司是一家专业从事中医保健行业的科技型企业,
-                        其拥有一支高素质的专家、教授、学者组成的智囊和管理团队,致力于祖国医学宝库中的推拿足疗保健(反射疗法)技术的挖掘、研发、培训、推广、服务工作。 </p>
-                    <div>
-                        <span><i class="fa fa-clock-o"></i>2020-02-03</span>
-                        <span><i class="fa fa-eye"></i>2020</span>
-                        <span><i class="fa fa-star"></i>3</span>
+                    <div class="fl listent">
+                        <a class="nowrap" href="/news{$v.id}" target="">{$v.title}</a>
+                        <p>{$v.description}</p>
+                        <div>
+                            <span><i class="fa fa-clock-o"></i>{:date('Y-m-d',$v.create_time)}</span>
+                            <span><i class="fa fa-eye"></i>{$v.hits}</span>
+                        </div>
                     </div>
-                </div>
-            </li>
+                </li>
+            </foreach>
         </ul>
+
         <div class="pagCon mt10">
-            <ul>
-                <li><span>
-							<< </span>
-                </li>
-                <li class="thisclass"><span>1</span></li>
-                <li><a href="#" target="">2</a></li>
-                <li><a href="#" target="">3</a></li>
-                <li><a href="#" target="">4</a></li>
-                <li><a href="#" target="">5</a></li>
-                <li><span>···</span></li>
-                <li><a href="#" target="">60</a></li>
-                <li><a href="#" target="">>></a></li>
-                <li><b>共1280条记录</b></li>
-            </ul>
+            {$page}
+            <li><b>共{$data.total|default='0'}条记录</b></li>
         </div>
     </div>
     <div class="fr right-sidebar mob_none">
         <div class="side-box">
             <h2>文章分类</h2>
-            <div class="new-sort">
-                <a href="#" target="">品牌动态</a>
-                <a href="#" target="">加盟聚焦</a>
-                <a href="#" target="">加盟资讯</a>
-                <a href="#" target="">展会动态</a>
-                <a href="#" target="">品牌对比</a>
-                <a href="#" target="">品牌测评</a>
-            </div>
-            <div class="new-sort new-sort-2">
-                <a href="#" target="">品牌动态</a>
-                <a href="#" target="">加盟聚焦</a>
-                <a href="#" target="">加盟资讯</a>
-                <a href="#" target="">展会动态</a>
-                <a href="#" target="">品牌对比</a>
-                <a href="#" target="">品牌测评</a>
-            </div>
-        </div>
-        <div class="side-box">
-            <h2>热门文章</h2>
-            <ul class="hot-article">
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-                <li>
-                    <a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a>
-                    <span>08-09</span>
-                </li>
-            </ul>
+            <foreach name="cate_list" id="cates">
+                <div <if condition="$key lt 1">class="new-sort new-sort-{$key+1}"<else/>class="new-sort new-sort-2"</if>>
+                <foreach name="cates" id="v">
+                    <a href="/news{$v.enname}/" target="">{$v.catname}</a>
+                </foreach>
         </div>
-        <div class="side-box">
-            <h2>最新入驻品牌</h2>
-            <ul class="rqb-list">
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-            </ul>
-        </div>
-        <div class="side-box">
-            <h2>本月人气榜</h2>
-            <ul class="rqb-list">
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
+        </foreach>
+    </div>
+    <div class="side-box">
+        <h2>热门文章</h2>
+        <ul class="hot-article">
+            <foreach name="hots" id="v">
                 <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
+                    <a href="/news{$v.id}/" target="_blank" title="{$v.title}">{$v.title}</a>
+                    <span>{:date('m-d',$v.create_time)}</span>
                 </li>
+            </foreach>
+        </ul>
+    </div>
+    <div class="side-box">
+        <h2>最新入驻品牌</h2>
+        <ul class="rqb-list">
+            <foreach name="brand_jx" id="v">
                 <li>
                     <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
+                    <a href="/b{$v.id}/" target="_blank" title="{$v.title}">{$v.title}</a>
+                    <span class="fr">{$v.hits|default='0'}</span>
                 </li>
+            </foreach>
+        </ul>
+    </div>
+    <div class="side-box">
+        <h2>本月人气榜</h2>
+        <ul class="rqb-list">
+            <foreach name="paihang" id="v">
                 <li>
                     <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
+                    <a href="/b{$v.id}/" target="_blank">{$v.title}</a>
+                    <span class="fr">{$v.hits}</span>
                 </li>
-            </ul>
-        </div>
-        <div class="mob-item">
-            <h2>热门标签</h2>
-            <div class="hot-tags">
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>网卡</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-                <a href="#" target=""><i class="fa fa-tag"></i>汽车用品</a>
-            </div>
-        </div>
-    </div>
-    <div class="clearfix"></div>
-</div>
-<!-- content over -->
-<!-- footer start-->
-<div class="online-box mob_none">
-    <div class="container">
-        <img src="__TMPL__/static/images/fd_pic0101.png" alt="">
-    </div>
-</div>
-<footer>
-    <div class="container">
-        <ul class="foot-nav">
-            <li><a href="#" target="">关于我们</a></li>
-            <li><a href="#" target="">联系我们</a></li>
-            <li><a href="#" target="">招商服务</a></li>
-            <li><a href="#" target="">投诉删除</a></li>
-            <li><a href="#" target="">网站地图</a></li>
-            <li><a href="#" target="">法律声明</a></li>
-            <li><a href="#" target="">诚聘精英</a></li>
-            <li><a href="#" target="">企业文化</a></li>
+            </foreach>
         </ul>
-        <div class="ftlx-box">
-            <div class="fl">
-                <strong>餐饮在线加盟</strong>
-                <span>地址:山东省青岛市城阳区中城路612号腾程伟业创业生态园</span>
-                <span>电话:40036698</span>
-                <span>客服:打得过你是个好</span>
-            </div>
-            <div class="fr">
-                <span><img src="__TMPL__/static/images/ewm.png" alt="">官方微信</span>
-                <span><img src="__TMPL__/static/images/ewm.png" alt="">官方微博</span>
-            </div>
-            <div class="clearfix"></div>
-        </div>
-        <p>Copyright2010-2020 7878i.com. All Rights Reserved 7878i创业网 版权所有 <br>技术支持 78餐饮创业加盟有限公司  创业有风险 投资需谨慎</p>
-    </div>
-</footer>
-<!-- footer over -->
-<!-- 侧边栏固定 -->
-<div class="siderBar mob_none">
-    <div class="free-tel"><i class="fa fa-phone"></i>免费电话</div>
-    <div class="online">
-        <a href="#" target=""><i class="fa fa-commenting"></i>在线咨询</a>
     </div>
-    <div class="side-wx"><i class="fa fa-comments"></i>微信 <span><img src="__TMPL__/static/images/ewm.png" alt=""></span></div>
-    <div class="complaint">
-        <a href="#" target=""><i class="fa fa-pencil"></i>投诉</a>
+    <div class="mob-item">
+        <h2>热门标签</h2>
+        <div class="hot-tags">
+            <a href="/xmhuoguo/" title="" target="_blank"><i class="fa fa-tag"></i>火锅</a>
+            <a href="/xmcanyin/" title="" target="_blank"><i class="fa fa-tag"></i>餐饮</a>
+            <a href="/xmjiaoyu/" title="" target="_blank"><i class="fa fa-tag"></i>教育</a>
+            <a href="/xmkuaican/" title="" target="_blank"><i class="fa fa-tag"></i>快餐</a>
+            <a href="/xmzaojiao/" title="" target="_blank"><i class="fa fa-tag"></i>早教</a>
+        </div>
     </div>
-    <div class="go-top"><i class="fa fa-caret-up"></i>TOP</div>
 </div>
-<!-- 底部固定 -->
-<div class="spot-bg"></div>
-<div class="fixed-foot mob_none">
-    <div class="container">
-        <img class="fl" src="__TMPL__/static/images/pop_tel.png" alt="">
-        <p class="fl">
-            <strong>我们将尽快给您回电</strong>
-            <span>上班时间:9:00-12:00 13:30-18:00(周一至周五,节假日除外)</span>
-        </p>
-        <form action="" method="POST">
-            <input type="hidden" name="brand" id="brand" value="">
-            <input type="hidden" name="userid" id="userid" value="">
-            <input type="hidden" name="domain" id="domain" value="">
-
-            <input class="name" type="text" name="name" id="name" value="" placeholder="您的称呼" required="required" />
-            <input class="phone" type="text" name="tel" id="tel" value="" placeholder="您的联系电话"
-                   required="required" />
-            <input class="submit" type="submit" name="cusSubmit" id="cusSubmit" value="给我回电">
-        </form>
-        <i class="fa fa-close"></i>
-    </div>
+<div class="clearfix"></div>
 </div>
-<script src="__TMPL__/static/js/base.js" type="text/javascript"></script>
-</body>
+<!-- content over -->
 
-</html>
+<!-- 页脚 -->
+<include file="block/footer" />

+ 57 - 358
public/themes/mjmls/index/news/show.html

@@ -1,192 +1,44 @@
-<!DOCTYPE html>
-<html lang="zh-cmn-Hans">
+<include file="block/header_xm" />
+<link rel="stylesheet" href="__TMPL__/static/css/inside.css">
+<!-- nav -->
+<include file="block/nav" />
 
-<head>
-    <meta charset="UTF-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
-    <title>新闻详情</title>
-    <meta name="description" content="" />
-    <meta name="keywords" content="" />
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
-    <meta name="applicable-device" content="pc,mobile">
-    <meta name="format-detection" content="telephone=no,email=no" />
-    <link rel="stylesheet" href="__TMPL__/static/css/font-awesome.min.css">
-    <link rel="stylesheet" href="__TMPL__/static/css/master.css">
-    <link rel="stylesheet" href="__TMPL__/static/css/inside.css">
-    <script src="__TMPL__/static/js/jquery-1.8.3.min.js" type="text/javascript"></script>
-    <!--[if lt IE 9]>
-    <script src="__TMPL__/static/js/html5shiv.js"></script>
-    <script src="__TMPL__/static/js/respondshiv.js"></script>
-    <![endif]-->
-</head>
-
-<body>
-<!-- header start -->
-<header>
-    <div class="t-header mob_none">
-        <div class="container">
-            <p class="fl">
-                <a href="#"><i class="fa fa-home"></i>首页</a> |
-                <a href="#" target="">找项目</a> |
-                <a href="#" target="">排行榜</a> |
-                <a href="#" target="">资讯</a> |
-                <a href="#" target="">问答</a>
-            </p>
-            <ul class="fr">
-                <li>免费咨询:<b>400-606-6786</b></li>
-                <li class="wx"><i class="fa fa-mobile"></i>手机版
-                    <div><img src="__TMPL__/static/images/ewm.png" alt=""></div>
-                </li>
-                <li class="wx"><i class="fa fa-weixin"></i>微信
-                    <div><img src="__TMPL__/static/images/ewm.png" alt=""></div>
-                </li>
-                <li class="web-nav">
-                    <i class="fa fa-th-list"></i>网站导航
-                    <div class="web-box">
-                        <dl>
-                            <dt>资讯中心</dt>
-                            <dd>
-                                <a href="#" target="">加盟快讯</a>
-                                <a href="#" target="">经营技巧</a>
-                                <a href="#" target="">创业故事</a>
-                                <a href="#" target="">市场前景</a>
-                                <a href="#" target="">最新资讯</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">如何开店</a>
-                                <a href="#" target="">人物访谈</a>
-                            </dd>
-                        </dl>
-                        <dl>
-                            <dt>项目大全</dt>
-                            <dd>
-                                <a href="#" target="">加盟快讯</a>
-                                <a href="#" target="">经营技巧</a>
-                                <a href="#" target="">创业故事</a>
-                                <a href="#" target="">市场前景</a>
-                                <a href="#" target="">最新资讯</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">开店指南</a>
-                                <a href="#" target="">如何开店</a>
-                                <a href="#" target="">人物访谈</a>
-                            </dd>
-                        </dl>
-                        <dl>
-                            <dt>更多精彩</dt>
-                            <dd>
-                                <a href="#" target="">精品商机</a>
-                                <a href="#" target="">活动专区</a>
-                                <a href="#" target="">本季最火</a>
-                                <a href="#" target="">市场前景</a>
-                                <a href="#" target="">最新资讯</a>
-                                <a href="#" target="">排行榜</a>
-                                <a href="#" target="">最新资讯</a>
-                            </dd>
-                        </dl>
-                    </div>
-                </li>
-            </ul>
-        </div>
-    </div>
-    <div class="container m-header">
-        <div class="logo fl">
-            <a href="#" title="" target="_blank">
-                <img src="__TMPL__/static/images/logo.png" alt="">
-            </a>
-            <p class="mob_none">中国连锁经营协会唯一指定加盟平台</p>
-        </div>
-        <div class="m-header-sider fr mob_none">
-            <a href="#" class="fl" title="" target="">
-                <img src="__TMPL__/static/images/762c4bbf7055f0dddade664ee2de0c4b.png" width="210" height="84" alt="">
-            </a>
-            <p class="fr">
-                <a href="#" target=""><i class="fa fa-pencil-square-o"></i>品牌入驻</a>
-                <a href="#" target=""><i class="fa fa-columns"></i>品牌入驻</a>
-            </p>
-        </div>
-        <div class="search-con fr mob_none">
-            <form action="" method="post">
-                <i class="fa fa-search"></i>
-                <input class="s-input" type="text" id="" name="" value="" placeholder="请输入项目名称" required />
-                <input class="s-button" type="submit" id="" name="" value="搜索"></input>
-            </form>
-            <p class="nowrap">
-                <b>热门标签:</b>
-                <a href="#" title="" target="_blank">火锅</a>
-                <a href="#" title="" target="_blank">奶茶店加盟</a>
-                <a href="#" title="" target="_blank">米线</a>
-                <a href="#" title="" target="_blank">米线</a>
-            </p>
-            <p class="nowrap">
-                <b>热门品牌:</b>
-                <a href="#" title="" target="_blank">火锅</a>
-                <a href="#" title="" target="_blank">奶茶店加盟</a>
-                <a href="#" title="" target="_blank">米线</a>
-                <a href="#" title="" target="_blank">米线</a>
-            </p>
-        </div>
-        <i class="fa fa-bars pc_show"></i>
-        <div class="clearfix"></div>
-    </div>
-    <nav class="navigation mob_none">
-        <div class="container">
-            <ul class="nav-list fl">
-                <li class="active"><a href="#" title="" target="_blank">网站首页</a></li>
-                <li><a href="#" title="" target="_blank">找项目</a></li>
-                <li><a href="#" title="" target="_blank">创业资讯</a></li>
-                <li><a href="#" title="" target="_blank">行业资讯</a></li>
-                <li><a href="#" title="" target="_blank">品牌动态</a></li>
-                <li><a href="#" title="" target="_blank">项目资讯</a></li>
-            </ul>
-        </div>
-    </nav>
-</header>
-<!-- mobile-nav -->
-<nav class="mob-navigation pc_show">
-    <i class="fa fa-remove"></i>
-    <ul>
-        <li><a href="#">网站首页</a></li>
-        <li><a href="#">品牌大全</a></li>
-        <li><a href="#">创业资讯</a></li>
-        <li><a href="#">行业资讯</a></li>
-        <li><a href="#">品牌动态</a></li>
-        <li><a href="#">项目资讯</a></li>
-    </ul>
-</nav>
-<!-- header over -->
 <!-- content start -->
 <!-- 面包屑 -->
 <div class="container crumbs">当前位置:
-    <a href="#" target="">网站首页</a> >
+    <a href="/" target="">网站首页</a> >
     <span>新闻资讯</span>
 </div>
 <!-- 文章详情 -->
 <div class="container inner-content">
     <div class="fl">
         <div class="art-content">
-            <h1>新珠城鱼坊加盟利润怎么样?加盟条件是什么?</h1>
+            <h1>{$info.title}</h1>
             <div class="art-message">
-                <span>发布时间:2019-07-26</span>
-                <span>浏览量:188</span>
-                <span>来源:创业网</span>
+                <span>发布时间:{:date('Y-m-d',$info.create_time)}</span>
+                <span>浏览量:{$info.hits}</span>
+                <span>来源:{$info.author|default='站内'}</span>
             </div>
             <div class="remark">
-                概述:早教加盟说到底也是一项投资,既然是投资就有可能成功,当然也有可能会失败。所以大家选择加盟品牌的时候一定要谨慎,既要看加盟品牌的价格、前景,又要注意看中该品牌总部的服务支持是否到位
+                概述:{$info.description}
             </div>
             <div class="art-body">
-                <p>处在我们这个信息发达的大数据化时代,终究还是有着许多好处的,我们拥有着巨大的机遇,虽然也同样有着极大的挑战,有的人当了律师、医生、教师或者商人,但是,在我们现代的职业当中,最为吃香的应该是商人了吧,因为出色的商家总是能够很好地收获高利益。那么,今天就让我们研究一下如果你想要开一个火锅店,到底赚不赚钱呢?
-                </p>
-                <p><img src="__TMPL__/static/images/80a365735fc1f2e8613da1293461bf18.jpg" alt=""></p>
-                <p>中国本来就是一个人口大国,每天都有大量新生婴儿出生,再加上二胎政策开放,我国各地将会迎来更多新生婴儿。此刻投资玩具行业是相当有发展前景的。</p>
-                <p>稀奇古怪玩具专卖店满足了人们求新、求异、求变的猎奇心理,投资稀奇古怪玩具专卖店是非常不错的创业之选,为了促进投资商业绩,总部还有专业广告创意策划。</p>
+                {$info.content}
             </div>
-            <div class="related-tags">相关标签:
-                <a href="#" target="">药品零售</a>
-                <a href="#" target="">药品售</a>
+            <if condition="$info.keywords">
+            <div class="related-tags">关键词:
+                <foreach name="keywords" id="v">
+                    <a href="/news/{$v}" target="_blank" title="{$v}">{$v}</a>
+                </foreach>
             </div>
+            </if>
             <ul class="turn-page">
-                <li>上一篇:<a class="nowrap" href="#" target="">台北吸客与台北吸刻有何区别?它们是同一个品牌吗?</a></li>
-                <li>下一篇:<a class="nowrap" href="#" target="">台北吸客与台北吸刻有何区别?它们是同一个品牌吗?</a></li>
+                <if condition="$last">
+                    <li>上一篇:<a class="nowrap" href="/news{$lastInfo.id}" target="" title="{$lastInfo.title}">{$lastInfo.title}</a></li>
+                </if>
+                <if condition="$next">
+                <li>下一篇:<a class="nowrap" href="/news{$nextInfo.id}" target="" title="{$nextInfo.title}">{$nextInfo.title}</a></li>
+                </if>
             </ul>
         </div>
         <div class="join-form mt20">
@@ -197,26 +49,27 @@
                 <span>免费咨询电话: 400-606-9888</span>
             </div>
             <div class="fr">
-                <form action="" method="post">
-                    <input type="hidden" name="brand" id="brand" value="">
-                    <input type="hidden" name="userid" id="userid" value="">
-                    <input type="hidden" name="domain" id="domain" value="">
+                <form action="{:url('jiameng/message')}" method="post">
+                    <input type="hidden" name="jm_id" value="{$info.pid}" />
+                    <input type="hidden" name="news_id" value="{$info.id}" />
+                    <input type="hidden" name="catid" value="{$info.catid}" />
+                    <input type="hidden" name="catname" value="{$info.catname}" />
+                    <input type="hidden" name="news_kw" value="{$info.title}" />
 
-                    <label class="liuyan" for=""><span>留言</span>
-                        <input type="text" id="liuyan" name="liuyan" value="" placeholder="请输入您的留言" />
+                    <label class="liuyan" for="liuyan"><span>留言</span>
+                        <input type="text" id="liuyan" name="jm_title" placeholder="{$brand_info.title}" value="{$brand_info.title}" required/>
                     </label>
-                    <label for=""><span>称呼</span>
-                        <input type="text" id="name" name="name" value="" placeholder="如朱先生" required="required" />
+                    <label for="new_name"><span>称呼</span>
+                        <input type="text" id="new_name" placeholder="输入您的名字" id="message_name" required/>
                     </label>
-                    <label for=""><span>手机号</span>
-                        <input type="text" id="tel" name="tel" value="" placeholder="请输入您的手机号" maxlength="11"
-                               required="required" />
+                    <label for="message_mobile"><span>手机号</span>
+                        <input type="text" id="message_mobile" name="tel" value="" placeholder="请输入您的手机号" maxlength="11" required="required" pattern="^1[2-9][0-9]{9}$"/>
                     </label>
-                    <label for=""><span>微信</span>
-                        <input type="text" id="qq" name="qq" value="" placeholder="请输入您的微信号" />
+                    <label for="wechat"><span>微信</span>
+                        <input type="text" id="wechat" name="wechat" value="" placeholder="请输入您的微信号" />
                     </label>
                     <div class="submit">
-                        <input type="submit" id="cusSubmit" name="cusSubmit" value="获取加盟资料" />
+                        <input type="submit" id="submit"  value="获取加盟资料" />
                     </div>
                 </form>
             </div>
@@ -224,16 +77,9 @@
         <div class="art-information mt20">
             <h2>相关资讯</h2>
             <ul>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌店排行榜有什店排行榜有什,加盟...</a></li>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌,加盟...</a></li>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌,加盟...</a></li>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌,加盟...</a></li>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌,加盟...</a></li>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌,加盟...</a></li>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌,加盟...</a></li>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌,加盟...</a></li>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌,加盟...</a></li>
-                <li><a href="#" target="">鲜奶吧加盟店排行榜有什么品牌,加盟...</a></li>
+                <foreach name="other_news" id="v">
+                <li><a href="/news{$v.id}" target="_blank" title="{$v.title}">{$v.title}</a></li>
+                </foreach>
             </ul>
         </div>
     </div>
@@ -241,188 +87,41 @@
         <div class="side-box">
             <h2>最新入驻品牌</h2>
             <ul class="rqb-list">
+                <foreach name="brand_jx" id="v">
                 <li>
                     <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
-                </li>
-                <li>
-                    <i></i>
-                    <a href="#" target="">唯美度</a>
-                    <span class="fr">4939</span>
+                    <a href="/b{$v.id}/" target="_blank" title="{$v.title}">{$v.title}</a>
+                    <span class="fr">{$v.hits|default='0'}</span>
                 </li>
+                </foreach>
             </ul>
         </div>
         <div class="side-box">
             <h2>品牌推荐</h2>
             <ul class="brand-recome">
+                <foreach name="jx_jm" id="v">
                 <li>
-                    <a href="#" target="">
-                        <img class="fl" src="__TMPL__/static/images/join-logo.jpg" width="70" height="70" alt="">
-                        <h3 class="nowrap">上海药房</h3>
-                        <p>投资金额:<em>10万以下</em></p>
-                        <p>关注:1014人</p>
-                    </a>
-                </li>
-                <li>
-                    <a href="#" target="">
-                        <img class="fl" src="__TMPL__/static/images/join-logo.jpg" width="70" height="70" alt="">
-                        <h3 class="nowrap">上海药房</h3>
-                        <p>投资金额:<em>10万以下</em></p>
-                        <p>关注:1014人</p>
-                    </a>
-                </li>
-                <li>
-                    <a href="#" target="">
-                        <img class="fl" src="__TMPL__/static/images/join-logo.jpg" width="70" height="70" alt="">
-                        <h3 class="nowrap">上海药房</h3>
-                        <p>投资金额:<em>10万以下</em></p>
-                        <p>关注:1014人</p>
-                    </a>
-                </li>
-                <li>
-                    <a href="#" target="">
-                        <img class="fl" src="__TMPL__/static/images/join-logo.jpg" width="70" height="70" alt="">
-                        <h3 class="nowrap">上海药房</h3>
-                        <p>投资金额:<em>10万以下</em></p>
-                        <p>关注:1014人</p>
-                    </a>
-                </li>
-                <li>
-                    <a href="#" target="">
-                        <img class="fl" src="__TMPL__/static/images/join-logo.jpg" width="70" height="70" alt="">
-                        <h3 class="nowrap">上海药房</h3>
-                        <p>投资金额:<em>10万以下</em></p>
-                        <p>关注:1014人</p>
+                    <a href="/b{$v.id}" target="_blank" {$v.title}>
+                        <img class="fl" src="{:cmf_get_image_preview_url($v.logo)}" width="70" height="70" alt="{$v.title}">
+                        <h3 class="nowrap">{$v.title}</h3>
+                        <p>投资金额:<em>{$v.touzi_level_name}</em></p>
+                        <p>关注:{$v.hits|default='0'}人</p>
                     </a>
                 </li>
+                </foreach>
             </ul>
         </div>
         <div class="side-box">
             <h2>加盟资讯</h2>
             <ul class="join-information">
-                <li><a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a></li>
-                <li><a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a></li>
-                <li><a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a></li>
-                <li><a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a></li>
-                <li><a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a></li>
-                <li><a href="#" target="">特色小吃加盟排行榜都有哪些品牌?</a></li>
+                <foreach name="jm_news" id="v">
+                <li><a href="/news{$v.id}" target="" title="{$v.title}">{$v.title}</a></li>
+                </foreach>
             </ul>
         </div>
     </div>
     <div class="clearfix"></div>
 </div>
 <!-- content over -->
-<!-- footer start-->
-<div class="online-box mob_none">
-    <div class="container">
-        <img src="__TMPL__/static/images/fd_pic0101.png" alt="">
-    </div>
-</div>
-<footer>
-    <div class="container">
-        <ul class="foot-nav">
-            <li><a href="#" target="">关于我们</a></li>
-            <li><a href="#" target="">联系我们</a></li>
-            <li><a href="#" target="">招商服务</a></li>
-            <li><a href="#" target="">投诉删除</a></li>
-            <li><a href="#" target="">网站地图</a></li>
-            <li><a href="#" target="">法律声明</a></li>
-            <li><a href="#" target="">诚聘精英</a></li>
-            <li><a href="#" target="">企业文化</a></li>
-        </ul>
-        <div class="ftlx-box">
-            <div class="fl">
-                <strong>餐饮在线加盟</strong>
-                <span>地址:山东省青岛市城阳区中城路612号腾程伟业创业生态园</span>
-                <span>电话:40036698</span>
-                <span>客服:打得过你是个好</span>
-            </div>
-            <div class="fr">
-                <span><img src="__TMPL__/static/images/ewm.png" alt="">官方微信</span>
-                <span><img src="__TMPL__/static/images/ewm.png" alt="">官方微博</span>
-            </div>
-            <div class="clearfix"></div>
-        </div>
-        <p>Copyright2010-2020 7878i.com. All Rights Reserved 7878i创业网 版权所有 <br>技术支持 78餐饮创业加盟有限公司  创业有风险 投资需谨慎</p>
-    </div>
-</footer>
-<!-- footer over -->
-<!-- 侧边栏固定 -->
-<div class="siderBar mob_none">
-    <div class="free-tel"><i class="fa fa-phone"></i>免费电话</div>
-    <div class="online">
-        <a href="#" target=""><i class="fa fa-commenting"></i>在线咨询</a>
-    </div>
-    <div class="side-wx"><i class="fa fa-comments"></i>微信 <span><img src="__TMPL__/static/images/ewm.png" alt=""></span></div>
-    <div class="complaint">
-        <a href="#" target=""><i class="fa fa-pencil"></i>投诉</a>
-    </div>
-    <div class="go-top"><i class="fa fa-caret-up"></i>TOP</div>
-</div>
-<!-- 底部固定 -->
-<div class="spot-bg"></div>
-<div class="fixed-foot mob_none">
-    <div class="container">
-        <img class="fl" src="__TMPL__/static/images/pop_tel.png" alt="">
-        <p class="fl">
-            <strong>我们将尽快给您回电</strong>
-            <span>上班时间:9:00-12:00 13:30-18:00(周一至周五,节假日除外)</span>
-        </p>
-        <form action="" method="POST">
-            <input type="hidden" name="brand" id="brand" value="">
-            <input type="hidden" name="userid" id="userid" value="">
-            <input type="hidden" name="domain" id="domain" value="">
-
-            <input class="name" type="text" name="name" id="name" value="" placeholder="您的称呼" required="required" />
-            <input class="phone" type="text" name="tel" id="tel" value="" placeholder="您的联系电话"
-                   required="required" />
-            <input class="submit" type="submit" name="cusSubmit" id="cusSubmit" value="给我回电">
-        </form>
-        <i class="fa fa-close"></i>
-    </div>
-</div>
-<script src="__TMPL__/static/js/base.js" type="text/javascript"></script>
-</body>
-
-</html>
+<!-- 页脚 -->
+<include file="block/footer" />

+ 175 - 0
public/themes/mjmls/index/top10/index.html

@@ -0,0 +1,175 @@
+<include file="block/header_xm" />
+<link rel="stylesheet" href="__TMPL__/static/css/inside.css">
+<!-- nav -->
+<include file="block/nav" />
+<!-- content start -->
+<!-- 面包屑 -->
+<div class="container crumbs">当前位置:
+    <a href="/" target="">网站首页</a> >
+    <span>品牌排行榜</span>
+</div>
+<!-- 排行榜列表 -->
+<div class="container phb-content">
+    <div class="phb-box fl">
+        <div class="phb-title"><i class="fa fa-fire"></i> 本月人气品牌排行榜</div>
+        <div class="phb-box-nav">
+            <span>排名</span>
+            <span>商家名称</span>
+            <span>投资额</span>
+            <span>搜索指数</span>
+        </div>
+        <ul>
+            <foreach name="top10" id="v">
+            <li <if condition="$key eq 0">class="active"</if>>
+                <a href="/b{$v.id}/" target="" title="{$v.title}">
+                    <div class="beli">
+                        <i></i>
+                        <h3 class="nowrap">{$v.title}</h3>
+                        <em>¥{$touziarr[$v.touzi_level]}</em>
+                        <span>{$v.hits|default='0'}</span>
+                    </div>
+                    <div class="afli">
+                        <img src="{:cmf_get_image_preview_url($v.logo)}" width="100" height="75" alt="{$v.title}" />
+                        <p>投资金额:¥{$touziarr[$v.touzi_level]}</p>
+                        <p>门店总数:{$v.mendian|default='0'}家</p>
+                        <p>总部地址:{$v.area}</p>
+                    </div>
+                </a>
+            </li>
+            </foreach>
+        </ul>
+    </div>
+    <div class="phb-middle fl mob_none">
+        <div>
+            <foreach name="banner" id="v">
+            <a href="{$v.url}" target="{$v.target}" title="{$v.title}">
+                <img src="{:cmf_get_image_preview_url($v.image)}" width="592" height="300" alt="{$v.title}">
+            </a>
+            </foreach>
+        </div>
+        <div class="phb-recommend">
+            <h2><i class="fa fa-diamond"></i>严选品牌推荐</h2>
+            <ul class="relist-1">
+                <foreach name="brands4" id="v">
+                    <if condition="$key lt 4">
+                    <li>
+                        <a href="/b{$v.id}/" target="_blank" title="{$v.title}">
+                            <img src="{:cmf_get_image_preview_url($v.logo)}" alt="{$v.title}" width="135.5" height="101.63">
+                            <p class="nowrap">{$v.title}</p>
+                        </a>
+                    </li>
+                    </if>
+                </foreach>
+            </ul>
+            <ul class="relist-2">
+                <foreach name="brands4" id="v">
+                    <if condition="$key lt 4">
+                    <li><a href="/b{$v.id}/" target="_blank" title="{$v.title}">{$v.title}</a></li>
+                    </if>
+                </foreach>
+            </ul>
+        </div>
+    </div>
+    <div class="phb-box fr">
+        <div class="phb-title"><i class="fa fa-fire"></i> 本月品牌飙升排行榜</div>
+        <div class="phb-box-nav">
+            <span>排名</span>
+            <span>商家名称</span>
+            <span>投资额</span>
+            <span>搜索指数</span>
+        </div>
+        <ul>
+            <foreach name="zengzhang10" id="v">
+            <li <if condition="$key eq 0">class="active"</if>>
+                <a href="/b{$v.id}/" target="_blank" title="{$v.title}">
+                    <div class="beli">
+                        <i></i>
+                        <h3 class="nowrap">{$v.title}</h3>
+                        <em>¥{$touziarr[$v.touzi_level]}</em>
+                        <span>{$v.hits|default='0'}</span>
+                    </div>
+                    <div class="afli">
+                        <img src="{:cmf_get_image_preview_url($v.logo)}" width="100" height="75" alt="{$v.title}" />
+                        <p>投资金额:¥{$touziarr[$v.touzi_level]}</p>
+                        <p>门店总数:{$v.mendian|default='0'}家</p>
+                        <p>总部地址:{$v.area}</p>
+                    </div>
+                </a>
+            </li>
+            </foreach>
+        </ul>
+    </div>
+    <div class="clearfix"></div>
+</div>
+<!--  -->
+<div class="container mt30 mob_none">
+    <foreach name="banner1" id="v">
+        <a href="{$v.url}" target="{$v.target}" title="{$v.title}">
+            <img src="{:cmf_get_image_preview_url($v.image)}" width="1200" height="70" alt="{$v.title}">
+        </a>
+    </foreach>
+</div>
+<!-- 新品推荐 & 最新资讯 -->
+<div class="container rank-bot-content">
+    <div class="fl new-product mob_none">
+        <h2 class="hb-title">
+            <i class="fa fa-heart-o"></i>
+            新品推荐
+            <a href="/list/brand-8.shtml" target="">更多 ></a>
+        </h2>
+        <ul>
+            <foreach name="tuijian" id="v">
+            <li>
+                <a href="/b{$v.id}/" target="" title="{$v.title}">
+                    <img src="{:cmf_get_image_preview_url($v.logo)}" width="163.2" height="122.4" alt="{$v.title}">
+                    <h3 class="nowrap">光猪圈健身</h3>
+                    <p>
+                        <b>{$touziarr[$v.touzi_level]}</b>
+                        <span>门店:{$v.mendian|default='0'}家</span>
+                    </p>
+                </a>
+            </li>
+            </foreach>
+        </ul>
+    </div>
+    <div class="fr new-information">
+        <h2 class="hb-title">
+            <i class="fa fa-file-text-o"></i>
+            最新资讯
+            <a href="/news/" target="">更多 ></a>
+        </h2>
+        <div class="new-infor-box">
+            <foreach name="zuixin_news" id="v">
+                <if condition="$key eq 0">
+                <a href="/news{$v.id}" target="" title="{$v.title}">
+                    <h3 class="nowrap">{$v.title}</h3>
+                    <img src="{:cmf_get_image_preview_url($v.thumb)}" width="100" height="75" alt="{$v.title}">
+                    <p>{$v.description}</p>
+                    <span>{:date('m-d',$v.create_time)}</span>
+                </a>
+                </if>
+            </foreach>
+            <ul>
+                <foreach name="zuixin_news" id="v">
+                    <if condition="$key gt 0">
+                    <li>
+                        <a href="/news{$v.id}" target="" title="{$v.title}">{$v.title}</a>
+                        <span>02-21</span>
+                    </li>
+                    </if>
+                </foreach>
+            </ul>
+        </div>
+    </div>
+    <div class="clearfix"></div>
+</div>
+<!-- content over -->
+<!-- 页脚 -->
+<include file="block/footer" />
+<script type="text/javascript">
+    $(function () {
+        $('.phb-box li').hover(function () {
+            $(this).addClass('active').siblings().removeClass('active');
+        })
+    })
+</script>

+ 16 - 16
public/themes/mjmls/static/css/index.css

@@ -313,7 +313,7 @@
 }
 
 .zsxx-box li:hover::before {
-	background: #04935F;
+	background: #ee0f15;
 }
 
 .zsxx-box li a {
@@ -332,7 +332,7 @@
 }
 
 .zsxx-box li:hover span {
-	color: #04935F;
+	color: #ee0f15;
 }
 
 .zx-btn {
@@ -351,7 +351,7 @@
 	-moz-border-radius: 2px;
 	-ms-border-radius: 2px;
 	-o-border-radius: 2px;
-	background: #16ba7f;
+	background: #f73e43;
 	line-height: 44px;
 	text-align: center;
 }
@@ -406,7 +406,7 @@
 	-ms-border-radius: 4px;
 	-o-border-radius: 4px;
 	text-align: left;
-	background: #06A76D url(../images/icon_search_white.png) 70px center no-repeat;
+	background: #ee0f15 url(../images/icon_search_white.png) 70px center no-repeat;
 	background-size: 14px 14px;
 }
 
@@ -497,7 +497,7 @@
 }
 
 .tod-star .swiper-pagination-bullet-active {
-	background: #06A76D;
+	background: #ee0f15;
 }
 
 .ppjx-box {
@@ -716,7 +716,7 @@
 }
 
 .infor-rd p a {
-	color: #06A76D;
+	color: #ee0f15;
 }
 
 .jmzx-list li {
@@ -771,8 +771,8 @@
 }
 
 .jm-tab-tit span.on {
-	color: #06A76D;
-	border-top: 2px solid #06A76D;
+	color: #ee0f15;
+	border-top: 2px solid #ee0f15;
 }
 
 .jm-tab-box ul {
@@ -794,10 +794,10 @@
 	width: 36px;
 	height: 18px;
 	font-size: 12px;
-	color: #06A76D;
+	color: #ee0f15;
 	text-align: center;
 	line-height: 18px;
-	border: 1px solid #06A76D;
+	border: 1px solid #ee0f15;
 	background: none;
 	border-radius: 0;
 	-webkit-border-radius: 0;
@@ -902,7 +902,7 @@
 .join-slide-content {
 	position: relative;
 	padding: 15px;
-	background: #06A76D;
+	background: #ee0f15;
 }
 
 .join-slide-content .swiper-slide a {
@@ -910,8 +910,8 @@
 	width: 14.28%;
 	padding: 15px;
 	background: #fff;
-	border-right: 2px solid #06A76D;
-	border-bottom: 2px solid #06A76D;
+	border-right: 2px solid #ee0f15;
+	border-bottom: 2px solid #ee0f15;
 }
 
 .join-slide-content .swiper-slide a img {
@@ -1378,14 +1378,14 @@
 .all-classify-nav a {
 	float: right;
 	margin-right: 20px;
-	color: #06A76D;
+	color: #ee0f15;
 }
 
 .all-classify-nav span.on {
 	background: #fff;
-	color: #06A76D;
+	color: #ee0f15;
 	font-weight: bold;
-	border-top: 2px solid #06A76D;
+	border-top: 2px solid #ee0f15;
 	border-left: 1px solid #DFDFDF;
 	border-right: 1px solid #DFDFDF;
 }

+ 42 - 41
public/themes/mjmls/static/css/inside.css

@@ -63,7 +63,7 @@
 
 .top-classify dd ul li.on a {
     color: #fff !important;
-    background: #06a76d;
+    background: #ee0f15;
     border-radius: 2px;
     -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
@@ -130,7 +130,7 @@
 
 .project-top span em {
     font-size: 12px;
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .item-list {
@@ -206,9 +206,9 @@
     margin-bottom: 21px;
     text-align: center;
     font-size: 12px;
-    color: #04935f;
+    color: #ee0f15;
     line-height: 28px;
-    border: 1px solid #04935f;
+    border: 1px solid #ee0f15;
     border-radius: 100px;
     -webkit-border-radius: 100px;
     -moz-border-radius: 100px;
@@ -217,7 +217,7 @@
 }
 
 .item-list li .fr:hover span {
-    background: #04935f;
+    background: #ee0f15;
     color: #fff;
 }
 
@@ -241,7 +241,7 @@
 }
 
 .pagCon li.thisclass a, .pagCon li.thisclass span {
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .pagCon li b {
@@ -266,13 +266,13 @@
     padding-top: 16px;
     background: #fff;
     border: 1px solid #dfdfdf;
-    border-top: 2px solid #04935f;
+    border-top: 2px solid #ee0f15;
 }
 
 .side-box h2 {
     margin-bottom: 10px;
     font-size: 16px;
-    color: #04935f;
+    color: #ee0f15;
 }
 
 .join-butler {
@@ -315,9 +315,9 @@
     margin-top: 10px;
     text-align: center;
     font-size: 12px;
-    color: #04935f;
+    color: #ee0f15;
     line-height: 24px;
-    border: 1px solid #04935f;
+    border: 1px solid #ee0f15;
     border-radius: 2px;
     -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
@@ -464,7 +464,7 @@
     line-height: 50px;
     font-size: 16px;
     color: #fff;
-    background: #04935f;
+    background: #ee0f15;
 }
 
 .mob-item div {
@@ -640,7 +640,7 @@
 }
 
 .item-slide-nav .item-active {
-    border: 1px solid #06a76d;
+    border: 1px solid #ee0f15;
 }
 
 .item-slide-nav .swiper-button-white {
@@ -681,12 +681,12 @@
 
 .item-detail-top>.fr .box01 b {
     font-size: 16px;
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .item-detail-top>.fr .box01 em {
     font-size: 30px;
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .item-detail-top>.fr .box01 p {
@@ -757,7 +757,7 @@
 
 .item-detail-top>.fr .box03 li i {
     margin-right: 5px;
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .item-detail-top>.fr .box04 {
@@ -769,7 +769,7 @@
     float: left;
     width: 170px;
     height: 50px;
-    background: #06a76d;
+    background: #ee0f15;
     font-size: 16px;
     color: #fff !important;
     text-align: center;
@@ -784,9 +784,9 @@
 .item-detail-top>.fr .box04 a:first-child {
     width: 200px;
     margin-right: 30px;
-    color: #06a76d !important;
+    color: #ee0f15 !important;
     background: #fff;
-    border: 1px solid #06a76d;
+    border: 1px solid #ee0f15;
 }
 
 .item-detail-top>.fr .box04 i {
@@ -796,7 +796,7 @@
 }
 
 .item-detail-top>.fr .box04 a:first-child i {
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 /*  */
@@ -817,7 +817,7 @@
     line-height: 52px;
     background: #fff;
     text-align: center;
-    border-bottom: 2px solid #06a76d;
+    border-bottom: 2px solid #ee0f15;
 }
 
 .item-nav ul {
@@ -837,7 +837,7 @@
 
 .item-nav li a.active {
     color: #fff;
-    background: #06a76d!important;
+    background: #ee0f15!important;
 }
 
 .item-nav span {
@@ -886,7 +886,7 @@
 
 .item-con-tit {
     font-size: 20px;
-    color: #06a76d;
+    color: #ee0f15;
     font-weight: bold;
 }
 
@@ -978,7 +978,7 @@
 .turn-page li {
     float: left;
     width: 48%;
-    color: #06a76d;
+    color: #ee0f15;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
@@ -1003,7 +1003,7 @@
     color: #fff;
     font-weight: bold;
     line-height: 50px;
-    background: #04935f;
+    background: #ee0f15;
 }
 
 .message-box-top p {
@@ -1048,7 +1048,7 @@
     position: absolute;
     left: 0;
     font-size: 16px;
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .message-box-form label input {
@@ -1077,7 +1077,7 @@
 .message-box-form .submit input {
     width: 340px;
     height: 50px;
-    background: #06a76d;
+    background: #ee0f15;
     font-size: 18px;
     color: #fff;
     font-weight: bold;
@@ -1094,7 +1094,7 @@
 
 .message-box-form .submit p b {
     font-size: 12px;
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .form-kjly {
@@ -1109,7 +1109,7 @@
     display: block;
     height: 40px;
     padding-left: 20px;
-    background: #59c888;
+    background: #fa6165;
     font-size: 16px;
     color: #fff;
     line-height: 40px;
@@ -1122,12 +1122,12 @@
     left: -12px;
     margin-top: -6px;
     border: 6px solid transparent;
-    border-right-color: #59c888;
+    border-right-color: #fa6165;
 }
 
 .form-kjly ul {
     padding: 16px;
-    border: 1px solid #00b350;
+    border: 1px solid #fa6165;
     border-top: 0;
 }
 
@@ -1143,7 +1143,7 @@
 }
 
 .form-kjly ul li:hover {
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .form-kjly ul li::before {
@@ -1179,13 +1179,13 @@
 .join-form .fl strong {
     display: block;
     font-size: 20px;
-    color: #04935f;
+    color: #ee0f15;
 }
 
 .join-form .fl span {
     display: block;
     margin-top: 3px;
-    color: #04935f;
+    color: #ee0f15;
 }
 
 .join-form .fr {
@@ -1225,7 +1225,7 @@
     display: block;
     width: 340px;
     height: 40px;
-    background: #06a76d;
+    background: #ee0f15;
     font-size: 16px;
     color: #fff;
     font-weight: bold;
@@ -1275,7 +1275,7 @@
     width: 4px;
     height: 4px;
     margin-top: -2px;
-    background: #04935f;
+    background: #ee0f15;
     border-radius: 100%;
     -webkit-border-radius: 100%;
     -moz-border-radius: 100%;
@@ -1356,7 +1356,7 @@
     width: 4px;
     height: 4px;
     margin-top: -2px;
-    background: #06a76d;
+    background: #ee0f15;
     border-radius: 100%;
     -webkit-border-radius: 100%;
     -moz-border-radius: 100%;
@@ -1400,7 +1400,7 @@
 
 .brand-recome li em {
     font-size: 12px;
-    color: #04935f;
+    color: #ee0f15;
 }
 
 .join-information li {
@@ -1420,7 +1420,7 @@
     width: 4px;
     height: 4px;
     margin-top: -2px;
-    background: #04935f;
+    background: #ee0f15;
     border-radius: 100%;
     -webkit-border-radius: 100%;
     -moz-border-radius: 100%;
@@ -1546,7 +1546,8 @@
 
 .phb-box ul li em {
     float: left;
-    margin-left: 20px;
+    margin-left: 10px;
+    /*margin-left: 20px;*/
     font-size: 12px;
 }
 
@@ -1603,13 +1604,13 @@
     height: 48px;
     line-height: 48px;
     font-size: 18px;
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .phb-recommend h2 i {
     margin-right: 5px;
     font-size: 20px;
-    color: #06a76d;
+    color: #ee0f15;
 }
 
 .relist-1 {

+ 42 - 0
public/themes/mjmls/static/css/know-content.css

@@ -0,0 +1,42 @@
+.clearfix:after {
+	display: block;
+	content: '';
+	height: 0;
+	overflow: hidden;
+	visibility: hidden;
+	clear: both;
+	*zoom:1;
+}/*
+.know_show_left {
+	width: 70%;
+	border: 1px solid #ddd;
+	overflow: hidden;
+}
+.know_show_left dl {
+	padding: 0 30px;
+}
+.know_show_left dd {
+	margin: 0;
+	padding: 10px 0;
+	line-height: 21px;
+	color: #333;
+}
+.know_show_left dd span span {
+	color: #333;
+}
+.know_show_left dd i {
+	font-style: normal;
+	font-size: 16px;
+	padding: 0px 5px;
+}
+.know_show_left dd a {
+	padding: 0 5px
+	font-size: 16px;
+}
+.know_show_right {
+	float: right;
+	width: 28%;
+	height: 400px;
+	border: 1px solid #ddd;
+}*/
+

+ 62 - 0
public/themes/mjmls/static/css/know.css

@@ -0,0 +1,62 @@
+/*
+	[DESTOON B2B System] Copyright (c) 2008-2018 www.destoon.com
+	This is NOT a freeware, use is subject to license.txt
+*/
+a.konw_a:link,a.konw_a:active,a.konw_a:visited {color:#225588;text-decoration:none;}
+a.konw_a:hover {color:#FF6600;text-decoration:none;}
+.know_sch {line-height:180%;}
+.know_sch_inp {width:260px;padding:3px;margin:5px;font-size:14px;}
+.know_sch_btn {padding:3px 0 8px 6px;}
+.know_sch_item {padding:0 0 0 8px;color:green;}
+.know_box {padding:0 10px 10px 10px;}
+
+.know-stats {height:64px;margin:20px 0;}
+.know-stats li {width:99px;float:left;font-size:16px;height:64px;line-height:32px;text-align:center;}
+.know-stats div {height:64px;border-left:#DDDDDD 1px solid;border-right:#DDDDDD 1px solid;}
+.know-stats i {font-style:normal;display:block;font-size:14px;}
+
+.know-list {padding:0 0 24px 0;}
+.know-list .kl-avatar {width:32px;height:32px;text-align:center;}
+.know-list .kl-avatar img {width:20px;height:20px;border-radius:50%;}
+.know-list .kl-title {font-size:14px;}
+.know-list .kl-title div {height:32px;line-height:32px;overflow:hidden;}
+.know-list .kl-title span {background:url('../images/ico_reward.gif') no-repeat;font-size:12px;color:#666666;padding:0 2px 0 14px;}
+.know-list .kl-answer {width:60px;text-align:right;}
+.know-list .kl-process {width:60px;text-align:right;}
+.know-list .kl-date {width:120px;text-align:right;}
+
+.know-cate {padding-bottom:10px;}
+.know-cate p {margin:6px;}
+.know-cate div {padding:0 6px 10px 6px;line-height:24px;font-size:14px;}
+.know-cate strong {color:#007AFF;font-size:16px;}
+.know-cate em {font-style:normal;color:#666666;}
+.know-cate i {font-style:normal;color:#DDDDDD;padding:0 10px;}
+
+.know-expert div {width:215px;height:88px;float:left;overflow:hidden;color:#666666;}
+.know-expert img {float:left;border:#DDDDDD 1px solid;border-radius:50%;padding:2px;margin:0 16px 0 0;width:64px;height:64px;}
+.know-expert strong {font-size:16px;}
+.know-expert ul {width:128px;float:left;}
+.know-expert li {height:24px;line-height:24px;padding-right:16px;overflow:hidden;}
+.know-expert span {display:block;width:48px;height:22px;line-height:22px;text-align:center;float:left;border:#DDDDDD 1px solid;border-radius:6px;}
+.know-expert span:hover {border:#007BFF 1px solid;background:#007AFF;color:#FFFFFF;}
+
+.know_addition {border-top:#DDDDDD 1px solid;margin:0 16px;padding:10px;line-height:180%;font-size:14px;}
+.know_comment {border-top:#DDDDDD 1px solid;margin:0 16px;padding:10px;line-height:180%;font-size:14px;}
+.know_asker {border-top:#DDDDDD 1px solid;margin:0 16px 10px 16px;padding:10px;}
+.best_image {position:absolute;z-index:1;margin:32px 0 0 1128px;}
+
+.know_show {border:#DDDDDD 1px solid;margin-bottom:20px;}
+.know_show table {width:100%;border-collapse:collapse;border-spacing:0;}
+.know_show_l {width:200px;border-right:#DDDDDD 1px solid;}
+.know_show_l li {padding:16px 0 0 0;text-align:center;}
+.know_info {padding:6px 10px 8px 10px;border-bottom:#DDDDDD 1px solid;}
+.know_avatar {width:120px;height:120px;}
+
+.answer_body {padding:10px;margin:0 6px;line-height:180%;font-size:14px;}
+.answer_foot {border-bottom:#DDDDDD 1px solid;padding:0 10px 8px 10px;margin:0 6px;color:#666666;}
+.answer_head {border-bottom:#DDDDDD 1px solid;padding:10px 16px;font-size:16px;}
+.answer_box {border:#DDDDDD 1px solid;margin-bottom:20px;}
+.answer_box table {margin:16px 0;}
+.question_op {padding:16px 20px 10px 20px;line-height:24px;}
+.vote_s {height:10px;line-height:10px;font-size:1px;background:#FFA40D;}
+.vote_b {width:100%;height:10px;line-height:10px;font-size:1px;background:#FFF7D2;}

+ 23 - 14
public/themes/mjmls/static/css/master.css

@@ -35,7 +35,7 @@ input, button, select {
 }
 
 a:hover {
-	color: #04935F !important;
+	color: #ee0f15 !important;
 }
 
 input::-webkit-input-placeholder {
@@ -148,7 +148,7 @@ header {
 }
 
 .t-header p a:hover i {
-	color: #04935F;
+	color: #ee0f15;
 }
 
 .t-header p a {
@@ -165,7 +165,7 @@ header {
 }
 
 .t-header li:hover {
-	color: #04935F;
+	color: #ee0f15;
 }
 
 .t-header li a {
@@ -173,7 +173,7 @@ header {
 }
 
 .t-header li b {
-	color: #04935F;
+	color: #ee0f15;
 }
 
 .t-header li i {
@@ -188,7 +188,7 @@ header {
 }
 
 .t-header li:hover i {
-	color: #04935F;
+	color: #ee0f15;
 }
 
 .t-header li.wx div {
@@ -245,7 +245,7 @@ header {
 }
 
 .t-header li.web-nav dl:nth-of-type(2) dt {
-	color: #04935F;
+	color: #ee0f15;
 }
 
 .t-header li.web-nav dl:nth-of-type(3) dt {
@@ -281,7 +281,7 @@ header {
 .m-header .logo p {
 	margin-top: 5px;
 	font-size: 12px;
-	color: #04935F;
+	color: #ee0f15;
 	text-align: center;
 	letter-spacing: 2px;
 }
@@ -304,7 +304,7 @@ header {
 	padding-right: 100px;
 	line-height: 40px;
 	overflow: hidden;
-	border: 1px solid #04935F;
+	border: 1px solid #ee0f15;
 }
 
 .search-con .fa-search {
@@ -335,7 +335,7 @@ header {
 	height: 38px;
 	font-size: 18px;
 	color: #fff;
-	background: #04935F;
+	background: #ee0f15;
 	border: 0;
 	cursor: pointer;
 }
@@ -344,7 +344,7 @@ header {
 	max-width: 100%;
 	margin-top: 6px;
 	font-size: 12px;
-	color: #04935F;
+	color: #ee0f15;
 	overflow: hidden;
 }
 
@@ -760,9 +760,9 @@ footer p a {
 }
 
 .fixed-foot p {
-	width: 375px;
+	width: 260px;
 	padding-top: 30px;
-	margin-left: 25px;
+	margin-left: 5px;
 }
 
 .fixed-foot p strong {
@@ -783,6 +783,12 @@ footer p a {
 	float: right;
 	padding-top: 30px;
 	margin-right: 40px;
+	position: absolute;
+	top: 12px;
+	right: -20px;
+	/*float: right;
+	padding-top: 30px;
+	margin-right: 40px;*/
 }
 
 .fixed-foot input {
@@ -804,7 +810,10 @@ footer p a {
 	width: 160px;
 	background-image: url(../images/icon_user.png);
 }
-
+.fixed-foot .xm {
+	width: 160px;
+	background-image: url(../images/icon_project.png);
+}
 .fixed-foot .phone {
 	width: 240px;
 	background-image: url(../images/icon_tel.png);
@@ -813,7 +822,7 @@ footer p a {
 .fixed-foot .submit {
 	width: 140px;
 	padding-left: 0;
-	background: #06a76d;
+	background: #ee0f15;
 	font-size: 18px;
 	color: #fff;
 	cursor: pointer;

Різницю між файлами не показано, бо вона завелика
+ 1583 - 0
public/themes/mjmls/static/css1/index.css


Різницю між файлами не показано, бо вона завелика
+ 2065 - 0
public/themes/mjmls/static/css1/inside.css


+ 978 - 0
public/themes/mjmls/static/css1/master.css

@@ -0,0 +1,978 @@
+@charset "utf-8";
+body {
+	margin: 0;
+	padding: 0;
+	overflow-x: hidden;
+	background: #F4F5FA;
+}
+
+* {
+	margin: 0;
+	padding: 0;
+	font-size: 14px;
+	font-family: '微软雅黑', 'Microsoft YaHei', Verdana, Arial, Helvetica, sans-serif;
+	color: #666;
+	font-style: normal;
+	list-style: none;
+	text-decoration: none;
+	box-sizing: border-box;
+}
+
+article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
+	display: block;
+}
+
+img {
+	display: block;
+	max-width: 100%;
+	max-height: 100%;
+	border: none;
+}
+
+input, button, select {
+	border: 0;
+	outline: none;
+}
+
+a:hover {
+	color: #04935F !important;
+}
+
+input::-webkit-input-placeholder {
+	color: #aaa;
+}
+
+[placeholder]:focus::-webkit-input-placeholder {
+	-webkit-transition: opacity 0.5s ease;
+	-moz-transition: opacity 0.5s ease;
+	-o-transition: opacity 0.5s ease;
+	transition: opacity 0.5s ease;
+	opacity: 0
+}
+
+[placeholder]:focus::-moz-input-placeholder {
+	-webkit-transition: opacity 0.5s ease;
+	-moz-transition: opacity 0.5s ease;
+	-o-transition: opacity 0.5s ease;
+	transition: opacity 0.5s ease;
+	opacity: 0
+}
+
+a, a img, input {
+	-webkit-transition: all 0.18s ease-out;
+	-o-transition: all 0.18s ease-out;
+	-moz-transition: all 0.18s ease-out;
+	transition: all 0.18s ease-out;
+}
+
+.clearfix:after {
+	content: "";
+	display: block;
+	height: 0;
+	visibility: hidden;
+	clear: both;
+}
+
+.clearfix {
+	zoom: 1;
+}
+
+.nowrap {
+	overflow: hidden;
+	-o-text-overflow: ellipsis;
+	text-overflow: ellipsis;
+	white-space: nowrap;
+}
+
+.fl {
+	float: left;
+}
+
+.fr {
+	float: right;
+}
+
+.container {
+	position: relative;
+	width: 1200px;
+	margin: 0 auto;
+}
+
+.mt20 {
+	margin-top: 20px;
+}
+
+.mt10 {
+	margin-top: 10px;
+}
+
+.mt30 {
+	margin-top: 30px;
+}
+
+.ml20 {
+	margin-left: 20px;
+}
+
+.mb30 {
+	margin-bottom: 30px;
+}
+
+.pc_show {
+	display: none;
+}
+
+/* top */
+
+header {
+	background: #fff;
+}
+
+.t-header {
+	height: 36px;
+	line-height: 36px;
+	background: #e3e4e5;
+}
+
+.t-header p {
+	font-size: 12px;
+	color: #999;
+}
+
+.t-header p i {
+	vertical-align: top;
+	margin-right: 3px;
+	font-size: 18px;
+	color: #777;
+	line-height: 36px;
+}
+
+.t-header p a:hover i {
+	color: #04935F;
+}
+
+.t-header p a {
+	padding: 0 10px;
+	font-size: 12px;
+}
+
+.t-header li {
+	position: relative;
+	float: left;
+	padding: 0 12px;
+	font-size: 12px;
+	cursor: pointer;
+}
+
+.t-header li:hover {
+	color: #04935F;
+}
+
+.t-header li a {
+	font-size: 12px;
+}
+
+.t-header li b {
+	color: #04935F;
+}
+
+.t-header li i {
+	vertical-align: middle;
+	margin-top: -4px;
+	margin-right: 8px;
+	font-size: 20px;
+}
+
+.t-header li i.fa-weixin {
+	font-size: 16px;
+}
+
+.t-header li:hover i {
+	color: #04935F;
+}
+
+.t-header li.wx div {
+	z-index: 99;
+	position: absolute;
+	top: 36px;
+	left: 50%;
+	display: none;
+	width: 120px;
+	height: 120px;
+	margin-left: -60px;
+	box-shadow: 0 0 6px rgba(0, 0, 0, .3)
+}
+
+.t-header li.wx:hover div {
+	display: block;
+}
+
+.t-header li.web-nav i {
+	margin-right: 4px;
+	font-size: 16px;
+}
+
+.t-header li.web-nav div {
+	z-index: 999;
+	position: absolute;
+	top: 36px;
+	right: 0;
+	width: 300px;
+	display: none;
+	padding: 15px 20px;
+	padding-bottom: 0;
+	background: #Fff;
+	border: 1px solid #e5e5e5;
+}
+
+.t-header li.web-nav dl {
+	display: block;
+	padding-bottom: 15px;
+	margin-bottom: 15px;
+	line-height: 24px;
+	overflow: hidden;
+	border-bottom: 1px solid #e5e5e5;
+}
+
+.t-header li.web-nav dl:last-child {
+	border-bottom: 0;
+}
+
+.t-header li.web-nav dt {
+	display: block;
+	font-size: 12px;
+	color: #8a9b42;
+}
+
+.t-header li.web-nav dl:nth-of-type(2) dt {
+	color: #04935F;
+}
+
+.t-header li.web-nav dl:nth-of-type(3) dt {
+	color: #ff9326;
+}
+
+.t-header li.web-nav dd {
+	display: block;
+	width: 270px;
+}
+
+.t-header li.web-nav dd a {
+	display: inline-block;
+	margin-right: 15px;
+}
+
+.t-header li.web-nav:hover div {
+	display: block;
+}
+
+.m-header {
+	padding: 20px 0;
+}
+
+.m-header .logo {
+	max-width: 240px;
+}
+
+.m-header .logo a {
+	display: block;
+}
+
+.m-header .logo p {
+	margin-top: 5px;
+	font-size: 12px;
+	color: #04935F;
+	text-align: center;
+	letter-spacing: 2px;
+}
+
+.search-con {
+	position: relative;
+	width: 520px;
+	margin-right: 40px;
+	margin-top: 8px;
+	font-size: 0;
+}
+
+.search-con form {
+	position: relative;
+	display: block;
+	width: 100%;
+	height: 40px;
+	margin-bottom: 8px;
+	padding-left: 40px;
+	padding-right: 100px;
+	line-height: 40px;
+	overflow: hidden;
+	border: 1px solid #04935F;
+}
+
+.search-con .fa-search {
+	position: absolute;
+	left: 0;
+	top: 0;
+	width: 40px;
+	height: 40px;
+	font-size: 22px;
+	color: #bbb;
+	line-height: 36px;
+	text-align: center;
+	-webkit-text-stroke: 1px #fff;
+}
+
+.search-con .s-input {
+	width: 100%;
+	height: 100%;
+	border: 0;
+	color: #666;
+}
+
+.search-con .s-button {
+	position: absolute;
+	top: 0;
+	right: 0;
+	width: 100px;
+	height: 38px;
+	font-size: 18px;
+	color: #fff;
+	background: #04935F;
+	border: 0;
+	cursor: pointer;
+}
+
+.search-con p {
+	max-width: 100%;
+	margin-top: 6px;
+	font-size: 12px;
+	color: #04935F;
+	overflow: hidden;
+}
+
+.search-con p b {
+	font-size: 12px;
+}
+
+.search-con p a {
+	display: inline-block;
+	font-size: 12px;
+	color: #777;
+	margin-right: 10px;
+}
+
+.m-header-sider {
+	margin-top: 8px;
+	overflow: hidden;
+}
+
+.m-header-sider p {
+	margin-left: 10px;
+}
+
+.m-header-sider p a {
+	display: block;
+	width: 110px;
+	height: 38px;
+	background: #F4E9C7;
+	text-align: center;
+	line-height: 38px;
+	color: #856F31;
+}
+
+.m-header-sider p a:last-child {
+	margin-top: 8px;
+}
+
+.m-header-sider p a:hover {
+	background: #A0875A;
+	color: #fff!important;
+}
+
+.m-header-sider p i {
+	margin-right: 6px;
+	font-size: 16px;
+	color: #856F31;
+}
+
+.m-header-sider p a:hover i {
+	color: #fff;
+}
+
+/*导航*/
+
+.navigation {
+	width: 100%;
+	height: 40px;
+	line-height: 40px;
+	background: #3A3A41;
+}
+
+.fl-nav {
+	position: relative;
+	width: 240px;
+	height: 40px;
+	margin-right: 25px;
+	background: #4B4B5B;
+	text-align: center;
+	cursor: pointer;
+}
+
+.fl-nav span {
+	display: block;
+	font-size: 16px;
+	color: #fff;
+}
+
+.fl-nav i {
+	vertical-align: middle;
+	margin-right: 10px;
+	margin-top: -3px;
+	font-size: 20px;
+	color: #fff;
+	-webkit-text-stroke: 1px #4B4B5B;
+}
+
+.nav-list li {
+	float: left;
+	margin-right: 20px;
+	position: relative;
+}
+
+.nav-list li:nth-of-type(2)::after {
+	position: absolute;
+	content: url(../images/icon_hot.png);
+	top: -4px;
+	right: -10px;
+}
+
+.nav-list li:hover::before, .nav-list li.active::before {
+	position: absolute;
+	content: '';
+	left: 50%;
+	bottom: 2px;
+	width: 20px;
+	height: 4px;
+	margin-left: -10px;
+	background: #bfaa6e;
+	border-radius: 4px;
+	-webkit-border-radius: 4px;
+	-moz-border-radius: 4px;
+	-ms-border-radius: 4px;
+	-o-border-radius: 4px;
+}
+
+.nav-list li.active, .nav-list li:hover {
+	background: #23232A;
+}
+
+.nav-list li a {
+	display: block;
+	padding: 0 22px;
+	font-size: 16px;
+	color: #fff!important;
+}
+
+/* link */
+
+.linkCon {
+	padding: 30px;
+	background: #fff;
+}
+
+.linkCon h2 {
+	position: relative;
+	height: 35px;
+	font-size: 18px;
+	font-weight: normal;
+	color: #333;
+	line-height: 24px;
+	border-bottom: 1px solid #dfdfdf;
+}
+
+.linkCon h2::before {
+	position: absolute;
+	content: '';
+	left: 0;
+	bottom: -1px;
+	width: 72px;
+	border-bottom: 1px solid #333;
+}
+
+.linkCon ul {
+	width: 1200px;
+}
+
+.linkCon ul li {
+	display: inline-block;
+	vertical-align: top;
+	margin-top: 15px;
+	margin-right: 20px;
+}
+
+/*底部*/
+
+.online-box {
+	padding: 24px 0;
+	background: #00704A;
+}
+
+footer {
+	padding-top: 30px;
+	background: url(../images/fd_bg.png) center bottom no-repeat;
+	background-size: cover;
+}
+
+.foot-nav {
+	line-height: 50px;
+	text-align: center;
+}
+
+.foot-nav li {
+	position: relative;
+	display: inline-block;
+	vertical-align: top;
+	margin: 0 15px;
+}
+
+.foot-nav li a {
+	color: #fff;
+}
+
+.ftlx-box {
+	margin-top: 30px;
+}
+
+.ftlx-box .fl strong {
+	font-size: 18px;
+	color: #eee;
+	font-weight: normal;
+}
+
+.ftlx-box .fl span {
+	display: block;
+	margin-top: 15px;
+	color: #eee;
+}
+
+.ftlx-box .fr span {
+	display: inline-block;
+	vertical-align: top;
+	width: 100px;
+	margin-left: 15px;
+	text-align: center;
+	color: #ccc;
+}
+
+.ftlx-box .fr span img {
+	margin-bottom: 5px;
+}
+
+footer p {
+	margin-top: 40px;
+	padding: 15px 0;
+	font-size: 12px;
+	color: #bbb;
+	text-align: center;
+	line-height: 24px;
+	border-top: 1px solid #666;
+}
+
+footer p a {
+	font-size: 12px;
+	color: #ccc;
+}
+
+/* 侧边栏 */
+
+.siderBar {
+	position: fixed;
+	top: 250px;
+	right: 0;
+	-width: 36px;
+	z-index: 99;
+}
+
+.siderBar>div {
+	width: 36px;
+	padding: 14px 5px;
+	text-align: center;
+	cursor: pointer;
+	line-height: 17px;
+}
+
+.free-tel {
+	background: #fffbef;
+	color: #856f31;
+	border: 1px solid #bca35b;
+}
+
+.free-tel:hover {
+	background: #f4e9c7;
+}
+
+.siderBar i {
+	margin-bottom: 4px;
+	font-size: 20px;
+	color: #856f31;
+}
+
+.online {
+	background: #bca35b;
+}
+
+.online:hover {
+	background: #a0875a
+}
+
+.online a {
+	display: block;
+	color: #fff!important;
+}
+
+.online i {
+	color: #fff;
+}
+
+.side-wx {
+	position: relative;
+	margin-top: 2px;
+	background: #fff;
+	border: 1px solid #ccc;
+}
+
+.side-wx:hover {
+	background: #999;
+	color: #fff;
+}
+
+.side-wx span {
+	position: absolute;
+	right: 50px;
+	top: 0;
+	display: none;
+	width: 85px;
+	box-shadow: 0 0 5px rgba(0, 0, 0, .2);
+}
+
+.side-wx span::after {
+	position: absolute;
+	content: '';
+	top: 50%;
+	right: -16px;
+	margin-top: -8px;
+	border: 8px solid transparent;
+	border-left-color: #fff;
+}
+
+.side-wx i {
+	color: #bcbcbc;
+}
+
+.side-wx:hover i {
+	color: #fff;
+}
+
+.side-wx:hover span {
+	display: block;
+}
+.input-select {
+	border: 1px solid #e5e5e5;
+	width: 140px;
+	height: 40px;
+	line-height: 40px;
+}
+.complaint {
+	margin-top: 2px;
+	background: #999;
+	border: 1px solid #ccc;
+}
+
+.complaint a, .complaint i {
+	color: #fff;
+}
+
+.complaint i {
+	color: #fff;
+}
+
+.complaint:hover {
+	background: #fff;
+}
+
+.complaint:hover a {
+	color: #666!important;
+}
+
+.complaint:hover i {
+	color: #bcbcbc;
+}
+
+.siderBar .go-top {
+	display: none;
+	padding: 6px 2px;
+	margin-top: 2px;
+	background: #fff;
+	border: 1px solid #ccc;
+}
+
+.siderBar .go-top:hover {
+	border: 1px solid #a0875a;
+	color: #a0875a;
+}
+
+.go-top i {
+	margin-bottom: 0;
+	color: #999;
+}
+
+/*  */
+
+.spot-bg {
+	z-index: 666;
+	position: fixed;
+	top: 0;
+	left: 0;
+	display: none;
+	width: 100%;
+	height: 100%;
+	background: rgba(0, 0, 0, .5);
+}
+
+.fixed-foot {
+	z-index: 667;
+	position: fixed;
+	left: 0;
+	bottom: -170px;
+	width: 100%;
+	height: 120px;
+	background: #222;
+	transition: all 0.3s ease;
+	-webkit-transition: all 0.3s ease;
+	-moz-transition: all 0.3s ease;
+	-ms-transition: all 0.3s ease;
+	-o-transition: all 0.3s ease;
+}
+
+.fixed-foot img {
+	position: relative;
+	top: -56px;
+	float: left;
+	width: 173px;
+}
+
+.fixed-foot p {
+	width: 375px;
+	padding-top: 30px;
+	margin-left: 25px;
+}
+
+.fixed-foot p strong {
+	display: block;
+	font-size: 26px;
+	color: #fff;
+	line-height: 35px;
+}
+
+.fixed-foot p span {
+	display: block;
+	font-size: 12px;
+	color: #70777A;
+	margin-top: 6px;
+}
+
+.fixed-foot form {
+	float: right;
+	padding-top: 30px;
+	margin-right: 40px;
+}
+
+.fixed-foot input {
+	height: 44px;
+	margin-right: 10px;
+	padding-left: 32px;
+	background: #fff;
+	background-repeat: no-repeat;
+	background-position: 10px center;
+	background-size: 16px;
+	border-radius: 2px;
+	-webkit-border-radius: 2px;
+	-moz-border-radius: 2px;
+	-ms-border-radius: 2px;
+	-o-border-radius: 2px;
+}
+
+.fixed-foot .name {
+	width: 160px;
+	background-image: url(../images/icon_user.png);
+}
+
+.fixed-foot .phone {
+	width: 240px;
+	background-image: url(../images/icon_tel.png);
+}
+
+.fixed-foot .submit {
+	width: 140px;
+	padding-left: 0;
+	background: #06a76d;
+	font-size: 18px;
+	color: #fff;
+	cursor: pointer;
+}
+
+.fixed-foot-on {
+	bottom: 0;
+}
+
+.fixed-foot i {
+	position: absolute;
+	right: 0;
+	top: 38px;
+	font-size: 30px;
+	color: #ddd;
+	cursor: pointer;
+	-webkit-text-stroke: 5px #222;
+}
+
+.hb-title {
+	padding-top: 30px;
+	padding-bottom: 20px;
+	font-size: 22px;
+	color: #333;
+}
+
+.hb-title i {
+	vertical-align: middle;
+	margin-top: -4px;
+	margin-right: 8px;
+	font-size: 28px;
+}
+
+.hb-title>a {
+	float: right;
+	margin-top: 6px;
+	color: #999;
+	font-weight: normal;
+}
+
+@media screen and (max-width:768px) {
+	.mob_none {
+		display: none!important;
+	}
+	.pc_show {
+		display: block;
+	}
+	.container {
+		width: 100%;
+		padding: 0;
+	}
+	.m-header {
+		padding: 0 15px;
+		height: 50px;
+		border-bottom: 1px solid #e4e7e8;
+	}
+	.m-header .logo {
+		height: 30px;
+		margin-top: 10px;
+	}
+	.m-header .logo a {
+		height: 100%;
+	}
+	.m-header .logo img {
+		width: auto;
+		height: 100%;
+	}
+	.m-header i {
+		position: absolute;
+		right: 15px;
+		top: 10px;
+		height: 30px;
+		line-height: 30px;
+		font-size: 30px;
+		color: #777;
+		-webkit-text-stroke: 1px #fff;
+	}
+	.mob-navigation {
+		z-index: 9999;
+		position: fixed;
+		top: 0;
+		left: 0;
+		right: 0;
+		bottom: 0;
+		padding: 0 50px;
+		padding-top: 90px;
+		background: #fff;
+		opacity: 0;
+		transform: scale(0);
+		-webkit-transform: scale(0);
+		-moz-transform: scale(0);
+		-ms-transform: scale(0);
+		-o-transform: scale(0);
+		text-align: center;
+		transition: all 0.3s ease;
+		-webkit-transition: all 0.3s ease;
+		-moz-transition: all 0.3s ease;
+		-ms-transition: all 0.3s ease;
+		-o-transition: all 0.3s ease;
+	}
+	.mob-navigation.on {
+		opacity: 1;
+		transform: scale(1);
+		-webkit-transform: scale(1);
+		-moz-transform: scale(1);
+		-ms-transform: scale(1);
+		-o-transform: scale(1);
+	}
+	.mob-navigation li a {
+		display: block;
+		line-height: 50px;
+		font-size: 16px;
+		border-bottom: 1px solid #eee;
+	}
+	.mob-navigation li:last-child a {
+		border-bottom: 0;
+	}
+	.mob-navigation i {
+		position: absolute;
+		right: 20px;
+		top: 20px;
+		font-size: 40px;
+		color: #666;
+		-webkit-text-stroke: 5px #fff;
+	}
+	/*  */
+	.linkCon {
+		padding: 10px;
+	}
+	.linkCon ul {
+		width: 104%;
+	}
+	/* foot */
+	footer {
+		margin-top: 30px;
+	}
+	.foot-nav {
+		line-height: 30px;
+	}
+	.foot-nav ul li {
+		padding: 0 4px;
+	}
+	.ftlx-box {
+		padding: 0 20px;
+	}
+	.ftlx-box .fr {
+		width: 100%;
+		margin-top: 20px;
+	}
+	.ftlx-box .fr span {
+		margin-left: 0;
+		margin-right: 20px;
+	}
+	footer p {
+		margin-top: 30px;
+		padding: 20px;
+	}
+	.bgf {
+		margin-top: 0;
+		padding: 0 10px 30px 10px;
+	}
+}

BIN
public/themes/mjmls/static/images/1.png


BIN
public/themes/mjmls/static/images/2.png


BIN
public/themes/mjmls/static/images/3.png


BIN
public/themes/mjmls/static/images/huo01.png


BIN
public/themes/mjmls/static/images/huo02.png


BIN
public/themes/mjmls/static/images/huo03.png


BIN
public/themes/mjmls/static/images/icon_project.png


BIN
public/themes/mjmls/static/images/know_0.gif


BIN
public/themes/mjmls/static/images/know_1.gif


+ 2 - 1
public/themes/mjmls/static/js/base.js

@@ -8,7 +8,8 @@ $(function () {
         $(".mob-navigation").removeClass("on");
     });
 
-    $('.free-tel').click(function () {
+    $('.free-tel,.zixun').click(function () {
+        document.getElementById('liuyanForm').reset();
         $(".spot-bg").css("display", "block");
         $('.fixed-foot').addClass('fixed-foot-on');
     })

+ 60 - 0
vendor/thinkcmf/cmf/src/common.php

@@ -2303,4 +2303,64 @@ function httpGet($url, $dataType='array', $timeout=60){
         $ret = $retArr;
     }
     return $ret;
+}
+
+/**
+ * 过滤字符串
+ * @param $str
+ * @return string
+ */
+function strFilter($str){
+    $str = str_replace('`', '', $str);
+    $str = str_replace('·', '', $str);
+    $str = str_replace('~', '', $str);
+    $str = str_replace('!', '', $str);
+    $str = str_replace('!', '', $str);
+    $str = str_replace('@', '', $str);
+    $str = str_replace('#', '', $str);
+    $str = str_replace('$', '', $str);
+    $str = str_replace('¥', '', $str);
+    $str = str_replace('%', '', $str);
+    $str = str_replace('^', '', $str);
+    $str = str_replace('……', '', $str);
+    $str = str_replace('&', '', $str);
+    $str = str_replace('*', '', $str);
+    $str = str_replace('(', '', $str);
+    $str = str_replace(')', '', $str);
+    $str = str_replace('(', '', $str);
+    $str = str_replace(')', '', $str);
+    $str = str_replace('-', '', $str);
+    $str = str_replace('_', '', $str);
+    $str = str_replace('——', '', $str);
+    $str = str_replace('+', '', $str);
+    $str = str_replace('=', '', $str);
+    $str = str_replace('|', '', $str);
+    $str = str_replace('\\', '', $str);
+    $str = str_replace('[', '', $str);
+    $str = str_replace(']', '', $str);
+    $str = str_replace('【', '', $str);
+    $str = str_replace('】', '', $str);
+    $str = str_replace('{', '', $str);
+    $str = str_replace('}', '', $str);
+    $str = str_replace(';', '', $str);
+    $str = str_replace(';', '', $str);
+    $str = str_replace(':', '', $str);
+    $str = str_replace(':', '', $str);
+    $str = str_replace('\'', '', $str);
+    $str = str_replace('"', '', $str);
+    $str = str_replace('“', '', $str);
+    $str = str_replace('”', '', $str);
+    $str = str_replace(',', '', $str);
+    $str = str_replace(',', '', $str);
+    $str = str_replace('<', '', $str);
+    $str = str_replace('>', '', $str);
+    $str = str_replace('《', '', $str);
+    $str = str_replace('》', '', $str);
+    $str = str_replace('.', '', $str);
+    $str = str_replace('。', '', $str);
+    $str = str_replace('/', '', $str);
+    $str = str_replace('、', '', $str);
+    $str = str_replace('?', '', $str);
+    $str = str_replace('?', '', $str);
+    return trim($str);
 }