From 2df10e6029afb95b68d156226b335b71e2fb0c72 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Tue, 29 Oct 2024 18:43:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E6=96=B0=E5=A2=9E=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 12 + subpages/carManagement/pages/add/add.vue | 324 +++++++++++++++--- .../subpages/carManagement/pages/add/add.vue | 51 --- .../dissatisfied/demandCheck/demandCheck.vue | 2 +- 4 files changed, 283 insertions(+), 106 deletions(-) delete mode 100644 subpages/carManagement/subpages/carManagement/pages/add/add.vue diff --git a/pages.json b/pages.json index 833f931..d54264f 100644 --- a/pages.json +++ b/pages.json @@ -528,6 +528,18 @@ } } ] + }, + { + "root": "subpages/carManagement", + "pages": [ + { + "path": "pages/add/add", + "name": "carManagement", + "style": { + "navigationStyle": "custom" + } + } + ] } ], "tabBar": { diff --git a/subpages/carManagement/pages/add/add.vue b/subpages/carManagement/pages/add/add.vue index ab21607..8d96cda 100644 --- a/subpages/carManagement/pages/add/add.vue +++ b/subpages/carManagement/pages/add/add.vue @@ -2,121 +2,255 @@ - + * - 事件分类 + 所属组织 - - {{ category ? category : '请选择' }} - + + - + * - 发生地点 + 车牌号码 - - {{ addressContent }} - - + + - - + * - {{ tabVal === '1' ? '需求人' : '责任人' }} + 车主姓名 + + + - - - {{ resiName ? resiName : '请选择' }} - - - - + * - {{ tabVal === '0' ? '责任人电话' : '联系电话' }} + 车主电话 + + + + + + + + 车主身份证 + + + + + + + + + + + + 车辆品牌 + + + + + + + + 车辆颜色 + + + + + + + + + 核载人数 - - + + + + + {{ formData.carriersNum + }} + + + + + + + + + 购置日期 + + + {{ formData.acquistionDate ? + formData.acquistionDate : '请选择' }} + + + + + + + + + 备注说明 + + + + + + @@ -130,6 +264,7 @@ page { padding-bottom: 20rpx; box-sizing: border-box; } + .personal-info { width: 100%; height: 100%; @@ -146,28 +281,33 @@ page { padding: 0 20rpx; margin-top: 20rpx; } + .item { border-bottom: 1rpx solid #e7eeee; padding: 25rpx 0; line-height: 60rpx; display: flex; } + .field { position: relative; box-sizing: border-box; - width: 180rpx; + width: 190rpx; padding-left: 25rpx; } .field-d { width: 220rpx !important; } + .value-d { width: 450rpx !important; } + .field.mobile-field { width: 250rpx !important; } + .field .must { position: absolute; top: 0; @@ -176,6 +316,7 @@ page { color: #f61616; font-size: 30rpx; } + .field .field-text { font-size: 32rpx; font-family: Source Han Serif SC; @@ -201,6 +342,7 @@ page { color: #333; line-height: 60rpx; } + .value-dl { position: relative; display: flex; @@ -213,6 +355,7 @@ page { flex: 1; } + .telInput { margin-left: 40rpx; } @@ -224,6 +367,7 @@ page { margin-left: 40rpx; font-family: 'PingFangSC-Regular', sans-serif; } + .di-name1 { margin-right: 14rpx; text-align: left; @@ -232,10 +376,12 @@ page { font-family: 'PingFangSC-Regular', sans-serif; color: #999; } + .di-but { width: 30rpx; height: 34rpx; } + .value input { text-align: right; font-size: 34rpx; @@ -243,15 +389,18 @@ page { height: 100%; width: 100%; } + .value .picker { position: relative; width: 100%; padding-right: 40rpx; text-align: right; } + .value .picker .z-weak { color: #999; } + .value .picker .menu-arrow { position: absolute; top: 20rpx; @@ -259,6 +408,7 @@ page { width: 16rpx; height: 23rpx; } + .value-mobile { position: relative; width: 410rpx; @@ -271,6 +421,7 @@ page { display: flex; margin-left: 30rpx; } + .value-mobile .get-code { padding: 0 15rpx; height: 60rpx; @@ -282,9 +433,11 @@ page { margin: 0; margin-left: 25rpx; } + .value-mobile .button-hover { background: rgb(175, 1, 1); } + .value-mobile input { text-align: right; font-size: 34rpx; @@ -292,6 +445,7 @@ page { height: 100%; width: 55%; } + .placeholder-style { font-size: 28rpx; color: #999; @@ -316,6 +470,7 @@ page { justify-content: center; margin: 80rpx 0 65rpx; } + .submit-button button { height: 84rpx; line-height: 84rpx; @@ -327,7 +482,68 @@ page { border-radius: 84rpx; background: linear-gradient(to right, #82b4fd, #3e93fe); } + .disabled { - pointer-events: none; /* 禁止点击 */ + pointer-events: none; + /* 禁止点击 */ +} + +textarea { + width: 100%; + height: 298rpx; + background-color: #f7f7f7; + padding: 30rpx; + font-size: 34rpx; + color: #333; + line-height: 50rpx; + position: relative; + box-sizing: border-box; +} + +.textarea-placeholder { + font-size: 32rpx; + color: #999; + line-height: 50rpx; + position: absolute; + left: 0; + top: 0; +} + +.u-icon { + border-radius: 100%; + border: solid #d0d0d0 1px; + padding: 2px; + box-sizing: border-box; +} + +.bot_btn { + display: flex; + background-color: #fff; + z-index: 10; + width: 100%; + justify-content: space-between; + position: fixed; + bottom: 0; + left: 50%; + box-sizing: border-box; + transform: translateX(-50%); + padding: 12rpx 90rpx; + box-sizing: border-box; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); +} + +.bot_btn .bottom_btn { + width: 240rpx; + height: 76rpx; + border-radius: 43rpx; + text-align: center; + line-height: 76rpx; + font-size: 32rpx; +} + +.bot_btn .btn_bule { + background: #3974f6; + color: #fff; } diff --git a/subpages/carManagement/subpages/carManagement/pages/add/add.vue b/subpages/carManagement/subpages/carManagement/pages/add/add.vue deleted file mode 100644 index e4ef542..0000000 --- a/subpages/carManagement/subpages/carManagement/pages/add/add.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - - diff --git a/subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.vue b/subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.vue index 71e8ceb..c850c9c 100644 --- a/subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.vue +++ b/subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.vue @@ -137,7 +137,7 @@