| 
					
				 | 
			
			
				@@ -43,6 +43,20 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           '/api-student/orchestraRegister/registerStatus/' + route.query.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         state.registerInfo = data || {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        const name = data.orchestraName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // const name = '华中科技大学大学同济医学院附' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // console.log(name.length) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (name.length > 12 && name.length / 12 > 1 && name.length / 12 <= 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          const len = name.substring(12, 24) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (len.length < 5) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const splitLen = Math.ceil(name.length / 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const first = name.substring(0, splitLen) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const last = name.substring(splitLen, name.length) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            state.registerInfo.orchestraName = first + '<br />' + last 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            state.registerInfo.orchestraName = name 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 判断是否报名注册过 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         state.register = data.register 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -107,18 +121,18 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 判断是否有openId 并且 purchase 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // if (!data.openId && !data.purchase) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   if (browser().weixin) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     // 微信公众号支付 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     //授权 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     const code = getUrlCode() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     if (!code) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       goAuth(data.wxAppId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       state.code = code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (!data.openId && !data.purchase) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (browser().weixin) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // 微信公众号支付 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //授权 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const code = getUrlCode() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!code) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              goAuth(data.wxAppId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              state.code = code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } catch { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -191,11 +205,15 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return () => ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class={styles.preApply}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class={styles.banner} ref={bannerRef}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            {state.registerInfo.orchestraName} <br /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            乐团报名 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          {state.registerInfo.orchestraName && ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <p class={styles.orchestraName} v-html={state.registerInfo.orchestraName}></p> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div class={styles.tips}>快来参加乐团报名吧!</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <Sticky position="top"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <Tabs 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             lineWidth={20} 
			 |