|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
<div class="page"> |
|
|
|
|
<p class="page-name mb">文章详情</p> |
|
|
|
|
<el-form :model="form" :rules="rules" class="input-form model" label-width="140px"> |
|
|
|
|
<el-form-item class="lg" prop="articleTemplate" label="独立文章模板"> |
|
|
|
|
<el-form-item v-if="!isPublication" class="lg" prop="articleTemplate" label="独立文章模板"> |
|
|
|
|
<el-popover |
|
|
|
|
placement="top-start" |
|
|
|
|
trigger="hover" |
|
|
|
@ -211,7 +211,9 @@ |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</template> |
|
|
|
|
<!-- 非出版物的才显示下面字段 --> |
|
|
|
|
<el-form-item v-if="isPublication" prop="mainBody" label="正文"> |
|
|
|
|
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda' v-model="form.mainBody" :init="editorConfig" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<div v-else-if="!isPublication" class="item-line"> |
|
|
|
|
<el-form-item prop="source" label="来源"> |
|
|
|
|
<el-input |
|
|
|
|