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.

38 lines
1.6 KiB

<!--pages/order/order.wxml-->
<import src="../order-list/order-list.wxml"></import>
<view class='containter'>
<view class='session-tab'>
<text class="tab-name {{showInThearter ? 'tab-select' : 'tab-normal'}}" data-tab-id='inThearters' bindtap='selectTap'>书籍</text>
<text class="tab-name {{showComingSoon ? 'tab-select' : 'tab-normal'}}" data-tab-id='comingSoon' bindtap='selectTap'>物品</text>
</view>
<view class='session-movie'>
<view class='session-content'>
<block wx:if="{{showInThearter}}">
<scroll-view scroll-y class='scroll-movie' bindscrolltolower="loadMore">
<block wx:for="{{inThearters.messages}}" wx:key="{{inThearters.messages}}">
<!-- 引入模板,并将遍历的值=传入,
注意:在该页声明引入的模板 -->
<template is="order-list1" data="{{...item}}"></template>
</block>
<view wx:if="{{isBookShow}}" class='bottom'>到底了,没有了</view>
</scroll-view>
</block>
<block wx:if="{{showComingSoon}}">
<scroll-view scroll-y class='scroll-movie' bindscrolltolower="loadMore">
<block wx:for="{{comingSoon.messages}}" wx:key="{{comingSoon.messages}}">
<!-- 引入模板,并将遍历的值=传入,
注意:在该页声明引入的模板 -->
<template is="order-list2" data="{{...item}}"></template>
</block>
<view wx:if="{{isThingShow}}" class='bottom'>到底了,没有了</view>
</scroll-view>
</block>
</view>
</view>
</view>