Browse Source

ppt编辑、演示页一些问题fix

cxmo 1 year ago
parent
commit
2eb55a1e78

+ 1 - 1
src/views/ppt_manage/newVersion/components/IndexItem.vue

@@ -31,7 +31,7 @@
                页
             </div>
             
-            <p class="page-index" v-else @dblclick.stop="editPage"> {{$i18n.locale == 'zh' ?`第${index+1}页`:` Slide${index+1}`}}</p>  
+            <p class="page-index" v-else @dblclick.stop="editPage"> {{$i18n.locale == 'zh' ?`第${pageIndex+1}页`:` Slide${pageIndex+1}`}}</p>  
         </div>
         <el-popconfirm
             @onConfirm="deletePage"

+ 3 - 3
src/views/ppt_manage/newVersion/pptEnPresent.vue

@@ -86,7 +86,7 @@
             <el-dropdown split-button type="primary" @click="FullScreen" @command="handleCommand">
               {{$t('Slides.play_from_current_slide')}}
               <el-dropdown-menu slot="dropdown">
-                <el-dropdown-item>{{$T('Slides.play_for_the_first_slide')}}</el-dropdown-item>
+                <el-dropdown-item>{{$t('Slides.play_for_the_first_slide')}}</el-dropdown-item>
               </el-dropdown-menu>
             </el-dropdown>
           </div>
@@ -203,7 +203,7 @@ export default {
       backInfo:{
         index:{
           id:-1,
-          title:'尾页'
+          title:this.$t('Slides.back_cover_info')
         }
       },//封底信息
       pageList:[],//ppt数组
@@ -514,7 +514,7 @@ export default {
     //改变ppt的宽高比
     async handleLayoutCommand(command){
       this.LayoutType = command
-      this.layoutStr = ['',`10:7${t('Slides.default_size')}`,'16:9 ','4:3 '][this.LayoutType]
+      this.layoutStr = ['',`10:7${this.$t('Slides.default_size')}`,'16:9 ','4:3 '][this.LayoutType]
       this.$nextTick(()=>{
         reloadPPTWid()
         $('.ppt-item').css('height',$('.ppt-item').width()*this.coefficient);

+ 1 - 1
src/views/ppt_manage/newVersion/pptPresent.vue

@@ -202,7 +202,7 @@ export default {
       backInfo:{
         index:{
           id:-1,
-          title:'尾页'
+          title:this.$t('Slides.back_cover_info')
         }
       },//封底信息
       pageList:[],//ppt数组