|
@@ -41,7 +41,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="date-block">
|
|
|
- <view class="title">游玩日期</view>
|
|
|
+ <view class="title">演出日期</view>
|
|
|
<view class="date-list u-flex">
|
|
|
<view class="date-item" :class="{active:dateIndex==index}" @click="dateClick(index)" v-for="(date,index) in dateList" :key="index">
|
|
|
<view class="name">{{ date.name }}</view>
|
|
@@ -63,7 +63,7 @@
|
|
|
{{ $u.timeFormat(date.performTimeStart, 'hh:MM') }} - {{ $u.timeFormat(date.performTimeEnd, 'hh:MM') }}
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="empty" v-if="auditoriumList>=1&&sessionList.length<1">
|
|
|
+ <view class="empty" v-if="auditoriumList.length>=1&&sessionList.length<1">
|
|
|
当前日期暂无演出场次,请重新选择
|
|
|
</view>
|
|
|
</view>
|
|
@@ -74,14 +74,15 @@
|
|
|
<view class="name">{{item.goodsName}}</view>
|
|
|
<view class="prices">¥ {{item.salePrice}}</view>
|
|
|
</view>
|
|
|
- <view class="ishave">
|
|
|
+ <!-- <view class="ishave">
|
|
|
<text class="text">{{(item.quantity>0&&sessionList.length>=1)?'有票':'无票'}}</text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="bottom u-flex u-row-between">
|
|
|
<view class="left u-flex">
|
|
|
- 购票须知
|
|
|
- <u-icon name="arrow-right" color="#7F7F7F" size="24rpx"></u-icon>
|
|
|
+ <!-- 购票须知
|
|
|
+ <u-icon name="arrow-right" color="#7F7F7F" size="24rpx"></u-icon> -->
|
|
|
</view>
|
|
|
+ <view class="btn" @click="book(item)">预定</view>
|
|
|
<view class="btn" @click="book(item)" v-if="item.quantity>0&&sessionList.length>=1">预定</view>
|
|
|
<view class="btn disabled" v-else>暂无余票</view>
|
|
|
</view>
|
|
@@ -99,7 +100,7 @@
|
|
|
<view class="details-block actors">
|
|
|
<view class="title u-flex u-row-between">
|
|
|
演职人员
|
|
|
- <view class="right u-flex" @click="$u.route('pages/actors')">
|
|
|
+ <view class="right u-flex" @click="$u.route('pages/actors',{performId:performId})">
|
|
|
<text>更多</text>
|
|
|
<u-icon name="arrow-right" color="#7F7F7F" size="24rpx"></u-icon>
|
|
|
</view>
|
|
@@ -107,7 +108,7 @@
|
|
|
<view class="actor-list">
|
|
|
<u-scroll-list :indicator="false">
|
|
|
<view class="item" v-for="(item, index) in actorsArr" :key="index">
|
|
|
- <image class="img" :src="item.performerHead"></image>
|
|
|
+ <image class="img" :src="item.performerHead||staticUrl+'/img/actors.png'"></image>
|
|
|
<view class="text">
|
|
|
<view class="name">{{item.performerName}}</view>
|
|
|
<view class="role u-line-1">{{item.performerRole}}</view>
|
|
@@ -118,14 +119,15 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="viewingTips" v-if="tabsIndex==2">
|
|
|
-
|
|
|
+ <view class="viewingTips" v-if="tabsIndex==2">
|
|
|
+ <u-parse :content="formerNotice"></u-parse>
|
|
|
</view>
|
|
|
</view>
|
|
|
<u-calendar
|
|
|
ref="calendar"
|
|
|
:maxDate="maxDate"
|
|
|
:show="calendarShow"
|
|
|
+ color="#EF1010"
|
|
|
:closeOnClickOverlay="true"
|
|
|
@close="closeCalendar"
|
|
|
@confirm="confirmCalendar">
|
|
@@ -181,7 +183,7 @@
|
|
|
dateList:[],
|
|
|
dateIndex:0,
|
|
|
calendarShow:false,//日历
|
|
|
- maxDate:`${year}-${month}-${date + 10}`,
|
|
|
+ maxDate:`${year}-${month}-${date + 30}`,
|
|
|
auditoriumList:[],//演艺厅
|
|
|
auditoriumIndex:0,
|
|
|
sessionList:[],//演出场次
|
|
@@ -192,6 +194,7 @@
|
|
|
posterShow:false,
|
|
|
posterSrc:'',
|
|
|
performInfo:{},//节目详情
|
|
|
+ formerNotice:{},//节目观影须知
|
|
|
|
|
|
}
|
|
|
},
|
|
@@ -205,6 +208,7 @@
|
|
|
let today = new Date();
|
|
|
this.setDate(today);
|
|
|
this.getPerformInfo();
|
|
|
+ this.getPerformerNotice();
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
@@ -237,6 +241,14 @@
|
|
|
console.log('getPerformInfo',err);
|
|
|
})
|
|
|
},
|
|
|
+ getPerformerNotice(){
|
|
|
+ this.$u.api.performerNotice({performId:this.performId}).then(res=>{
|
|
|
+ console.log('getPerformerNotice',res.data);
|
|
|
+ this.formerNotice = res.data.performNotice;
|
|
|
+ }).catch(err=>{
|
|
|
+ console.log('getPerformerNotice',err);
|
|
|
+ })
|
|
|
+ },
|
|
|
getTimes(){
|
|
|
let auditoriumId= this.auditoriumList[this.auditoriumIndex]?.id;
|
|
|
if(!auditoriumId){return}
|