|
@@ -53,23 +53,23 @@
|
|
<div class="select-box">
|
|
<div class="select-box">
|
|
<h3>{{$t('Slides.please_select_slide')}}</h3>
|
|
<h3>{{$t('Slides.please_select_slide')}}</h3>
|
|
<div class="input-box">
|
|
<div class="input-box">
|
|
- 第
|
|
|
|
|
|
+ {{$t('Slides.slide_select')}}
|
|
<input type="text"
|
|
<input type="text"
|
|
:min="1" :max="pageList.length"
|
|
:min="1" :max="pageList.length"
|
|
v-model.trim="startPageNum"
|
|
v-model.trim="startPageNum"
|
|
@input="handleInput('start')"
|
|
@input="handleInput('start')"
|
|
/>
|
|
/>
|
|
- 至
|
|
|
|
|
|
+ {{$t('Slides.to_select')}}
|
|
<input type="text"
|
|
<input type="text"
|
|
:min="1" :max="pageList.length"
|
|
:min="1" :max="pageList.length"
|
|
v-model.trim="endPageNum"
|
|
v-model.trim="endPageNum"
|
|
@input="handleInput('end')"
|
|
@input="handleInput('end')"
|
|
/>
|
|
/>
|
|
- 页
|
|
|
|
- <span style="margin-left:5px; color:#409EFF;cursor:pointer;" @click="checkPage">确认</span>
|
|
|
|
|
|
+ {{$t('Slides.page_select')}}
|
|
|
|
+ <span style="margin-left:5px; color:#409EFF;cursor:pointer;" @click="checkPage">{{$t('Slides.confirmation_btn')}}</span>
|
|
</div>
|
|
</div>
|
|
<div class="choose-box">
|
|
<div class="choose-box">
|
|
- <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox>
|
|
|
|
|
|
+ <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">{{$t('Common.all_select')}}</el-checkbox>
|
|
<el-checkbox-group v-model="checkedPages" @change="handleCheckedPagesChange">
|
|
<el-checkbox-group v-model="checkedPages" @change="handleCheckedPagesChange">
|
|
<el-checkbox v-for="(page,index) in pageList" :label="index" :key="page.id">{{$i18n.locale == 'zh' ?`第${index+1}页`:` Slide${index+1}`}} {{page.title||'无标题'}}</el-checkbox>
|
|
<el-checkbox v-for="(page,index) in pageList" :label="index" :key="page.id">{{$i18n.locale == 'zh' ?`第${index+1}页`:` Slide${index+1}`}} {{page.title||'无标题'}}</el-checkbox>
|
|
</el-checkbox-group>
|
|
</el-checkbox-group>
|
|
@@ -130,7 +130,7 @@ export default {
|
|
dataLoading:false,//v-loading
|
|
dataLoading:false,//v-loading
|
|
isLoaded:false,//是否已经加载过
|
|
isLoaded:false,//是否已经加载过
|
|
checkBoxList:[],
|
|
checkBoxList:[],
|
|
- loadingText:'加载缩略图中...'
|
|
|
|
|
|
+
|
|
};
|
|
};
|
|
},
|
|
},
|
|
watch:{
|
|
watch:{
|
|
@@ -330,6 +330,11 @@ export default {
|
|
this.isEndInput = false
|
|
this.isEndInput = false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ computed:{
|
|
|
|
+ loadingText(){
|
|
|
|
+ return this.$t('Slides.loading_thumbnails')
|
|
|
|
+ }
|
|
|
|
+ }
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|