search_goods_group.html
4.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<include file="public/layout"/>
<style>
.te_le .dataTables_paginate{float: left;}
.bot{float: right;padding: 15px 0;}
.vdisib{display: inline-block;*display: inline;*zoom: 1;vertical-align: middle;}
.item-title ul {
font-size: 0;
}
.item-title ul li {
font-size: 14px;
vertical-align: middle;
display: inline-block;
*display: inline;
*zoom: 1;
margin-right: 10px;
padding: 5px;
}
.item-title ul li.on,
.item-title ul li:hover {
background-color: #d4d5d5;
}
.flexigrid .bDiv{overflow: auto;height: 300px;}
</style>
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit;">
<div class="page" style="padding: 0px 1% 0 1%;">
<!-- 操作说明 -->
<div class="item-title">
<ul>
<li >商品列表</li>
<li class="on">商品分组</li>
</ul>
</div>
<div class="flexigrid">
<div class="mDiv">
<div class="ftitle vdisib">
<h3 class="vdisib"></h3>
<h5 class="vdisib">(共{$pager->totalRows}条记录)</h5>
</div>
<div title="刷新数据" class="pReload vdisib"><i class="fa fa-refresh"></i></div>
<form class="navbar-form form-inline" id="search-form2" action="{:U('Wechat/search_goods_group')}" method="get">
<if condition="$Think.const.ACTION_NAME eq 'goodsList'">
<input type="hidden" name="goods_state" value="{$_GET['goods_state']|default='0,2,3'}" />
<else/>
<input type="hidden" name="goods_state" value="1" />
</if>
<input type="hidden" name="orderby1" value="goods_id" />
<input type="hidden" name="orderby2" value="desc" />
<div class="sDiv">
<div class="sDiv2">
<input size="30" name="keywords" value="{$keywords}"class="qsbox" placeholder="关键词" type="text">
<input class="btn" value="搜索" type="submit">
</div>
</div>
</form>
</div>
<div class="hDiv">
<div class="hDivBox">
<table cellspacing="0" cellpadding="0">
<thead>
<tr>
<th abbr="article_time" axis="col6" class="w400" align="left">
<div style="text-align: left; " class="">分组名称</div>
</th>
<th abbr="ac_id" axis="col4" class="w200" align="left">
<div style="text-align: center; " class="">创建时间</div>
</th>
<th axis="col1" class="w100" align="center">
<div style="text-align: center;">操作</div>
</th>
</tr>
</thead>
</table>
</div>
</div>
<div class="bDiv" style="height: auto;">
<div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
<table>
<tbody id="grouplist">
<volist name="grouplist" id="list">
<tr>
<td class="w400" align="left">
<div style="text-align: left; ">{$list.gpname}</div>
</td>
<td class="w200" align="left">
<div style="text-align: left; ">{$list.add_time|date='Y-m-d H:i:s',###}</div>
</td>
<td class='w100' style='text-align:center'><a href="javascript:void(0);" class='btn red' thisid="{$list.gpid}" onclick="window.parent.selectgroup(this);">选择</a></td>
</tr>
</volist>
</tbody>
</table>
</div>
<div class="iDiv" style="display: none;"></div>
</div>
<!--分页位置-->
<div class="te_le">
{$page}
</div>
</div>
</div>
<script>
$(".item-title ul li").click(function() {
var url = "/index.php/admin/Wechat/search_goods";
if($(this).text()=="商品分组"){
url = "/index.php/admin/Wechat/search_goods_group";
}
location.href=url;
});
function select_goods()
{
javascript:window.parent.call_back($('#goos_table').html());
}
</script>
</body>
</html>