Files
orico-official-website-old/app/mobile/view/group/question.phtml
2024-10-29 14:04:59 +08:00

91 lines
3.4 KiB
PHTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>常见_下载与服务_中文官网帮助信息_ORICO/奥睿科官网</title>
<meta name="Keywords" content="常见FQ">
<meta name="Description" content="常见FQ">
{include file="include/head" /}
<script type="text/javascript">
var navID = "1";
</script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/question.css">
<script type="text/javascript" src="__PUBLIC__/m_web/js/bxslider/jquery.bxslider.min.js"></script>
</head>
<body>
<div id="content">
<!--头部-->
{include file="include/top" /}
<!--banner-->
<div class="banner img-responsives margin-top-90">
<img src="__PUBLIC__/m_web/images/question/banner.jpg">
</div>
<!--搜索-->
<div class="margin-top-20 margin-bottom-20">
<div class="m_Container position_r img-responsive">
<form method="get" action="__ORICOROOT__/group/question.html">
<input type="text" name="keyword" placeholder="请输入您的问题..." id="search-in" value="<?php echo $search['keyword']; ?>" class="text_24">
<button type="submit" id="search-btn"><img src="__PUBLIC__/m_web/images/question/search.png"></button>
</div>
</form>
</div>
<!--问题类别-->
<div class="fq_cate margin-bottom-10 overflow-h ">
<div class="m_Container">
<div class="fq_category margin-bottom-35 margin-top-35 text_black" id="fq_category">
<div class="scroller">
<ul class="clearfix">
<li class="<?php if ($cid == 0): ?>fq_hover<?php endif; ?> text_24">
<a href="__ORICOROOT__/group/question.html"><span>全部</span></a>
</li>
<?php foreach ($question_catelist as $key => $value): ?>
<li class="<?php if ($cid == $value['id']): ?>fq_hover<?php endif; ?> text_24">
<a href="__ORICOROOT__/group/question/cid/<?php echo $value['id']; ?>.html"><span><?php echo $value['name']; ?></span></a>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>
</div>
</div>
<!--列表-->
<div class="fq_list margin-bottom-20">
<div class="m_Container">
<?php if (!empty($question_list)): ?>
<ul>
<?php foreach ($question_list as $key => $value): ?>
<a href="__ORICOROOT__/group/question_detail.html?id=<?php echo $value['id']; ?>" target="_blank">
<li>
<div class="left img-responsive"><img src="<?php echo $value['image']; ?>"></div>
<div class="right">
<p class="text_24 margin-bottom-10 text_black"><?php echo $value['title']; ?></p>
<p class="text_20 text_gray"><?php echo msubstr($value['content'], 0, 40);?></p>
</div>
</li>
</a>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</div>
</div>
<!--底部-->
{include file="include/bottom" /}
</div>
<script type="text/javascript" src="__PUBLIC__/m_web/js/scroll/iscroll.js"></script>
<script type="text/javascript" src="__PUBLIC__/m_web/js/scroll/navbarscroll.js"></script>
<script type="text/javascript">
$(function(){
//demo示例一到四 通过lass调取一句可以搞定用于页面中可能有多个导航的情况
$('.fq_category').navbarscroll();
});
</script>
</body>
</html>