文章栏目模板联调

master
yujialong 2 years ago
parent e574a488b2
commit 9fef54b793
  1. 3
      src/api/index.js
  2. 10
      src/components/modules/module.vue
  3. 41
      src/const/column.js
  4. 2
      src/const/modules.js
  5. 1
      src/mixins/page/index.js
  6. 250
      src/pages/article/add/index.vue
  7. 17
      src/pages/article/list/index.vue
  8. 17
      src/pages/column/add/index.vue
  9. 45
      src/pages/column/list/index.vue
  10. 3
      src/pages/column/page/about.vue
  11. 4
      src/styles/common.scss
  12. BIN
      src/styles/font/toppan.otf

@ -45,6 +45,7 @@ export default {
deleteArticle: `iasf/sysContent/batchDeletion`,
findArticle: `iasf/sysContent/findById`,
queryArticle: `iasf/sysContent/pagingQuery`,
articleEnableOrDisable: `iasf/sysContent/articleEnableOrDisable`,
saveArticle: `iasf/sysContent/save`,
updateArticle: `iasf/sysContent/update`,
longPageColumnList: `iasf/pageManagement/longPageColumnList`,
@ -72,4 +73,6 @@ export default {
delContentFile: `iasf/content/file/delete`,
saveContentFile: `iasf/content/file/save`,
theAttachmentUnderTheQueryColumn: `iasf/content/file/theAttachmentUnderTheQueryColumn`,
individualTemplateDetailsStyle: `iasf/template/individualTemplateDetailsStyle`,
longPageListStyle: `iasf/template/longPageListStyle`,
}

@ -231,11 +231,19 @@ export default {
columnName: '',
templateId: '',
typeId : '',
isSort: 0
isSort: 1
}).then(({ data }) => {
this.data.type === 'columns' || this.handleColumn(data)
this.columns = data
}).catch(err => {})
},
//
handleColumn(data) {
data.map(e => {
if (e.typeId === 2 || e.typeId === 3) e.disabled = true
e.children.length ? this.handleColumn(e.children) : (delete e.children)
})
},
//
columnChange(val) {
this.data.form.columnName = this.$refs.links.getCheckedNodes()[0].label

@ -22,47 +22,6 @@ export default {
name: '子级优先栏目'
}
],
// 栏目模板
templates: [
{
id: 1,
name: '文章'
},
{
id: 2,
name: '文库'
},
],
// 列表样式
listStyle: [
{
id: 1,
name: '图片列表'
},
{
id: 2,
name: '新闻列表'
},
{
id: 3,
name: '出版物列表'
}
],
// 详情样式
detailStyle: [
{
id: 1,
name: '视频详情'
},
{
id: 2,
name: '富文本'
},
{
id: 3,
name: '链接'
}
],
// 长页样式
pageStyle: [
{

@ -1877,7 +1877,7 @@ export default {
otherArticleId: '',
isOpen: 1
},
des: ''
des: 'The Institute of Advanced Science Facilities in Shenzhen, China is home to world-class science, world-class facilities, and world-class people. Located 25 miles east of Shenzhen city center, on a 1.2 acre campus, IASF has over three hundred researchers and support staff.…'
}
},
{

@ -45,6 +45,7 @@ export default {
if (form && form.link && !form.link.site) form.link.site = siteId
if (form && type === 'column' && !form.site) form.site = siteId
})
console.log(555, this.modules)
// 查询页面详情
this.$post(`${this.api.findPage}?columnId=${this.columnId}`).then(({ data }) => {
if (data.length) {

@ -20,9 +20,9 @@
<template v-for="(item, i) in detailStyle">
<li v-if="item.id !== column.detailStyle" :key="i" @click="form.articleTemplate = item.id">
<div class="review">
<img :src="require('@/assets/images/article' + item.id + '.png')" alt="">
<!-- <img :src="require('@/assets/images/article' + item.id + '.png')" alt=""> -->
</div>
<el-radio v-model="form.articleTemplate" :label="item.id">{{ item.name }}</el-radio>
<el-radio v-model="form.articleTemplate" :label="item.id">{{ item.style }}</el-radio>
</li>
</template>
</ul>
@ -47,7 +47,20 @@
:props="columnProps"
clearable></el-cascader>
</el-form-item>
<el-form-item prop="releaseTime" label="发布日期">
<el-form-item v-if="form.articleTemplate === 25" prop="classificationId" label="所属分类">
<el-select style="width: 234px;" v-model="form.classificationId">
<template v-for="item in classifications">
<el-option
v-if="item.classificationName"
:key="item.id"
:label="item.classificationName"
:value="item.id">
</el-option>
</template>
</el-select>
<el-button class="set-btn" type="primary" @click="setClass">设置</el-button>
</el-form-item>
<el-form-item v-else prop="releaseTime" label="发布日期">
<el-date-picker
v-model="form.releaseTime"
type="date"
@ -63,31 +76,58 @@
placeholder="请输入来源"
v-model.trim="form.source"
clearable
maxlength="15"
maxlength="50"
class="inline-input"
@change="nameChange"
></el-input>
</el-form-item>
<el-form-item prop="author" label="作者">
<el-form-item v-if="form.articleTemplate === 25" prop="time" label="起止时间">
<el-date-picker
style="width: 300px"
v-model="form.time"
type="datetimerange"
range-separator="~"
start-placeholder="开始日期"
end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
<el-form-item v-else prop="author" label="作者">
<el-input
placeholder="请输入作者"
v-model.trim="form.author"
clearable
maxlength="200"
class="inline-input"
@change="nameChange"
></el-input>
</el-form-item>
</div>
<div class="item-line">
<div v-if="form.articleTemplate === 25" class="item-line">
<el-form-item prop="lectureSeries" label="演讲系列">
<el-input
placeholder="请输入演讲系列"
v-model.trim="form.lectureSeries"
clearable
maxlength="50"
class="inline-input"
></el-input>
</el-form-item>
<el-form-item prop="onlineLocation" label="线上地点">
<el-input
placeholder="请输入线上地点"
v-model.trim="form.onlineLocation"
clearable
maxlength="50"
class="inline-input"
></el-input>
</el-form-item>
</div>
<div v-if="form.articleTemplate === 22" class="item-line">
<el-form-item prop="edit" label="编辑">
<el-input
placeholder="请输入编辑"
v-model.trim="form.edit"
clearable
maxlength="15"
maxlength="50"
class="inline-input"
@change="nameChange"
></el-input>
</el-form-item>
<el-form-item prop="audit" label="审核">
@ -95,13 +135,42 @@
placeholder="请输入审核"
v-model.trim="form.audit"
clearable
maxlength="15"
maxlength="50"
class="inline-input"
@change="nameChange"
></el-input>
</el-form-item>
</div>
<div class="item-line">
<template v-if="form.articleTemplate === 25">
<el-form-item prop="offlineLocation" label="线下地点">
<el-input
style="width: 940px"
placeholder="请输入线下地点"
v-model="form.offlineLocation"
clearable
maxlength="100"
></el-input>
</el-form-item>
<el-form-item prop="keynoteSpeaker" label="主讲人">
<el-input
style="width: 940px"
placeholder="请输入主讲人"
v-model="form.keynoteSpeaker"
clearable
maxlength="100"
></el-input>
</el-form-item>
<el-form-item prop="eventProfile" label="活动简介">
<el-input
style="width: 940px"
placeholder="请输入活动简介"
v-model="form.eventProfile"
type="textarea"
clearable
></el-input>
</el-form-item>
</template>
<div v-if="form.articleTemplate === 22" class="item-line">
<el-form-item prop="source" label="所属分类">
<el-select style="width: 234px;" v-model="form.classificationId">
<template v-for="item in classifications">
@ -129,7 +198,7 @@
<el-button class="set-btn" type="primary" @click="setLabel">设置</el-button>
</el-form-item>
</div>
<el-form-item prop="summary" label="摘要">
<el-form-item v-if="form.articleTemplate === 22" prop="summary" label="摘要">
<el-input
style="width: 940px"
type="textarea"
@ -138,7 +207,7 @@
clearable
></el-input>
</el-form-item>
<el-form-item prop="titleImg" label="封面图">
<el-form-item prop="titleImg" :label="form.articleTemplate === 25 ? '标题图' : '封面图'">
<el-upload
class="avatar-uploader"
accept=".jpg,.png,.jpeg,.gif"
@ -170,27 +239,25 @@
</div>
</el-upload>
</el-form-item>
<template v-if="!form.templateStatus || (form.templateStatus && form.articleTemplate === 2)">
<el-form-item prop="mainBody" label="正文">
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda' v-model="form.mainBody" :init="editorConfig" />
</el-form-item>
<el-form-item prop="file" label="文件上传">
<el-upload
:on-remove="handleRemove"
:on-success="uploadSuccessFile"
:action="this.api.upload"
:file-list="fileList"
:data="{
quote: form.title,
site: site.siteName,
uploader: userName
}"
>
<el-button>上传</el-button>
</el-upload>
</el-form-item>
</template>
<template v-if="form.articleTemplate === 3">
<el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 25" prop="mainBody" label="正文">
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda' v-model="form.mainBody" :init="editorConfig" />
</el-form-item>
<el-form-item v-if="form.articleTemplate === 22 || form.articleTemplate === 25" prop="file" label="文件上传">
<el-upload
:on-remove="handleRemove"
:on-success="uploadSuccessFile"
:action="this.api.upload"
:file-list="fileList"
:data="{
quote: form.title,
site: site.siteName,
uploader: userName
}"
>
<el-button>上传</el-button>
</el-upload>
</el-form-item>
<template v-if="form.articleTemplate === 24">
<el-form-item prop="connectionType" label="连接类型">
<el-radio-group v-model="form.connectionType">
<el-radio :label="1">站内链接</el-radio>
@ -232,13 +299,6 @@
</el-form-item>
</template>
</template>
<el-form-item v-show="form.typeId === 4" prop="showWithDetails" label="栏目">
<el-switch
v-model="form.showWithDetails"
:active-value="1"
:inactive-value="0">
</el-switch>
</el-form-item>
</el-form>
<div class="btns">
<el-button type="primary" @click="submit(1)">发布</el-button>
@ -337,10 +397,8 @@ export default {
site: this.$store.state.content.site,
userId: this.$store.state.user.userId,
nameRepeat: false,
types: ColumnConst.types,
templates: ColumnConst.templates,
sites: ColumnConst.sites,
detailStyle: ColumnConst.detailStyle,
detailStyle: [],
columns: [],
columnProps: {
checkStrictly: true,
@ -355,17 +413,30 @@ export default {
editorId: this.$store.state.user.userId,
templateStatus: 0,
articleTemplate: '',
doi: '',
quote: '',
publicationTypeId: '',
publicationYear: '',
activityEndTime: '',
activityStartTime: '',
time: '',
lectureSeries: '',
onlineLocation: '',
offlineLocation: '',
keynoteSpeaker: '',
eventProfile: '',
author: '',
edit: '',
audit: '',
bannerImg: '',
lableId: '',
lableId: [],
classificationId: '',
columnId: +this.$route.query.columnId,
file: '',
isRelease: 0,
mainBody: '',
releaseTime: new Date(),
// releaseTime: '',
source: '',
summary : '',
title: '',
@ -381,6 +452,18 @@ export default {
columnId: [
{ required: true, message: '请选择所属栏目', trigger: 'change' }
],
time: [
{ required: true, message: '请选择起始时间', trigger: 'change' }
],
classificationId: [
{ required: false, message: '请选择所属分类', trigger: 'change' }
],
keynoteSpeaker: [
{ required: true, message: '请输入主讲人', trigger: 'blur' }
],
eventProfile: [
{ required: true, message: '请输入活动简介', trigger: 'blur' }
],
releaseTime: [
{ required: true, message: '请选择发布日期', trigger: 'change' }
],
@ -394,6 +477,7 @@ export default {
{ required: true, message: '请选择连接类型', trigger: 'blur' }
],
},
columnInfo: {},
fileList: [],
editorConfig,
submiting: false, //
@ -466,14 +550,17 @@ export default {
name: '文章管理',
route: '/article'
},
{
name: this.$route.query.columnName
},
{
name: this.$route.query.id ? '编辑' : '新增'
}
])
this.getList()
this.form.id && this.getData()
this.getClassification()
this.form.id ? this.getData() : this.getColumn()
this.getLabel()
this.getTemplate()
},
methods: {
//
@ -516,21 +603,51 @@ export default {
e.children.length ? this.getId(e.children, e.ids) : delete e.children
})
},
//
//
getData() {
this.$post(`${this.api.findArticle}?id=${this.form.id}`).then(({ data }) => {
data.lableId = data.lableId.split(',').map(e => +e)
if (data.activityStartTime && data.activityEndTime) data.time = [data.activityStartTime, data.activityEndTime]
this.form = data
if (data.articleTemplate === 3 && data.connectionType !== 2 && data.linkAddress) this.links = data.linkAddress.split(',').map(e => +e)
// if (data.articleTemplate === 3 && data.connectionType !== 2 && data.linkAddress) this.links = data.linkAddress.split(',').map(e => +e)
this.originalName = data.title
this.getColumn()
// const { file } = data
// if (file) this.fileList = [{name: file, url: file}] //
this.getFile()
}).catch(err => {})
},
//
getColumn() {
this.$post(`${this.api.findColumn}?id=${this.$route.query.columnId}`).then(({ data }) => {
this.columnInfo = data
const { form } = this
// /23
if (!form.templateStatus) {
form.articleTemplate = (data.typeId === 1 || data.typeId === 4) ? data.detailStyleId : 23
}
//
if (form.articleTemplate === 25) {
this.rules.titleImg[0].required = false
this.rules.classificationId[0].required = true
}
this.getClassification()
}).catch(err => {})
},
//
getTemplate() {
this.$post(this.api.individualTemplateDetailsStyle).then(({ data }) => {
const result = []
data.map(e => {
result.find(n => n.style === e.style) || result.push(e)
})
this.detailStyle = result
console.log("🚀 ~ file: index.vue ~ line 642 ~ this.$post ~ data", result)
}).catch(err => {})
},
//
getClassification() {
this.$post(`${this.api.queryClassif}?siteId=${this.site.id}`).then(({ data }) => {
this.$post(`${this.api.queryClassif}?siteId=${this.site.id}&templateId=${this.columnInfo.templateId}`).then(({ data }) => {
this.classifications = data
}).catch(err => {})
},
@ -571,6 +688,7 @@ export default {
this.$post(`${this.api.checkClassif}?classificationName=${row.classificationName}&siteId=${this.site.id}&classificationId=${row.id}`).then(res => {
this.$post(this.api[row.id ? 'updateClassif' : 'saveClassif'], {
classificationName: row.classificationName,
templateId: this.columnInfo.templateId,
id: row.id,
siteId: this.site.id,
editorId: this.userId,
@ -754,7 +872,6 @@ export default {
},
//
handleRemove(e) {
console.log("🚀 ~ file: index.vue ~ line 740 ~ handleRemove ~ e", e)
this.$post(`${this.api.delContentFile}?id=${e.id}`).then(res => {}).catch(res => {})
},
// banner
@ -813,16 +930,21 @@ export default {
const form = JSON.parse(JSON.stringify(this.form))
if (!form.title) return util.errorMsg('请填写标题')
if (this.nameRepeat) return util.errorMsg('该标题已重复!')
if (!form.releaseTime && isRelease) return util.errorMsg('请选择发布日期')
if (!form.titleImg && isRelease) return util.errorMsg('请上传封面')
// if (!form.releaseTime && isRelease) return util.errorMsg('')
// if (!form.titleImg && isRelease) return util.errorMsg('')
if (typeof form.fatherId === 'object') form.fatherId = form.fatherId[form.fatherId.length - 1]
if (form.articleTemplate === 3 && form.connectionType !== 2) {
const { links } = this
if (!links.length && form.connectionType === 1 && isRelease) return util.errorMsg('请选择站内链接')
if (!links.length && form.connectionType === 3 && isRelease) return util.errorMsg('请选择栏目')
form.linkAddress = links.join()
// if (form.articleTemplate === 24 && form.connectionType !== 2) {
// const { links } = this
// if (!links.length && form.connectionType === 1 && isRelease) return util.errorMsg('')
// if (!links.length && form.connectionType === 3 && isRelease) return util.errorMsg('')
// form.linkAddress = links.join()
// }
// if (((form.templateStatus && form.articleTemplate === 2) || !form.templateStatus) && !form.mainBody && isRelease) return util.errorMsg('')
if (form.articleTemplate === 25) {
if (!form.time.length && isRelease) return util.errorMsg('请选择起止时间')
form.activityStartTime = form.time[0]
form.activityEndTime = form.time[1]
}
if (((form.templateStatus && form.articleTemplate === 2) || !form.templateStatus) && !form.mainBody && isRelease) return util.errorMsg('请输入正文')
const { columnId, bannerImg, file, titleImg } = form
const fileId = []
if (typeof columnId === 'object') form.columnId = columnId[columnId.length - 1] // id
@ -942,9 +1064,13 @@ $upload-lg-height: 102px;
}
.styles {
display: flex;
flex-wrap: wrap;
width: 955px;
height: 320px;
margin-top: 20px;
overflow: auto;
li {
margin-right: 20px;
margin: 0 20px 10px 0;
text-align: center;
cursor: pointer;
&:hover .review {

@ -55,11 +55,18 @@
{{ scope.row.isRelease ? '已发布' : '草稿' }}
</template>
</el-table-column>
<el-table-column v-if="settings[10].show" label="操作" align="center" width="140">
<el-table-column v-if="settings[10].show" label="操作" align="center" width="170">
<template slot-scope="scope">
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:预览'" type="text" @click="preview(scope.row)">预览</el-button>
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:编辑'" type="text" @click="edit(scope.row)">编辑</el-button>
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:删除'" type="text" @click="handleDelete(scope.row)">删除</el-button>
<el-switch
class="m-l-10"
v-model="scope.row.isDisable"
:active-value="0"
:inactive-value="1"
@change="switchOff($event, scope.row, scope.$index)">
</el-switch>
</template>
</el-table-column>
</el-table>
@ -270,11 +277,15 @@ export default {
}).catch(res => {})
}).catch(() => {})
},
//
switchOff(val, row) {
this.$post(`${this.api.articleEnableOrDisable}?id=${row.id}&isDisable=${val}`).then(res => {}).catch((res) => {})
},
//
add() {
if (!this.columns.length) return util.errorMsg('请添加栏目')
this.setColumn(this.$refs.column.getCurrentNode())
this.$router.push(`add?columnId=${this.$refs.column.getCurrentKey()}`)
this.$router.push(`add?columnId=${this.$refs.column.getCurrentKey()}&columnName=${this.$refs.column.getCurrentNode().columnName}`)
},
//
preview(row) {
@ -282,7 +293,7 @@ export default {
},
//
edit(row) {
this.$router.push(`add?id=${row.id}`)
this.$router.push(`add?id=${row.id}&columnId=${this.$refs.column.getCurrentKey()}&columnName=${this.$refs.column.getCurrentNode().columnName}`)
},
}
};

@ -67,7 +67,7 @@
<el-input
type="textarea"
placeholder="请输入栏目副标题"
v-model.trim="form.subtitle"
v-model="form.subtitle"
@change="nameChange"
></el-input>
</el-form-item>
@ -180,7 +180,7 @@
<el-select v-model="form.templateId">
<el-option
label="长页模板"
:value="1">
:value="9">
</el-option>
</el-select>
</el-form-item>
@ -190,7 +190,7 @@
<div class="review">
<img :src="require('@/assets/images/page/' + item.path + '.png')" alt="">
</div>
<el-radio v-model="form.listStyleId" :label="item.id">{{ item.name }}</el-radio>
<el-radio v-model="form.listStyleId" :label="item.id">{{ item.style }}</el-radio>
</li>
</ul>
</el-form-item>
@ -237,7 +237,7 @@ export default {
detailStyleId: [],
types: ColumnConst.types,
templates: [],
pageStyle: ColumnConst.pageStyle,
pageStyle: [],
sites: [],
columns: [],
articles: [],
@ -455,8 +455,9 @@ export default {
typeChange(val) {
if (val === 1 || val === 4) {
this.form.templateId = 1
this.getStyle()
} else if (val == 3) {
this.form.templateId = 9
}
},
//
@ -465,6 +466,10 @@ export default {
this.templates = data
this.isEdit || this.getStyle()
}).catch(err => {})
this.$post(this.api.longPageListStyle).then(({ data }) => {
this.pageStyle = data
}).catch(err => {})
},
// id
getStyle(set = 1) {
@ -653,7 +658,7 @@ export default {
} else {
this.$post(this.api.saveColumn, form).then(({ data }) => {
//
// form.typeId === 3 && this.savePage(data)
form.typeId === 3 && this.savePage(data)
util.successMsg("创建成功")
next ? next() : this.$router.back()
}).catch(err => {

@ -31,9 +31,21 @@
{{ types.find(e => e.id == scope.row.typeId) && types.find(e => e.id == scope.row.typeId).name }}
</template>
</el-table-column>
<el-table-column v-if="settings[2].show" prop="templateName" label="栏目模板" min-width="100"></el-table-column>
<el-table-column v-if="settings[3].show" prop="listStyle" label="列表/长页样式" min-width="100"></el-table-column>
<el-table-column v-if="settings[4].show" prop="detailStyle" label="详情样式" min-width="100"></el-table-column>
<el-table-column v-if="settings[2].show" prop="templateName" label="栏目模板" min-width="100">
<template slot-scope="scope">
{{ scope.row.typeId === 2 ? '--' : scope.row.templateName }}
</template>
</el-table-column>
<el-table-column v-if="settings[3].show" prop="listStyle" label="列表/长页样式" min-width="100">
<template slot-scope="scope">
{{ scope.row.typeId === 2 ? '--' : scope.row.listStyle }}
</template>
</el-table-column>
<el-table-column v-if="settings[4].show" prop="detailStyle" label="详情样式" min-width="100">
<template slot-scope="scope">
{{ (scope.row.typeId === 1 || scope.row.typeId === 4) ? scope.row.detailStyle : '--' }}
</template>
</el-table-column>
<el-table-column v-if="settings[5].show" prop="menuVisible" label="导航菜单" min-width="100">
<template slot-scope="scope">
<el-switch
@ -138,7 +150,7 @@ export default {
types: ColumnConst.types,
templates: [],
listStyle: [],
pageStyle: ColumnConst.pageStyle,
pageStyle: [],
detailStyle: [],
keyword: '',
searchTimer: null,
@ -244,22 +256,6 @@ export default {
this.detailStyle = data.detailsTypeOfTheTemplate
}).catch(err => {})
},
//
handleList(data) {
data.map(e => {
// /
// const item = this[(e.typeId === 1 || e.typeId === 4) ? 'listStyle' : 'pageStyle'].find(n => n.id == e.listStyleId)
// e.listStyleName = item.name || '--'
this.$set(e, 'templateName', '--')
if (e.typeId === 1 || e.typeId === 4) {
const item = this.templates.find(n => n.id === e.templateId)
if (item) e.templateName = item.templateType
} else if (e.typeId === 3) {
e.templateName = '长页模板'
}
this.handleList(e.children)
})
},
//
initData() {
this.$refs.table.clearSelection()
@ -277,7 +273,7 @@ export default {
this.$router.push(`add?id=${row.id}&level=${row.level + 1}&type=${type}`)
},
del(row) {
this.$confirm("确定要删除吗?", "提示", {
this.$confirm("删除栏目将会同时把栏目下的文章一并删除,是否确认删除栏目?", "提示", {
type: "warning"
}).then(() => {
this.$post(`${this.api.deleteColumn}?ids=${row.id}`).then(res => {
@ -298,18 +294,17 @@ export default {
const item = this.pageStyle.find(e => e.id == row.listStyleId)
if (item) path = item.path
}
window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'http://192.168.31.136') + `/#/${path}?id=${row.id}&siteId=${row.siteId}`)
window.open((Setting.isDev ? `http://${location.hostname}:8095` : 'http://192.168.31.136') + `/#/${row.typeId === 3 ? row.path : 'column'}?id=${row.id}&siteId=${row.siteId}`)
},
//
page(row) {
const item = this.pageStyle.find(e => e.id == row.listStyleId)
this.$router.push(`${item ? item.path : 'home'}?id=${row.id}&listStyleId=${row.listStyleId}&siteId=${row.siteId}`)
this.$router.push(`${row.path}?id=${row.id}&listStyleId=${row.listStyleId}&siteId=${row.siteId}`)
},
//
batchDel() {
const list = this.multipleSelection
if (list.length) {
this.$confirm('确定要删除吗?', '提示', {
this.$confirm('删除栏目将会同时把栏目下的文章一并删除,是否确认删除栏目?', '提示', {
type: 'warning'
}).then(() => {
const data = []

@ -250,6 +250,7 @@ export default {
}
.bg {
margin: -122px 0 0 0;
border-top-right-radius: 40px;
}
}
.card {
@ -281,6 +282,7 @@ export default {
h6 {
margin-bottom: 10px;
font-size: 40px;
font-family: toppan;
}
.des {
font-size: 18px;
@ -416,6 +418,7 @@ export default {
margin-bottom: 10px;
font-size: 60px;
font-weight: 800;
font-family: toppan;
color: #035CE1;
line-height: 49px;
}

@ -8,6 +8,10 @@
font-family: SFProDisplay-Bold;
src: url('font/SF-Pro-Display-Bold.otf');
}
@font-face {
font-family: toppan;
src: url('font/toppan.otf');
}
[v-cloak] {
display: none;
}

Binary file not shown.
Loading…
Cancel
Save