search_goods_nation.html
4.32 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
129
130
<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;">
<input id="miniapp" type="hidden" value="{$Think.request.miniapp}" />
<div class="page" style="padding: 0px 1% 0 1%;">
<!-- 操作说明-->
<include file="public/psearchurl"/>
<div class="flexigrid">
<div class="mDiv">
<if condition="$Think.request.miniapp">
<form class="navbar-form form-inline" id="search-form2" action="{:U('search_goods_nation',array('miniapp'=>1))}" method="get">
<else/>
<form class="navbar-form form-inline" id="search-form2" action="{:U('search_goods_nation')}" method="get">
</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="{$_GET['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 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.name}</div>
</td>
<td class='w100' style='text-align:center'><a href="javascript:void(0);" class='btn red' thisid="{$list.id}" name="{$list.name}" onclick="selectgroup(this);">选择</a></td>
</tr>
</volist>
</tbody>
</table>
</div>
<div class="iDiv" style="display: none;"></div>
</div>
<!--分页位置-->
<div class="te_le" style="float: right">
{$page}
</div>
<div style="float:right; line-height: 30px; padding-top: 15px; font-size: 14px;"> 共{$pager->totalRows}条,每页{$pagenum}条 </div>
<div style="height:40px;"></div>
</div>
</div>
<script>
// 点击刷新数据
$('.fa-refresh').click(function(){
location.href = location.href;
});
//确认菜单内容-选择分组商品
function selectgroup(obj) {
var getstoid ="{:getAdmStoId()}";
var domail="{:curHostURL()}";
var proid=$(obj).attr("thisid");
var domail="{:curHostURL()}";
var url= domail + "/Mobile/Goods/goodsList/stoid/"+getstoid+"/nation_id/"+proid+"";
var name=$(obj).attr("name");
if($("#miniapp").val()=="1"){
url= "/pages/goods/goodsList/goodsList?nation_id=" + proid;
}
javascript:window.parent.call_back_func(name,url,4);
}
</script>
</body>
</html>