Browse Source

修改报名流程

lex 1 year ago
parent
commit
2bd2cb0f4d

BIN
src/views/student-register/images/new/banner-bg4.png


BIN
src/views/student-register/images/new/icon-3.png


BIN
src/views/student-register/images/new/icon-6.png


BIN
src/views/student-register/images/new/icon-n-7.png


BIN
src/views/student-register/images/new/icon-n-8.png


BIN
src/views/student-register/images/new/icon-question.png


+ 95 - 59
src/views/student-register/index.module.less

@@ -8,8 +8,8 @@
   --k-font-primary: #007AFE;
 
   .studentRegisterContainer {
-    padding-top: 142px;
-    background: url('./images/new/banner-bg.png') no-repeat top center;
+    padding-top: 69px;
+    background: url('./images/new/banner-bg4.png') no-repeat top center;
     background-size: contain;
   }
 }
@@ -19,14 +19,14 @@
   background: linear-gradient(90deg, #FFBBD1 0%, #FFEFE2 100%), linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
   border-radius: 16px;
   margin: 0 14px 12px;
-  padding: 10px 16px 10px;
-  border: 2px solid #FFFFFF;
+  padding: 7px 12px 8px;
+  border: 1px solid #FFFFFF;
 
   &::before {
     content: '';
     position: absolute;
     top: 0;
-    left: 13px;
+    left: 68px;
     display: inline-block;
     width: 32px;
     height: 48px;
@@ -37,16 +37,16 @@
   .timer {
     display: flex;
     align-items: center;
-    justify-content: center;
   }
 
   .timerAll {
+    position: absolute;
+    right: 12px;
     font-size: 12px;
     color: #131415;
     line-height: 17px;
     display: flex;
     align-items: center;
-    justify-content: center;
 
     span {
       display: flex;
@@ -60,26 +60,26 @@
       font-weight: 600;
       font-size: 12px;
       color: #FFFFFF;
-      margin: 0 4px;
+      margin: 0 3px;
     }
   }
 
   .timerTitle {
-    width: 80px;
-    height: 15px;
-    margin-right: 4px;
+    position: relative;
+    width: 160px;
+    height: 36px;
   }
 
-  .timerTip {
-    margin-top: 10px;
-    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
-    border-radius: 12px;
-    text-align: center;
-    padding: 4px 6px;
-    font-size: 11px;
-    color: #69717C;
-    line-height: 16px;
-  }
+  // .timerTip {
+  //   margin-top: 10px;
+  //   background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
+  //   border-radius: 12px;
+  //   text-align: center;
+  //   padding: 4px 6px;
+  //   font-size: 11px;
+  //   color: #69717C;
+  //   line-height: 16px;
+  // }
 }
 
 .paymentContainer {
@@ -87,7 +87,7 @@
   align-items: center;
   justify-content: space-between;
   font-size: 14px;
-  padding: 16px 14px calc(16px + env(safe-area-inset-bottom)) 12px;
+  padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) 14px;
   background: #FFFFFF;
   box-shadow: 0px -1px 0px 0px #F2F2F2, inset 0px 1px 3px 0px #FFFFFF;
   border-radius: 18px 18px 0px 0px;
@@ -105,7 +105,7 @@
   .needPrice {
     color: #333333;
     padding-bottom: 7px;
-    font-size: 14px;
+    font-size: 16px;
     font-family: DINAlternate-Bold, DINAlternate;
     font-weight: bold;
     color: #FC1A19;
@@ -168,10 +168,10 @@
   padding: 12px 15px;
   background: linear-gradient(180deg, rgba(219, 246, 253) 0%, rgba(255, 255, 255) 30%);
   border-radius: 16px;
-  border: 2px solid #FFFFFF;
+  border: 1px solid #FFFFFF;
 
   &.studentSectionForm {
-    padding: 12px 0;
+    padding: 0 0 12px;
     background: linear-gradient(180deg, #DBF6FD 0%, #FFFFFF 10%);
   }
 
@@ -283,38 +283,35 @@
   overflow: hidden;
 
   .selectStudentGroup {
-    background: #EDF6FD;
-    border-radius: 8px;
-    margin: 20px 14px 0;
-    padding: 8px 0;
-    font-weight: 600;
-    font-size: 16px;
+    margin-left: 13px;
+    font-size: 14px;
     color: #1189FF;
-    // line-height: 22px;
     display: flex;
     align-items: center;
     justify-content: center;
 
-    .studentIcon {
-      display: inline-block;
-      margin-right: 6px;
-      width: 20px;
-      height: 20px;
-      background: url('./images/new/icon-n-5.png') no-repeat center;
-      background-size: contain;
-
-      &.selectStudentGroupChecked {
-        span::after {
-          transform: rotate(180deg);
-        }
-      }
-
-      &.studentIconAdd {
-        background: url('./images/new/icon-n-4.png') no-repeat center;
-        background-size: contain;
+    &.selectStudentGroupChecked {
+      span::after {
+        transform: rotate(180deg);
       }
     }
 
+    // .studentIcon {
+    //   display: inline-block;
+    //   margin-right: 6px;
+    //   width: 20px;
+    //   height: 20px;
+    //   background: url('./images/new/icon-n-5.png') no-repeat center;
+    //   background-size: contain;
+
+    //
+
+    //   &.studentIconAdd {
+    //     background: url('./images/new/icon-n-4.png') no-repeat center;
+    //     background-size: contain;
+    //   }
+    // }
+
     span {
       display: flex;
       align-items: center;
@@ -325,7 +322,7 @@
         content: '';
         width: 9px;
         height: 5px;
-        margin-left: 5px;
+        margin-left: 4px;
         background: url('./images/new/icon-n-6.png') no-repeat center;
         background-size: contain;
       }
@@ -350,6 +347,18 @@
     background: #FFF8EB;
     border-radius: 4px;
     padding: 4px 10px;
+    display: flex;
+    align-items: center;
+
+    .iconQuestion {
+      flex-shrink: 0;
+      display: inline-block;
+      background: url('./images/new/icon-question.png') no-repeat center;
+      background-size: contain;
+      width: 16px;
+      height: 16px;
+      margin-right: 4px;
+    }
   }
 
   .tips {
@@ -363,7 +372,7 @@
   }
 
   .username {
-    padding-bottom: 8px !important;
+    padding-top: 15px !important;
 
     :global {
       .van-field__label {
@@ -483,7 +492,7 @@
 
 .goodsExtra {
   position: relative;
-  margin: 16px 12px;
+  margin: 1px 14px 16px;
   background: #FFFFFF;
   border-radius: 16px;
   padding-bottom: 16px;
@@ -524,12 +533,27 @@
 .goodsCell {
   position: relative;
   border-radius: 16px;
-  padding: 16px 16px 0;
+  padding: 16px 14px 0;
+
+  .iconChecked {
+    width: 18px;
+    height: 18px;
+    background: url('./images/new/icon-n-7.png') no-repeat center;
+    background-size: contain;
+    display: inline-block;
+    margin-right: 14px;
+    flex-shrink: 0;
+
+    &.selected {
+      background: url('./images/new/icon-n-8.png') no-repeat center;
+      background-size: contain;
+    }
+  }
 
   .img {
     margin-right: 10px;
-    width: 98px;
-    height: 98px;
+    width: 86px;
+    height: 86px;
     border-radius: 8px;
     overflow: hidden;
     flex-shrink: 0;
@@ -544,6 +568,11 @@
     line-height: 22px;
   }
 
+  .section {
+    display: flex;
+    align-items: center;
+  }
+
   .goodsName {
     width: 112px;
     height: 16px;
@@ -563,15 +592,22 @@
     white-space: nowrap;
   }
 
+
+  .sectionContent {
+    line-height: 0;
+  }
+
   .model {
-    margin: 6px 0 4px;
+    margin: 4px 0 5px;
     font-weight: 500;
-    font-size: 13px;
+    font-size: 12px;
     color: #FF711B;
 
     p {
       display: flex;
       align-items: center;
+      line-height: 16px;
+      padding-top: 3px;
 
       i {
         width: 4px;
@@ -590,8 +626,8 @@
     // font-size: 12px;
     // color: #FFFFFF;
     // padding: 2px 6px 3px;
-    width: 106px;
-    height: 23px;
+    width: 95px;
+    height: 21px;
   }
 
   .moreBtn {

+ 175 - 157
src/views/student-register/index.tsx

@@ -166,7 +166,7 @@ export default defineComponent({
       showSelectStudent: false, // 选择学生
       studentList: [], // 手机号关联学生列表
       studentItem: {} as any, // 选择的学生
-      joinType: '' as 'digitalize' | 'tradition',
+      joinType: 'digitalize' as 'digitalize' | 'tradition',
       gradeList: [] as any,
       classList: [] as any,
       saveUserId: null as any,
@@ -188,8 +188,8 @@ export default defineComponent({
       showOtherSchool: false,
       showCloseButton: true, // 是否显示关闭按钮
       showOtherMessage: '',
-      /**  limit 超限制,change 更换学生,nickname 名称不一致  */
-      otherType: '' as 'limit' | 'change' | 'nickname' | 'member',
+      /**  limit 超限制,change 更换学生,nickname 名称不一致 member 会员购买, payment 支付方式 */
+      otherType: '' as 'limit' | 'change' | 'nickname' | 'member' | 'payment',
       showCancelButton: true,
       cancelButtonColor: '',
       cancelButtonText: '取消',
@@ -419,7 +419,8 @@ export default defineComponent({
       let originAmount: number = 0; // 原价
       const vipList: any[] = studentRegisterStore.getVip;
       vipList.forEach((vip: any) => {
-        amount += Number(vip.currentPrice);
+        amount +=
+          forms.joinType === 'digitalize' ? Number(vip.currentPrice) : 0;
         originAmount += Number(vip.originalPrice);
       });
 
@@ -671,10 +672,8 @@ export default defineComponent({
             forms.showMessage = '团购时间已截止,感谢您的参与'; //result.message;
             forms.showButton = false;
           }
-          console.log('-----');
           return false;
         } else {
-          console.log('=====');
           return true;
         }
       } catch {}
@@ -684,8 +683,11 @@ export default defineComponent({
     const onRegisterSubmit = async () => {
       try {
         // 请求是否有待支付订单,如果有则自动关闭
-        const status = await paymentOrderUnpaid();
-        if (status) return;
+        if (forms.joinType !== 'tradition') {
+          const status = await paymentOrderUnpaid();
+          if (status) return;
+        }
+
         const schoolInfo = await request.get(
           '/edu-app/userPaymentOrder/registerStatus/' + forms.schoolId
         );
@@ -819,22 +821,26 @@ export default defineComponent({
           if (isFinal && forms.joinType === 'tradition') {
             const studentResult = await updateStudentInfo();
             if (!studentResult) return;
-            setTimeout(() => {
-              showToast('您已通过数字化方式报名成功');
-            }, 100);
-            return true;
+            // setTimeout(() => {
+            //   showToast('您已通过数字化方式报名成功');
+            // }, 100);
+            return false;
           }
 
           // 提交报名信息时,判断该手机号是否存在待支付订单,若存则判断本次提交的报名方式,若本次提交的是团购则提示【您有待支付的报名订单,是否继续支付   重新下单/继续支付】,点击重新下单时,关闭老订单,创建新订单;若本次提交的是自备,则提示   【您有数字化方式报名的待支付订单,请关闭订单后重新报名   取消/关闭】取消则停留在当前界面,关闭则关闭订单,并停留在当前界面,用户需要再次点击报名按钮提交信息
           if (isPadding && forms.joinType === 'tradition') {
-            forms.dialogStatus = true;
-            forms.dialogMessage =
-              '您有数字化方式报名的待支付订单,请关闭订单后重新报名';
-            forms.cancelButtonText = '取消';
-            forms.confirmButtonText = '关闭';
-            forms.dialogConfig = paddingConfig;
-            forms.messageAlign = 'left';
-            return true;
+            // forms.dialogStatus = true;
+            // forms.dialogMessage =
+            //   '您有数字化方式报名的待支付订单,请关闭订单后重新报名';
+            // forms.cancelButtonText = '取消';
+            // forms.confirmButtonText = '关闭';
+            // forms.dialogConfig = paddingConfig;
+            // forms.messageAlign = 'left';
+            // const cancelStatus = await cancelPaymentOrder();
+            // if (cancelStatus) {
+            // await paymentContinue();
+            // }
+            return false;
           }
           if (isPadding && forms.joinType === 'digitalize') {
             // 最终确认,有待支付订单直接去支付,没有则才会创建订单
@@ -895,7 +901,7 @@ export default defineComponent({
     const paymentContinue = async () => {
       try {
         const vipList = studentRegisterStore.getVip;
-        const goodsList = studentRegisterStore.getGoods;
+        // const goodsList = studentRegisterStore.getGoods;
         const params: any[] = [];
         vipList.forEach((vip: any) => {
           params.push({
@@ -908,19 +914,19 @@ export default defineComponent({
           });
         });
 
-        goodsList.forEach((goods: any) => {
-          params.push({
-            goodsId: goods.productId,
-            goodsNum: goods.quantity,
-            goodsType: 'INSTRUMENTS',
-            paymentCashAmount: goods.price, // 现金支付金额
-            paymentCouponAmount: 0, // 优惠券金额
-            goodsSkuId: goods.productSkuId
-          });
-        });
+        // goodsList.forEach((goods: any) => {
+        //   params.push({
+        //     goodsId: goods.productId,
+        //     goodsNum: goods.quantity,
+        //     goodsType: 'INSTRUMENTS',
+        //     paymentCashAmount: goods.price, // 现金支付金额
+        //     paymentCouponAmount: 0, // 优惠券金额
+        //     goodsSkuId: goods.productSkuId
+        //   });
+        // });
         // 创建订单
         const updateStatus = await updateStudentInfo();
-        console.log(updateStatus, 'updateStatus');
+        // console.log(updateStatus, 'updateStatus');
         if (!updateStatus) return;
 
         const result = await request.post(
@@ -1302,9 +1308,9 @@ export default defineComponent({
                 </div>
               </div>
-              <div class={styles.timerTip}>
+              {/* <div class={styles.timerTip}>
                 为了确保您能顺利参与学习,请在规定时间内报名。
-              </div>
+              </div> */}
             </div>
           )}
 
@@ -1312,11 +1318,9 @@ export default defineComponent({
             class={[
               styles.studentSection,
               styles.studentSectionForm,
-              styles.noSendDay
-            ]}
-            // style={{ display: 'none' }}
-          >
-            <div class={styles.title3}></div>
+              forms.giftVipDay <= 0 && styles.noSendDay
+            ]}>
+            {/* <div class={styles.title1}></div> */}
 
             <Form labelAlign="left" class={styles.registerForm}>
               <Field
@@ -1346,6 +1350,7 @@ export default defineComponent({
               </Field>
               <div class={['van-hairline--bottom', styles.fieldTipsGroup]}>
                 <div class={[styles.fieldTips]}>
+                  <i class={styles.iconQuestion}></i>
                   手机号是音乐数字课堂的唯一登录账户
                 </div>
               </div>
@@ -1387,22 +1392,8 @@ export default defineComponent({
                     )
                 }}
               </Field>
-            </Form>
-          </div>
-
-          <div
-            class={[
-              styles.studentSection,
-              styles.studentSectionForm,
-              forms.giftVipDay <= 0 && styles.noSendDay
-            ]}
-            // style={{ display: 'none' }}
-          >
-            <div class={styles.title1}></div>
-
-            <Form labelAlign="left" class={styles.registerForm}>
               {/* 大于等于2,则可以切换学生 */}
-              {forms.studentList.length > 1 && (
+              {/* {forms.studentList.length > 1 && (
                 <div
                   class={[
                     styles.selectStudentGroup,
@@ -1420,7 +1411,7 @@ export default defineComponent({
                       : '新增学生'}
                   </span>
                 </div>
-              )}
+              )} */}
 
               <Field
                 clearable={false}
@@ -1430,8 +1421,24 @@ export default defineComponent({
                 placeholder="请输入学生姓名"
                 autocomplete="off"
                 maxlength={14}
-                v-model={studentInfo.extra.nickname}
-              />
+                v-model={studentInfo.extra.nickname}>
+                {{
+                  extra: () =>
+                    forms.studentList.length > 1 && (
+                      <div
+                        class={[
+                          styles.selectStudentGroup,
+                          forms.showSelectStudent &&
+                            styles.selectStudentGroupChecked
+                        ]}
+                        onClick={() => (forms.showSelectStudent = true)}>
+                        <span>
+                          {forms.studentItem.userId ? '切换' : '新增'}
+                        </span>
+                      </div>
+                    )
+                }}
+              </Field>
               <Field
                 clearable={false}
                 required
@@ -1530,7 +1537,7 @@ export default defineComponent({
               )}
             </Form>
           </div>
-          <div class={styles.studentSection}>
+          {/* <div class={styles.studentSection}>
             <div class={styles.title2}></div>
 
             <div class={styles.goodsGroup}>
@@ -1581,63 +1588,85 @@ export default defineComponent({
                 <div class={styles.goodsInner}>传统方式</div>
               </div>
             </div>
-          </div>
-
-          {forms.joinType === 'digitalize' && (
-            <div class={[styles.goodsExtra]}>
-              <i class={styles.iconArrow}></i>
-              <Cell border={false} class={styles.goodsCell}>
-                {{
-                  icon: () => (
+          </div> */}
+
+          <div class={[styles.goodsExtra]}>
+            {/* <i class={styles.iconArrow}></i> */}
+            <Cell
+              border={false}
+              class={styles.goodsCell}
+              center
+              onClick={() => {
+                // console.log(forms.joinType, 'joinType');
+                if (forms.joinType === 'digitalize') {
+                  otherParams.showOtherMessage = `没有专业工具的辅助,将会增加乐器学练难度`;
+                  otherParams.showOtherSchool = true;
+                  otherParams.showCloseButton = true;
+                  otherParams.showCancelButton = true;
+                  otherParams.cancelButtonColor = '';
+                  otherParams.cancelButtonText = '确认取消';
+                  otherParams.confirmButtonColor = '';
+                  otherParams.confirmButtonText = '放弃取消';
+                  otherParams.otherType = 'payment';
+                  otherParams.messageAlign = 'left';
+                } else if (forms.joinType === 'tradition') {
+                  forms.joinType = 'digitalize';
+                }
+              }}>
+              {{
+                icon: () => (
+                  <i
+                    class={[
+                      styles.iconChecked,
+                      forms.joinType === 'digitalize' && styles.selected
+                    ]}></i>
+                ),
+                title: () => (
+                  <div class={styles.section}>
                     <Image
                       class={styles.img}
                       src={forms.detailVip.goodsUrl || tuangou}
                     />
-                  ),
-                  title: () => (
-                    <div class={styles.section}>
-                      <div class={styles.sectionContent}>
-                        <h2>
-                          {/* {forms.detailVip.goodsName} */}
-                          <img src={icon5} class={styles.goodsName} />
-                          <Tag class={styles.brandName}>
-                            {/* {forms.detailVip.brandName} */}
-                            12个月
-                          </Tag>
-                        </h2>
-                        <p class={[styles.model]}>
-                          {/* 解决学生不会练、不知练的对错、家长无法辅导、无需再额外请老师 */}
-                          {/* {forms.detailVip.description} */}
-                          <p>
-                            <i></i>解决学生不会练、不知练的对错
-                          </p>
-                          <p>
-                            <i></i>家长无法辅导、无需再额外请老师
-                          </p>
+                    <div class={styles.sectionContent}>
+                      <h2>
+                        {/* {forms.detailVip.goodsName} */}
+                        <img src={icon5} class={styles.goodsName} />
+                        {/* <Tag class={styles.brandName}>
+                          12个月
+                        </Tag> */}
+                      </h2>
+                      <p class={[styles.model]}>
+                        {/* 解决学生不会练、不知练的对错、家长无法辅导、无需再额外请老师 */}
+                        {/* {forms.detailVip.description} */}
+                        <p>
+                          <i></i>解决学生不会练、不知练的对错
                         </p>
-                        {/* <span class={styles.sendInstrument}>赠送课堂乐器</span> */}
-                        <img src={icon6} class={styles.sendInstrument} />
-                      </div>
+                        <p>
+                          <i></i>家长无法辅导、无需再额外请老师
+                        </p>
+                      </p>
+                      {/* <span class={styles.sendInstrument}>赠送课堂乐器</span> */}
+                      <img src={icon6} class={styles.sendInstrument} />
                     </div>
-                  )
-                }}
-              </Cell>
-
-              {forms.detailVip.membershipDays ? (
-                <div class={styles.memberNumer}>
-                  <img src={iconGift} class={styles.iconGift} />
-                  <p>
-                    现在购买赠送乐器AI学练工具
-                    <span>{forms.detailVip.membershipDays || 0}</span>天有效期
-                  </p>
-                </div>
-              ) : (
-                ''
-              )}
-            </div>
-          )}
+                  </div>
+                )
+              }}
+            </Cell>
+
+            {/* {forms.detailVip.membershipDays ? (
+              <div class={styles.memberNumer}>
+                <img src={iconGift} class={styles.iconGift} />
+                <p>
+                  现在购买赠送乐器AI学练工具
+                  <span>{forms.detailVip.membershipDays || 0}</span>天有效期
+                </p>
+              </div>
+            ) : (
+              ''
+            )} */}
+          </div>
 
-          {forms.joinType === 'tradition' && (
+          {/* {forms.joinType === 'tradition' && (
             <div class={styles.goodsTradition}>
               <i class={styles.iconArrow}></i>
 
@@ -1675,55 +1704,51 @@ export default defineComponent({
                         'C调、木质、高音德式八孔;'}
                       {forms.instrumentCode === 'Woodwind' &&
                         'C调、红木色、树脂或木质;'}
-                      {/* 管数不限,建议20管以上C调加嘴排箫(音域宽,能演奏更多复杂乐曲,不需要重复更换),黑色,要选择单一原调(调性多学生很难掌握),价格由学生根据自身情况确定。 */}
                     </div>
                   </div>
                 )}
               </div>
             </div>
-          )}
+          )} */}
 
           {forms.joinType && (
             <MSticky position="bottom" ref={mstickyRef}>
               <div class={styles.paymentContainer}>
-                {forms.joinType === 'digitalize' && (
-                  <>
-                    <div class={styles.payemntPrice}>
-                      <img src={giftTip} class={styles.giftTip} />
-                      <div>
-                        <span class={styles.needPrice}>
-                          <i style="font-style: normal">¥ </i>
-                          <span>{moneyFormat(calcPrice.value.amount)}</span>
-                          <i class={styles.unit} style="font-style: normal">
-                            /年
-                          </i>
-                        </span>
-                        {calcPrice.value.originAmount >
-                        calcPrice.value.amount ? (
-                          <del class={styles.allPrice}>
-                            ¥ {moneyFormat(calcPrice.value.originAmount)}
-                          </del>
-                        ) : (
-                          ''
-                        )}
-                      </div>
-                    </div>
-                    <div
-                      class={styles.paymentBtn}
-                      onClick={() => {
-                        onSubmit();
-                      }}>
-                      <Button
-                        round
-                        disabled={forms.submitLoading}
-                        loading={forms.submitLoading}>
-                        立即支付
-                      </Button>
-                    </div>
-                  </>
-                )}
+                <div class={styles.payemntPrice}>
+                  {/* <img src={giftTip} class={styles.giftTip} /> */}
+                  <div>
+                    <span class={styles.needPrice}>
+                      <i style="font-style: normal">¥ </i>
+                      <span>{moneyFormat(calcPrice.value.amount)}</span>
+                      <i class={styles.unit} style="font-style: normal">
+                        /年
+                      </i>
+                    </span>
+                    {calcPrice.value.originAmount > calcPrice.value.amount ? (
+                      <del class={styles.allPrice}>
+                        ¥ {moneyFormat(calcPrice.value.originAmount)}
+                      </del>
+                    ) : (
+                      ''
+                    )}
+                  </div>
+                </div>
+                <div
+                  class={styles.paymentBtn}
+                  onClick={() => {
+                    onSubmit();
+                  }}>
+                  <Button
+                    round
+                    disabled={forms.submitLoading}
+                    loading={forms.submitLoading}>
+                    {forms.joinType === 'digitalize'
+                      ? '报名与支付'
+                      : '提交报名'}
+                  </Button>
+                </div>
 
-                {forms.joinType === 'tradition' && (
+                {/* {forms.joinType === 'tradition' && (
                   <div
                     class={styles.traditionBtn}
                     onClick={() => {
@@ -1736,7 +1761,7 @@ export default defineComponent({
                       提交报名
                     </Button>
                   </div>
-                )}
+                )} */}
               </div>
             </MSticky>
           )}
@@ -1965,15 +1990,8 @@ export default defineComponent({
               if (forms.registerExpireTime && forms.activeOverStatus) {
                 applyOver();
               }
-              //     onConfirm={async () => {
-              //   await paymentContinue();
-              // }}
-              // onCancel={() => {
-              //   //取消支付,判断是否有结束时间,是否已经结束
-              //   if (forms.registerExpireTime && forms.activeOverStatus) {
-              //     applyOver();
-              //   }
-              // }}
+            } else if (otherParams.otherType === 'payment') {
+              forms.joinType = 'tradition';
             }
           }}
           onConfirm={async () => {