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
72f7732a
Commit
72f7732a
authored
Dec 28, 2019
by
zhongyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示优化
parent
c5638d64
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
163 additions
and
9 deletions
+163
-9
form.ftl
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+48
-3
index.ftl
src/main/webapp/WEB-INF/manager/cms/category/index.ftl
+31
-2
form.ftl
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
+46
-2
main.ftl
src/main/webapp/WEB-INF/manager/cms/content/main.ftl
+38
-2
No files found.
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
72f7732a
...
@@ -12,12 +12,19 @@
...
@@ -12,12 +12,19 @@
</el-header>
</el-header>
<el-main
class=
"ms-container"
>
<el-main
class=
"ms-container"
>
<el-scrollbar
class=
"ms-scrollbar"
style=
"height: 100%;"
>
<el-scrollbar
class=
"ms-scrollbar"
style=
"height: 100%;"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"1
2
0px"
size=
"mini"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"1
3
0px"
size=
"mini"
>
<el-row
<el-row
gutter=
"0"
gutter=
"0"
justify=
"start"
align=
"top"
>
justify=
"start"
align=
"top"
>
<el-col
span=
"12"
>
<el-col
span=
"12"
>
<el-form-item
label=
"栏目管理名称"
prop=
"categoryTitle"
>
<el-form-item
label=
"栏目管理名称"
prop=
"categoryTitle"
>
<template
slot=
'label'
>
栏目管理名称
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.typetitle/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/lan-mu-lie-biao-ms-channel.html"
target=
"_blank"
>
[field.typetitle/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-input
v-model=
"form.categoryTitle"
<el-input
v-model=
"form.categoryTitle"
:disabled=
"false"
:disabled=
"false"
:style=
"{width: '100%'}"
:style=
"{width: '100%'}"
...
@@ -28,7 +35,7 @@
...
@@ -28,7 +35,7 @@
</el-col>
</el-col>
<el-col
span=
"12"
>
<el-col
span=
"12"
>
<el-form-item
label=
"所属栏目"
prop=
"categoryId"
>
<el-form-item
label=
"所属栏目"
prop=
"categoryId"
>
<tree-select
:props=
"{value: 'id',label: 'categoryTitle',children: 'children'}"
<tree-select
ref=
"tree"
:props=
"{value: 'id',label: 'categoryTitle',children: 'children'}"
:options=
"treeList"
:style=
"{width:'100%'}"
:options=
"treeList"
:style=
"{width:'100%'}"
v-model=
"form.categoryId"
></tree-select>
v-model=
"form.categoryId"
></tree-select>
</el-form-item>
</el-form-item>
...
@@ -123,6 +130,13 @@
...
@@ -123,6 +130,13 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-form-item
label=
"栏目管理关键字"
prop=
"categoryKeyword"
>
<el-form-item
label=
"栏目管理关键字"
prop=
"categoryKeyword"
>
<template
slot=
'label'
>
栏目关键字
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.typekeyword/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/lan-mu-lie-biao-ms-channel.html"
target=
"_blank"
>
[field.typekeyword/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-input
<el-input
type=
"textarea"
:rows=
"5"
type=
"textarea"
:rows=
"5"
:disabled=
"false"
:disabled=
"false"
...
@@ -133,6 +147,13 @@
...
@@ -133,6 +147,13 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"栏目管理描述"
prop=
"categoryDescrip"
>
<el-form-item
label=
"栏目管理描述"
prop=
"categoryDescrip"
>
<template
slot=
'label'
>
栏目描述
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.typedescrip/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/lan-mu-lie-biao-ms-channel.html"
target=
"_blank"
>
[field.typedescrip/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-input
<el-input
type=
"textarea"
:rows=
"5"
type=
"textarea"
:rows=
"5"
:disabled=
"false"
:disabled=
"false"
...
@@ -166,7 +187,6 @@
...
@@ -166,7 +187,6 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"自定义链接"
prop=
"categoryDiyUrl"
>
<el-form-item
label=
"自定义链接"
prop=
"categoryDiyUrl"
>
<el-input
<el-input
type=
"textarea"
:rows=
"5"
:disabled=
"false"
:disabled=
"false"
v-model=
"form.categoryDiyUrl"
v-model=
"form.categoryDiyUrl"
...
@@ -190,6 +210,7 @@
...
@@ -190,6 +210,7 @@
categoryTitle
:
'顶级栏目'
,
categoryTitle
:
'顶级栏目'
,
children
:[],
children
:[],
}],
}],
categoryList
:[],
saveDisabled
:
false
,
saveDisabled
:
false
,
categoryTypeDisabled
:
true
,
categoryTypeDisabled
:
true
,
//表单数据
//表单数据
...
@@ -229,6 +250,29 @@
...
@@ -229,6 +250,29 @@
}
}
},
},
watch
:{
watch
:{
'form.categoryId'
:
function
(
n
,
o
)
{
if
(
n
==
this
.
form
.
id
){
this
.
$notify
({
title
:
'提示'
,
message
:
'所属栏目不能为自身'
,
type
:
'error'
});
return
;
}
this
.
categoryList
.
forEach
(
item
=>
{
if
(
item
.
categoryParentId
!=
null
&&
item
.
categoryParentId
!=
""
&&
item
.
categoryParentId
.
indexOf
(
this
.
form
.
id
)
!=
-
1
){
if
(
item
.
id
==
n
){
this
.
form
.
categoryId
=
null
;
this
.
$refs
.
tree
.
clearHandle
();
this
.
$notify
({
title
:
'提示'
,
message
:
'不能选择子分类'
,
type
:
'warning'
});
}
}
});
}
},
},
computed
:{
computed
:{
},
},
...
@@ -238,6 +282,7 @@
...
@@ -238,6 +282,7 @@
ms
.
http
.
get
(
ms
.
manager
+
"/cms/category/list.do"
,{
pageSize
:
9999
}).
then
(
function
(
res
){
ms
.
http
.
get
(
ms
.
manager
+
"/cms/category/list.do"
,{
pageSize
:
9999
}).
then
(
function
(
res
){
if
(
res
.
result
){
if
(
res
.
result
){
//res.data.rows.push({id:0,categoryId: null,categoryTitle:'顶级栏目管理'});
//res.data.rows.push({id:0,categoryId: null,categoryTitle:'顶级栏目管理'});
that
.
categoryList
=
res
.
data
.
rows
;
that
.
treeList
[
0
].
children
=
ms
.
util
.
treeData
(
res
.
data
.
rows
,
'id'
,
'categoryId'
,
'children'
);
that
.
treeList
[
0
].
children
=
ms
.
util
.
treeData
(
res
.
data
.
rows
,
'id'
,
'categoryId'
,
'children'
);
}
}
}).
catch
(
function
(
err
){
}).
catch
(
function
(
err
){
...
...
src/main/webapp/WEB-INF/manager/cms/category/index.ftl
View file @
72f7732a
...
@@ -31,12 +31,41 @@
...
@@ -31,12 +31,41 @@
{{emptyText}}
{{emptyText}}
</template>
</template>
<el-table-column
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
label=
"编号"
width=
"80"
prop=
"id"
></el-table-column>
<el-table-column
label=
"编号"
width=
"120"
prop=
"id"
>
<template
slot=
'header'
>
编号
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.typeid/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/lan-mu-lie-biao-ms-channel.html"
target=
"_blank"
>
[field.typeid/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
</el-table-column>
<el-table-column
label=
"标题"
align=
"left"
prop=
"categoryTitle"
>
<el-table-column
label=
"标题"
align=
"left"
prop=
"categoryTitle"
>
<template
slot=
'header'
>
标题
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.typetitle/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/lan-mu-lie-biao-ms-channel.html"
target=
"_blank"
>
[field.typetitle/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label=
"属性"
align=
"center"
prop=
"categoryType"
:formatter=
"categoryTypeFormat"
width=
"65"
>
<el-table-column
label=
"属性"
align=
"center"
prop=
"categoryType"
:formatter=
"categoryTypeFormat"
width=
"70"
>
<template
slot=
'header'
>
属性
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.flag/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/lan-mu-lie-biao-ms-channel.html"
target=
"_blank"
>
[field.flag/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label=
"链接地址"
align=
"left"
prop=
"categoryPath"
show-overflow-tooltip
>
<el-table-column
label=
"链接地址"
align=
"left"
prop=
"categoryPath"
show-overflow-tooltip
>
<template
slot=
'header'
>
链接地址
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.typelink/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/lan-mu-lie-biao-ms-channel.html"
target=
"_blank"
>
[field.typelink/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer"
class=
"copyBtn"
:data-clipboard-text=
"'{ms:global.url/}'+scope.row.categoryPath+'/index.html'"
@
click=
"copyUrl"
>
{{"{ms:global.url/}"+scope.row.categoryPath+"/index.html"}}
</span>
<span
style=
"cursor: pointer"
class=
"copyBtn"
:data-clipboard-text=
"'{ms:global.url/}'+scope.row.categoryPath+'/index.html'"
@
click=
"copyUrl"
>
{{"{ms:global.url/}"+scope.row.categoryPath+"/index.html"}}
</span>
</template>
</template>
...
...
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
View file @
72f7732a
...
@@ -25,6 +25,13 @@
...
@@ -25,6 +25,13 @@
justify=
"start"
align=
"top"
>
justify=
"start"
align=
"top"
>
<el-col
:span=
"returnIsShow?'12':'24'"
>
<el-col
:span=
"returnIsShow?'12':'24'"
>
<el-form-item
label=
"文章标题"
prop=
"contentTitle"
>
<el-form-item
label=
"文章标题"
prop=
"contentTitle"
>
<template
slot=
'label'
>
文章标题
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.title/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.title/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-input
v-model=
"form.contentTitle"
<el-input
v-model=
"form.contentTitle"
:disabled=
"false"
:disabled=
"false"
:style=
"{width: '100%'}"
:style=
"{width: '100%'}"
...
@@ -35,6 +42,13 @@
...
@@ -35,6 +42,13 @@
</el-col>
</el-col>
<el-col
span=
"12"
v-if=
"returnIsShow"
>
<el-col
span=
"12"
v-if=
"returnIsShow"
>
<el-form-item
label=
"所属栏目"
prop=
"contentCategoryId"
>
<el-form-item
label=
"所属栏目"
prop=
"contentCategoryId"
>
<template
slot=
'label'
>
所属栏目
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.typeid/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.typeid/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<tree-select
:props=
"{value: 'id',label: 'categoryTitle',children: 'children'}"
<tree-select
:props=
"{value: 'id',label: 'categoryTitle',children: 'children'}"
:options=
"contentCategoryIdOptions"
:style=
"{width:'100%'}"
:options=
"contentCategoryIdOptions"
:style=
"{width:'100%'}"
@
change=
"categoryChange"
@
change=
"categoryChange"
...
@@ -83,6 +97,13 @@
...
@@ -83,6 +97,13 @@
justify=
"start"
align=
"top"
>
justify=
"start"
align=
"top"
>
<el-col
span=
"12"
>
<el-col
span=
"12"
>
<el-form-item
label=
"文章作者"
prop=
"contentAuthor"
>
<el-form-item
label=
"文章作者"
prop=
"contentAuthor"
>
<template
slot=
'label'
>
文章作者
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.author/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.author/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-input
v-model=
"form.contentAuthor"
<el-input
v-model=
"form.contentAuthor"
:disabled=
"false"
:disabled=
"false"
:style=
"{width: '100%'}"
:style=
"{width: '100%'}"
...
@@ -93,6 +114,13 @@
...
@@ -93,6 +114,13 @@
</el-col>
</el-col>
<el-col
span=
"12"
>
<el-col
span=
"12"
>
<el-form-item
label=
"文章来源"
prop=
"contentSource"
>
<el-form-item
label=
"文章来源"
prop=
"contentSource"
>
<template
slot=
'label'
>
文章来源
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.source/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.source/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-input
v-model=
"form.contentSource"
<el-input
v-model=
"form.contentSource"
:disabled=
"false"
:disabled=
"false"
:style=
"{width: '100%'}"
:style=
"{width: '100%'}"
...
@@ -135,8 +163,10 @@
...
@@ -135,8 +163,10 @@
</el-row>
</el-row>
<el-form-item
label=
""
prop=
"contentImg"
>
<el-form-item
label=
""
prop=
"contentImg"
>
<template
slot=
'label'
>
文章缩略图
<template
slot=
'label'
>
文章缩略图
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
width=
"200"
trigger=
"hover"
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
content=
"文章缩略图,支持jpg格式"
>
文章缩略图,支持jpg格式
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.litpic/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.litpic/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</el-popover>
</template>
</template>
...
@@ -167,6 +197,13 @@
...
@@ -167,6 +197,13 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"关键字"
prop=
"contentKeyword"
>
<el-form-item
label=
"关键字"
prop=
"contentKeyword"
>
<template
slot=
'label'
>
关键字
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.keyword/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.keyword/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<el-input
<el-input
type=
"textarea"
:rows=
"5"
type=
"textarea"
:rows=
"5"
:disabled=
"false"
:disabled=
"false"
...
@@ -177,6 +214,13 @@
...
@@ -177,6 +214,13 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"文章内容"
prop=
"contentDetails"
>
<el-form-item
label=
"文章内容"
prop=
"contentDetails"
>
<template
slot=
'label'
>
文章内容
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.content/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.content/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<vue-ueditor-wrap
style=
"line-height: 0px"
v-model=
"form.contentDetails"
<vue-ueditor-wrap
style=
"line-height: 0px"
v-model=
"form.contentDetails"
:config=
"editorConfig"
></vue-ueditor-wrap>
:config=
"editorConfig"
></vue-ueditor-wrap>
</el-form-item>
</el-form-item>
...
...
src/main/webapp/WEB-INF/manager/cms/content/main.ftl
View file @
72f7732a
...
@@ -60,16 +60,52 @@
...
@@ -60,16 +60,52 @@
{{emptyText}}
{{emptyText}}
</template>
</template>
<el-table-column
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
label=
"编号"
width=
"60"
prop=
"id"
></el-table-column>
<el-table-column
label=
"编号"
width=
"70"
prop=
"id"
>
<template
slot=
'header'
>
编号
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.id/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.id/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
</el-table-column>
<el-table-column
label=
"栏目名"
align=
"left"
prop=
"contentCategoryId"
:formatter=
"contentCategoryIdFormat"
width=
"100"
>
<el-table-column
label=
"栏目名"
align=
"left"
prop=
"contentCategoryId"
:formatter=
"contentCategoryIdFormat"
width=
"100"
>
<template
slot=
'header'
>
栏目名
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.typename/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.typename/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label=
"文章标题"
align=
"left"
prop=
"contentTitle"
show-overflow-tooltip
>
<el-table-column
label=
"文章标题"
align=
"left"
prop=
"contentTitle"
show-overflow-tooltip
>
<template
slot=
'header'
>
文章标题
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.title/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.title/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label=
"作者"
align=
"left"
prop=
"contentAuthor"
width=
"100"
show-overflow-tooltip
>
<el-table-column
label=
"作者"
align=
"left"
prop=
"contentAuthor"
width=
"100"
show-overflow-tooltip
>
<template
slot=
'header'
>
作者
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.author/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.author/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label=
"排序"
width=
"55"
align=
"right"
prop=
"contentSort"
>
<el-table-column
label=
"排序"
width=
"55"
align=
"right"
prop=
"contentSort"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"点击"
width=
"55"
align=
"right"
prop=
"contentHit"
>
<el-table-column
label=
"点击量"
width=
"90"
align=
"right"
prop=
"contentHit"
>
<template
slot=
'header'
>
点击量
<el-popover
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
target=
"_blank"
>
{field.hit/}
</a>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/wen-zhang-lie-biao-ms-arclist.html"
target=
"_blank"
>
[field.hit/]
</a>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</template>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{scope.row.contentHit?scope.row.contentHit:0}}
{{scope.row.contentHit?scope.row.contentHit:0}}
</template>
</template>
...
...
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