lex 1 éve
szülő
commit
b4d94dc6d9

+ 2 - 2
src/views/activity-record/detail-swiper.tsx

@@ -67,7 +67,7 @@ export default defineComponent({
                         <video
                           style={{ backgroundColor: '#F8F8F8' }}
                           poster={iconVideoDefault}
-                          src={i}
+                          src={i + '#t=1,4'}
                         />
                         <Image src={palyBtn} class={styles.palyBtn}></Image>
                       </div>
@@ -121,7 +121,7 @@ export default defineComponent({
                           <video
                             style={{ backgroundColor: '#F8F8F8' }}
                             poster={iconVideoDefault}
-                            src={i}
+                            src={i + '#t=1,4'}
                           />
                         </div>
                       )}

+ 20 - 29
src/views/activity-record/detail.module.less

@@ -66,12 +66,10 @@
       border: 1px solid transparent;
       background-clip: padding-box, border-box;
       background-origin: padding-box, border-box;
-      background-image: linear-gradient(
-          270deg,
+      background-image: linear-gradient(270deg,
           #1dc2ff 0%,
           #0283ff 48%,
-          #0bb7fe 100%
-        ),
+          #0bb7fe 100%),
         linear-gradient(360deg, #d1fff6, #e5f8ff);
 
       margin: 0 auto;
@@ -140,11 +138,9 @@
         background-clip: padding-box, border-box;
         background-origin: padding-box, border-box;
         background-image: linear-gradient(270deg, #fff, #fff),
-          linear-gradient(
-            180deg,
+          linear-gradient(180deg,
             rgba(255, 255, 255, 1),
-            rgba(201, 227, 255, 1)
-          );
+            rgba(201, 227, 255, 1));
         margin-bottom: 20px;
 
         .programInfo {
@@ -176,11 +172,9 @@
             border-radius: 100px 0px 0px 100px;
             width: 247px;
             height: 25px;
-            background: linear-gradient(
-              270deg,
-              rgba(255, 255, 255, 0),
-              rgba(255, 255, 255, 1)
-            );
+            background: linear-gradient(270deg,
+                rgba(255, 255, 255, 0),
+                rgba(255, 255, 255, 1));
             display: flex;
             flex-direction: row;
             align-items: center;
@@ -292,7 +286,7 @@
               margin-left: -9px;
               top: 50%;
               margin-top: -9px;
-              z-index: 200;
+              z-index: 9999;
 
               img {
                 width: 18px !important;
@@ -336,6 +330,8 @@
                 width: 100%;
                 height: 100%;
                 object-fit: cover;
+                position: absolute;
+                z-index: -1;
               }
             }
 
@@ -378,18 +374,14 @@
                 background-clip: padding-box, border-box;
                 background-origin: padding-box, border-box;
                 background-image: linear-gradient(225deg, #fff, #fff),
-                  linear-gradient(
-                    225deg,
+                  linear-gradient(225deg,
                     rgba(0, 98, 255, 1),
-                    rgba(46, 216, 255, 1)
-                  );
+                    rgba(46, 216, 255, 1));
 
                 &:not(.swiper-slide-thumb-active) {
-                  background-image: linear-gradient(
-                      225deg,
+                  background-image: linear-gradient(225deg,
                       transparent,
-                      transparent
-                    ),
+                      transparent),
                     linear-gradient(225deg, transparent, transparent);
                 }
               }
@@ -659,6 +651,7 @@
       padding-left: 18px;
 
       .trainTimer {
+
         &::before,
         &::after {
           display: none;
@@ -763,12 +756,10 @@
     .codeBtnText {
       margin: 20px auto 0;
       display: inline-block;
-      background: linear-gradient(
-        132deg,
-        rgba(199, 239, 243, 0.25) 0%,
-        rgba(229, 206, 251, 0.25) 40%,
-        rgba(147, 194, 254, 0.25) 100%
-      );
+      background: linear-gradient(132deg,
+          rgba(199, 239, 243, 0.25) 0%,
+          rgba(229, 206, 251, 0.25) 40%,
+          rgba(147, 194, 254, 0.25) 100%);
       box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.62);
       border-radius: 18px;
       padding: 6px 16px;
@@ -828,4 +819,4 @@
     color: #333333;
     line-height: 20px;
   }
-}
+}

+ 16 - 6
src/views/school-register/index.tsx

@@ -38,7 +38,8 @@ export default defineComponent({
       registerStatus: false,
       countDownStatus: true,
       schoolDetail: {} as any,
-      countDownTime: 1000 * 120 // 倒计时时间
+      countDownTime: 1000 * 120, // 倒计时时间
+      btnLoading: false
     });
     const countDownRef = ref();
 
@@ -80,8 +81,9 @@ export default defineComponent({
       }
 
       try {
+        forms.btnLoading = true;
         const res = await request.post('/api-web/open/school/staffSave', {
-          hideLoading: false,
+          // hideLoading: false,
           data: {
             schoolId: forms.id,
             userType: forms.type,
@@ -100,6 +102,8 @@ export default defineComponent({
         }
       } catch {
         //
+      } finally {
+        forms.btnLoading = false;
       }
     };
 
@@ -232,7 +236,13 @@ export default defineComponent({
           style={{
             'margin-top': '18px'
           }}>
-          <Button round block type="primary" onClick={onSubmit}>
+          <Button
+            round
+            block
+            type="primary"
+            onClick={onSubmit}
+            disabled={forms.btnLoading}
+            loading={forms.btnLoading}>
             提交
           </Button>
         </div>
@@ -248,16 +258,16 @@ export default defineComponent({
             <div class={styles.popupContent}>
               恭喜您在{forms.schoolDetail?.cooperation?.name}成功注册为
               <span>【{EShoolStaffType[forms.type]}】</span>
-              ,请下载管乐迷管理端App进行乐团管理吧~
+              {/* ,请下载管乐迷管理端App进行乐团管理吧~ */}
             </div>
 
-            <Button
+            {/* <Button
               type="primary"
               round
               class={styles.popupBtn}
               onClick={onDownload}>
               立即下载
-            </Button>
+            </Button> */}
           </div>
         </Popup>