From 14581655d2a38ee31a5981759b5a3a6b59b29270 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Wed, 17 Jan 2024 16:17:09 +0800 Subject: [PATCH] code format --- .../views/modules/cms/articleForm.html | 242 +++++++++--------- .../views/modules/cms/categoryForm.html | 213 +++++++-------- .../resources/views/modules/cms/siteForm.html | 13 +- 3 files changed, 233 insertions(+), 235 deletions(-) diff --git a/modules/cms/src/main/resources/views/modules/cms/articleForm.html b/modules/cms/src/main/resources/views/modules/cms/articleForm.html index 96a01ede..188d444d 100644 --- a/modules/cms/src/main/resources/views/modules/cms/articleForm.html +++ b/modules/cms/src/main/resources/views/modules/cms/articleForm.html @@ -21,7 +21,7 @@
- <#form:treeselect id="category" title="${text('所属栏目')}" + <#form:treeselect id="category" title="${text('所属栏目')}" path="category.categoryCode" labelPath="category.categoryName" url="${ctx}/cms/category/treeData?excludeCode=${article.category.categoryCode}" class="required" allowClear="false" canSelectRoot="true" canSelectParent="false" /> @@ -70,145 +70,145 @@
- -
-
-
- -
-
- <#form:input path="weight" class="form-control width-90 digits" maxlength="10"/>   - <#form:checkbox id="weightTop" label="${text('置顶')}" value="${article.weight==9999 ?'1' : ''}" - class="form-control" style="vertical-align:middle;"/> +
+
+
+ +
+
+ <#form:input path="weight" class="form-control width-90 digits" maxlength="10"/>   + <#form:checkbox id="weightTop" label="${text('置顶')}" value="${article.weight==9999 ?'1' : ''}" + class="form-control" style="vertical-align:middle;"/> +
+
+
+
+
+
+ +
+ <#form:input path="weightDate" readonly="true" maxlength="20" class="form-control laydate" + dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/>
-
-
- -
- <#form:input path="weightDate" readonly="true" maxlength="20" class="form-control laydate" - dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/> -
-
-
-
-
${text('详细信息')}
-
-
-
- -
- <#form:textarea path="description" maxlength="500" class="form-control"/> -
-
-
-
-
-
-
- -
- <#form:ueditor id="content" path="articleData.content" maxlength="10000" height="500" class="required" outline="${parameter.outline}"/> -
-
-
-
-
${text('其他信息')}
-
-
-
- -
- <#form:fileupload id="uploadImage" bizKey="${article.id}" - bizType="article_image" returnPath="true" - filePathInputId="image" uploadType="image" readonly="false" - maxUploadNum="4" isMini="false" /> - <#form:input path="image" maxlength="1000" readonly="true" class="form-control" /> -
-
-
-
-
-
-
- -
- <#form:input path="keywords" maxlength="500" class="form-control"/> -
-
-
- -
-
- -
- <#form:input path="createDate" readonly="true" maxlength="20" class="form-control laydate" - dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/> +
+
+
+ +
+ <#form:ueditor id="content" path="articleData.content" maxlength="10000" height="500" class="required" outline="${parameter.outline}"/> +
-
-
${text('高级信息')}
-
-
-
- -
- <#form:select path="customContentView" items="${contentViewList}" itemLabel="id" itemValue="id" blankOption="true" class="form-control " /> +
${text('其他信息')}
+
+
+
+ +
+ <#form:fileupload id="uploadImage" bizKey="${article.id}" + bizType="article_image" returnPath="true" + filePathInputId="image" uploadType="image" readonly="false" + maxUploadNum="4" isMini="false" /> + <#form:input path="image" maxlength="1000" readonly="true" class="form-control" /> +
-
-
-
-
- -
- <#form:input path="viewConfig" maxlength="1000" placeholder="视图参数例如: {count:2, title_show:'yes'} 则在视图文件中的获取方法是:${'${'}viewConfig_count}、${'${'}viewConfig_titleShow}" class="form-control"/> +
+
+
+ +
+ <#form:input path="keywords" maxlength="500" class="form-control"/> +
+
+
+ +
+
+ +
+ <#form:input path="createDate" readonly="true" maxlength="20" class="form-control laydate" + dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/> +
+
${text('页面配置')}
+
+
+
+ +
+ <#form:select path="customContentView" items="${contentViewList}" itemLabel="id" itemValue="id" blankOption="true" class="form-control " /> +
+
+
+
+
+
+
+ +
+ <#form:input path="viewConfig" maxlength="1000" placeholder="视图参数例如: {count:2, title_show:'yes'} 则在视图文件中的获取方法是:${'${'}viewConfig_count}、${'${'}viewConfig_titleShow}" class="form-control"/> +
+
+
+
+
+
+
+ +
+ <#form:textarea path="remarks" rows="4" maxlength="500" class="form-control"/> +
+
+
+
+ <#form:extend collapsed="true" pathPrefix="articleData"/>
- <#form:extend collapsed="true" pathPrefix="articleData"/>