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.
128 lines
2.6 KiB
128 lines
2.6 KiB
<template>
|
|
<view class="pageBg">
|
|
<view class="pad">
|
|
<view class="card">
|
|
<view class="h1"><text class="active">现学驾信息</text></view>
|
|
<view class="row">
|
|
<view class="lab">学驾车型</view>
|
|
<view class="val">C1</view>
|
|
</view>
|
|
<view class="row">
|
|
<view class="lab">学车班型</view>
|
|
<view class="val">C1手动挡一对一VIP班</view>
|
|
</view>
|
|
<view class="row">
|
|
<view class="lab">学驾培训费</view>
|
|
<view class="val blue">¥3000</view>
|
|
</view>
|
|
</view>
|
|
<view class="card">
|
|
<view class="h1"><text class="active">变更学驾信息</text></view>
|
|
<view class="row">
|
|
<view class="lab">学驾车型</view>
|
|
<view class="val" @click="showModel=true">
|
|
<input type="text" placeholder="请选择" disabled="">
|
|
</view>
|
|
<view class="arrow" @click="showModel=true">
|
|
<u-icon name="arrow-right"></u-icon>
|
|
</view>
|
|
</view>
|
|
<view class="row">
|
|
<view class="lab">学车班型</view>
|
|
<view class="val">
|
|
<input type="text" placeholder="请选择" disabled="">
|
|
</view>
|
|
<view class="arrow">
|
|
<u-icon name="arrow-right"></u-icon>
|
|
</view>
|
|
</view>
|
|
<view class="row">
|
|
<view class="lab">学驾培训费</view>
|
|
<view class="val hui">¥-</view>
|
|
</view>
|
|
</view>
|
|
<view class="card">
|
|
<view class="row">
|
|
<view class="lab">补交金额</view>
|
|
<view class="val hui">¥-</view>
|
|
</view>
|
|
</view>
|
|
<view class="footerBtn">
|
|
<view class="btnBg">下一步</view>
|
|
</view>
|
|
</view>
|
|
<u-picker :show="showModel" :columns="modelArr" keyName="lab" @confirm="confirmModel" @cancel="showModel=false"></u-picker>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
showModel: false,
|
|
modelArr: [
|
|
[
|
|
{lab: 'C1',id: 1},
|
|
{lab: 'C2',id: 2},
|
|
]
|
|
]
|
|
}
|
|
},
|
|
methods: {
|
|
confirmModel(val) {
|
|
let item = val.value[0]
|
|
this.showModel = false
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.h1 {
|
|
margin-bottom: 10rpx;
|
|
}
|
|
.card {
|
|
margin-bottom: 20rpx;
|
|
padding: 20rpx 20rpx 10rpx 20rpx;
|
|
.row {
|
|
height: 88rpx;
|
|
line-height: 88rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
border-bottom: 1rpx solid #F6F7FA;
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.lab {
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
width: 160rpx;
|
|
}
|
|
|
|
.val {
|
|
flex: 1;
|
|
height: 100%;
|
|
input {
|
|
display: block;
|
|
height: 100%;
|
|
font-size: 28rpx;
|
|
}
|
|
&.blue {
|
|
color: $themC;
|
|
font-weight: 600;
|
|
}
|
|
&.hui {
|
|
color: #ADADAD;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
|
|
.arrow {
|
|
u-icon {
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
</style>
|