编辑器美化

This commit is contained in:
@fawn-nine
2023-07-19 11:41:23 +08:00
parent f13ce88793
commit 52fde4a961
5 changed files with 21 additions and 9 deletions

View File

@@ -13,7 +13,9 @@
</h3>
<div class="type_MTxt">
<div class="type_MTxt_item" v-for="(item,index) in Main_List" :key="index">
<p v-html="item.text" v-if="item.width==0"></p>
<div :class="[item.is_title == 1 ? 'Ptitle' : '']">
<p v-html="item.text" v-if="item.width==0"></p>
</div>
<p v-if="item.width!=0" class="MaxPicture">
<img :src="baseUrl+'public/mainimg/'+item.content" :style="'width:'+item.width+'px'">
<font :style="'width:'+item.width+'px'">{{item.note}}
@@ -956,4 +958,6 @@ import VueUeditorWrap from 'vue-ueditor-wrap'; // ES6 Module
display: block;
}
.istitle{margin: 20px 0;}
.Ptitle{background: rgb(23, 138, 184); padding: 4px; margin: 15px 0;}
.Ptitle p{margin-bottom: 0 !important; font-weight: bold; color: #fff !important;}
</style>