first commit
This commit is contained in:
150
application/admin/view/comment/index.html
Normal file
150
application/admin/view/comment/index.html
Normal file
@@ -0,0 +1,150 @@
|
||||
<include file="public/layout" />
|
||||
|
||||
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit;">
|
||||
<div id="append_parent"></div>
|
||||
<div id="ajaxwaitid"></div>
|
||||
<div class="page">
|
||||
<div class="fixed-bar">
|
||||
<div class="item-title">
|
||||
<div class="subject">
|
||||
<h3>评价管理</h3>
|
||||
<h5>商品交易评价管理</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 操作说明 -->
|
||||
<div id="explanation" class="explanation" style="color: rgb(44, 188, 163); background-color: rgb(237, 251, 248); width: 99%; height: 100%;">
|
||||
<div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
|
||||
<h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
|
||||
<span title="收起提示" id="explanationZoom" style="display: block;"></span>
|
||||
</div>
|
||||
<ul>
|
||||
<li>用户对购买的商品进行评价</li>
|
||||
<li>"显示"栏可控制某条评论是否显示或隐藏</li>
|
||||
<li>评论排序:按照升序排序,数字越小,越靠前</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="flexigrid">
|
||||
<div class="mDiv">
|
||||
<div class="ftitle">
|
||||
<h3>商品评价列表</h3>
|
||||
<h5></h5>
|
||||
</div>
|
||||
<a href=""><div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div></a>
|
||||
<form class="navbar-form form-inline" method="post" name="search-form2" id="search-form2">
|
||||
<div class="sDiv">
|
||||
<div class="sDiv2">
|
||||
<input type="text" size="30" name="content" class="qsbox" placeholder="评论内容...">
|
||||
</div>
|
||||
<div class="sDiv2">
|
||||
<input type="text" size="30" name="nickname" class="qsbox" placeholder="搜索用户">
|
||||
</div>
|
||||
<div class="sDiv2">
|
||||
<input type="button" onClick="ajax_get_table('search-form2',1)" class="btn" value="搜索">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="hDiv">
|
||||
<div class="hDivBox">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="sign" axis="col0" onclick="checkAllSign(this)">
|
||||
<div style="width: 24px;"><i class="ico-check"></i></div>
|
||||
</th>
|
||||
<th align="left" abbr="order_sn" axis="col3" class="">
|
||||
<div style="text-align: left; width: 100px;" class="">用户</div>
|
||||
</th>
|
||||
<th align="left" abbr="consignee" axis="col4" class="">
|
||||
<div style="text-align: left; width: 200px;" class="">评论内容</div>
|
||||
</th>
|
||||
<th align="left" abbr="article_show" axis="col5" class="">
|
||||
<div style="text-align: left; width: 200px;" class="">商品</div>
|
||||
</th>
|
||||
<th align="center" abbr="article_time" axis="col6" class="">
|
||||
<div style="text-align: center; width: 50px;" class=""> 显示</div>
|
||||
</th>
|
||||
<th align="center" abbr="article_time" axis="col6" class="">
|
||||
<div style="text-align: center; width: 120px;" class="">评论时间</div>
|
||||
</th>
|
||||
<th align="center" abbr="article_time" axis="col6" class="">
|
||||
<div style="text-align: center; width: 120px;" class=""> ip地址</div>
|
||||
</th>
|
||||
<th align="center" abbr="article_time" axis="col3" class="">
|
||||
<div style="text-align: center; width: 120px;" class=""> 排序</div>
|
||||
</th>
|
||||
<th align="center" abbr="article_time" axis="col6" class="">
|
||||
<div style="text-align: center; width: 160px;" class=""> 操作</div>
|
||||
</th>
|
||||
<th style="width:100%" axis="col7">
|
||||
<div></div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tDiv">
|
||||
<div class="tDiv2">
|
||||
<div class="fbutton">
|
||||
<a href="javascript:;" onclick="publicHandleAll('del')">
|
||||
<div class="add" title="新增品牌">
|
||||
<span>批量删除</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="fbutton">
|
||||
<a href="javascript:;" onclick="publicHandleAll('show')">
|
||||
<div class="add" title="新增品牌">
|
||||
<span>显示</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="fbutton">
|
||||
<a href="javascript:;" onclick="publicHandleAll('hide')">
|
||||
<div class="add" title="新增品牌">
|
||||
<span>隐藏</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
<div class="bDiv" style="height: auto;">
|
||||
<div id="flexigrid" cellpadding="0" cellspacing="0" border="0" data-url="{:U('Admin/comment/commentHandle')}">
|
||||
</div>
|
||||
<div class="iDiv" style="display: none;"></div>
|
||||
</div>
|
||||
<!--分页位置-->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
ajax_get_table('search-form2',1);
|
||||
});
|
||||
|
||||
// ajax 抓取页面
|
||||
function ajax_get_table(tab,page){
|
||||
cur_page = page; //当前页面 保存为全局变量
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url:"/index.php/Admin/Comment/ajaxindex/p/"+page,//+tab,
|
||||
data : $('#'+tab).serialize(),// 你的formid
|
||||
success: function(data){
|
||||
$("#flexigrid").html('');
|
||||
$("#flexigrid").append(data);
|
||||
|
||||
// 表格行点击选中切换
|
||||
$('#flexigrid > table>tbody >tr').click(function(){
|
||||
$(this).toggleClass('trSelected');
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user