|  | @@ -252,7 +252,7 @@
 | 
											
												
													
														|  |  				performInfo:{},//节目详情
 |  |  				performInfo:{},//节目详情
 | 
											
												
													
														|  |  				formerNotice:{},//节目观影须知
 |  |  				formerNotice:{},//节目观影须知
 | 
											
												
													
														|  |  				performDateList:[],//有票的日期
 |  |  				performDateList:[],//有票的日期
 | 
											
												
													
														|  | -				firstGet:0,
 |  | 
 | 
											
												
													
														|  | 
 |  | +				// firstGet:0,
 | 
											
												
													
														|  |  			}
 |  |  			}
 | 
											
												
													
														|  |  		},
 |  |  		},
 | 
											
												
													
														|  |  		onShow() {
 |  |  		onShow() {
 | 
											
										
											
												
													
														|  | @@ -289,7 +289,7 @@
 | 
											
												
													
														|  |  					this.auditoriumList  = res.data.theatreList[0].auditoriumList;
 |  |  					this.auditoriumList  = res.data.theatreList[0].auditoriumList;
 | 
											
												
													
														|  |  					this.ticketTypeList = res.data.goodsList;
 |  |  					this.ticketTypeList = res.data.goodsList;
 | 
											
												
													
														|  |  					this.performDateList = this.auditoriumList[this.auditoriumIndex].performDateList;
 |  |  					this.performDateList = this.auditoriumList[this.auditoriumIndex].performDateList;
 | 
											
												
													
														|  | -					this.getTimes()
 |  | 
 | 
											
												
													
														|  | 
 |  | +					this.getDate()
 | 
											
												
													
														|  |  					// console.log('auditoriumList',this.auditoriumList);
 |  |  					// console.log('auditoriumList',this.auditoriumList);
 | 
											
												
													
														|  |  				}).catch(err=>{
 |  |  				}).catch(err=>{
 | 
											
												
													
														|  |  					console.log('getPoster',err);
 |  |  					console.log('getPoster',err);
 | 
											
										
											
												
													
														|  | @@ -312,8 +312,22 @@
 | 
											
												
													
														|  |  					console.log('getPerformerNotice',err);
 |  |  					console.log('getPerformerNotice',err);
 | 
											
												
													
														|  |  				})
 |  |  				})
 | 
											
												
													
														|  |  			},
 |  |  			},
 | 
											
												
													
														|  | 
 |  | +			getDate(){
 | 
											
												
													
														|  | 
 |  | +				let param = {
 | 
											
												
													
														|  | 
 |  | +					auditoriumId:this.auditoriumList[this.auditoriumIndex]?.id,//演艺厅ID(演艺厅列表)
 | 
											
												
													
														|  | 
 |  | +					performId:this.performId,
 | 
											
												
													
														|  | 
 |  | +				};
 | 
											
												
													
														|  | 
 |  | +				this.$u.api.getAuditoriumDate(param).then(res=>{
 | 
											
												
													
														|  | 
 |  | +					console.log('getDate',res.data);
 | 
											
												
													
														|  | 
 |  | +					this.performDateList = res.data.list||[];
 | 
											
												
													
														|  | 
 |  | +					this.setDate();
 | 
											
												
													
														|  | 
 |  | +					// this.getTimes();
 | 
											
												
													
														|  | 
 |  | +				}).catch(err=>{
 | 
											
												
													
														|  | 
 |  | +					console.log('getDate',err);
 | 
											
												
													
														|  | 
 |  | +				})
 | 
											
												
													
														|  | 
 |  | +			},
 | 
											
												
													
														|  |  			getTimes(){
 |  |  			getTimes(){
 | 
											
												
													
														|  | -				this.firstGet++;
 |  | 
 | 
											
												
													
														|  | 
 |  | +				// this.firstGet++;
 | 
											
												
													
														|  |  				uni.showLoading();
 |  |  				uni.showLoading();
 | 
											
												
													
														|  |  				let auditoriumId= this.auditoriumList[this.auditoriumIndex]?.id;
 |  |  				let auditoriumId= this.auditoriumList[this.auditoriumIndex]?.id;
 | 
											
												
													
														|  |  				if(!auditoriumId){return}
 |  |  				if(!auditoriumId){return}
 | 
											
										
											
												
													
														|  | @@ -326,13 +340,11 @@
 | 
											
												
													
														|  |  				// console.log('param',param);
 |  |  				// console.log('param',param);
 | 
											
												
													
														|  |  				this.$u.api.getAuditoriumTimes(param).then(res=>{
 |  |  				this.$u.api.getAuditoriumTimes(param).then(res=>{
 | 
											
												
													
														|  |  					// console.log('getTimes',res.data);
 |  |  					// console.log('getTimes',res.data);
 | 
											
												
													
														|  | -					this.performDateList = res.data.performDateList||[];
 |  | 
 | 
											
												
													
														|  |  					this.sessionList = res.data.list.map(item=>{
 |  |  					this.sessionList = res.data.list.map(item=>{
 | 
											
												
													
														|  |  						item.performTimeStart = item.performTimeStart;
 |  |  						item.performTimeStart = item.performTimeStart;
 | 
											
												
													
														|  |  						item.performTimeEnd = item.performTimeEnd;
 |  |  						item.performTimeEnd = item.performTimeEnd;
 | 
											
												
													
														|  |  						return item
 |  |  						return item
 | 
											
												
													
														|  |  					});
 |  |  					});
 | 
											
												
													
														|  | -					this.setDate();
 |  | 
 | 
											
												
													
														|  |  					uni.hideLoading();
 |  |  					uni.hideLoading();
 | 
											
												
													
														|  |  				}).catch(err=>{
 |  |  				}).catch(err=>{
 | 
											
												
													
														|  |  					console.log('getPoster',err);
 |  |  					console.log('getPoster',err);
 | 
											
										
											
												
													
														|  | @@ -368,9 +380,7 @@
 | 
											
												
													
														|  |  						return { year:day[0],month:String(day[1]),day:String(day[2]), fullDay:`${day[0]}-${String(day[1])}-${String(day[2])}`}
 |  |  						return { year:day[0],month:String(day[1]),day:String(day[2]), fullDay:`${day[0]}-${String(day[1])}-${String(day[2])}`}
 | 
											
												
													
														|  |  					});
 |  |  					});
 | 
											
												
													
														|  |  					// console.log('this.firstGet',this.firstGet);
 |  |  					// console.log('this.firstGet',this.firstGet);
 | 
											
												
													
														|  | -					if(this.firstGet<=1){
 |  | 
 | 
											
												
													
														|  | -						this.getTimes();
 |  | 
 | 
											
												
													
														|  | -					}
 |  | 
 | 
											
												
													
														|  | 
 |  | +					this.getTimes();
 | 
											
												
													
														|  |  					// 
 |  |  					// 
 | 
											
												
													
														|  |  					return 
 |  |  					return 
 | 
											
												
													
														|  |  				}
 |  |  				}
 | 
											
										
											
												
													
														|  | @@ -408,11 +418,11 @@
 | 
											
												
													
														|  |  			},
 |  |  			},
 | 
											
												
													
														|  |  			dateClick(index){
 |  |  			dateClick(index){
 | 
											
												
													
														|  |  				this.dateIndex = index;
 |  |  				this.dateIndex = index;
 | 
											
												
													
														|  | -				this.getTimes()
 |  | 
 | 
											
												
													
														|  | 
 |  | +				this.getDate()
 | 
											
												
													
														|  |  			},
 |  |  			},
 | 
											
												
													
														|  |  			auditoriumClick(index){
 |  |  			auditoriumClick(index){
 | 
											
												
													
														|  |  				this.auditoriumIndex = index;
 |  |  				this.auditoriumIndex = index;
 | 
											
												
													
														|  | -				this.getTimes();
 |  | 
 | 
											
												
													
														|  | 
 |  | +				this.getDate();
 | 
											
												
													
														|  |  			},
 |  |  			},
 | 
											
												
													
														|  |  			confirmCalendar(e){
 |  |  			confirmCalendar(e){
 | 
											
												
													
														|  |  				// console.log('confirmCalendar',e);
 |  |  				// console.log('confirmCalendar',e);
 |