|  | @@ -34,7 +34,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      const showModalTone = ref(false);
 | 
	
		
			
				|  |  |      const showModalTime = ref(false);
 | 
	
		
			
				|  |  |      const showBoxConent = ref(false);
 | 
	
		
			
				|  |  | -    const dialog = useDialog()
 | 
	
		
			
				|  |  | +    const dialog = useDialog();
 | 
	
		
			
				|  |  |      const boxBoundaryInfo = reactive({
 | 
	
		
			
				|  |  |        isBoundary: true,
 | 
	
		
			
				|  |  |        isBoundaryType: 'right' as any,
 | 
	
	
		
			
				|  | @@ -318,15 +318,17 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |      onMounted(() => {
 | 
	
		
			
				|  |  |        initMoveable();
 | 
	
		
			
				|  |  | -      initMoveableClass();
 | 
	
		
			
				|  |  | +      // initMoveableClass();
 | 
	
		
			
				|  |  |        const subdEl = document.getElementById(`moveNPopover`) as HTMLDivElement;
 | 
	
		
			
				|  |  | -      const classEl = document.getElementById(`moveNPopover2`) as HTMLDivElement;
 | 
	
		
			
				|  |  | -      initBoxRectInfo(subdEl,boxBoundaryInfo);
 | 
	
		
			
				|  |  | -      initBoxRectInfo(classEl,classBoundaryInfo);
 | 
	
		
			
				|  |  | -      initBoundaryWrap(subdEl,boxBoundaryInfo)
 | 
	
		
			
				|  |  | -      initBoundaryWrap(classEl,classBoundaryInfo)
 | 
	
		
			
				|  |  | +      // const classEl = document.getElementById(
 | 
	
		
			
				|  |  | +      //   `moveNPopover2`
 | 
	
		
			
				|  |  | +      // ) as HTMLDivElement;
 | 
	
		
			
				|  |  | +      initBoxRectInfo(subdEl, boxBoundaryInfo);
 | 
	
		
			
				|  |  | +      // initBoxRectInfo(classEl, classBoundaryInfo);
 | 
	
		
			
				|  |  | +      initBoundaryWrap(subdEl, boxBoundaryInfo);
 | 
	
		
			
				|  |  | +      // initBoundaryWrap(classEl, classBoundaryInfo);
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  | -    const initBoundaryWrap = (target:any,wrapInfo:any)=>{
 | 
	
		
			
				|  |  | +    const initBoundaryWrap = (target: any, wrapInfo: any) => {
 | 
	
		
			
				|  |  |        target.addEventListener('mouseenter', () => {
 | 
	
		
			
				|  |  |          if (wrapInfo.isBoundary) {
 | 
	
		
			
				|  |  |            // 如果在边框 就得还原 元素位置 还原完毕后 去除transition
 | 
	
	
		
			
				|  | @@ -372,11 +374,10 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        //     }
 | 
	
		
			
				|  |  |        //   })
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |        // });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        actionEnd(target, 'right');
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | +    };
 | 
	
		
			
				|  |  |      const startShowModal = (val: 'setTimeIcon' | 'beatIcon' | 'toneIcon') => {
 | 
	
		
			
				|  |  |        if (val == 'setTimeIcon') {
 | 
	
		
			
				|  |  |          showModalTime.value = true;
 | 
	
	
		
			
				|  | @@ -427,7 +428,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    const initBoxRectInfo = (target:any,wrapInfo:any) => {
 | 
	
		
			
				|  |  | +    const initBoxRectInfo = (target: any, wrapInfo: any) => {
 | 
	
		
			
				|  |  |        // const subdEl = document.getElementById(`moveNPopover`) as HTMLDivElement;
 | 
	
		
			
				|  |  |        // console.log(subdEl, "subdEl", "drag");
 | 
	
		
			
				|  |  |        const subdElStyle = getComputedStyle(target, null);
 | 
	
	
		
			
				|  | @@ -476,7 +477,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |              {/* </div> */}
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  | -        <img
 | 
	
		
			
				|  |  | +        {/* <img
 | 
	
		
			
				|  |  |            src={toolStartClass}
 | 
	
		
			
				|  |  |            id="moveNPopover2"
 | 
	
		
			
				|  |  |            style={{
 | 
	
	
		
			
				|  | @@ -492,7 +493,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |              isDragIng.value ? styles.isDragIng : ''
 | 
	
		
			
				|  |  |            ]}
 | 
	
		
			
				|  |  |            alt=""
 | 
	
		
			
				|  |  | -        />
 | 
	
		
			
				|  |  | +        /> */}
 | 
	
		
			
				|  |  |          <NPopover
 | 
	
		
			
				|  |  |            raw
 | 
	
		
			
				|  |  |            trigger="click"
 | 
	
	
		
			
				|  | @@ -538,6 +539,38 @@ export default defineComponent({
 | 
	
		
			
				|  |  |                <img src={setTimeIcon} alt="" />
 | 
	
		
			
				|  |  |                计时器
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  | +            <div   class={styles.booxToolItem} onClick={()=>{
 | 
	
		
			
				|  |  | +              showClass.value = true
 | 
	
		
			
				|  |  | +            }}  style={{
 | 
	
		
			
				|  |  | +                  display: [
 | 
	
		
			
				|  |  | +                    '/',
 | 
	
		
			
				|  |  | +                    '/home',
 | 
	
		
			
				|  |  | +                    '/classList',
 | 
	
		
			
				|  |  | +                    '/prepare-lessons'
 | 
	
		
			
				|  |  | +                  ].includes(route.path)
 | 
	
		
			
				|  |  | +                    ? 'none'
 | 
	
		
			
				|  |  | +                    : 'block'
 | 
	
		
			
				|  |  | +                }}>
 | 
	
		
			
				|  |  | +              <img
 | 
	
		
			
				|  |  | +                src={toolStartClass}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                style={{
 | 
	
		
			
				|  |  | +                  display: [
 | 
	
		
			
				|  |  | +                    '/',
 | 
	
		
			
				|  |  | +                    '/home',
 | 
	
		
			
				|  |  | +                    '/classList',
 | 
	
		
			
				|  |  | +                    '/prepare-lessons'
 | 
	
		
			
				|  |  | +                  ].includes(route.path)
 | 
	
		
			
				|  |  | +                    ? 'none'
 | 
	
		
			
				|  |  | +                    : 'block'
 | 
	
		
			
				|  |  | +                }}
 | 
	
		
			
				|  |  | +                class={[
 | 
	
		
			
				|  |  | +                  styles.toolClassImg,
 | 
	
		
			
				|  |  | +                ]}
 | 
	
		
			
				|  |  | +                alt=""
 | 
	
		
			
				|  |  | +              />
 | 
	
		
			
				|  |  | +              开始上课
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </NPopover>
 | 
	
		
			
				|  |  |  
 |