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.
117 lines
2.2 KiB
117 lines
2.2 KiB
<template>
|
|
<view class="step1">
|
|
<coachInfo @click.native="showStep2"/>
|
|
<view class="h1">预约时间</view>
|
|
<pickDate :FormData="FormData"/>
|
|
<view class="h1">教练车</view>
|
|
<view class="card">
|
|
<view class="car">
|
|
<view class="carTag">赣A98299学</view>
|
|
</view>
|
|
</view>
|
|
<view class="h1">训练场地</view>
|
|
<view class="card" >
|
|
<view class="site">
|
|
<view class="leftTxt">
|
|
<view class="adrs">某某场地</view>
|
|
<view class="adrsTxt">江西省江西市江西区尚坤丁兰国际1190</view>
|
|
</view>
|
|
<view class="icon">
|
|
<image src="@/static/images/car/btn_daohang.png" mode=""></image>
|
|
<!-- <image src="@/static/images/car/btn_daohang_cli.png" mode=""></image> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="poz_btn">
|
|
<view class="btn_row" >
|
|
<view class="btnBg" @click="changeStep(2)">下一步</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import coachInfo from './coachInfo'
|
|
import pickDate from './pickDate'
|
|
export default {
|
|
components: { coachInfo, pickDate },
|
|
props: ['FormData'],
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
changeStep(num) {
|
|
if(this.FormData.coachId) {
|
|
|
|
}
|
|
this.$emit('changeStep', num)
|
|
},
|
|
showStep2() {
|
|
this.$emit('showStep2')
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.poz_btn {
|
|
// position: fixed;
|
|
// bottom: 0;
|
|
// left: 0;
|
|
// padding: 32rpx;
|
|
// width: 100%;
|
|
// background: #F6F6F6;
|
|
.btn_row {
|
|
display: flex;
|
|
height: 200rpx;
|
|
align-items: center;
|
|
justify-content: center;
|
|
.btnBg {
|
|
width: 396rpx;
|
|
}
|
|
}
|
|
}
|
|
.h1 {
|
|
line-height: 100rpx;
|
|
}
|
|
.car {
|
|
padding: 32rpx 28rpx;
|
|
.carTag {
|
|
height: 120rpx;
|
|
background: #F8F8F8;
|
|
padding: 0 18rpx;
|
|
color: $themC;
|
|
border-radius: 12rpx;
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
width: fit-content;
|
|
line-height: 120rpx;
|
|
}
|
|
}
|
|
.site {
|
|
padding: 28rpx 40rpx 28rpx 36rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
.leftTxt {
|
|
width: 0;
|
|
flex: 1;
|
|
color: $themC;
|
|
.adrs {
|
|
font-size: 32rpx;
|
|
font-weight: 550;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
.adrsTxt {
|
|
font-size: 28rpx;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
.icon {
|
|
width: 72rpx;
|
|
height: 72rpx;
|
|
}
|
|
}
|
|
</style>
|