mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-14 01:35:35 +08:00
35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
<!--
|
|
Copyright 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.
|
|
-->
|
|
|
|
<{foreach from=$data item=item}>
|
|
<div class="clearfix dashbd-row">
|
|
<h4><{$item.label}></h4>
|
|
<table cellpadding="0" cellspacing="0"><tr>
|
|
<{foreach from=$item.value item=items}>
|
|
<td class="<{if $items.count==0}> figure-zero<{/if}>" style="padding-left: 20px;">
|
|
<a style="text-decoration:none;" href="<{$items.link}>"><{t}><{$items.label}><{/t}><span class="dashbd-figure">(<{$items.count}>)</span></a>
|
|
</td>
|
|
<{/foreach}>
|
|
</tr></table>
|
|
</div>
|
|
<{/foreach}>
|
|
|
|
<script>
|
|
$$('td.figure-zero a').each(function(el){
|
|
el.set('href','javascript:void(0)');
|
|
});
|
|
</script>
|