| 
					
				 | 
			
			
				@@ -66,15 +66,12 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const goodsInfos = data.goodsInfos || []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         state.orderInfo = data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let hasInstrument = false; // 是否有乐器 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let hasTextbook = false; // 是否购买教材 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         goodsInfos.forEach((item: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           const img = item.goodsUrl ? item.goodsUrl.split(',')[0] : ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           item.goodsUrl = img; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (item.goodsType === 'INSTRUMENTS') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             hasInstrument = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } else if (item.goodsType === 'TEXTBOOK') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            hasTextbook = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         state.goodsInfos = goodsInfos; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -85,8 +82,7 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 判断运费状态 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 如果没有购买商品,有购买教材则『到付』 其它则免运费 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(hasInstrument, hasTextbook); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (!hasInstrument && hasTextbook) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (hasInstrument) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           state.freight = '到付'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           state.freight = '免运费'; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -161,9 +157,6 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 默认关闭支付二维码弹窗 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             state.showQrcode = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             clearInterval(state.orderTimer); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // window.location.replace( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //   window.location.origin + '/#/payment-result?orderNo=' + state.orderNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             setTimeout(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               checkOrderTypeJump(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 100); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -367,18 +360,14 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                           <span>{goods.goodsName}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                           <span class={styles.goodsNum}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            {goods.goodsType === 'VIP' || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            goods.goodsType === 'DEPOSIT' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                              ? '6个月' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                              : 'x 1'} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            x {goods.goodsNum} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                           </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <div class={styles.goodsPrice}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          <Tag 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            color="linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            textColor="#fff" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            class={styles.brandName}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            {goods.brandName} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          <Tag class={styles.brandName}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            {goods.goodsType === 'VIP' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                              ? '12个月' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                              : goods.brandName} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                           </Tag> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                           <span 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             class={[ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -425,17 +414,20 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class={styles.payemntPrice}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <p class={styles.needPrice}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 支付金额: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <span>¥ {moneyFormat(state.orderInfo.currentPrice)}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <i>¥</i> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  {moneyFormat(state.orderInfo.currentPrice)} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </p> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class={styles.paymentBtn}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <Button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                color="linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 round 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                class={styles.submitBtn} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 onClick={onSubmit} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 loading={state.submitStatus} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 disabled={state.submitStatus}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                立即购买 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                提交 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </Button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 |