| | |
| | | </view> |
| | | <view class="have_info" v-if="info && info.length > 0"> |
| | | <view class="tit">您申请的用车时段已有车辆预约</view> |
| | | <view class="content" v-for="item,i in info" :key="i"> |
| | | <view class="content" v-for="(item, i) in info" :key="i"> |
| | | <view class="card">{{ item.carCode }}</view> |
| | | <view class="line"> |
| | | <text>用车时段</text> |
| | |
| | | </view> |
| | | <view class="line"> |
| | | <text>申请人</text> |
| | | <text>{{ item.memberName }} {{ item.memberMobile}}</text> |
| | | <text>{{ item.memberName }} {{ item.memberMobile }}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | methods: { |
| | | onSubmit() { |
| | | const { param, info } = this |
| | | if (info.length > 0) return uni.showToast({ |
| | | if (info.length > 0) return uni.showToast({ |
| | | title: '请重新选择时间段', |
| | | icon: 'none' |
| | | }) |
| | |
| | | |
| | | <style lang="scss"> |
| | | .have_info { |
| | | padding: 0 0 200rpx; |
| | | padding: 0 0 200rpx; |
| | | .tit { |
| | | color: #ed4545; |
| | | margin: 40rpx 0 24rpx; |
| | |
| | | background: #f7f7f7; |
| | | border-radius: 16rpx; |
| | | padding: 30rpx 30rpx 10rpx; |
| | | margin-bottom: 20rpx; |
| | | margin-bottom: 20rpx; |
| | | .card { |
| | | margin-bottom: 30rpx; |
| | | font-weight: 500; |
| | | font-weight: 600; |
| | | font-size: 32rpx; |
| | | color: #222222; |
| | | background: #f7f7f7; |
| | |
| | | position: fixed; |
| | | width: 100%; |
| | | left: 0; |
| | | background-color: #fff; |
| | | background-color: #fff; |
| | | bottom: 0; |
| | | padding: 20rpx 30rpx 84rpx; |
| | | box-shadow: 0rpx -3rpx 6rpx 0rpx #eeeeee; |