修改:外观设置添加分类封面

This commit is contained in:
jmal 2020-11-29 23:00:54 +08:00
parent 1f5c5d16e2
commit 8ccd5ffce8

View File

@ -36,6 +36,11 @@
列如:{{example}}:https://github.com/jamebal (建议不超过5项) 列如:{{example}}:https://github.com/jamebal (建议不超过5项)
</span> </span>
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="分类界面" name="3">
<div class="config-itme-label">分类界面背景大图:</div>
<el-input autosize type="textarea" width="100%" v-model="form.categoryBackground"></el-input>
<span class="instruction">在这里填入图片的URL地址, 以在分类页面显示一个背景大图。</span>
</el-collapse-item>
</el-collapse> </el-collapse>
</el-card> </el-card>
</div> </div>
@ -51,7 +56,7 @@ export default {
}, },
data() { data() {
return { return {
activeNames: ['1'], activeNames: ['1','2','3'],
example: '<i class="fab fa-github">github</i>', example: '<i class="fab fa-github">github</i>',
form: { form: {
backgroundSite: '', backgroundSite: '',
@ -59,6 +64,7 @@ export default {
backgroundDescSite: '', backgroundDescSite: '',
siteName: '', siteName: '',
operatingButtons: '', operatingButtons: '',
categoryBackground: '',
} }
} }
}, },