cyc
This commit is contained in:
parent
5542e7f6bb
commit
8411fc2d84
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div v-loading.fullscreen="fullscreenLoading">
|
||||
<div class="xml-read" v-if="show">
|
||||
<xml-digital-teaching
|
||||
v-if="digitalTeaching"
|
||||
@ -73,6 +73,7 @@ export default {
|
||||
bookId: '',
|
||||
show:false,
|
||||
showError:false,
|
||||
fullscreenLoading:true,
|
||||
errormsg:'无数据',
|
||||
location: '',
|
||||
basisPath: 'https://smile-ebook.oss-cn-qingdao.aliyuncs.com/newjc/',
|
||||
@ -146,6 +147,7 @@ export default {
|
||||
this.textBookData = await bookApi.bookinfo.detail({bookId:this.bookId})
|
||||
|
||||
} catch (error) {
|
||||
this.fullscreenLoading = false
|
||||
this.show= false
|
||||
this.showError = true
|
||||
this.errormsg = error
|
||||
@ -154,8 +156,10 @@ export default {
|
||||
this.basisPath = this.textBookData.basisPath
|
||||
this.catalogList = await bookApi.bookinfo.category({bookId:this.bookId})
|
||||
this.looseLeafData = await bookApi.bookinfo.data({bookId:this.bookId})
|
||||
|
||||
this.data.resources.list = await bookApi.resource.list({bookId:this.bookId})
|
||||
this.show = true
|
||||
this.fullscreenLoading = false
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user