<view class="page-wrapper"><view class="bg-top"></view><view class="content-wrapper"><view class="p-4 w-95-percent"><uni-segmented-control wx:if="{{b}}" bindclickItem="{{a}}" class="mb-4" u-i="39b7ce24-0" bind:__l="__l" u-p="{{b}}"/></view><view wx:if="{{c}}" class="text-center text-gray-500 py-8"> 加载中... </view><scroll-view scroll-y class="h-calc-100vh-120px w-95-percent"><view wx:for="{{d}}" wx:for-item="item" wx:key="q" class="bg-white rounded-lg shadow p-4 mb-4 relative"><view wx:if="{{item.a}}" class="absolute top-2 right-2"><button class="bg-red-500 text-white text-sm px-2 py-1 rounded" bindtap="{{item.b}}"> 取消预约 </button></view><view class="space-y-2"><view class="flex justify-between"><text class="font-bold text-lg">{{item.c}}</text><text wx:if="{{item.d}}" class="text-sm text-gray-500">{{item.e}}</text></view><view class="text-sm space-y-2"><text class="text-gray-600">预约日期:</text><text>{{item.f}}</text></view><view class="text-sm space-y-2"><text class="text-gray-600">时段:</text><text>{{item.g}}</text></view><view class="text-sm space-y-2"><text class="text-gray-600">预约人:</text><text>{{item.h}}</text></view><view class="text-sm space-y-2"><text class="text-gray-600">电话:</text><text>{{item.i}}</text></view><view class="text-sm space-y-2"><text class="text-gray-600">同行人数:</text><text>{{item.j}} 人</text></view><view wx:if="{{item.k}}" class="text-sm space-y-2"><text class="text-gray-600">使用时间:</text><text>{{item.l}}</text></view><view wx:if="{{item.m}}" class="text-sm space-y-2"><text class="text-gray-600">取消时间:</text><text>{{item.n}}</text></view><button wx:if="{{item.o}}" class="bg-blue-500 text-white text-base px-2 py-1 rounded space-y-2" bindtap="{{item.p}}"> 现场核销 </button></view></view><view wx:if="{{e}}" class="text-center text-gray-500 py-8"> 暂无{{f}}的预约信息 </view></scroll-view></view><view class="bg-bottom"></view></view>
|