202404 足球预定列表查看

This commit is contained in:
2024-05-22 22:00:03 +08:00
parent 07e1ed7153
commit 8b1c94b806
4 changed files with 26 additions and 7 deletions

View File

@@ -57,7 +57,7 @@
<view class='footer-btn ' bindtap='cancelBooking'>取消预约</view> <view class='footer-btn ' bindtap='cancelBooking'>取消预约</view>
<!-- 如果是足球,则展示入场按钮 --> <!-- 如果是足球,则展示入场按钮 -->
<!-- {{isSignIn ? "isActive" : ""}} --> <!-- {{isSignIn ? "isActive" : ""}} -->
<view wx:if="{{memberLessonTicket.venueLesson.venueType == 3}}" class='footer-btn isActive' bindtap='enterJoin'>我要进场</view> <view wx:if="{{memberLessonTicket.venueLesson.venueType == 3}}" class='footer-btn isActive' bindtap='enterJoin'>预定详情</view>
<view wx:else class='footer-btn isActive' bindtap='signIn'>我要签到</view> <view wx:else class='footer-btn isActive' bindtap='signIn'>我要签到</view>
</view> </view>
</view> </view>

View File

@@ -76,7 +76,10 @@ Page({
}, },
openDoor(){ openDoor(){
wx.showToast({
title:'开门成功',
icon : "success"
})
}, },
// 获取数据 // 获取数据

View File

@@ -12,6 +12,14 @@
<text>{{memberLessonTicket.lessonname}}</text> <text>{{memberLessonTicket.lessonname}}</text>
</view> </view>
</view> --> </view> -->
<view class='cell'>
<image src='../../images/39@3x.png' mode='aspectFit'></image>
<text>预定人昵称:{{memberLessonTicket.nickname}}</text>
</view>
<view class='cell'>
<image src='../../images/39@3x.png' mode='aspectFit'></image>
<text>预定人联系方式:{{memberLessonTicket.mobile}}</text>
</view>
<view class='cell'> <view class='cell'>
<image src='../../images/42@3x.png' mode='aspectFit'></image> <image src='../../images/42@3x.png' mode='aspectFit'></image>
<text>{{memberLessonTicket.date}} {{memberLessonTicket.startTime}} ~ {{memberLessonTicket.endTime}}</text> <text>{{memberLessonTicket.date}} {{memberLessonTicket.startTime}} ~ {{memberLessonTicket.endTime}}</text>
@@ -25,12 +33,12 @@
</view> </view>
</view> </view>
</view> </view>
<view class="side-line">---预定人员列表---</view> <view class="side-line">---报名人员列表---</view>
<view class="cell-box"> <view class="cell-box">
<view wx:for="{{memberLessonTicket.memberTicketInviteList}}" wx:key='{{index}}'> <view wx:for="{{memberLessonTicket.memberTicketInviteList}}" wx:key='{{index}}'>
<view class='cell'> <view class='cell'>
<image src='../../images/39@3x.png' mode='aspectFit'></image> <!-- <image src='../../images/39@3x.png' mode='aspectFit'></image>-->
<text>{{item.memberName}}</text> <text>{{item.memberName}} {{item.mine ? "(我)":""}}</text>
<view class="cell-right"> <view class="cell-right">
<text>{{item.mobile}}</text> <text>{{item.mobile}}</text>
</view> </view>
@@ -39,7 +47,8 @@
</view> </view>
<view class='footer-box'> <view class='footer-box'>
<view class='footer-btn isActive' bindtap='openDoor'>开门</view> <button wx:if="{{memberLessonTicket.order}}" class='footer-btn invite' open-type='share'>邀请朋友</button>
<view class='footer-btn opendoor' bindtap='openDoor'>开门</view>
</view> </view>
</view> </view>
</view> </view>

View File

@@ -112,9 +112,16 @@
line-height: 100rpx; line-height: 100rpx;
} }
.footer-btn.isActive { .footer-btn.invite {
background: none;
color: #ffda2e;
border: 5rpx solid #6e602f;
}
.footer-btn.opendoor {
background: #ffda2e; background: #ffda2e;
} }
.side-line { .side-line {
flex: 1; flex: 1;
color: #fff; color: #fff;