getCurProgress:?function(type){
????var?currentLocation?=?vm.rendition.currentLocation();
????if?(type=='prev')?{
????????vm.progress?=?(Math.floor(vm.locations.percentageFromCfi(currentLocation.start.cfi)*10000)/100).toFixed(0);
????}
????if?(type=='next')?{
????????vm.progress?=?(Math.floor(vm.locations.percentageFromCfi(currentLocation.start.cfi)*10000)/100).toFixed(0);
????}else?{
????????vm.progress?=?(Math.floor(vm.locations.percentageFromCfi(currentLocation.start.cfi)*10000)/100).toFixed(0);
????}
????this.$refs.progress.style.backgroundSize?=?`${vm.progress}%?100%`;
},
2019-04-29
就這一段看不出問(wèn)題啊,你把相應(yīng)的點(diǎn)擊目錄跳轉(zhuǎn)和進(jìn)度的html發(fā)一下看看問(wèn)題在哪