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.

1 line
5.3 KiB

4 years ago
<view class="content"><view class="box-top"><image class="index_bg" src="../../static/img/index_bg.jpg"></image></view><view class="box-notice"><u-notice-bar vue-id="8dd740cc-1" text="{{list}}" direction="column" mode="link" color="#9E8F8B" data-event-opts="{{[['^click',[['openInfo']]]]}}" bind:click="__e" bind:__l="__l"></u-notice-bar></view><view class="box-body"><view class="box-body-title"><image class="box-body-title-img" src="../../static/img/index_name.png"></image><view class="box-body-sub-title">开馆时间:周二~周日 9:00-17:00 周一闭馆</view></view><view style="margin-top:56rpx;"><view class="box-row"><view data-event-opts="{{[['tap',[['openBook',['$event']]]]]}}" class="box-col" bindtap="__e"><image class="box-body-icon" src="../../static/img/index_icon_1.png"></image></view><view data-event-opts="{{[['tap',[['openActivity',['$event']]]]]}}" class="box-col" bindtap="__e"><image class="box-body-icon" src="../../static/img/index_icon_2.png"></image></view><view data-event-opts="{{[['tap',[['openPark',['$event']]]]]}}" class="box-col" bindtap="__e"><image class="box-body-icon" src="../../static/img/index_icon_3.png"></image></view></view></view></view><view class="box-footer" style="position:fixed;bottom:-60rpx;left:0;text-align:center;width:100%;z-index:-1;"><image class="footer-img" src="../../static/img/footer_logo.png"></image></view><u-popup vue-id="8dd740cc-2" show="{{showBook}}" mode="bottom" round="{{10}}" closeable="{{true}}" data-event-opts="{{[['^close',[['closeBook']]]]}}" bind:close="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="mpopup"><view class="mpopup-title">参观预约</view><view class="mpopup-content"><view class="book-box"><view class="book-box-card"><view class="book-box-title">日期</view><view class="book-box-row"><view class="book-box-row-date"><block wx:for="{{listDatePrice}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['handleDate',[index]]]]]}}" class="{{['book-box-row-dateitem',(item.checked)?'book-box-row-dateitem-on':'',(item.is_open==0)?'book-box-row-dateitem-none':'']}}" bindtap="__e"><view class="book-box-row-dateitem-status"><block wx:if="{{item.checked}}"><u-icon vue-id="{{('8dd740cc-3-'+index)+','+('8dd740cc-2')}}" name="checkmark" color="#fff" size="20rpx" bind:__l="__l"></u-icon></block><block wx:else><text>{{item.is_open==1?'余票':"售罄"}}</text></block></view><view>{{item.week}}</view><view>{{item.datef}}</view></view></block></block></view><view data-event-opts="{{[['tap',[['openCalendar',['$event']]]]]}}" class="book-box-row-select" bindtap="__e"><view><view>指定</view><view>日期</view></view><view class="book-box-row-select-more"><u-icon vue-id="{{('8dd740cc-4')+','+('8dd740cc-2')}}" name="arrow-right" color="#EF9525" size="20rpx" bind:__l="__l"></u-icon></view></view></view></view><view class="book-box-card"><view class="book-box-title">参观时间</view><view class="book-box-timerow"><block wx:for="{{currentDate.rules}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['handleSelectTime',[index]]]]]}}" class="{{['book-box-row-timeitem',(item.checked)?'book-box-row-timeitem-on':'']}}" bindtap="__e"><block wx:if="{{item.checked}}"><view class="book-box-row-timeitem-status"><u-icon vue-id="{{('8dd740cc-5-'+index)+','+('8dd740cc-2')}}" name="checkmark" color="#fff" size="20rpx" bind:__l="__l"></u-icon></view></block><view class="book-box-row-timeitem-txt">{{item.start_time+'-'+item.end_time}}</view><view class="book-box-row-timeitem-txt">{{item.total+"张"}}</view></view></block></view></view></view></view><view class="book-box-selectInfo"><view class="book-box-selectInfo-left">{{"已选:"+(currentDate.datef||"")+"\n\t\t\t\t\t"+((currentTime.start_time||"")+"-"+(currentTime.end_time||""))+''}}</view><view class="book-box-selectInfo-right"><text class="book-box-selectInfo-righttxt">预约须知</text><u-icon vue-id="{{('8dd740cc-6')+','+('8dd740cc-2')}}" name="arrow-right" color="#EF9525" size="20rpx" bind:__l="__l"></u-icon></view></view><view class="m