cms 文章内容样式修改 8.21

dev_2307
zhc077 1 year ago
parent 558ccc423a
commit 5c14d1725b
  1. 28
      ant-design-vue-jeecg/src/views/cms/admin/CmsArticleList.vue
  2. 4
      ant-design-vue-jeecg/src/views/cms/admin/modules/CmsArticleForm.vue

@ -166,9 +166,9 @@ export default {
// this.loadData(); // this.loadData();
// }, // },
computed: { computed: {
importExcelUrl: function () { // importExcelUrl: function () {
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; // return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
}, // },
}, },
methods: { methods: {
@ -190,17 +190,17 @@ export default {
}) })
}, },
initDictConfig() { // initDictConfig() {
}, // },
getSuperFieldList() { // getSuperFieldList() {
let fieldList = []; // let fieldList = [];
fieldList.push({type: 'string', value: 'title', text: '文章标题', dictCode: ''}) // fieldList.push({type: 'string', value: 'title', text: '', dictCode: ''})
fieldList.push({type: 'string', value: 'status', text: '状态', dictCode: ''}) // fieldList.push({type: 'string', value: 'status', text: '', dictCode: ''})
fieldList.push({type: 'string', value: 'columnId', text: '所属栏目', dictCode: ''}) // fieldList.push({type: 'string', value: 'columnId', text: '', dictCode: ''})
fieldList.push({type: 'string', value: 'columnName', text: '栏目', dictCode: ''}) // fieldList.push({type: 'string', value: 'columnName', text: '', dictCode: ''})
fieldList.push({type: 'string', value: 'source', text: '来源', dictCode: ''}) // fieldList.push({type: 'string', value: 'source', text: '', dictCode: ''})
this.superFieldList = fieldList // this.superFieldList = fieldList
} // }
} }
} }
</script> </script>

@ -24,14 +24,12 @@
<a-input v-model="model.source" placeholder="请输入来源"></a-input> <a-input v-model="model.source" placeholder="请输入来源"></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-row>
<a-col :span="24"> <a-col :span="24">
<a-form-model-item label="内容" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="content"> <a-form-model-item label="内容" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="content">
<j-editor v-model="model.content"/> <j-editor style="width: 250%;" v-model="model.content" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
</a-row>
</a-form-model> </a-form-model>
</j-form-container> </j-form-container>
</a-spin> </a-spin>

Loading…
Cancel
Save