Files
OMS/app/eccommon/view/regions/area_map.html
2026-01-04 19:08:31 +08:00

64 lines
2.9 KiB
HTML

<!--
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<form action="index.php?app=eccommon&ctl=regions&act=updateOrderNum" id="catEditor" method="post">
<div class="action-bar mainHead"><span class="sysiconBtn addorder" onclick="W.page('index.php?app=eccommon&ctl=regions&act=showNewArea')"><{t}>添加地区<{/t}></span></div>
<table cellspacing="0" cellpadding="0" class="gridlist">
<col class="Colauto"></col>
<col class="Coloption-1b"></col>
<col class="Coloption-1b"></col>
<col class="Coloption-1b"></col>
<col class="Coloption-1b"></col>
<col></col>
<thead>
<tr>
<th><{t}>地区名称<{/t}></th>
<th><{t}>排序<{/t}></th>
<th><{t}>添加子地区<{/t}></th>
<th><{t}>编辑<{/t}></th>
<th><{t}>删除<{/t}></th>
<th></th>
</thead>
<tbody>
<{foreach from=$area item=item name="area"}>
<tr>
<td style=" width:300px; white-space:nowrap;text-align:left; font-size:12px; padding-left:<{$item.region_grade*35}>px" nowrap>
<a style="font-weight:700; color:#000; text-decoration:none;padding-right:15px;" href='index.php?app=eccommon&ctl=regions&act=detailDlArea&p[0]=<{$item.region_id}>'><{$item.local_name}></a>
</td>
<td><span class="quiet"><{t}>排序:<{/t}></span><input class="_x_ipt" type="number" size="5" name="p_order[<{$item.region_id}>]" value="<{$item.ordernum}>|default:0" vtype="digits"></td>
<td><a href='index.php?app=eccommon&ctl=regions&act=showNewArea&p[0]=<{$item.region_id}>'><{img src="bundle/addcate.gif" border="0" alt=$___ectools="添加子地区"|t:'eccommon' title=$___ectools="添加子地区"|t:'eccommon'}></a></td>
<td><a class="i" href='index.php?app=eccommon&ctl=regions&act=detailDlArea&p[0]=<{$item.region_id}>'><{img src="bundle/editcate.gif" border="0" alt=$___ectools="编辑"|t:'eccommon'}></a></td>
<td><span onclick="javascript: if(confirm('<{t}>您确定要删除<{/t}>&nbsp;[<{$item.local_name}>]&nbsp;?')){ W.page('index.php?app=eccommon&ctl=regions&act=toRemoveArea&p[0]=<{$item.region_id}>',{method:'get'});}" style="cursor:pointer"><{img src="bundle/delecate.gif" border="0" alt=$___ectools="删除"|t:'eccommon'}></span></Td>
<td></td>
</tr>
<{/foreach}>
</tbody>
</table>
<div class="mainFoot">
<div class="footer">
<div class="table-action">
<{button label=$___ectools="保存排序"|t:'eccommon' onclick="$('catEditor').fireEvent('submit',{stop:{$empty}})" type="submit"}>
</div>
</div>
</div>
</form>