学员端小程序
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.
 
 
 

62 lines
1.3 KiB

<template>
<view class="pageBgImg">
<topNavbar title="预约详情"></topNavbar>
<!-- 详情 -->
<view class="pad">
<view class="card">
<imitate v-if="type==1"/>
<opera v-else-if="type==2"/>
<examin v-else-if="type==3"/>
</view>
<view class="btnCon">
<view class="btnBg" @click.stop="$goPage('/pages/carEntry/evaluate/evaluate')">去评价</view>
<view class="btnBorder" @click="show=true">取消预约</view>
<view class="btnBorder">申请退款</view>
</view>
</view>
<u-popup :show="show" mode="center" :round="20" @>
<cancelReservation @popupBtnClick="show=false"/>
</u-popup>
</view>
</template>
<script>
import imitate from './imitate'
import opera from './opera'
import examin from './examin'
export default {
components: { imitate, opera, examin},
data() {
return {
type: 1,
show: false
}
}
}
</script>
<style lang="scss" scoped>
.card {
padding: 24rpx;
}
.btnCon {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 76rpx;
.btnBg {
width: 212rpx;
margin-bottom: 40rpx;
}
.btnBorder {
width: 396rpx;
border: 2rpx solid #E8E9EC;
background-color: #fff;
color: #ADADAD;
margin-bottom: 40rpx;
}
}
</style>