描述:展厅预约没有预约显示提示

This commit is contained in:
SelfRidicule 2024-03-29 16:44:32 +08:00
parent 1fca654e8f
commit dfe26e046a
4 changed files with 28 additions and 1 deletions

View File

@ -19,6 +19,7 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
IMG_NAME: app.IMG_NAME,
id: null, id: null,
minTime: null, minTime: null,
maxTime: null, maxTime: null,

View File

@ -11,6 +11,12 @@
<view class="status">已预约</view> <view class="status">已预约</view>
</view> </view>
</view> </view>
<!-- 没有记录 -->
<view class="noneView" wx:if="{{dataList.length <= 0}}">
<image class="img" src="{{IMG_NAME + '/profile/static/meeting/reservationRecord/none.png'}}" mode="aspectFill"></image>
<view class="describe">暂无记录</view>
</view>
</view> </view>
<!-- 预约时间 --> <!-- 预约时间 -->

View File

@ -72,3 +72,23 @@
font-size: 34rpx; font-size: 34rpx;
padding: 20rpx 60rpx; padding: 20rpx 60rpx;
} }
.noneView {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.noneView .img {
margin-top: 400rpx;
width: 207rpx;
height: 200rpx;
}
.noneView .describe {
margin-top: 40rpx;
font-size: 30rpx;
color: #d0d7e2;
}

View File

@ -11,7 +11,7 @@
<view class="status">已预约</view> <view class="status">已预约</view>
</view> </view>
</view> </view>
<!-- 没有优惠券 --> <!-- 没有记录 -->
<view class="noneView" wx:if="{{dataList.length <= 0}}"> <view class="noneView" wx:if="{{dataList.length <= 0}}">
<image class="img" src="{{IMG_NAME + '/profile/static/meeting/reservationRecord/none.png'}}" mode="aspectFill"></image> <image class="img" src="{{IMG_NAME + '/profile/static/meeting/reservationRecord/none.png'}}" mode="aspectFill"></image>
<view class="describe">暂无记录</view> <view class="describe">暂无记录</view>