From e87b711cc267567d8374315dc99ef9780cb25dd8 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 26 三月 2025 17:55:57 +0800
Subject: [PATCH] 代码初始化
---
h5/pages/driver/reserved.vue | 29 +++++++++++++++++------------
1 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/h5/pages/driver/reserved.vue b/h5/pages/driver/reserved.vue
index a491d06..3571990 100644
--- a/h5/pages/driver/reserved.vue
+++ b/h5/pages/driver/reserved.vue
@@ -15,9 +15,9 @@
<view class="line">
<view class="label">
<text>*</text>
- <text>鍚堝悓鍙�</text>
+ <text>鍚堝悓/鍗曟嵁缂栧彿</text>
</view>
- <view class="value"><input type="text" placeholder="璇疯緭鍏ユ偍鐨勫悎鍚屽彿" v-model="param.contractNum" placeholder-style="color: #999999;" /></view>
+ <view class="value"><input type="text" placeholder="璇疯緭鍏ユ偍鐨勫悎鍚�/鍗曟嵁缂栧彿" v-model="param.contractNum" placeholder-style="color: #999999;" /></view>
</view>
<!-- -->
<view class="line">
@@ -33,7 +33,7 @@
<view class="line">
<view class="label">
<text>*</text>
- <text>鍏ュ簱绫诲瀷</text>
+ <text>浣滀笟绫诲瀷</text>
</view>
<view class="value">
<view class="btns">
@@ -55,7 +55,7 @@
<view class="line">
<view class="label">
<text>*</text>
- <text>鍑嗚繍璇佺収鐗�</text>
+ <text>鍑嗚繍璇�/杩愬崟鐓х墖</text>
</view>
<view class="value" @click="handleUpload">
<image v-if="param.transportImgFull" class="upload_wrap" :src="param.transportImgFull" alt="">
@@ -98,8 +98,10 @@
</view>
</view>
<view class="copy" @click="copy">澶嶅埗杞﹀墠鐗岀収鍙�</view>
- <view class="handle_sub" @click="onSubmit">
- 鎻愪氦
+ <view class="footer">
+ <view class="handle_sub" @click="onSubmit">
+ 鎻愪氦
+ </view>
</view>
</view>
@@ -173,14 +175,14 @@
onSubmit() {
const param = { ...this.param }
if (!param.arriveDate) return this.showToast('璇烽�夋嫨鍒板満鏃堕棿')
- if (!param.inType && param.inType != 0) return this.showToast('璇烽�夋嫨鍏ュ簱绫诲瀷')
- if (!param.contractNum) return this.showToast('璇疯緭鍏ュ悎鍚屽彿')
+ if (!param.inType && param.inType != 0) return this.showToast('璇烽�夋嫨浣滀笟绫诲瀷')
+ if (!param.contractNum) return this.showToast('璇疯緭鍏ュ悎鍚�/鍗曟嵁缂栧彿')
if (!param.totalNum) return this.showToast('璇疯緭鍏ユ�昏繍杈撻噺')
if (!param.driverName) return this.showToast('璇疯緭鍏ュ徃鏈哄鍚�')
if (!param.driverPhone) return this.showToast('璇疯緭鍏ユ墜鏈哄彿')
if (!param.carCodeFront) return this.showToast('璇疯緭鍏ヨ溅鍓嶇墝鍙�')
if (!param.carCodeBack) return this.showToast('璇疯緭鍏ヨ溅鍚庣墝鍙�')
- if (!param.transportImgFull) return this.showToast('璇蜂笂浼犲噯杩愯瘉鐓х墖')
+ if (!param.transportImgFull) return this.showToast('璇蜂笂浼犲噯杩愯瘉/杩愬崟鐓х墖')
param.arriveDate = param.arriveDate + ':00'
let fn = param.id ? driverCarApplyEdit : driverCarApply
fn({...param}).then(res => {
@@ -379,11 +381,13 @@
}
.main_app {
padding-top: 10rpx;
+ .footer{
+ background-color: #f7f7f7;
+ padding: 20rpx 30rpx 30rpx;
+ margin: 0 -30rpx;
+ }
.handle_sub{
- // position: fixed;
- // bottom: 64rpx;
width: 690rpx;
- margin-top: 80rpx;
background-color: #4d99a8;
height: 88rpx;
line-height: 88rpx;
@@ -401,6 +405,7 @@
background-color: #f7f7f7;
display: flex;
margin: 0 -30rpx;
+ width: 750rpx;
justify-content: flex-end;
padding: 12rpx 30rpx;
font-size: 26rpx;
--
Gitblit v1.9.3