ListLabel.html 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457
  1. <!DOCTYPE HTML>
  2. <html lang="zh-hans" >
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  6. <title>List文章列表标签 · 梦想家内容管理系统(Dreamer CMS)</title>
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  8. <meta name="description" content="">
  9. <meta name="generator" content="GitBook 3.2.3">
  10. <meta name="author" content="王俊南">
  11. <link rel="stylesheet" href="../gitbook/style.css">
  12. <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
  13. <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
  14. <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
  15. <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
  16. <meta name="HandheldFriendly" content="true"/>
  17. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  18. <meta name="apple-mobile-web-app-capable" content="yes">
  19. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  20. <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
  21. <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
  22. <link rel="next" href="CategoryArtListLabel.html" />
  23. <link rel="prev" href="ChannelLabel.html" />
  24. <link rel="shortcut icon" href="./source/images/favicon.ico" type="image/x-icon">
  25. <link rel="apple-touch-icon-precomposed" sizes="152x152" href="./source/images/favicon.png">
  26. </head>
  27. <body>
  28. <div class="book">
  29. <div class="book-summary">
  30. <div id="book-search-input" role="search">
  31. <input type="text" placeholder="输入并搜索" />
  32. </div>
  33. <nav role="navigation">
  34. <ul class="summary">
  35. <li>
  36. <a href="http://www.iteachyou.cc" target="_blank" class="custom-link">I Teach You,我教你!</a>
  37. </li>
  38. <li>
  39. <a href="https://gitee.com/iteachyou/dreamer_cms" target="_blank" class="custom-link">Dreamer CMS(Gitee)</a>
  40. </li>
  41. <li>
  42. <a href="https://github.com/iteachyou-wjn/dreamer_cms" target="_blank" class="custom-link">Dreamer CMS(Github)</a>
  43. </li>
  44. <li class="divider"></li>
  45. <li class="chapter " data-level="1.1" data-path="../">
  46. <a href="../">
  47. 封面
  48. </a>
  49. </li>
  50. <li class="chapter " data-level="1.2" data-path="../COPYRIGHT.html">
  51. <a href="../COPYRIGHT.html">
  52. 版权
  53. </a>
  54. </li>
  55. <li class="divider"></li>
  56. <li class="chapter " data-level="2.1" >
  57. <span>
  58. 前言
  59. </span>
  60. <ul class="articles">
  61. <li class="chapter " data-level="2.1.1" data-path="../preface/">
  62. <a href="../preface/">
  63. 简介
  64. </a>
  65. </li>
  66. <li class="chapter " data-level="2.1.2" data-path="../preface/Topic.html">
  67. <a href="../preface/Topic.html">
  68. 主题
  69. </a>
  70. </li>
  71. <li class="chapter " data-level="2.1.3" data-path="../preface/Publish.html">
  72. <a href="../preface/Publish.html">
  73. 发行方法
  74. </a>
  75. </li>
  76. <li class="chapter " data-level="2.1.4" data-path="../preface/Online.html">
  77. <a href="../preface/Online.html">
  78. 在线手册
  79. </a>
  80. </li>
  81. <li class="chapter " data-level="2.1.5" data-path="../preface/Last.html">
  82. <a href="../preface/Last.html">
  83. 最后
  84. </a>
  85. </li>
  86. </ul>
  87. </li>
  88. <li class="divider"></li>
  89. <li class="chapter " data-level="3.1" data-path="../chapter01/">
  90. <a href="../chapter01/">
  91. 第一章 模板设计师要求
  92. </a>
  93. <ul class="articles">
  94. <li class="chapter " data-level="3.1.1" data-path="../chapter01/Designer.html">
  95. <a href="../chapter01/Designer.html">
  96. 设计师
  97. </a>
  98. </li>
  99. <li class="chapter " data-level="3.1.2" data-path="../chapter01/Developer.html">
  100. <a href="../chapter01/Developer.html">
  101. 开发者
  102. </a>
  103. </li>
  104. </ul>
  105. </li>
  106. <li class="divider"></li>
  107. <li class="chapter " data-level="4.1" data-path="../chapter02/">
  108. <a href="../chapter02/">
  109. 第二章 模板制作流程
  110. </a>
  111. </li>
  112. <li class="divider"></li>
  113. <li class="chapter " data-level="5.1" >
  114. <span>
  115. 第三章 模板文件及目录结构
  116. </span>
  117. <ul class="articles">
  118. <li class="chapter " data-level="5.1.1" data-path="../chapter03/">
  119. <a href="../chapter03/">
  120. 模版目录
  121. </a>
  122. </li>
  123. <li class="chapter " data-level="5.1.2" data-path="../chapter03/Description.html">
  124. <a href="../chapter03/Description.html">
  125. 模板文件与功能说明
  126. </a>
  127. </li>
  128. <li class="chapter " data-level="5.1.3" data-path="../chapter03/DesignAndUse.html">
  129. <a href="../chapter03/DesignAndUse.html">
  130. 概念,设计和使用模板
  131. </a>
  132. </li>
  133. <li class="chapter " data-level="5.1.4" data-path="../chapter03/NamingRules.html">
  134. <a href="../chapter03/NamingRules.html">
  135. 命名规则
  136. </a>
  137. </li>
  138. <li class="chapter " data-level="5.1.5" data-path="../chapter03/Other.html">
  139. <a href="../chapter03/Other.html">
  140. 其它模板说明
  141. </a>
  142. </li>
  143. </ul>
  144. </li>
  145. <li class="divider"></li>
  146. <li class="chapter " data-level="6.1" data-path="../chapter04/">
  147. <a href="../chapter04/">
  148. 第四章 模板引擎介绍
  149. </a>
  150. <ul class="articles">
  151. <li class="chapter " data-level="6.1.1" data-path="../chapter04/CoreDoc.html">
  152. <a href="../chapter04/CoreDoc.html">
  153. 核心文件
  154. </a>
  155. </li>
  156. <li class="chapter " data-level="6.1.2" data-path="../chapter04/Grammar.html">
  157. <a href="../chapter04/Grammar.html">
  158. 模板语法
  159. </a>
  160. </li>
  161. <li class="chapter " data-level="6.1.3" data-path="../chapter04/LabelCategory.html">
  162. <a href="../chapter04/LabelCategory.html">
  163. 标签分类
  164. </a>
  165. </li>
  166. </ul>
  167. </li>
  168. <li class="divider"></li>
  169. <li class="chapter " data-level="7.1" >
  170. <span>
  171. 第五章 标签参考
  172. </span>
  173. <ul class="articles">
  174. <li class="chapter " data-level="7.1.1" >
  175. <span>
  176. ▶全局标签
  177. </span>
  178. </li>
  179. <li class="chapter " data-level="7.1.2" data-path="GlobalLabel.html">
  180. <a href="GlobalLabel.html">
  181. Global全局配置标签
  182. </a>
  183. </li>
  184. <li class="chapter " data-level="7.1.3" data-path="VariableLabel.html">
  185. <a href="VariableLabel.html">
  186. Variable全局变量标签
  187. </a>
  188. </li>
  189. <li class="chapter " data-level="7.1.4" data-path="TemplateLabel.html">
  190. <a href="TemplateLabel.html">
  191. Template模版路径标签
  192. </a>
  193. </li>
  194. <li class="chapter " data-level="7.1.5" data-path="IncludeLabel.html">
  195. <a href="IncludeLabel.html">
  196. Include引入文件标签
  197. </a>
  198. </li>
  199. <li class="chapter " data-level="7.1.6" data-path="TypeLabel.html">
  200. <a href="TypeLabel.html">
  201. Type栏目调用标签
  202. </a>
  203. </li>
  204. <li class="chapter " data-level="7.1.7" data-path="ChannelLabel.html">
  205. <a href="ChannelLabel.html">
  206. Channel频道列表标签
  207. </a>
  208. </li>
  209. <li class="chapter active" data-level="7.1.8" data-path="ListLabel.html">
  210. <a href="ListLabel.html">
  211. List文章列表标签
  212. </a>
  213. </li>
  214. <li class="chapter " data-level="7.1.9" data-path="CategoryArtListLabel.html">
  215. <a href="CategoryArtListLabel.html">
  216. CategoryArtListLabel栏目内容列表标签
  217. </a>
  218. </li>
  219. <li class="chapter " data-level="7.1.10" data-path="TagLabel.html">
  220. <a href="TagLabel.html">
  221. TagLabel标签列表标签
  222. </a>
  223. </li>
  224. <li class="chapter " data-level="7.1.11" data-path="TreeLabel.html">
  225. <a href="TreeLabel.html">
  226. TreeLabel栏目树标签
  227. </a>
  228. </li>
  229. <li class="chapter " data-level="7.1.12" data-path="AttachmentLabel.html">
  230. <a href="AttachmentLabel.html">
  231. AttachmentLabel附件标签
  232. </a>
  233. </li>
  234. <li class="chapter " data-level="7.1.13" data-path="SqlLabel.html">
  235. <a href="SqlLabel.html">
  236. SqlLabel SQL标签
  237. </a>
  238. </li>
  239. <li class="chapter " data-level="7.1.14" data-path="IfLabel.html">
  240. <a href="IfLabel.html">
  241. IfLabel判断标签
  242. </a>
  243. </li>
  244. <li class="chapter " data-level="7.1.15" >
  245. <span>
  246. ▶分页标签
  247. </span>
  248. </li>
  249. <li class="chapter " data-level="7.1.16" data-path="CategoryLabel.html">
  250. <a href="CategoryLabel.html">
  251. Category分页栏目标签
  252. </a>
  253. </li>
  254. <li class="chapter " data-level="7.1.17" data-path="TopCategoryLabel.html">
  255. <a href="TopCategoryLabel.html">
  256. TopCategory分页顶级栏目标签
  257. </a>
  258. </li>
  259. <li class="chapter " data-level="7.1.18" data-path="LocationLabel.html">
  260. <a href="LocationLabel.html">
  261. Location当前位置标签
  262. </a>
  263. </li>
  264. <li class="chapter " data-level="7.1.19" >
  265. <span>
  266. ▶列表标签
  267. </span>
  268. </li>
  269. <li class="chapter " data-level="7.1.20" data-path="PageListLabel.html">
  270. <a href="PageListLabel.html">
  271. PageList文章分页标签
  272. </a>
  273. </li>
  274. <li class="chapter " data-level="7.1.21" data-path="PaginationLabel.html">
  275. <a href="PaginationLabel.html">
  276. Pagination显示分页标签
  277. </a>
  278. </li>
  279. <li class="chapter " data-level="7.1.22" >
  280. <span>
  281. ▶内容标签
  282. </span>
  283. </li>
  284. <li class="chapter " data-level="7.1.23" data-path="ArticleLabel.html">
  285. <a href="ArticleLabel.html">
  286. Article文章页标签
  287. </a>
  288. </li>
  289. <li class="chapter " data-level="7.1.24" data-path="PrevNextLabel.html">
  290. <a href="PrevNextLabel.html">
  291. PrevNext上一篇、下一篇标签
  292. </a>
  293. </li>
  294. </ul>
  295. </li>
  296. <li class="chapter " data-level="7.2" data-path="../chapter06/DataBase.html">
  297. <a href="../chapter06/DataBase.html">
  298. 第六章 数据库
  299. </a>
  300. </li>
  301. <li class="chapter " data-level="7.3" >
  302. <span>
  303. 第七章 模板扩展
  304. </span>
  305. <ul class="articles">
  306. <li class="chapter " data-level="7.3.1" data-path="../chapter07/Message.html">
  307. <a href="../chapter07/Message.html">
  308. 留言投稿
  309. </a>
  310. </li>
  311. <li class="chapter " data-level="7.3.2" data-path="../chapter07/Search.html">
  312. <a href="../chapter07/Search.html">
  313. 网站搜索
  314. </a>
  315. </li>
  316. <li class="chapter " data-level="7.3.3" data-path="../chapter07/DefineLabel.html">
  317. <a href="../chapter07/DefineLabel.html">
  318. 定义标签
  319. </a>
  320. </li>
  321. <li class="chapter " data-level="7.3.4" data-path="../chapter07/Regexp.html">
  322. <a href="../chapter07/Regexp.html">
  323. 正则工具类
  324. </a>
  325. </li>
  326. </ul>
  327. </li>
  328. <li class="chapter " data-level="7.4" >
  329. <span>
  330. 第八章 部署上线
  331. </span>
  332. <ul class="articles">
  333. <li class="chapter " data-level="7.4.1" data-path="../chapter08/Environment.html">
  334. <a href="../chapter08/Environment.html">
  335. 环境准备
  336. </a>
  337. </li>
  338. <li class="chapter " data-level="7.4.2" data-path="../chapter08/Packaging.html">
  339. <a href="../chapter08/Packaging.html">
  340. 应用打包
  341. </a>
  342. </li>
  343. <li class="chapter " data-level="7.4.3" data-path="../chapter08/Online.html">
  344. <a href="../chapter08/Online.html">
  345. 项目上线
  346. </a>
  347. </li>
  348. </ul>
  349. </li>
  350. <li class="chapter " data-level="7.5" >
  351. <span>
  352. 第九章 常见问题
  353. </span>
  354. <ul class="articles">
  355. <li class="chapter " data-level="7.5.1" data-path="../chapter09/Business.html">
  356. <a href="../chapter09/Business.html">
  357. 商业授权
  358. </a>
  359. </li>
  360. <li class="chapter " data-level="7.5.2" data-path="../chapter09/ResourceDir.html">
  361. <a href="../chapter09/ResourceDir.html">
  362. 资源目录
  363. </a>
  364. </li>
  365. <li class="chapter " data-level="7.5.3" data-path="../chapter09/RichTextEditor.html">
  366. <a href="../chapter09/RichTextEditor.html">
  367. 富文本编辑器
  368. </a>
  369. </li>
  370. <li class="chapter " data-level="7.5.4" data-path="../chapter09/NavActive.html">
  371. <a href="../chapter09/NavActive.html">
  372. 导航Active
  373. </a>
  374. </li>
  375. <li class="chapter " data-level="7.5.5" data-path="../chapter09/CategoryPage.html">
  376. <a href="../chapter09/CategoryPage.html">
  377. 栏目分页
  378. </a>
  379. </li>
  380. <li class="chapter " data-level="7.5.6" data-path="../chapter09/CategoryFilter.html">
  381. <a href="../chapter09/CategoryFilter.html">
  382. 多级栏目筛选
  383. </a>
  384. </li>
  385. <li class="chapter " data-level="7.5.7" data-path="../chapter09/MutipleLanguage.html">
  386. <a href="../chapter09/MutipleLanguage.html">
  387. 多语言网站
  388. </a>
  389. </li>
  390. <li class="chapter " data-level="7.5.8" data-path="../chapter09/UploadContrl.html">
  391. <a href="../chapter09/UploadContrl.html">
  392. 上传大小控制
  393. </a>
  394. </li>
  395. <li class="chapter " data-level="7.5.9" data-path="../chapter09/ResourceNotFound.html">
  396. <a href="../chapter09/ResourceNotFound.html">
  397. 上线图片404
  398. </a>
  399. </li>
  400. <li class="chapter " data-level="7.5.10" data-path="../chapter09/Favicon.html">
  401. <a href="../chapter09/Favicon.html">
  402. 站点Favicon
  403. </a>
  404. </li>
  405. </ul>
  406. </li>
  407. <li class="chapter " data-level="7.6" >
  408. <span>
  409. 第十章 关于捐赠
  410. </span>
  411. <ul class="articles">
  412. <li class="chapter " data-level="7.6.1" data-path="../chapter10/DonationList.html">
  413. <a href="../chapter10/DonationList.html">
  414. 授权和捐赠
  415. </a>
  416. </li>
  417. </ul>
  418. </li>
  419. <li class="divider"></li>
  420. <li>
  421. <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
  422. 本书使用 GitBook 发布
  423. </a>
  424. </li>
  425. </ul>
  426. </nav>
  427. </div>
  428. <div class="book-body">
  429. <div class="body-inner">
  430. <div class="book-header" role="navigation">
  431. <!-- Title -->
  432. <h1>
  433. <i class="fa fa-circle-o-notch fa-spin"></i>
  434. <a href=".." >List文章列表标签</a>
  435. </h1>
  436. </div>
  437. <div class="page-wrapper" tabindex="-1" role="main">
  438. <div class="page-inner">
  439. <div id="book-search-results">
  440. <div class="search-noresults">
  441. <section class="normal markdown-section">
  442. <div style="display: flex;">
  443. <img src="https://oss.iteachyou.cc/logo.png" height="30">
  444. <div style="margin-left: 5px; font-size: 30px; line-height: 30px; font-weight: bold;">&#x68A6;&#x60F3;&#x5BB6;&#x5185;&#x5BB9;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;</div>
  445. </div>
  446. <hr>
  447. <h3 id="list&#x6587;&#x7AE0;&#x5217;&#x8868;&#x6807;&#x7B7E;"><a name="list&#x6587;&#x7AE0;&#x5217;&#x8868;&#x6807;&#x7B7E;" class="plugin-anchor" href="#list&#x6587;&#x7AE0;&#x5217;&#x8868;&#x6807;&#x7B7E;"><i class="fa fa-link" aria-hidden="true"></i></a>List&#x6587;&#x7AE0;&#x5217;&#x8868;&#x6807;&#x7B7E;</h3>
  448. <h4 id="&#x9002;&#x7528;&#x7248;&#x672C;"><a name="&#x9002;&#x7528;&#x7248;&#x672C;" class="plugin-anchor" href="#&#x9002;&#x7528;&#x7248;&#x672C;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x9002;&#x7528;&#x7248;&#x672C;</h4>
  449. <p>
  450. Previous_Releases_2.0.0 +
  451. </p>
  452. <h4 id="&#x540D;&#x79F0;"><a name="&#x540D;&#x79F0;" class="plugin-anchor" href="#&#x540D;&#x79F0;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x540D;&#x79F0;</h4>
  453. <p>
  454. &#x6587;&#x7AE0;&#x5217;&#x8868;&#x6807;&#x7B7E;
  455. </p>
  456. <h4 id="&#x529F;&#x80FD;"><a name="&#x529F;&#x80FD;" class="plugin-anchor" href="#&#x529F;&#x80FD;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x529F;&#x80FD;</h4>
  457. <p>
  458. &#x7528;&#x4E8E;&#x83B7;&#x53D6;&#x680F;&#x76EE;&#x4E0B;&#x7684;&#x6587;&#x7AE0;
  459. </p>
  460. <h4 id="&#x8BED;&#x6CD5;"><a name="&#x8BED;&#x6CD5;" class="plugin-anchor" href="#&#x8BED;&#x6CD5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8BED;&#x6CD5;</h4>
  461. <pre><code class="lang-html?linenums">{dreamer-cms:list typeid=&quot;A54547W2&quot; pagenum=&quot;0&quot; pagesize=&quot;8&quot; flag=&quot;p&quot;}
  462. &lt;a href=&quot;[field:arcurl/]&quot;&gt;[field:title /]&lt;/a&gt;
  463. {/dreamer-cms:list}
  464. </code></pre>
  465. <h4 id="&#x51FD;&#x6570;&#x4ECB;&#x7ECD;"><a name="&#x51FD;&#x6570;&#x4ECB;&#x7ECD;" class="plugin-anchor" href="#&#x51FD;&#x6570;&#x4ECB;&#x7ECD;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x51FD;&#x6570;&#x4ECB;&#x7ECD;</h4>
  466. <pre><code class="lang-html?linenums">&#x4F7F;&#x7528;&#x793A;&#x4F8B;&#xFF1A;
  467. [field:title function=&quot;substring(0,50,&apos;...&apos;)&quot; /]
  468. &#x6216;
  469. [field:createtime function=&quot;format(&apos;yyyy-MM-dd&apos;)&quot; /]
  470. &#x6216;
  471. [field:autoindex function=&quot;steps(5,1)&quot; /]
  472. 1. function=&quot;substring(&#x53C2;&#x6570;1,&#x53C2;&#x6570;2,&#x53C2;&#x6570;3)&quot;
  473. &#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x622A;&#x53D6;&#x5B57;&#x6BB5;&#x4E3A;&#x6307;&#x5B9A;&#x957F;&#x5EA6;&#xFF0C;function=&quot;&quot;&#xFF0C;&#x5FC5;&#x987B;&#x4E3A;&#x53CC;&#x5F15;&#x53F7;&#x5305;&#x88F9;&#x3002;
  474. &#x53C2;&#x6570;1&#xFF1A;&#x5F00;&#x59CB;&#x622A;&#x53D6;&#x7684;&#x4F4D;&#x7F6E;
  475. &#x53C2;&#x6570;2&#xFF1A;&#x622A;&#x53D6;&#x957F;&#x5EA6;
  476. &#x53C2;&#x6570;3&#xFF1A;&#x66FF;&#x6362;&#x5B57;&#x7B26;&#xFF0C;&#x5982;...&#x3002;&#x6CE8;&#xFF1A;&#x53C2;&#x6570;3&#x9700;&#x8981;&#x7528;&#x82F1;&#x6587;&#x5355;&#x5F15;&#x53F7;&#x5305;&#x88F9;&#xFF0C;&#x4F8B;&#xFF1A;&apos;...&apos;
  477. 2. function=&quot;format(&#x53C2;&#x6570;)&quot;
  478. &#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x683C;&#x5F0F;&#x5316;&#x65E5;&#x671F;&#x6570;&#x636E;&#x4E3A;&#x6307;&#x5B9A;&#x683C;&#x5F0F;
  479. &#x53C2;&#x6570;&#xFF1A;&#x683C;&#x5F0F;&#x5316;&#x5B57;&#x7B26;&#x4E32;&#xFF0C;&#x53C2;&#x7167;SimpleDateFormat&#x7C7B;&#xFF0C;&#x6CE8;&#xFF1A;&#x53C2;&#x6570;&#x9700;&#x8981;&#x7528;&#x82F1;&#x6587;&#x5355;&#x5F15;&#x53F7;&#x5305;&#x88F9;&#xFF0C;&#x4F8B;&#xFF1A;&apos;yyyy-MM-dd&apos;
  480. 3. function=&quot;steps(&#x53C2;&#x6570;1, &#x53C2;&#x6570;2)&quot;
  481. &#x51FD;&#x6570;&#x8BF4;&#x660E;&#xFF1A;&#x6307;&#x5B9A;autoindex&#x7684;&#x8D77;&#x59CB;&#x5E8F;&#x53F7;&#x4EE5;&#x53CA;&#x6B65;&#x957F;
  482. &#x53C2;&#x6570;1&#xFF1A;&#x8D77;&#x59CB;&#x5E8F;&#x53F7;
  483. &#x53C2;&#x6570;2&#xFF1A;&#x6B65;&#x957F;
  484. </code></pre>
  485. <h4 id="&#x6587;&#x4EF6;"><a name="&#x6587;&#x4EF6;" class="plugin-anchor" href="#&#x6587;&#x4EF6;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6587;&#x4EF6;</h4>
  486. <pre><code class="lang-java?linenums">cc.iteachyou.cms.taglib.tags.ListTag
  487. </code></pre>
  488. <h4 id="&#x53C2;&#x6570;"><a name="&#x53C2;&#x6570;" class="plugin-anchor" href="#&#x53C2;&#x6570;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x53C2;&#x6570;</h4>
  489. <table>
  490. <thead>
  491. <tr>
  492. <th style="text-align:center">&#x53C2;&#x6570;&#x540D;</th>
  493. <th style="text-align:left">&#x63CF;&#x8FF0;</th>
  494. </tr>
  495. </thead>
  496. <tbody>
  497. <tr>
  498. <td style="text-align:center">typeid</td>
  499. <td style="text-align:left">&#x540E;&#x53F0;&#x680F;&#x76EE;&#x7BA1;&#x7406;&#x5217;&#x8868;&#x9875;&#x9762;&#x4E2D;&#x7684;&#x7F16;&#x7801;&#xFF0C;&#x901A;&#x8FC7;&#x552F;&#x4E00;&#x7F16;&#x7801;&#xFF0C;&#x83B7;&#x53D6;&#x6307;&#x5B9A;&#x680F;&#x76EE;</td>
  500. </tr>
  501. <tr>
  502. <td style="text-align:center">pagenum</td>
  503. <td style="text-align:left">&#x9875;&#x6570;</td>
  504. </tr>
  505. <tr>
  506. <td style="text-align:center">pagesize</td>
  507. <td style="text-align:left">&#x83B7;&#x53D6;&#x6570;&#x91CF;</td>
  508. </tr>
  509. <tr>
  510. <td style="text-align:center">flag</td>
  511. <td style="text-align:left">&#x6587;&#x7AE0;&#x5C5E;&#x6027;&#xFF08;p&#x56FE;&#x7247;&#xFF09;</td>
  512. </tr>
  513. <tr>
  514. <td style="text-align:center">cascade</td>
  515. <td style="text-align:left">&#x662F;&#x5426;&#x663E;&#x793A;&#x8BE5;&#x680F;&#x76EE;&#x7684;&#x4E0B;&#x7EA7;&#x680F;&#x76EE;&#x7684;&#x6587;&#x7AE0;</td>
  516. </tr>
  517. <tr>
  518. <td style="text-align:center">addfields</td>
  519. <td style="text-align:left">&#x9644;&#x52A0;&#x5B57;&#x6BB5;&#xFF0C;&#x591A;&#x4E2A;&#x5B57;&#x6BB5;&#x95F4;&#x7528;&#x82F1;&#x6587;&#x9017;&#x53F7;&#x5206;&#x9694;</td>
  520. </tr>
  521. <tr>
  522. <td style="text-align:center">formkey</td>
  523. <td style="text-align:left">&#x8868;&#x5355;&#x6A21;&#x578B;&#x7684;&#x7F16;&#x7801;&#xFF08;&#x53EF;&#x4EE5;&#x5728;&#x540E;&#x53F0;&#x8868;&#x5355;&#x7BA1;&#x7406;&#x5217;&#x8868;&#x4E2D;&#x83B7;&#x53D6;&#xFF09;</td>
  524. </tr>
  525. <tr>
  526. <td style="text-align:center">sortWay</td>
  527. <td style="text-align:left">&#x6392;&#x5E8F;&#x65B9;&#x5F0F;&#xFF08;asc&#x6216;desc&#xFF09;</td>
  528. </tr>
  529. <tr>
  530. <td style="text-align:center">sortBy</td>
  531. <td style="text-align:left">&#x6392;&#x5E8F;&#x5B57;&#x6BB5;&#xFF08;&#x6570;&#x636E;&#x5E93;&#x4E2D;&#x5B57;&#x6BB5;&#x540D;&#xFF09;</td>
  532. </tr>
  533. </tbody>
  534. </table>
  535. <h4 id="&#x5E95;&#x5C42;&#x5B57;&#x6BB5;"><a name="&#x5E95;&#x5C42;&#x5B57;&#x6BB5;" class="plugin-anchor" href="#&#x5E95;&#x5C42;&#x5B57;&#x6BB5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5E95;&#x5C42;&#x5B57;&#x6BB5;</h4>
  536. <table>
  537. <thead>
  538. <tr>
  539. <th style="text-align:center">&#x5B57;&#x6BB5;&#x540D;</th>
  540. <th style="text-align:left">&#x63CF;&#x8FF0;</th>
  541. </tr>
  542. </thead>
  543. <tbody>
  544. <tr>
  545. <td style="text-align:center">autoindex</td>
  546. <td style="text-align:left">&#x5E8F;&#x53F7;&#xFF08;&#x4ECE;1&#x5F00;&#x59CB;&#xFF09;</td>
  547. </tr>
  548. <tr>
  549. <td style="text-align:center">id</td>
  550. <td style="text-align:left">&#x6587;&#x7AE0;ID</td>
  551. </tr>
  552. <tr>
  553. <td style="text-align:center">title</td>
  554. <td style="text-align:left">&#x6807;&#x9898;</td>
  555. </tr>
  556. <tr>
  557. <td style="text-align:center">properties</td>
  558. <td style="text-align:left">&#x6587;&#x7AE0;&#x5C5E;&#x6027;&#xFF08;&#x5934;&#x6761;h&#x52A0;&#x7C97;b&#x5E7B;&#x706F;f&#x56FE;&#x7247;b&#xFF09;</td>
  559. </tr>
  560. <tr>
  561. <td style="text-align:center">litpic</td>
  562. <td style="text-align:left">&#x7F29;&#x7565;&#x56FE;</td>
  563. </tr>
  564. <tr>
  565. <td style="text-align:center">hasthumbnail</td>
  566. <td style="text-align:left">&#x662F;&#x5426;&#x6709;&#x7F29;&#x7565;&#x56FE;&#xFF08;&#x6709;&#x8F93;&#x51FA;yes-thumbnail&#xFF1B;&#x65E0;&#x8F93;&#x51FA;no-thumbnail&#xFF09;<br>&#x53EF;&#x7528;&#x4E8E;Css&#x7684;class&#x540D;&#xFF0C;&#x4ECE;&#x800C;&#x5B9E;&#x73B0;&#x52A8;&#x6001;&#x7684;&#x8F93;&#x51FA;&#x5217;&#x8868;&#x6837;&#x5F0F;</td>
  567. </tr>
  568. <tr>
  569. <td style="text-align:center">tag</td>
  570. <td style="text-align:left">&#x6587;&#x7AE0;&#x6807;&#x7B7E;</td>
  571. </tr>
  572. <tr>
  573. <td style="text-align:center">remark</td>
  574. <td style="text-align:left">&#x6587;&#x7AE0;&#x63CF;&#x8FF0;</td>
  575. </tr>
  576. <tr>
  577. <td style="text-align:center">categoryid</td>
  578. <td style="text-align:left">&#x680F;&#x76EE;ID</td>
  579. </tr>
  580. <tr>
  581. <td style="text-align:center">typenamecn</td>
  582. <td style="text-align:left">&#x680F;&#x76EE;&#x4E2D;&#x6587;&#x540D;&#x79F0;</td>
  583. </tr>
  584. <tr>
  585. <td style="text-align:center">typenameen</td>
  586. <td style="text-align:left">&#x680F;&#x76EE;&#x82F1;&#x6587;&#x540D;&#x79F0;</td>
  587. </tr>
  588. <tr>
  589. <td style="text-align:center">comment</td>
  590. <td style="text-align:left">&#x662F;&#x5426;&#x5141;&#x8BB8;&#x8BC4;&#x8BBA;</td>
  591. </tr>
  592. <tr>
  593. <td style="text-align:center">subscribe</td>
  594. <td style="text-align:left">&#x662F;&#x5426;&#x5141;&#x8BB8;&#x8BA2;&#x9605;</td>
  595. </tr>
  596. <tr>
  597. <td style="text-align:center">clicks</td>
  598. <td style="text-align:left">&#x70B9;&#x51FB;&#x6570;</td>
  599. </tr>
  600. <tr>
  601. <td style="text-align:center">weight</td>
  602. <td style="text-align:left">&#x6743;&#x91CD;&#xFF08;&#x53EF;&#x4EE5;&#x5229;&#x7528;&#x8BE5;&#x5B57;&#x6BB5;&#x6765;&#x6392;&#x5E8F;&#xFF09;</td>
  603. </tr>
  604. <tr>
  605. <td style="text-align:center">status</td>
  606. <td style="text-align:left">&#x72B6;&#x6001;</td>
  607. </tr>
  608. <tr>
  609. <td style="text-align:center">createby</td>
  610. <td style="text-align:left">&#x53D1;&#x5E03;&#x4EBA;</td>
  611. </tr>
  612. <tr>
  613. <td style="text-align:center">createtime</td>
  614. <td style="text-align:left">&#x53D1;&#x5E03;&#x65F6;&#x95F4;</td>
  615. </tr>
  616. <tr>
  617. <td style="text-align:center">updateby</td>
  618. <td style="text-align:left">&#x66F4;&#x65B0;&#x4EBA;</td>
  619. </tr>
  620. <tr>
  621. <td style="text-align:center">updatetime</td>
  622. <td style="text-align:left">&#x66F4;&#x65B0;&#x65F6;&#x95F4;</td>
  623. </tr>
  624. <tr>
  625. <td style="text-align:center">arcurl</td>
  626. <td style="text-align:left">&#x6587;&#x7AE0;&#x8BBF;&#x95EE;URL</td>
  627. </tr>
  628. </tbody>
  629. </table>
  630. <h4 id="&#x8303;&#x4F8B;"><a name="&#x8303;&#x4F8B;" class="plugin-anchor" href="#&#x8303;&#x4F8B;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8303;&#x4F8B;</h4>
  631. <pre><code class="lang-html?linenums">{dreamer-cms:list typeid=&quot;A54547W2&quot; pagenum=&quot;1&quot; pagesize=&quot;4&quot; flag=&quot;p&quot;}
  632. &lt;div class=&quot;col-lg-3 col-md-4 col-sm-6&quot;&gt;
  633. &lt;div class=&quot;feature-wrap&quot;&gt;
  634. &lt;div class=&quot;feature-image&quot;&gt;&lt;img src=&quot;[field:litpic /]&quot; class=&quot;ion ion-ios-cloud-outline&quot;&gt;&lt;/i&gt;&lt;/div&gt;
  635. &lt;a href=&quot;[field:arcurl/]&quot;&gt;[field:title function=&quot;substring(0,100,&apos;...&apos;)&quot; /]&lt;/a&gt;
  636. &lt;p&gt;&lt;/p&gt;
  637. &lt;/div&gt;
  638. &lt;/div&gt;
  639. {/dreamer-cms:list}
  640. </code></pre>
  641. <h4 id="&#x6548;&#x679C;"><a name="&#x6548;&#x679C;" class="plugin-anchor" href="#&#x6548;&#x679C;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6548;&#x679C;</h4>
  642. <p><img src="https://oss.iteachyou.cc/20200619172512.png" alt="list&#x6807;&#x7B7E;" title="list&#x6807;&#x7B7E;"></p>
  643. </section>
  644. </div>
  645. <div class="search-results">
  646. <div class="has-results">
  647. <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
  648. <ul class="search-results-list"></ul>
  649. </div>
  650. <div class="no-results">
  651. <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
  652. </div>
  653. </div>
  654. </div>
  655. </div>
  656. </div>
  657. </div>
  658. <a href="ChannelLabel.html" class="navigation navigation-prev " aria-label="Previous page: Channel频道列表标签">
  659. <i class="fa fa-angle-left"></i>
  660. </a>
  661. <a href="CategoryArtListLabel.html" class="navigation navigation-next " aria-label="Next page: CategoryArtListLabel栏目内容列表标签">
  662. <i class="fa fa-angle-right"></i>
  663. </a>
  664. </div>
  665. <script>
  666. var gitbook = gitbook || [];
  667. gitbook.push(function() {
  668. gitbook.page.hasChanged({"page":{"title":"List文章列表标签","level":"7.1.8","depth":2,"next":{"title":"CategoryArtListLabel栏目内容列表标签","level":"7.1.9","depth":2,"path":"chapter05/CategoryArtListLabel.md","ref":"chapter05/CategoryArtListLabel.md","articles":[]},"previous":{"title":"Channel频道列表标签","level":"7.1.7","depth":2,"path":"chapter05/ChannelLabel.md","ref":"chapter05/ChannelLabel.md","articles":[]},"dir":"ltr"},"config":{"plugins":["anchors","favicon-absolute","highlight"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"favicon-absolute":{"appleTouchIconMore":{},"appleTouchIconPrecomposed152":"./source/images/favicon.png","appleTouchIconPrecomposedMore":{},"favicon":"./source/images/favicon.ico"},"anchors":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"王俊南","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"梦想家内容管理系统(Dreamer CMS)","language":"zh-hans","links":{"sidebar":{"I Teach You,我教你!":"http://www.iteachyou.cc","Dreamer CMS(Gitee)":"https://gitee.com/iteachyou/dreamer_cms","Dreamer CMS(Github)":"https://github.com/iteachyou-wjn/dreamer_cms"}},"gitbook":"3.2.3","description":"Dreamer CMS,梦想家内容管理系统官方使用文档"},"file":{"path":"chapter05/ListLabel.md","mtime":"2023-09-28T07:00:56.520Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2024-05-14T01:34:04.807Z"},"basePath":"..","book":{"language":""}});
  669. });
  670. </script>
  671. </div>
  672. <script src="../gitbook/gitbook.js"></script>
  673. <script src="../gitbook/theme.js"></script>
  674. <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
  675. <script src="../gitbook/gitbook-plugin-search/search.js"></script>
  676. <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
  677. <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
  678. <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
  679. <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
  680. </body>
  681. </html>