folder_view.html
2.38 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
<%
var headContent = {
include("/pages/template/head.html"){}
};
var bodyContent = {
%>
<form name="form1" action="" method="post" class="form-horizontal" role="form">
<!-- 数据列表 -->
<table class="table">
<% // 列表头部 %>
<tr>
<td>父栏目</td>
<td>
${model.parentName!'根栏目' }
</td>
<td>名称</td>
<td>${model.name}</td>
</tr>
<tr>
<td>栏目类型</td>
<td>
${flyfox.dictValue(model.material_type!'') }
</td>
<td>url_key</td>
<td>
${model.key}
</td>
</tr>
<tr>
<td>模板路径</td>
<td colspan="3">
${model.path}
</td>
</tr>
<tr>
<td>排序</td>
<td>${model.sort}</td>
<td>状态</td>
<td>
<% if(model.status==2) { %>
隐藏
<% } %>
<% if(model.status==1) { %>
显示
<% } %>
</td>
</tr>
<tr>
<td>跳转类型</td>
<td>${flyfox.dictValue(model.type ) }</td>
<td>跳转地址</td>
<td>${model.jump_url}</td>
</tr>
<tr>
<td>说明</td>
<td title="${model.content}" colspan="3">
<% if (strutil.length(model.content) > 30) { %>
${strutil.subStringTo(model.content, 0, 30)}...
<% } else {%>
${model.content }
<% } %>
</td>
</tr>
<tr>
<td>seo_title</td>
<td title="${model.seo_title}">
<% if (strutil.length(model.seo_title) > 15) { %>
${strutil.subStringTo(model.seo_title, 0, 15)}...
<% } else {%>
${model.seo_title }
<% } %>
</td>
<td>seo_keywords</td>
<td title="${model.seo_keywords}">
<% if (strutil.length(model.seo_keywords) > 15) { %>
${strutil.subStringTo(model.seo_keywords, 0, 15)}...
<% } else {%>
${model.seo_keywords }
<% } %>
</td>
</tr>
<tr>
<td>seo_description</td>
<td title="${model.seo_description}" colspan="3">
<% if (strutil.length(model.seo_description) > 15) { %>
${strutil.subStringTo(model.seo_description, 0, 15)}...
<% } else {%>
${model.seo_description }
<% } %>
</td>
</tr>
</table>
<div style="height: 50px;clear: both;"> </div>
<nav class="navbar navbar-default navbar-fixed-bottom">
<div class="container" style="padding: 5px 0px 5px 0px;text-align: center;">
<button class="btn btn-primary" onclick="oper.save(${model.id!'0'});return false;">保 存</button>
<button class="btn btn-default" onclick="closeIframe();return false;">关 闭</button>
</div>
</nav>
</form>
<%}; %>
<% layout("/pages/template/_layout.html",{head:headContent,body:bodyContent}){ %>
<%} %>