NavPanel.html
2.29 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
<div id="NMEC_${id}" class="wev-comp-${compType}">
{@if lite}
<div class="wev-comp-swipe-wrap">
{@each items as page,pageIndex}
<div class="wev-panel-hide">
<ul class="wev-table wev-table-view wev-grid-view">
{@each page as item,index}
{@if index % col === 0 }<div>{@/if}
{@if item.show}
<li class="wev-table-view-cell">
<a id="${item.id}" href="${item.url}" data-ajax="${item.dataAjax}" data-reload="true" data-formdata="${item.queryString}">
<img class="wev-big-icon ${item.iconClass}" src="${item.icon}"/>
<div class="wev-media-body">
$${item.text}
</div>
{@if item.remind}
<span class="wev-badge" data-index="${index}" {@if item.apiid}data-api="${item.uuid}_${item.apiid}"{@/if}></span>
{@/if}
</a>
</li>
{@else}
<li class="wev-table-view-cell"></li>
{@/if}
{@if (parseInt(index) + 1) % col === 0 || index == page.length - 1 }</div>{@/if}
{@/each}
</ul>
</div>
{@/each}
</div>
<div class="wev-comp-swipe-point" {@if items.length <= 1}style="display:none;"{@/if}>
{@each items as page,index}
<b class="{@if index == 0}curr-point{@/if}"></b>
{@/each}
</div>
{@else}
<div class="wev-page-portal">
{@each categories as d}
<div class="portal-category"><div><div class="portal-title"><span>${d.category}</span></div>
<div class="portal-square">
<ul class="portal-square-inner portal-flex">
{@each d.items as item}
{@if item.fillIn}
<li style="width: calc(${perCol}% / ${col});"></li>
{@else}
<li style="width: calc(${perCol}% / ${col});">
<a id="${item.id}" href="${item.url}" data-ajax="${item.dataAjax}" data-reload="true" data-formdata="${item.queryString}">
<img class="wev-big-icon ${item.iconClass}" src="${item.icon}"/>
<div class="portal-text">
$${item.text}
</div>
{@if item.remind}
<span class="wev-badge" data-index="${index}" {@if item.apiid}data-api="${item.uuid}_${item.apiid}"{@/if}></span>
{@/if}
</a>
</li>
{@/if}
{@/each}
</ul>
</div>
</div>
</div>
{@/each}
</div>
{@/if}
</div>