|
@@ -1,6 +1,6 @@
|
|
|
import { computed, defineComponent, onMounted, reactive, ref } from 'vue';
|
|
|
import styles from './index.module.less';
|
|
|
-import { NIcon, NSpin, NScrollbar, NModal, NImage } from 'naive-ui';
|
|
|
+import { NIcon, NSpin, NScrollbar, NModal, NImage, NTooltip } from 'naive-ui';
|
|
|
import {
|
|
|
lessonCoursewareDetail,
|
|
|
lessonCoursewarePage,
|
|
@@ -12,7 +12,7 @@ import { usePrepareStore } from '/src/store/modules/prepareLessons';
|
|
|
import { useUserStore } from '/src/store/modules/users';
|
|
|
import { useRoute } from 'vue-router';
|
|
|
import { eventGlobal } from '/src/utils';
|
|
|
-import TheNoticeBar from '/src/components/TheNoticeBar';
|
|
|
+// import TheNoticeBar from '/src/components/TheNoticeBar';
|
|
|
import { getSubjectList2 } from '/src/api/user';
|
|
|
import LessonsGuide from '@/custom-plugins/guide-page/lessons-guide';
|
|
|
import { modalClickMask } from '/src/state';
|
|
@@ -273,17 +273,29 @@ export default defineComponent({
|
|
|
src={prepareStore.getBaseCourseware.coverImg}
|
|
|
lazy
|
|
|
previewDisabled={true}
|
|
|
- onLoad={e => {
|
|
|
+ onLoad={(e: any) => {
|
|
|
(e.target as any).dataset.loaded = 'true';
|
|
|
}}
|
|
|
/>
|
|
|
</div>
|
|
|
<div class={styles.itemContent}>
|
|
|
<h2>
|
|
|
- <TheNoticeBar text={prepareStore.getBaseCourseware.name} />
|
|
|
+ {/* <TheNoticeBar text={prepareStore.getBaseCourseware.name} /> */}
|
|
|
+ <NTooltip showArrow={false} class={styles.theTooltip} placement="top-start">
|
|
|
+ {{
|
|
|
+ trigger: () => prepareStore.getBaseCourseware.name,
|
|
|
+ default: () => prepareStore.getBaseCourseware.name
|
|
|
+ }}
|
|
|
+ </NTooltip>
|
|
|
</h2>
|
|
|
<div class={styles.subjects}>
|
|
|
- <TheNoticeBar text={formatInstrumentNames.value} />
|
|
|
+ {/* <TheNoticeBar text={formatInstrumentNames.value} /> */}
|
|
|
+ <NTooltip showArrow={false} class={styles.theTooltip} placement="top-start">
|
|
|
+ {{
|
|
|
+ trigger: () => formatInstrumentNames.value,
|
|
|
+ default: () => formatInstrumentNames.value
|
|
|
+ }}
|
|
|
+ </NTooltip>
|
|
|
</div>
|
|
|
<div
|
|
|
class={styles.changeDir}
|