|
@@ -11,39 +11,30 @@ import {
|
|
|
import LayoutSilder from './layoutSilder';
|
|
|
import LayoutTop from './layoutTop';
|
|
|
import styles from './index.module.less';
|
|
|
-import { NButton, NImage, NModal, NPopover, NSpace, useDialog } from 'naive-ui';
|
|
|
+import { NModal, NPopover, useDialog } from 'naive-ui';
|
|
|
import Moveable from 'moveable';
|
|
|
-import toolStartClass from './images/toolStartClass.png';
|
|
|
+// import toolStartClass from './images/toolStartClass.png';
|
|
|
import timerMeterClose from './images/close.png';
|
|
|
import toolbox from './images/toolbox.png';
|
|
|
import setTimeIcon from './images/setTimeIcon.png';
|
|
|
import beatIcon from './images/beatIcon.png';
|
|
|
-import toneIcon from './images/toneIcon.png';
|
|
|
+// import toneIcon from './images/toneIcon.png';
|
|
|
import iconWhiteBorad from './images/icon-whiteborad.png';
|
|
|
import iconPen from './images/icon-pen.png';
|
|
|
-import iconNote from './images/icon-note.png';
|
|
|
-import beatImage from './images/beatImage.png';
|
|
|
-import toneImage from './images/toneImage.png';
|
|
|
-import setTimeImage from './images/setTimeImage.png';
|
|
|
-import dragingBoxIcon from './images/dragingBoxIcon.png';
|
|
|
+// import iconNote from './images/icon-note.png';
|
|
|
+// import beatImage from './images/beatImage.png';
|
|
|
+// import toneImage from './images/toneImage.png';
|
|
|
+// import setTimeImage from './images/setTimeImage.png';
|
|
|
+// import dragingBoxIcon from './images/dragingBoxIcon.png';
|
|
|
import TimerMeter from '../timerMeter';
|
|
|
import Metronome from '../Metronome';
|
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
|
-import { vaildUrl } from '/src/utils/urlUtils';
|
|
|
-import ChioseModal from '/src/views/home/modals/chioseModal';
|
|
|
-import {
|
|
|
- eventGlobal,
|
|
|
- iframeDislableKeyboard,
|
|
|
- px2vw,
|
|
|
- px2vwH
|
|
|
-} from '@/utils/index';
|
|
|
+import { eventGlobal } from '@/utils/index';
|
|
|
import PlaceholderTone from './modals/placeholderTone';
|
|
|
-import { modalClickMask, state } from '/src/state';
|
|
|
+import { modalClickMask } from '/src/state';
|
|
|
import PreviewWindow from '/src/views/preview-window';
|
|
|
-import { fscreen } from '@/utils/index';
|
|
|
import AttendClass from '/src/views/prepare-lessons/model/attend-class';
|
|
|
import Pen from '/src/views/attend-class/component/tools/pen';
|
|
|
-import study from '/src/views/home/components/study';
|
|
|
import TheAuth from '../TheAuth';
|
|
|
import useDrag from '@/hooks/useDrag';
|
|
|
import { getGuidanceShow } from '@/hooks/useDrag/useDragGuidance';
|
|
@@ -393,12 +384,10 @@ export default defineComponent({
|
|
|
|
|
|
const isNotPadding = computed(() => {
|
|
|
const routePath = route.path;
|
|
|
- const hidePath = [
|
|
|
- '/xiaoku-list',
|
|
|
- ];
|
|
|
-
|
|
|
+ const hidePath = ['/xiaoku-list'];
|
|
|
+
|
|
|
return hidePath.includes(routePath) ? true : false;
|
|
|
- })
|
|
|
+ });
|
|
|
|
|
|
onMounted(() => {
|
|
|
initMoveable();
|
|
@@ -653,7 +642,12 @@ export default defineComponent({
|
|
|
</div>
|
|
|
<div class={styles.Wrapcore}>
|
|
|
<LayoutTop></LayoutTop>
|
|
|
- <div class={[styles.WrapcoreView, isNotPadding.value ? styles.isNotPadding : '']} id="WrapcoreViewWrap">
|
|
|
+ <div
|
|
|
+ class={[
|
|
|
+ styles.WrapcoreView,
|
|
|
+ isNotPadding.value ? styles.isNotPadding : ''
|
|
|
+ ]}
|
|
|
+ id="WrapcoreViewWrap">
|
|
|
{/* <div class={styles.WrapcoreViewInfo}> */}
|
|
|
<router-view>
|
|
|
{(obj: any) => (
|
|
@@ -716,7 +710,6 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</div>
|
|
|
<div>
|
|
|
-
|
|
|
<div
|
|
|
class={styles.booxToolItem}
|
|
|
onClick={() => startShowModal('iconPen')}>
|