|
@@ -61,12 +61,12 @@
|
|
|
<!-- 自定义标题 -->
|
|
|
<div class="custom-title-wrap editor-content"
|
|
|
:style="currentItem.titleDetail?{
|
|
|
- left:currentItem.titleDetail.baseLeft+'px',
|
|
|
- top:currentItem.titleDetail.baseTop+'px',
|
|
|
+ left:currentItem.titleDetail.baseLeft*contentScale+'px',
|
|
|
+ top:currentItem.titleDetail.baseTop*contentScale+'px',
|
|
|
width:currentItem.titleDetail.baseWidth+'px',
|
|
|
height:currentItem.titleDetail.baseHeight+'px',
|
|
|
}:{
|
|
|
- left:'90px',top:'34.65px',width:'612px',height:'44.1px'
|
|
|
+ left:90*contentScale+'px',top:34.65*contentScale+'px',width:'612px',height:'44.1px'
|
|
|
}">
|
|
|
<div class="title" v-html="currentItem.title"></div>
|
|
|
<!-- <div v-else class="normal-title">{{currentItem.title}}</div> -->
|
|
@@ -133,12 +133,12 @@
|
|
|
<!-- 自定义标题 -->
|
|
|
<div class="custom-title-wrap editor-content"
|
|
|
:style="currentItem.titleDetail?{
|
|
|
- left:currentItem.titleDetail.baseLeft+'px',
|
|
|
- top:currentItem.titleDetail.baseTop+'px',
|
|
|
+ left:currentItem.titleDetail.baseLeft*contentScale+'px',
|
|
|
+ top:currentItem.titleDetail.baseTop*contentScale+'px',
|
|
|
width:currentItem.titleDetail.baseWidth+'px',
|
|
|
height:currentItem.titleDetail.baseHeight+'px',
|
|
|
}:{
|
|
|
- left:'90px',top:'34.65px',width:'612px',height:'44.1px'
|
|
|
+ left:90*contentScale+'px',top:34.65*contentScale+'px',width:'612px',height:'44.1px'
|
|
|
}">
|
|
|
<div class="title" v-html="currentItem.title"></div>
|
|
|
<!-- <div v-else class="normal-title">{{currentItem.title}}</div> -->
|