202404 足球预定列表查看
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<view class='footer-btn ' bindtap='cancelBooking'>取消预约</view>
|
||||
<!-- 如果是足球,则展示入场按钮 -->
|
||||
<!-- {{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>
|
||||
</view>
|
||||
|
||||
@@ -76,7 +76,10 @@ Page({
|
||||
},
|
||||
|
||||
openDoor(){
|
||||
|
||||
wx.showToast({
|
||||
title:'开门成功',
|
||||
icon : "success"
|
||||
})
|
||||
},
|
||||
|
||||
// 获取数据
|
||||
|
||||
@@ -12,6 +12,14 @@
|
||||
<text>{{memberLessonTicket.lessonname}}</text>
|
||||
</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'>
|
||||
<image src='../../images/42@3x.png' mode='aspectFit'></image>
|
||||
<text>{{memberLessonTicket.date}} {{memberLessonTicket.startTime}} ~ {{memberLessonTicket.endTime}}</text>
|
||||
@@ -25,12 +33,12 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="side-line">---预定人员列表---</view>
|
||||
<view class="side-line">---报名人员列表---</view>
|
||||
<view class="cell-box">
|
||||
<view wx:for="{{memberLessonTicket.memberTicketInviteList}}" wx:key='{{index}}'>
|
||||
<view class='cell'>
|
||||
<image src='../../images/39@3x.png' mode='aspectFit'></image>
|
||||
<text>{{item.memberName}}</text>
|
||||
<!-- <image src='../../images/39@3x.png' mode='aspectFit'></image>-->
|
||||
<text>{{item.memberName}} {{item.mine ? "(我)":""}}</text>
|
||||
<view class="cell-right">
|
||||
<text>{{item.mobile}}</text>
|
||||
</view>
|
||||
@@ -39,7 +47,8 @@
|
||||
</view>
|
||||
|
||||
<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>
|
||||
|
||||
@@ -112,9 +112,16 @@
|
||||
line-height: 100rpx;
|
||||
}
|
||||
|
||||
.footer-btn.isActive {
|
||||
.footer-btn.invite {
|
||||
background: none;
|
||||
color: #ffda2e;
|
||||
border: 5rpx solid #6e602f;
|
||||
}
|
||||
|
||||
.footer-btn.opendoor {
|
||||
background: #ffda2e;
|
||||
}
|
||||
|
||||
.side-line {
|
||||
flex: 1;
|
||||
color: #fff;
|
||||
|
||||
Reference in New Issue
Block a user