diff --git a/Application/Media/Controller/ServiceController.class.php b/Application/Media/Controller/ServiceController.class.php index b783d66e1..9833b57d8 100644 --- a/Application/Media/Controller/ServiceController.class.php +++ b/Application/Media/Controller/ServiceController.class.php @@ -8,106 +8,122 @@ // +---------------------------------------------------------------------- namespace Media\Controller; + use Admin\Model\GameModel; /** * 文档模型控制器 * 文档模型列表和详情 */ -class ServiceController extends BaseController { - - public function index($value=''){ - $yidata=M('Kefuquestion') - ->field('title,titleurl') - ->where(array('state'=>1,'title'=>array('neq','常见问题'))) - ->group('title') - ->select(); - $erdata=M('Kefuquestion') - ->where(array('state'=>1,'istitle'=>2,'title'=>'常见问题')) - ->select(); - - $oftendata=M('Kefuquestion') - ->where(array('state'=>1,'istitle'=>2,'title'=>array('eq','常见问题'))) - ->select(); - $this->assign('oftendata',$oftendata); - $this->assign('yidata',$yidata); - $this->assign('erdata',$erdata); - $this->display(); - } - public function detail(){ - $yidata=M('Kefuquestion') - ->field('title,titleurl') - ->where(array('status'=>1,'istitle'=>1)) - ->group('title') - ->order('id asc') - ->select(); - if(I('kefu')!=''){ - $map1['status']=1; - $map1['istitle']=2; - $map1['titleurl']=I('kefu'); - if($_REQUEST['para']!=''){ - $map1['id']=$_REQUEST['para']; - } - $erdata=M('Kefuquestion') - ->where($map1) - ->order('sort desc') - ->select(); - $title=M('Kefuquestion') - ->where(array('titleurl'=>I('kefu'))) - ->find(); - $this->assign('title',$title); - } - $this->assign('yidata',$yidata); - $this->assign('erdata',$erdata); - $this->display(); - } - public function uploadAvatar() { - // 成功 $this->ajaxReturn(array('state'=>'SUCCESS','url'=>'图片地址'),C('DEFAULT_AJAX_RETURN')); - $this->ajaxReturn(array('state'=>'上传失败'),C('DEFAULT_AJAX_RETURN')); - } - - public function sask() { - if(IS_POST) { - - } - - $this->display(); - } - - public function sask2() { - if(IS_POST) { - - } - - $this->display(); - } - - public function sask3() { - if(IS_POST) { - - } - - $this->display(); - } - - public function spwd($p=1) { - $this->display(); - } - - public function spay($p=1) { - $this->display(); - } - - public function saccont($p=1) { - $this->display(); - } - - public function sgift($p=1) { - $this->display(); - } - - public function sother($p=1) { - $this->display(); - } +class ServiceController extends BaseController +{ + + public function index($value = '') + { + $yidata = M('Kefuquestion') + ->field('title,titleurl') + ->where(array('state' => 1, 'title' => array('neq', '常见问题'))) + ->group('title') + ->select(); + $erdata = M('Kefuquestion') + ->where(array('state' => 1, 'istitle' => 2, 'title' => '常见问题')) + ->select(); + + $oftendata = M('Kefuquestion') + ->where(array('state' => 1, 'istitle' => 2, 'title' => array('eq', '常见问题'))) + ->select(); + $this->assign('oftendata', $oftendata); + $this->assign('yidata', $yidata); + $this->assign('erdata', $erdata); + $this->display(); + } + + public function detail() + { + $yidata = M('Kefuquestion') + ->field('title,titleurl') + ->where(array('status' => 1, 'istitle' => 1)) + ->group('title') + ->order('id asc') + ->select(); + if (I('kefu') != '') { + $map1['status'] = 1; + $map1['istitle'] = 2; + $map1['titleurl'] = I('kefu'); + empty(I('get.search')) || $map1['zititle'] = ['like', '%' . I('get.search') . '%']; + if ($_REQUEST['para'] != '') { + $map1['id'] = $_REQUEST['para']; + } + $erdata = M('Kefuquestion') + ->where($map1) + ->order('sort desc') + ->select(); + $title = M('Kefuquestion') + ->where(array('titleurl' => I('kefu'))) + ->find(); + $this->assign('title', $title); + } + $this->assign('yidata', $yidata); + $this->assign('erdata', $erdata); + $this->display(); + } + + public function uploadAvatar() + { + // 成功 $this->ajaxReturn(array('state'=>'SUCCESS','url'=>'图片地址'),C('DEFAULT_AJAX_RETURN')); + $this->ajaxReturn(array('state' => '上传失败'), C('DEFAULT_AJAX_RETURN')); + } + + public function sask() + { + if (IS_POST) { + + } + + $this->display(); + } + + public function sask2() + { + if (IS_POST) { + + } + + $this->display(); + } + + public function sask3() + { + if (IS_POST) { + + } + + $this->display(); + } + + public function spwd($p = 1) + { + $this->display(); + } + + public function spay($p = 1) + { + $this->display(); + } + + public function saccont($p = 1) + { + $this->display(); + } + + public function sgift($p = 1) + { + $this->display(); + } + + public function sother($p = 1) + { + $this->display(); + } } diff --git a/Application/Media/View/default/Service/detail.html b/Application/Media/View/default/Service/detail.html index 4dcdf8e77..dc66c8ed9 100644 --- a/Application/Media/View/default/Service/detail.html +++ b/Application/Media/View/default/Service/detail.html @@ -1,150 +1,192 @@ - - - + + + + +
-
当前位置: 客服中心
+
+
+ 当前位置: 客服中心 +
+
+ + +
+
-
+
-

{$title.title}

- +

{$title.title}

+
    - -
  • -
    {$er['zititle']}
    -
    -

     {$er['contend']}

    -


    -

    -
    -
  • -
    + +
  • +
    {$er['zititle']}
    +
    +

     {$er['contend']}

    +


    +

    +
    +
  • +
暂无此类问题哦~
-
+
- - + +
- - - + + + \ No newline at end of file diff --git a/Public/static/icons_alibaba/iconfont.css b/Public/static/icons_alibaba/iconfont.css index 72ae30990..9cce5fc11 100644 --- a/Public/static/icons_alibaba/iconfont.css +++ b/Public/static/icons_alibaba/iconfont.css @@ -1,10 +1,10 @@ @font-face {font-family: "iconfont"; - src: url('iconfont.eot?t=1569546352126'); /* IE9 */ - src: url('iconfont.eot?t=1569546352126#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAUAAAsAAAAAC3wAAASyAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEFgqILIY9ATYCJAMsCxgABCAFhG0HgS8brAkRFaQrkP08sG0eW1ljTcMvS4sUj54tD9Mwzf8cBPRb+rPsQgiXkxipm19TV6iq/oo41J7qBQDoMfuh0uKaEcqfjzCHcvbJo297aS4r8Oj/xlydekj6p9fWy93EHdVkkng0FhokHiGJePRMyBDKcmcYnuFCHMyHIQCLbBRB1KnXpA0mCnKUAMSg9GhPTFsEFSIVmH7D50KFWIKOqc3VbgCL1b8XXyklTNDQJeRRLfrV7UMNj0/FpRNz6CKn4+SXAm6XgQSKAArEIt/MHKTeVQSJ9XkLRRcghImG4Qkvr5/Td/3Vn4rHYh5eHj+HnbFqKpko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M2KHDLjx/Qfc+HtAxM9Ywzql8fHmrEuE8ueZirq0IC+jQwO+EQptLQrANF/vx2q2rOm6IhbBrSSjuvpy/e56W0/VWYh3/yMMEnRDIfLY/nx2k94OrKnA/KxCX9eg6eNh+PRodnau/eBa+N7Qk9LC/e/1HRHEW4h+TnaVjrFWVl8cew/w0pqIqOn9eW8ZZ3Rni4uAAA=') format('woff2'), - url('iconfont.woff?t=1569546352126') format('woff'), - url('iconfont.ttf?t=1569546352126') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ - url('iconfont.svg?t=1569546352126#iconfont') format('svg'); /* iOS 4.1- */ + src: url('iconfont.eot?t=1570870899994'); /* IE9 */ + src: url('iconfont.eot?t=1570870899994#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAVUAAsAAAAADBAAAAUEAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCELAqJGIcgATYCJAMwCxoABCAFhG0HgTsbNQoRFaSZkH1xwJv6gmNIQk1g8ltlso971mEXikzzP0cQrensPSQpkwKU8QWyZWFI1YgIV0Blqmt0hfkvGJGDPGvSVAtI7QFI1ta9YAQAooxJVvi6bJlrytZHmJvybZefHrjA5ZkN4df/jbk69ZD0T6+tl7uJKuKeeDSWiJJ4hCTi2TIhWgiRh23BdhULqzD7pQ8T6LFAGbJv6+wNVDlxVCDujtIjgBqKyDOkoekviQtziAcgaaYUwjqAe/vv4x80gwqSIgPxqGOaTTSYP4MXaij2vwPBaBxgzaVwu4wMm0BOfJCZJ0Dd5k2onk9nolsAQ/KGKBXyTOaZ8XOJ5/jzohdq//9X4JKOUcUZhZNRPwzhxE3lvS8/kMmVCr1C0tDU6uSfV4Lw9CHzpaWXCrR12a2IyKmkESWVDKKgMkb0UosjgloCkahxgll1ISKa1EWIFj9qy/UM6fApYAzEEUB8Mua5K0lm0LNiSENCl5+Tk0tYmDnJThRWX5SRmfMq6+CuKKlq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Qt6um798U9bj+8phGfzhwlumFatuN6Pn97vlXJHSi5PdKhqXRac3IvCY5Ho6UQbt4Hro1uHSa3tHz7S003LsctND2W0GpniE3Ap0jp06P+N8WYaH05r1W5hOP91nftBKucnQEAAAA=') format('woff2'), + url('iconfont.woff?t=1570870899994') format('woff'), + url('iconfont.ttf?t=1570870899994') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1570870899994#iconfont') format('svg'); /* iOS 4.1- */ } .iconfont { @@ -55,3 +55,7 @@ content: "\e82f"; } +.iconicon-test:before { + content: "\e63c"; +} + diff --git a/Public/static/icons_alibaba/iconfont.eot b/Public/static/icons_alibaba/iconfont.eot index 13b631613..e738345bf 100644 Binary files a/Public/static/icons_alibaba/iconfont.eot and b/Public/static/icons_alibaba/iconfont.eot differ diff --git a/Public/static/icons_alibaba/iconfont.js b/Public/static/icons_alibaba/iconfont.js index f1cb7a52d..ca21a83cc 100644 --- a/Public/static/icons_alibaba/iconfont.js +++ b/Public/static/icons_alibaba/iconfont.js @@ -1 +1 @@ -!function(a){var t,c='',e=(t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss");if(e&&!a.__iconfont__svg__cssinject__){a.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console&&console.log(t)}}!function(t){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(t,0);else{var e=function(){document.removeEventListener("DOMContentLoaded",e,!1),t()};document.addEventListener("DOMContentLoaded",e,!1)}else document.attachEvent&&(n=t,o=a.document,i=!1,(l=function(){try{o.documentElement.doScroll("left")}catch(t){return void setTimeout(l,50)}c()})(),o.onreadystatechange=function(){"complete"==o.readyState&&(o.onreadystatechange=null,c())});function c(){i||(i=!0,n())}var n,o,i,l}(function(){var t,e;(t=document.createElement("div")).innerHTML=c,c=null,(e=t.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",function(t,e){e.firstChild?function(t,e){e.parentNode.insertBefore(t,e)}(t,e.firstChild):e.appendChild(t)}(e,document.body))})}(window); \ No newline at end of file +!function(a){var t,c='',e=(t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss");if(e&&!a.__iconfont__svg__cssinject__){a.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console&&console.log(t)}}!function(t){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(t,0);else{var e=function(){document.removeEventListener("DOMContentLoaded",e,!1),t()};document.addEventListener("DOMContentLoaded",e,!1)}else document.attachEvent&&(o=t,n=a.document,i=!1,(l=function(){try{n.documentElement.doScroll("left")}catch(t){return void setTimeout(l,50)}c()})(),n.onreadystatechange=function(){"complete"==n.readyState&&(n.onreadystatechange=null,c())});function c(){i||(i=!0,o())}var o,n,i,l}(function(){var t,e;(t=document.createElement("div")).innerHTML=c,c=null,(e=t.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",function(t,e){e.firstChild?function(t,e){e.parentNode.insertBefore(t,e)}(t,e.firstChild):e.appendChild(t)}(e,document.body))})}(window); \ No newline at end of file diff --git a/Public/static/icons_alibaba/iconfont.svg b/Public/static/icons_alibaba/iconfont.svg index c1bc5cc79..3a3f91969 100644 --- a/Public/static/icons_alibaba/iconfont.svg +++ b/Public/static/icons_alibaba/iconfont.svg @@ -50,6 +50,9 @@ Created by iconfont + + + diff --git a/Public/static/icons_alibaba/iconfont.ttf b/Public/static/icons_alibaba/iconfont.ttf index a647d9bd1..fe69cbe05 100644 Binary files a/Public/static/icons_alibaba/iconfont.ttf and b/Public/static/icons_alibaba/iconfont.ttf differ diff --git a/Public/static/icons_alibaba/iconfont.woff b/Public/static/icons_alibaba/iconfont.woff index 7416d85fa..26361367d 100644 Binary files a/Public/static/icons_alibaba/iconfont.woff and b/Public/static/icons_alibaba/iconfont.woff differ diff --git a/Public/static/icons_alibaba/iconfont.woff2 b/Public/static/icons_alibaba/iconfont.woff2 index 39089b19a..c3d731404 100644 Binary files a/Public/static/icons_alibaba/iconfont.woff2 and b/Public/static/icons_alibaba/iconfont.woff2 differ