|
|
@@ -250,7 +250,7 @@ export default {
|
|
|
];
|
|
|
|
|
|
return {
|
|
|
- book_id: this.$route.query.book_id || '',
|
|
|
+ projectId: this.$route.query.book_id || '',
|
|
|
select_node: this.id,
|
|
|
courseware_info: {
|
|
|
book_name: '',
|
|
|
@@ -364,14 +364,25 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
getBookBaseInfo() {
|
|
|
- GetBookBaseInfo({ id: this.book_id }).then(({ book_info }) => {
|
|
|
+ GetBookBaseInfo({ id: this.projectId }).then(({ book_info }) => {
|
|
|
this.courseware_info = { ...this.courseware_info, ...book_info, book_name: book_info.name };
|
|
|
+ if (book_info.cover_image_file_id) {
|
|
|
+ this.project.cover_image_file_url = book_info.cover_image_file_url;
|
|
|
+ }
|
|
|
+ if (book_info.editor) {
|
|
|
+ this.project.editor = book_info.editor;
|
|
|
+ }
|
|
|
+ if (book_info.cover_image_file_url) {
|
|
|
+ this.project.cover_image_file_url = book_info.cover_image_file_url;
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
|
|
|
getProjectInfo() {
|
|
|
- GetProjectInfo({ id: this.book_id }).then(({ project_info }) => {
|
|
|
- this.project = project_info;
|
|
|
+ GetProjectInfo({ id: this.projectId }).then(({ project_info }) => {
|
|
|
+ if (project_info.cover_image_file_url) {
|
|
|
+ this.project = project_info;
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
|
|
|
@@ -422,7 +433,7 @@ export default {
|
|
|
*/
|
|
|
getBookChapterStructExpandList() {
|
|
|
ChapterGetBookChapterStructExpandList({
|
|
|
- book_id: this.book_id,
|
|
|
+ book_id: this.projectId,
|
|
|
node_deep_mode: 0,
|
|
|
is_contain_producer: 'true',
|
|
|
is_contain_auditor: 'true',
|
|
|
@@ -432,7 +443,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
getBookUnifiedAttr() {
|
|
|
- GetBookUnifiedAttrib({ book_id: this.book_id }).then(({ content }) => {
|
|
|
+ GetBookUnifiedAttrib({ book_id: this.projectId }).then(({ content }) => {
|
|
|
if (content) {
|
|
|
this.unified_attrib = JSON.parse(content);
|
|
|
}
|
|
|
@@ -1115,7 +1126,7 @@ $total-width: $courseware-width + $courseware-left-margin + $courseware-right-ma
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-:deep .audio-wrapper .audio-middle {
|
|
|
+:deep .scroll-container .audio-wrapper .audio-middle {
|
|
|
width: 210px !important;
|
|
|
padding: 6px 8px !important;
|
|
|
border: none;
|