|
@@ -39,11 +39,11 @@
|
|
<!-- <div class="image-move" v-if="dragShow" @mousedown.stop="handleMoveStart" ></div> -->
|
|
<!-- <div class="image-move" v-if="dragShow" @mousedown.stop="handleMoveStart" ></div> -->
|
|
<div class="ppt-wrap" @wheel.stop="normalMouseWheel">
|
|
<div class="ppt-wrap" @wheel.stop="normalMouseWheel">
|
|
<!-- 封面 -->
|
|
<!-- 封面 -->
|
|
- <div class="ppt-item" id="cover" v-if="currentIndex===0">
|
|
|
|
|
|
+ <div class="ppt-item" id="cover" v-if="currentIndex===0" style="background-size:20%;">
|
|
<Cover :pageInfo="coverInfo.page" v-show="coverInfo.page"></Cover>
|
|
<Cover :pageInfo="coverInfo.page" v-show="coverInfo.page"></Cover>
|
|
</div>
|
|
</div>
|
|
<!-- 封底 -->
|
|
<!-- 封底 -->
|
|
- <div class="ppt-item" id="back" v-else-if="currentIndex===pageList.length+1">
|
|
|
|
|
|
+ <div class="ppt-item" id="back" v-else-if="currentIndex===pageList.length+1" style="background-size:20%;">
|
|
<img :src="pptBackImage" class="pptbg" style="width:100%;height:100%;object-fit: fill !important;"/>
|
|
<img :src="pptBackImage" class="pptbg" style="width:100%;height:100%;object-fit: fill !important;"/>
|
|
</div>
|
|
</div>
|
|
<!-- PPT内容 -->
|
|
<!-- PPT内容 -->
|
|
@@ -97,11 +97,11 @@
|
|
@mousedown.stop="(e)=>{handleMouse('down',e)}" @mouseup="(e)=>{handleMouse('up',e)}" @wheel.stop="normalMouseWheel" @contextmenu="handleContextMenu" >
|
|
@mousedown.stop="(e)=>{handleMouse('down',e)}" @mouseup="(e)=>{handleMouse('up',e)}" @wheel.stop="normalMouseWheel" @contextmenu="handleContextMenu" >
|
|
<div class="ppt-wrap">
|
|
<div class="ppt-wrap">
|
|
<!-- 封面 -->
|
|
<!-- 封面 -->
|
|
- <div class="ppt-item" id="cover" v-if="currentIndex===0">
|
|
|
|
|
|
+ <div class="ppt-item" id="cover" v-if="currentIndex===0" style="background-size:20%;">
|
|
<Cover :pageInfo="coverInfo.page" v-show="coverInfo.page"></Cover>
|
|
<Cover :pageInfo="coverInfo.page" v-show="coverInfo.page"></Cover>
|
|
</div>
|
|
</div>
|
|
<!-- 封底 -->
|
|
<!-- 封底 -->
|
|
- <div class="ppt-item" id="back" v-else-if="currentIndex===pageList.length+1">
|
|
|
|
|
|
+ <div class="ppt-item" id="back" v-else-if="currentIndex===pageList.length+1" style="background-size:20%;">
|
|
<img :src="pptBackImage" class="pptbg" style="width:100%;height:100%;object-fit: fill !important;"/>
|
|
<img :src="pptBackImage" class="pptbg" style="width:100%;height:100%;object-fit: fill !important;"/>
|
|
</div>
|
|
</div>
|
|
<!-- PPT内容 -->
|
|
<!-- PPT内容 -->
|
|
@@ -300,6 +300,7 @@ export default {
|
|
this.sheetListHandle(sheetElements);
|
|
this.sheetListHandle(sheetElements);
|
|
}
|
|
}
|
|
this.currentKey = 1
|
|
this.currentKey = 1
|
|
|
|
+ this.pptBgImage&&$('.ppt-item').css('background-image',`url(${this.pptBgImage})`);
|
|
this.dataLoading.close();
|
|
this.dataLoading.close();
|
|
},
|
|
},
|
|
//根据id获取ppt数据
|
|
//根据id获取ppt数据
|
|
@@ -557,6 +558,7 @@ export default {
|
|
$('.fullscreen .ppt-wrap').css('width','1100px')
|
|
$('.fullscreen .ppt-wrap').css('width','1100px')
|
|
$('.ppt-item').css('transform',`scale(1)`)
|
|
$('.ppt-item').css('transform',`scale(1)`)
|
|
this.changeCurrentItem(this.currentItem)
|
|
this.changeCurrentItem(this.currentItem)
|
|
|
|
+ $('.ppt-item').css('background-image',`url(${this.pptBgImage})`);
|
|
})
|
|
})
|
|
}else{
|
|
}else{
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|