Browse Source

Merge branch 'startLogin' into online

mo 1 year ago
parent
commit
06d2729957
2 changed files with 15 additions and 13 deletions
  1. 11 10
      src/components/layout/index.tsx
  2. 4 3
      src/views/attend-class/index.tsx

+ 11 - 10
src/components/layout/index.tsx

@@ -318,16 +318,16 @@ export default defineComponent({
     };
     onMounted(() => {
       initMoveable();
-      // 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);
-      window.addEventListener("resize", resetSize);
+      // // 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);
+      // window.addEventListener("resize", resetSize);
     });
 
     const resetSize = ()=>{
@@ -434,6 +434,7 @@ export default defineComponent({
 
     //  这里是选装的方式
     const actionEnd = (target: any, type: any) => {
+      return
       switch (type) {
         case 'left':
           rate(target, '90deg');

+ 4 - 3
src/views/attend-class/index.tsx

@@ -355,10 +355,10 @@ export default defineComponent({
       data.classGroupId = props.classGroupId || query.classGroupId;
       initMoveable();
 
-      const subdEl = document.getElementById(`moveNPopover`) as HTMLDivElement;
-      initBoxRectInfo(subdEl, boxBoundaryInfo);
+      // const subdEl = document.getElementById(`moveNPopover`) as HTMLDivElement;
+      // initBoxRectInfo(subdEl, boxBoundaryInfo);
 
-      initBoundaryWrap(subdEl, boxBoundaryInfo);
+      // initBoundaryWrap(subdEl, boxBoundaryInfo);
       window.addEventListener('message', iframeHandle);
       getDetail();
     });
@@ -419,6 +419,7 @@ export default defineComponent({
 
     //  这里是选装的方式
     const actionEnd = (target: any, type: any) => {
+      return
       switch (type) {
         case 'left':
           rate(target, '90deg');