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.
39 lines
1.8 KiB
39 lines
1.8 KiB
<!-- subpages/space/list/list.wxml -->
|
|
<scroll-view scroll-y class="scroll-view" bindscrolltolower="scrolltolower" wx:if="{{list.length>0}}">
|
|
<view class="card " wx:key="index" wx:for="{{list}}">
|
|
<view class="flex flex-sb">
|
|
<view class="flex name font-bold">
|
|
<image src="{{'../../images/icon01.png'}}" class="icon-40 mr-10" />
|
|
{{item.address}}
|
|
</view>
|
|
</view>
|
|
<van-divider dashed />
|
|
<view class="item flex">
|
|
<image src="{{item.imgUrls[0]}}" style="width: 200rpx;height:152rpx;margin-right: 16rpx;border-radius: 10rpx;" mode="" />
|
|
<view class="flex flex-col flex-1">
|
|
<!-- <view class="flex flex-sb"> -->
|
|
<!-- </view> -->
|
|
<view class="position" style="margin:10rpx 0 10rpx 0;">{{item.name}}</view>
|
|
<view class="date">{{item.appointmentWeekText}}</view>
|
|
<view class="date" wx:if="{{item.appointmentTimeText}}">{{item.appointmentTimeText}}</view>
|
|
<view class="date" wx:if="{{item.status==='1'}}">{{item.inDate}} 至 {{item.outDate}}</view>
|
|
<view class="date" wx:if="{{item.status==='5'}}">
|
|
{{item.inDate}} 至 {{item.actualOutDate}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- <van-divider dashed /> -->
|
|
<view class="flex flex-sb px-20 btn">
|
|
<van-button round size="small" bind:click="toReserve" data-item="{{item}}" color="linear-gradient(to right, #0DC6C6, #13C2C2,#46DBD5)" custom-style="position:absolute;right:0rpx;bottom:-60rpx;">
|
|
预约
|
|
</van-button>
|
|
</view>
|
|
</view>
|
|
<!-- 加载更多提示 -->
|
|
<view wx:if="{{list.length > 0}}" class="load-more">
|
|
<view wx:if="{{loading}}" class="loading-text">
|
|
<text>加载中...</text>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
<no-data isShow="{{list.length === 0 && !loading}}"></no-data>
|