| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <cu-custom bgColor="bg-lw-header" isCustom="{{true}}">
- <view slot="content">预约记录</view>
- </cu-custom>
- <view class='cu-list menu-avatar bg-white margin-top-xs shadow' wx:for="{{list}}" wx:key="key">
- <view class="cu-bar bg-white solid-bottom padding-top padding-bottom">
- <view class='action'>
- <text class='text-df text-gray'></text> {{item.lock_name}}
- </view>
- <view class='action'>
- <text class='text-df {{item.status == 4 ? "text-red" : "text-blue"}}'>{{item.status_name}}</text>
- </view>
- </view>
- <view class="cu-bar bg-white">
- <view class='action'>
- <text class='text-black text-df'>日期:{{item.date}}</text>
- </view>
- </view>
- <view class="cu-bar bg-white">
- <view class='action'>
- <text class='text-black text-df'>时间:{{item.time}}</text>
- </view>
- </view>
- <view class='bg-white text-right solid-top padding-left padding-right padding-top-xs padding-bottom-xs' wx:if="{{item.status == 2}}">
- <view class='cu-tag radius line-black xl' bindtap='showPassword' data-id='{{item.id}}'>查看密码</view>
- </view>
- </view>
- <view wx:if="no_more" class="no_more">没有更多数据</view>
- <view class="cu-modal {{modalName=='DialogModal'?'show':''}}">
- <view class="cu-dialog">
- <view class="cu-bar bg-white justify-end">
- <view class="content">门锁密码</view>
- <view class="action" bindtap="hideModal">
- <text class="cuIcon-close text-red"></text>
- </view>
- </view>
- <view class="padding-xl text-xl">
- {{password}}
- </view>
- <view class="cu-bar bg-white justify-end">
- <view class="action" style="display: flex;justify-content: flex-end;">
- <button class="cu-btn line-green text-green" bindtap="hideModal" style="width:150rpx;">关闭</button>
- <button class="cu-btn bg-green margin-left" bindtap="refreshPassword" style="width:200rpx;margin-left:20rpx;">刷新密码</button>
- </view>
- </view>
- </view>
- </view>
- <view class="footer-view"></view>
- <view class="cu-bar tabbar bg-white footer">
- <view class="action" bind:tap="toIndex">
- <view class="cuIcon-cu-image">
- <image src="/common/images/tabbar/index.png"></image>
- </view>
- <view class="text-gray">茶室</view>
- </view>
- <view class="action">
- <view class="cuIcon-cu-image">
- <image src="/common/images/tabbar/my_cur.png"></image>
- </view>
- <view class="text-red">预约记录</view>
- </view>
- </view>
|