洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

63 lines
1.8 KiB

<template>
<!-- 模拟器 -->
<view class="consultItem">
<view class="top_row">
<view class="flex">
<view class="tag">{{item.subject==2?'科目二实操':item.subject==3?'科目三实操':'不限科目'}}</view>
<view class="schoolName oneRowText">{{item.siteName}}</view>
</view>
<view class="status">
<view class="text" v-if="item.loginStatus==9">已取消</view>
<view class="text" v-else>{{statusTxt[item.loginStatus]}}</view>
<view class="icon">
<u-icon name="arrow-right" size="14" color="#686B73" style="margin-left: 12rpx;" ></u-icon>
</view>
</view>
</view>
<view class="target">
<view class="row">
<view class="leftLab">
<view class="lab">预约教练</view>
</view>
<view class="name">{{item.coachName}}</view>
</view>
<view class="row">
<view class="leftLab">
<view class="lab">预约车辆</view>
</view>
<view class="name">{{item.carNumber}}</view>
</view>
<view class="row">
<view class="leftLab">
<view class="lab">预约日期</view>
</view>
<view class="name">{{item.classDate}}</view>
</view>
</view>
<view class="border_bottom" v-if="item.status==2">
<view class="dateBox" v-if="item.signOutTime">
<view class="date">完成时间{{$u.timeFormat(item.signOutTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
</view>
<view class="btnBg" @click.stop="$goPage('/pages/carEntry/evaluate/evaluate')">去评价</view>
</view>
</view>
</template>
<script>
export default {
props: ['item'],
data() {
return {
statusTxt: ['未签到','已签到','已签退','旷课','已取消',''],//0:未签到,1:已签到,2:已签退,3:旷课,9:已取消
}
}
}
</script>
<style lang="scss" scoped>
@import './comp.scss';
.tag {
background: rgba(144,12,64,0.1) !important;
color: #F158B9 !important;
}
</style>