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
8cba515a
Commit
8cba515a
authored
May 27, 2021
by
zhongxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文章编辑的template
parent
d851be01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
form.ftl
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
+2
-13
No files found.
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
View file @
8cba515a
...
...
@@ -23,7 +23,6 @@
<el-row
gutter=
"0"
justify=
"start"
align=
"top"
>
<el-col
:span=
"returnIsShow?'12':'24'"
>
<el-form-item
label=
"文章标题"
prop=
"contentTitle"
>
<template
slot=
'label'
>
文章标题
</template>
<el-input
v-model=
"form.contentTitle"
:disabled=
"false"
:style=
"{width: '100%'}"
...
...
@@ -37,7 +36,6 @@
</el-col>
<el-col
span=
"12"
v-if=
"returnIsShow"
>
<el-form-item
label=
"所属栏目"
prop=
"categoryId"
>
<template
slot=
'label'
>
所属栏目
</template>
<tree-select
:props=
"{value: 'id',label: 'categoryTitle',children: 'children'}"
:options=
"contentCategoryIdOptions"
:style=
"{width:'100%'}"
@
change=
"categoryChange"
...
...
@@ -54,7 +52,6 @@
justify=
"start"
align=
"top"
>
<el-col
span=
"12"
>
<el-form-item
label=
"文章类型"
prop=
"contentType"
>
<template
slot=
'label'
>
文章类型
</template>
<el-select
v-model=
"form.contentType"
:style=
"{width: '100%'}"
:filterable=
"false"
...
...
@@ -72,7 +69,6 @@
</el-col>
<el-col
span=
"12"
>
<el-form-item
label=
"发布时间"
prop=
"contentDatetime"
>
<template
slot=
'label'
>
发布时间
</template>
<el-date-picker
v-model=
"form.contentDatetime"
placeholder=
"请选择发布时间"
...
...
@@ -98,7 +94,6 @@
justify=
"start"
align=
"top"
>
<el-col
span=
"12"
>
<el-form-item
label=
"文章作者"
prop=
"contentAuthor"
>
<template
slot=
'label'
>
文章作者
</template>
<el-input
v-model=
"form.contentAuthor"
:disabled=
"false"
:style=
"{width: '100%'}"
...
...
@@ -112,7 +107,6 @@
</el-col>
<el-col
span=
"12"
>
<el-form-item
label=
"文章来源"
prop=
"contentSource"
>
<template
slot=
'label'
>
文章来源
</template>
<el-input
v-model=
"form.contentSource"
:disabled=
"false"
:style=
"{width: '100%'}"
...
...
@@ -129,8 +123,7 @@
gutter=
"0"
justify=
"start"
align=
"top"
>
<el-col
span=
"12"
>
<el-form-item
label=
""
prop=
"contentDisplay"
>
<template
slot=
'label'
>
是否显示
</template>
<el-form-item
label=
"是否显示"
prop=
"contentDisplay"
>
<el-radio-group
v-model=
"form.contentDisplay"
:style=
"{width: ''}"
:disabled=
"false"
>
...
...
@@ -156,8 +149,7 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item
label=
""
prop=
"contentImg"
>
<template
slot=
'label'
>
文章缩略图
</template>
<el-form-item
label=
"文章缩略图"
prop=
"contentImg"
>
<el-upload
:file-list=
"form.contentImg"
:action=
"ms.base+'/file/upload.do'"
...
...
@@ -178,7 +170,6 @@
</el-upload>
</el-form-item>
<el-form-item
label=
"关键字"
prop=
"contentKeyword"
>
<template
slot=
'label'
>
关键字
</template>
<el-input
type=
"textarea"
:rows=
"5"
:disabled=
"false"
...
...
@@ -191,7 +182,6 @@
</div>
</el-form-item>
<el-form-item
label=
"描述"
prop=
"contentDescription"
>
<template
slot=
'label'
>
描述
</template>
<el-input
type=
"textarea"
:rows=
"5"
:disabled=
"false"
...
...
@@ -204,7 +194,6 @@
</div>
</el-form-item>
<el-form-item
label=
"文章内容"
prop=
"contentDetails"
>
<template
slot=
'label'
>
文章内容
</template>
<vue-ueditor-wrap
style=
"line-height: 0px"
v-model=
"form.contentDetails"
:config=
"editorConfig"
></vue-ueditor-wrap>
<div
class=
"ms-form-tip"
>
...
...
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