编辑器美化
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user