Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
40f23707
Commit
40f23707
authored
May 27, 2021
by
msgroup
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
aa5c14a1
b3c6bd88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
39 deletions
+24
-39
form.ftl
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+1
-2
index.ftl
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
+23
-37
No files found.
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
40f23707
...
@@ -97,8 +97,7 @@
...
@@ -97,8 +97,7 @@
:label=
"item.modelName"
></el-option>
:label=
"item.modelName"
></el-option>
</el-select>
</el-select>
<div
class=
"ms-form-tip"
>
<div
class=
"ms-form-tip"
>
如果发布时候文章字段信息不够,可以采用铭飞代码生成器生成自定义模型,
<br/>
如果发布时候文章字段信息不够,可以采用铭飞代码生成器生成自定义模型,再通过“自定义管理->自定义模型->导入”功能导入模型,注意类型是cms
再通过“自定义管理->自定义模型->导入”功能导入模型,注意类型是cms
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
...
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
View file @
40f23707
...
@@ -14,13 +14,7 @@
...
@@ -14,13 +14,7 @@
<div
class=
"class-2"
>
<div
class=
"class-2"
>
<div
class=
"class-3"
>
<div
class=
"class-3"
>
<div
class=
"class-4"
>
<div
class=
"class-4"
>
<el-form-item
>
<el-form-item
label=
"主页模板"
>
<template
slot=
'label'
>
主页模板
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
width=
"200"
trigger=
"hover"
content=
"更新主页,如果系统存在引导页面可以手动修改主页位置文件名,default.html引导页面index.html主页。"
>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-select
v-model=
"template"
<el-select
v-model=
"template"
:filterable=
"true"
:filterable=
"true"
:clearable=
"false"
:clearable=
"false"
...
@@ -28,21 +22,22 @@
...
@@ -28,21 +22,22 @@
<el-option
v-for=
'item in templateOptions'
:key=
"item"
:value=
"item"
<el-option
v-for=
'item in templateOptions'
:key=
"item"
:value=
"item"
:label=
"item"
></el-option>
:label=
"item"
></el-option>
</el-select>
</el-select>
<div
class=
"ms-form-tip"
>
更新主页,如果系统存在引导页面可以手动修改主页位置文件名,default.html引导页面index.html主页。
</div>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"class-7"
>
<div
class=
"class-7"
>
<el-form-item>
<el-form-item
label=
"主页位置"
>
<template
slot=
'label'
>
主页位置
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
width=
"200"
trigger=
"hover"
content=
"主页位置htm文件名一般为index.html或default.html"
>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-input
v-model=
"position"
<el-input
v-model=
"position"
:disabled=
"false"
:disabled=
"false"
:style=
"{width: '100%'}"
:style=
"{width: '100%'}"
:clearable=
"true"
:clearable=
"true"
placeholder=
"请输入主页位置"
>
placeholder=
"请输入主页位置"
>
</el-input>
</el-input>
<div
class=
"ms-form-tip"
>
主页位置htm文件名一般为index.html或default.html
</div>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"class-10"
>
<div
class=
"class-10"
>
...
@@ -56,27 +51,19 @@
...
@@ -56,27 +51,19 @@
</div>
</div>
<div
class=
"class-13"
>
<div
class=
"class-13"
>
<div
class=
"class-14"
>
<div
class=
"class-14"
>
<el-form-item>
<el-form-item
label=
"文章栏目"
>
<template
slot=
'label'
>
文章栏目
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
width=
"200"
trigger=
"hover"
content=
"生成对应栏目属性为列表的内容数据,例如:新闻详情、产品详情"
>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<tree-select
v-model=
"contentSection"
<tree-select
v-model=
"contentSection"
:props=
"{value: 'id',label: 'categoryTitle',children: 'children'}"
:props=
"{value: 'id',label: 'categoryTitle',children: 'children'}"
:options=
"treeList"
:style=
"{width:'100%'}"
:options=
"treeList"
:style=
"{width:'100%'}"
placeholder=
"请选择文章栏目"
>
placeholder=
"请选择文章栏目"
>
</tree-select>
</tree-select>
<div
class=
"ms-form-tip"
>
生成对应栏目属性为列表的内容数据,例如:新闻详情、产品详情
</div>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"class-17"
>
<div
class=
"class-17"
>
<el-form-item>
<el-form-item
label=
"指定时间"
>
<template
slot=
'label'
>
指定时间
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
width=
"200"
trigger=
"hover"
content=
"根据内容的发布时间来生成,例如:2020-10-10,则生成10月10号以后发布的内容"
>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-date-picker
<el-date-picker
v-model=
"time"
v-model=
"time"
placeholder=
"请选择指定时间"
placeholder=
"请选择指定时间"
...
@@ -91,6 +78,9 @@
...
@@ -91,6 +78,9 @@
:style=
"{width:'100%'}"
:style=
"{width:'100%'}"
type=
"date"
>
type=
"date"
>
</el-date-picker>
</el-date-picker>
<div
class=
"ms-form-tip"
>
根据内容的发布时间来生成,例如:2020-10-10,则生成10月10号以后发布的内容
</div>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"class-20"
>
<div
class=
"class-20"
>
...
@@ -104,19 +94,15 @@
...
@@ -104,19 +94,15 @@
</div>
</div>
<div
class=
"class-23"
>
<div
class=
"class-23"
>
<div
class=
"class-24"
>
<div
class=
"class-24"
>
<el-form-item>
<el-form-item
label=
"生成栏目"
>
<template
slot=
'label'
>
生成栏目
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
width=
"200"
trigger=
"hover"
content=
"生成栏目属性为列表、封面的内容数据,例如:关于我们、公司介绍、新闻列表、产品列表"
>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<tree-select
v-model=
"section"
<tree-select
v-model=
"section"
:props=
"{value: 'id',label: 'categoryTitle',children: 'children'}"
:props=
"{value: 'id',label: 'categoryTitle',children: 'children'}"
:options=
"treeList"
:style=
"{width:'100%'}"
:options=
"treeList"
:style=
"{width:'100%'}"
placeholder=
"请选择文章栏目"
>
placeholder=
"请选择文章栏目"
>
</tree-select>
</tree-select>
<div
class=
"ms-form-tip"
>
生成栏目属性为列表、封面的内容数据,例如:关于我们、公司介绍、新闻列表、产品列表
</div>
</el-form-item>
</el-form-item>
</div>
</div>
...
@@ -347,7 +333,7 @@
...
@@ -347,7 +333,7 @@
padding
:
20px
;
padding
:
20px
;
outline
:
none
;
outline
:
none
;
outline-offset
:
-1px
;
outline-offset
:
-1px
;
height
:
2
0
0px
;
height
:
2
6
0px
;
max-width
:
100%
;
max-width
:
100%
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -495,7 +481,7 @@
...
@@ -495,7 +481,7 @@
padding
:
20px
;
padding
:
20px
;
outline
:
none
;
outline
:
none
;
outline-offset
:
-1px
;
outline-offset
:
-1px
;
height
:
2
0
0px
;
height
:
2
6
0px
;
max-width
:
100%
;
max-width
:
100%
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -640,7 +626,7 @@
...
@@ -640,7 +626,7 @@
padding
:
20px
;
padding
:
20px
;
outline
:
none
;
outline
:
none
;
outline-offset
:
-1px
;
outline-offset
:
-1px
;
height
:
2
0
0px
;
height
:
2
6
0px
;
max-width
:
100%
;
max-width
:
100%
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
flex-direction
:
column
;
flex-direction
:
column
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment