Browse Source

4.小程序 轮胎保列表联系人显示
5.小程序 轮胎保状态加在有效期后
16.小程序 门店信息中地址过长显示修改
15.小程序端,轮胎保注册信息界面,生成理赔按钮靠下点

Qukatie 1 month ago
parent
commit
bb7c45d8f2

+ 1 - 1
components/debounce-button.vue

@@ -1,6 +1,6 @@
 <template>
 	<button :type="type" :size="size" :class="['debounce-btn', disabled||readOnly ? 'disabled' : '']" :disabled="disabled||readOnly"
-		@click="handleClick" :style="{backgroundColor:bgColor,color:color}" :loading="loading">
+		@click="handleClick" :style="{backgroundColor:bgColor,color:color}" style="border-radius: 50px;" :loading="loading">
 		<slot>{{ text }}</slot>
 	</button>
 </template>

+ 4 - 4
pages/home/claim/details.vue

@@ -13,17 +13,17 @@
 				</uni-forms-item>
 				<uni-forms-item name="consumerPhone" label="电话" required>
 					<uni-easyinput v-model="form.consumerPhone" class="right-align"
-						placeholder-class="placeholder-right" placeholder="请输入电话" :inputBorder="false" :disabled="true"
+						placeholder-class="placeholder-right" placeholder=" " :inputBorder="false" :disabled="true"
 						:clearable="false"></uni-easyinput>
 				</uni-forms-item>
 				<uni-forms-item name="vehicleNumber" label="车牌号">
 					<uni-easyinput v-model="form.vehicleNumber" class="right-align"
-						placeholder-class="placeholder-right" placeholder="请输入车牌号" :inputBorder="false" :disabled="true"
+						placeholder-class="placeholder-right" placeholder=" " :inputBorder="false" :disabled="true"
 						:clearable="false"></uni-easyinput>
 				</uni-forms-item>
 				<uni-forms-item name="tyreNo" label="胎号">
 					<uni-easyinput v-model="form.tyreNo" class="right-align" placeholder-class="placeholder-right"
-						placeholder="请输入胎号" :inputBorder="false" :disabled="true" :clearable="false"></uni-easyinput>
+						placeholder=" " :inputBorder="false" :disabled="true" :clearable="false"></uni-easyinput>
 				</uni-forms-item>
 				<uni-forms-item name="tyreSpecs" label="规格型号">
 					<uni-easyinput v-model="form.tyreSpecs" class="right-align" placeholder-class="placeholder-right"
@@ -49,7 +49,7 @@
 				</uni-forms-item>
 				<uni-forms-item name="claimReason" label="理赔原因">
 					<uni-easyinput v-model="form.claimReason" class="right-align" type="textarea"
-						placeholder-class="placeholder-right" placeholder="请输入内容" :inputBorder="false"
+						placeholder-class="placeholder-right" :placeholder="form.auditStatus>0?' ':'请输入内容'" :inputBorder="false"
 						:disabled="form.auditStatus>0"></uni-easyinput>
 				</uni-forms-item>
 			</uni-forms>

+ 1 - 1
pages/home/index.vue

@@ -256,7 +256,7 @@
 				display: flex;
 				flex-direction: column;
 				align-items: center;
-
+				padding: 50rpx 0;
 				.uni-grid-item__box {
 					justify-content: center;
 				}

+ 3 - 3
pages/home/insurance/details.vue

@@ -75,7 +75,7 @@
 					<uni-forms-item name="tyreNo" label="胎号">
 						<view style="display: flex;align-items: center;">
 							<uni-easyinput v-model="item.tyreNo" class="right-align"
-								placeholder-class="placeholder-right" placeholder="请输入胎号" :inputBorder="false"
+								placeholder-class="placeholder-right" :placeholder="form.status>0?' ':'请输入胎号'" :inputBorder="false"
 								:disabled="true" :clearable="false"
 								@change="getMaterialDetail($event,activeTab)"></uni-easyinput>
 							<!-- <uni-icons v-if="!form.status>0" type="scan" size="24" color='#03803B'
@@ -127,10 +127,10 @@
 					</view>
 				</view>
 			</view>
-			<debounce-button style="margin-top: 30rpx;"
+			<debounce-button style="margin: 30rpx;"
 				v-if="form.status==1&&form.tireInsuranceFilesList.slice(activeTab*3,activeTab*3+3).filter(item=>item.claimStatus==0).length"
 				bgColor='#03803B' @click="claim">生成保单</debounce-button>
-			<debounce-button style="margin-top: 30rpx;"
+			<debounce-button style="margin: 30rpx;"
 				v-if="form.status==1&&form.tireInsuranceFilesList.slice(activeTab*3,activeTab*3+3).filter(item=>item.claimStatus==0).length==0"
 				bgColor='#03803B' :readOnly="true">已生成保单</debounce-button>
 		</uni-section>

+ 27 - 26
pages/home/insurance/index.vue

@@ -24,33 +24,12 @@
 								<view style="font-weight: 800;color: #03803B;">
 									{{item.vehicleNumber||'暂无车牌'}}
 								</view>
-								<view class="">
-									轮胎规格: {{item.tyreSpecs||'-'}}
-								</view>
 							</view>
 							<view class="list-item">
 								<view class="">
 									轮胎:{{item.tireQuantity||0}}条
 								</view>
-								<view style="display: flex;align-items: center;color: #03803B;">
-									<image style="width: 32rpx;height: 32rpx;margin-right: 18rpx;"
-										src="@/static/images/home/insurance/ap.png" />
-									<text v-if="item.status==0" style="color:#e6a23c">
-										录入
-									</text>
-									<text v-if="item.status==1" style="color:#e6a23c">
-										在保
-									</text>
-									<text v-if="item.status==2" style="color:#409EFF">
-										受理中
-									</text>
-									<text v-if="item.status==3" style="color:#67c23a">
-										已通过
-									</text>
-									<text v-if="item.status==4" style="color:#f56c6c">
-										已拒绝
-									</text>
-								</view>
+								
 							</view>
 							<view class="list-item">
 								<view style="">
@@ -63,17 +42,39 @@
 								</view>
 							</view>
 							<view class="list-item">
-								<view style="">
-									联系人:{{item.storeContact||'暂无数据'}}
+								<view>
+									联系人: <uni-icons type="person" size="20" color="#03803B"></uni-icons>{{item.storeContact||'暂无数据'}}
 								</view>
-								<view @click.stop="makeTel(item.storePhone)">
-									{{item.storePhone||'暂无数据'}}
+								<view style="display: flex;align-items: center;" @click.stop="makeTel(item.storePhone)">
+									<uni-icons type="phone" size="20" color="#03803B"></uni-icons>
+									<view class="">
+										{{item.storePhone||'暂无数据'}}
+									</view>
 								</view>
 							</view>
 							<view class="list-item-end">
 								<view style="color: #B5B4B4;">
 									有效截至日期:{{item.insuranceTime||'暂无日期'}}
 								</view>
+								<view style="display: flex;align-items: center;color: #03803B;">
+									<image style="width: 32rpx;height: 32rpx;margin-right: 18rpx;"
+										src="@/static/images/home/insurance/ap.png" />
+									<text v-if="item.status==0" style="color:#e6a23c">
+										录入
+									</text>
+									<text v-if="item.status==1" style="color:#e6a23c">
+										在保
+									</text>
+									<text v-if="item.status==2" style="color:#409EFF">
+										受理中
+									</text>
+									<text v-if="item.status==3" style="color:#67c23a">
+										已通过
+									</text>
+									<text v-if="item.status==4" style="color:#f56c6c">
+										已拒绝
+									</text>
+								</view>
 							</view>
 						</view>
 						<template v-slot:right>

+ 7 - 6
pages/me/storeInfo.vue

@@ -8,21 +8,22 @@
 					<view class="tab-bar-item">
 						<view class="text">
 							<view class="text_content">
-								<text style="color: #03803B;">店铺名称:</text>
+								<text style="color: #03803B;width: 120rpx;">店铺名称:</text>
 								<text style="color: #6A6A6A">{{item.storeName||'暂无门店'}}</text>
 							</view>
 							<view class="text_content">
-								<text style="color: #03803B;">联系人:</text>
+								<text style="color: #03803B;width: 120rpx;">联系人:</text>
 								<text style="color: #6A6A6A">{{item.storeContact||'暂无联系人'}}</text>
 
 							</view>
 							<view class="text_content">
-								<text style="color: #03803B;">地址:</text>
-								<text style="color: #6A6A6A">{{item.storeAddress||'暂无地址'}}</text>
+								
+								<text style="color: #03803B;width: 120rpx;">地址:</text>
+								<text style="color: #6A6A6A;text-align: right;">{{item.storeAddress||'暂无地址'}}</text>
 
 							</view>
 							<view class="text_content">
-								<text style="color: #03803B;">电话:</text>
+								<text style="color: #03803B;width: 120rpx;">电话:</text>
 								<text style="color: #6A6A6A">{{item.storePhone||'暂无电话'}}</text>
 							</view>
 						</view>
@@ -208,7 +209,7 @@
 				display: flex;
 				flex-direction: column;
 				justify-content: space-between;
-				height: 140rpx;
+				// height: 140rpx;
 				width: 100%;
 				.text_title {
 					display: flex;

BIN
static/images/home/home (17).png


BIN
static/images/home/home (18).png


+ 3 - 1
uni_modules/uni-scss/index.scss

@@ -71,8 +71,10 @@
 	.uni-easyinput__content-input{
 		text-align: right !important;
 		color:#B5B4B4;
-		
 	}
 	.uni-easyinput__content-textarea{
 		text-align: right !important;
+	}
+	.is-disabled{
+		color:#333333 !important;
 	}