| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -20,25 +20,25 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
													</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
												</template> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											</countdown-timer> --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											<countdown-time minute="5" second="0" :showDay="false" :showHour="false"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											<countdown-time minute="5" second="0" :showDay="false" :showHour="false" color="#FF9D9D" splitorColor="#FF9D9D"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
												 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											</countdown-time> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								<view class="card lf-row-between" v-for="(item, index) in pay_list" :key="index"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								<label class="card lf-row-between" v-for="(item, index) in pay_list" :key="index" style="padding: 16rpx 40rpx;"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									<view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										<text class="lf-iconfont" :class="item.icon"></text> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										<text class="lf-iconfont lf-font-50 lf-text-vertical" :class="item.icon" :style="{color: item.color}"></text> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										<text class="lf-m-l-10 lf-font-28 lf-color-222">{{ item.name }}</text> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									<radio-group @change="checkChange($event, index)"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										<radio :checked="item.checked"></radio> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									</radio-group> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								</label> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							<view class="fixed-btn" hover-class="lf-opacity" @click="confirm">立即支付</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							<view class="fixed-agreement">《购买须知》</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							<lf-pay-password v-if="show_pw" @comfirm="payComfirm" title="请输入支付密码"></lf-pay-password> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							<lf-pay-password v-if="show_pw" @comfirm="payComfirm" title="请输入支付密码" buttonText="确认支付"></lf-pay-password> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					</template> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -54,14 +54,16 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								return { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									pay_list: [{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										name: '余额支付', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										icon: 'icon--', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										icon: 'icon-yuebao', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										type: 'balance', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										checked: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										checked: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										color: '#15716E' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									},{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										name: '微信支付', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										icon: 'icon--1', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										icon: 'icon-weixinzhifu', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										type: 'wx_lite', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										checked: true | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										checked: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										color: '#09BB07' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									}], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									time: new Date('2021/09/8 14:15:00').getTime() - new Date('2021/09/8 14:10:00').getTime(), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									is_date_finish: false, | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -114,7 +116,6 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 支付密码输入完成 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								payComfirm(event){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									this.user_pw = event; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									this.show_pw = false; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									this.confirm(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								}, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 支付 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -151,7 +152,6 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									      Authorization: this.token | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									  }).then(res => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										  console.log("-------------------", res) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									    res = res.data; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									    if (res.status) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									      // this.formId =  e.detail.formId || ''; | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -159,14 +159,14 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									        this.balanceCharge(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									      } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									        this.newcharge(true, res.data.charge); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
												  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									    } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									      this.newcharge(false, res.message); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
												 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										  this.show_pw = false; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									  }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									}).catch(() => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										this.show_pw = false; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									  this.setData({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									    loading: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									  }); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |