You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
2.1 KiB

<view style="background:#fff;">
<view style=" font-size: 28rpx; color: #181818; padding: 20rpx 0 0 40rpx;">
场次:{{data1.show_info.show_date}}</view>
<view class="seat_grade">
<view class="seat_grade_info {{item.tkt_num==0?'null_tic':''}} {{select_grade==item.grade?'select':''}}"
wx:for="{{data1.grade_list}}" data-num="{{item.tkt_num}}" data-select_grade="{{item.grade}}"
bindtap="select_grade">
<van-icon name="/images/seats/{{item.grade}}.png" custom-style="margin-left: 10rpx;" />
<view style=" margin: 0 10rpx 0 10rpx;">¥{{item.price}}</view>
</view>
</view>
</view>
<!--
<canvas disable-scroll="true" bindtouchstart="b" bindtouchmove="c" bindtouchend="d" canvas-id="myCanvas" style="height:{{screenHeight-200}}px;width:1500rpx;"></canvas> -->
<view
style="background:yellow; left: {{move.x}}px;top:{{200+move.y}}px; position: fixed;"
catchtouchstart="touch1.start" catchtouchmove="touch1.move" catchtouchend="touch1.end" catchtouchcancel="touch1.cancel">
<canvas disable-scroll="true" canvas-id="myCanvas"
style="height:{{maxCanvasH*scaleNum*newScale}}px;width:{{maxCanvasW*scaleNum*newScale}}px;"></canvas>
</view>
<view class="bottom">
<!-- <view wx:if="{{ !sel_ticket.length }}">一次最多选6个座位</view> -->
<view class="seat_tips" wx:if="{{ !!sel_ticket.length }}">
<view class="loc" wx:for="{{sel_ticket }}" wx:key="">
<view class="info">
<van-icon name='/images/seats/00.png'></van-icon>
<text decode="{{true}}" style="font-size: 24rpx;">&nbsp;{{item.seat_info}}</text>
</view>
<van-icon data-ticket_id="{{item.ticket_id}}" name="close" bind:click="cancel_sel" />
</view>
</view>
<view class="submit">
<view class="cacu" wx:if="{{total_price}}">
<view class="text">共计</view>
<view class="info">
<view class="price">¥<text style="font-size:44rpx;font-weight:bold;">{{total_price}}.00</text></view>
<view class="num" wx:if="{{sel_ticket.length }}">已选择{{sel_ticket.length}}个座位</view>
</view>
</view>
<button class="button" disabled='{{!total_price}}' bindtap="make_order">下一步</button>
</view>
</view>