|
@@ -61,15 +61,19 @@
|
|
<!-- 自定义标题 -->
|
|
<!-- 自定义标题 -->
|
|
<div class="custom-title-wrap editor-content"
|
|
<div class="custom-title-wrap editor-content"
|
|
:style="currentItem.titleDetail?{
|
|
:style="currentItem.titleDetail?{
|
|
- left:currentItem.titleDetail.baseLeft*contentScale+'px',
|
|
|
|
- top:currentItem.titleDetail.baseTop*contentScale+'px',
|
|
|
|
- width:currentItem.titleDetail.baseWidth+'px',
|
|
|
|
- height:currentItem.titleDetail.baseHeight+'px',
|
|
|
|
|
|
+ left:(currentItem.titleDetail.baseLeft||90)*contentScale+'px',
|
|
|
|
+ top:(currentItem.titleDetail.baseTop||43.39)*contentScale+'px',
|
|
|
|
+ width:(currentItem.titleDetail.baseWidth||612)+'px',
|
|
|
|
+ height:(currentItem.titleDetail.baseHeight||30.9)+'px',
|
|
}:{
|
|
}:{
|
|
- left:90*contentScale+'px',top:34.65*contentScale+'px',width:'612px',height:'44.1px'
|
|
|
|
|
|
+ left:90*contentScale+'px',top:43.39*contentScale+'px',width:'612px',height:'30.9px'
|
|
}">
|
|
}">
|
|
- <div class="title" v-html="currentItem.title"></div>
|
|
|
|
- <!-- <div v-else class="normal-title">{{currentItem.title}}</div> -->
|
|
|
|
|
|
+ <div class="title" v-html="currentItem.title"
|
|
|
|
+ :style="currentItem.titleDetail?{
|
|
|
|
+ color:currentItem.titleDetail.color||'#333',
|
|
|
|
+ fontSize:(currentItem.titleDetail.fontSize||22)+'px',
|
|
|
|
+ fontFamily:currentItem.titleDetail.fontFamily||'helvetica'
|
|
|
|
+ }:{ color:'#333',fontSize:'22px',fontFamily:'helvetica' }"></div>
|
|
</div>
|
|
</div>
|
|
<component
|
|
<component
|
|
:ref="`pptPage_${currentIndex-1}`"
|
|
:ref="`pptPage_${currentIndex-1}`"
|
|
@@ -133,15 +137,19 @@
|
|
<!-- 自定义标题 -->
|
|
<!-- 自定义标题 -->
|
|
<div class="custom-title-wrap editor-content"
|
|
<div class="custom-title-wrap editor-content"
|
|
:style="currentItem.titleDetail?{
|
|
:style="currentItem.titleDetail?{
|
|
- left:currentItem.titleDetail.baseLeft*contentScale+'px',
|
|
|
|
- top:currentItem.titleDetail.baseTop*contentScale+'px',
|
|
|
|
- width:currentItem.titleDetail.baseWidth+'px',
|
|
|
|
- height:currentItem.titleDetail.baseHeight+'px',
|
|
|
|
|
|
+ left:(currentItem.titleDetail.baseLeft||90)*contentScale+'px',
|
|
|
|
+ top:(currentItem.titleDetail.baseTop||43.39)*contentScale+'px',
|
|
|
|
+ width:(currentItem.titleDetail.baseWidth||612)+'px',
|
|
|
|
+ height:(currentItem.titleDetail.baseHeight||30.9)+'px',
|
|
}:{
|
|
}:{
|
|
- left:90*contentScale+'px',top:34.65*contentScale+'px',width:'612px',height:'44.1px'
|
|
|
|
|
|
+ left:90*contentScale+'px',top:43.39*contentScale+'px',width:'612px',height:'30.9px'
|
|
}">
|
|
}">
|
|
- <div class="title" v-html="currentItem.title"></div>
|
|
|
|
- <!-- <div v-else class="normal-title">{{currentItem.title}}</div> -->
|
|
|
|
|
|
+ <div class="title" v-html="currentItem.title"
|
|
|
|
+ :style="currentItem.titleDetail?{
|
|
|
|
+ color:currentItem.titleDetail.color||'#333',
|
|
|
|
+ fontSize:(currentItem.titleDetail.fontSize||22)+'px',
|
|
|
|
+ fontFamily:currentItem.titleDetail.fontFamily||'helvetica'
|
|
|
|
+ }:{ color:'#333',fontSize:'22px',fontFamily:'helvetica' }"></div>
|
|
</div>
|
|
</div>
|
|
<component
|
|
<component
|
|
:ref="`pptPage_${currentIndex-1}`"
|
|
:ref="`pptPage_${currentIndex-1}`"
|