makeAnAppointment.vue 21.7 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881
<template>
	<view>
		<image src="../../static/beijing.png" class="background-s" mode=""></image>
		<!-- 全局大小 -->
		<view class="overallSituation">
			<!-- 车辆类型  车型/颜色-->
			<view class="VehicleType">
				<view class="textRight" style="border: 0;">
					车型
				</view>
				<view class="textRight">
					颜色
				</view>
				<view class="textLeft">
					划痕
				</view>
				<view class="textLeft">
					腐蚀
				</view>
				<view class="textLeft">
					破损
				</view>
				<view class="textLeft">
					飞漆
				</view>
			</view>
			<!-- 车辆详情列表 -->
			<view class="listOfVehicleDetails" v-for="(item,index) in VehicleList" :key="index">
				<!-- 详情列表1 -->
				<view class="listOfDetailsOne">
					<view class="listOfDetailsOne-1 textRight">
						{{item.CarModel}}
					</view>
					<view class="listOfDetailsOne-1 textRight">
						{{item.CarColour}}
					</view>
					<view class="listOfDetailsOne-1 textLeft">
						{{item.Scratch}}
					</view>
					<view class="listOfDetailsOne-1 textLeft">
						{{item.Corrosion}}
					</view>
					<view class="listOfDetailsOne-1 textLeft">
						{{item.BeDamaged}}
					</view>
					<view class="listOfDetailsOne-1 textLeft">
						{{item.FlyingPaint}}
					</view>
				</view>
				<!-- 设置默认车辆 -->
				<view class="setDefaultVehicle">
					<view class="otsSelected textRight" style="align-items: center;"
						@click="setAsDefaultVehicle(item,index)">
						<!-- 	<view class="otsSelectedImg">
						</view> -->
						<image class="otsSelectedImg" :src="item.CarDefault==true?defaultimg:nodefaultimg" mode="">
						</image>
						<view>设为默认车辆</view>
					</view>
					<view class="textRight"></view>
					<view class="textLeft" @click="modify(item)">修改</view>
					<view class="textLeft" @click="deleteVehicle(item)">删除</view>
				</view>
			</view>
		</view>
		<!-- ------------------------------------------------------------------- -->
		<!-- 修改弹出框 -->
		<wyb-popup ref="popup" negativeTop=0 showCloseIcon=false maskClickClose=false maskAlpha=0 type="center"
			width="650" height="1100" :showCloseIcon="true"
			style="overflow: hidden;border-radius: 30px;background-color: transparent;">
			<image src="../../static/beijing.png" class="background" mode=""></image>
			<view class="popup-content">
				<view class="input-ont">
					<!-- 车辆品牌型号 -->
					<view class="uni-form-item uni-column">
						<view class="title">车辆品牌型号</view>
						<!-- <input class="uni-input-1"  type="text" v-model="VehicleModel.CarModel"  placeholder="品牌型号"/> -->
						<input type="text" placeholder="品牌型号" v-model="VehicleModel.CarModel" />
					</view>
				</view>
				<!-- 温馨提示 -->
				<view class="reminder">
					<text class="reminder-one">温馨提示</text>
					<text>服务车型仅限7座以下非运营车辆和长</text>
					<text>不超过5米的SUV车</text>
				</view>
				<view class="input-two ">
					<!-- 车身颜色 -->
					<view class="uni-form-item uni-column">
						<view class="title">车身颜色</view>
						<!-- <input class="uni-input" focus v-model="VehicleModel.CarColour" /> -->
						<input type="text" placeholder="车身颜色" v-model="VehicleModel.CarColour" />
					</view>
				</view>
				<!-- 爱车车面状况 -->
				<view class="clickTick">
					<view class="clickTickText">
						爱车车面状况 (点击勾选)
					</view>
					<view class="carSurfaceCondition">
						<view class="uni-form-item uni-column">
							<view class="title scratch">漆面划痕</view>
							<view>
								<radio-group @change="SelectedScratch" :multiple="false"
									class="LL">
									<radio name="良好" value="良好" :checked="checkedScratch==0">良好</radio>
									<radio name="一般" value="一般" :checked="checkedScratch==1">一般</radio>
									<radio name="中等" value="中等" :checked="checkedScratch==2">中等</radio>
									<radio name="严重" value="严重" :checked="checkedScratch==3">严重</radio>
								</radio-group>
							</view>
						</view>
					</view>
					<view class="carSurfaceCondition">
						<view class="uni-form-item uni-column">
							<view class="title scratch">漆面腐蚀</view>
							<view>
								<radio-group @change="SelectedCorrosion" :multiple="false"
									 class="LL">
									<radio name="良好" value="良好" :checked="checkedCorrosion==0">良好</radio>
									<radio name="一般" value="一般" :checked="checkedCorrosion==1">一般</radio>
									<radio name="中等" value="中等" :checked="checkedCorrosion==2">中等</radio>
									<radio name="严重" value="严重" :checked="checkedCorrosion==3">严重</radio>
								</radio-group>
							</view>
						</view>
					</view>
					<view class="carSurfaceCondition">
						<view class="uni-form-item uni-column">
							<view class="title scratch">漆面破损</view>
							<view>
								<radio-group @change="SelectedBeDamaged" :multiple="false"
									class="LL">
									<radio name="良好" value="良好" :checked="checkedBeDamaged==0">良好</radio>
									<radio name="一般" value="一般" :checked="checkedBeDamaged==1">一般</radio>
									<radio name="中等" value="中等" :checked="checkedBeDamaged==2">中等</radio>
									<radio name="严重" value="严重" :checked="checkedBeDamaged==3">严重</radio>
								</radio-group>
							</view>
						</view>
					</view>
					<view class="carSurfaceCondition">
						<view class="uni-form-item uni-column">
							<view class="title scratch">漆面飞漆</view>
							<view>
								<radio-group @change="SelectedFlyingPaint" :multiple="false"
									class="LL">
									<radio name="良好" value="良好" :checked="checkedFlyingPaint==0">良好</radio>
									<radio name="一般" value="一般" :checked="checkedFlyingPaint==1">一般</radio>
									<radio name="中等" value="中等" :checked="checkedFlyingPaint==2">中等</radio>
									<radio name="严重" value="严重" :checked="checkedFlyingPaint==3">严重</radio>
								</radio-group>
							</view>

						</view>
					</view>
				</view>
				<view class="reminder">
					<text>温馨提示:爱车漆面氧化层、划痕严重,甚至还有严</text>
					<text>重漆面破损,建议您到维修店对破损部位进行修补,氧</text>
					<text>化和划痕部分进行机械抛光后再来体验套餐服务</text>
				</view>
				<view class="reminder-fatalFrame" >
					<text class="reminder-one" ></text>
				</view>
				<view class="cancel">
					<button class="button" type="info" @click="hide">取消</button>
					<button class="button" @click="Submit">确定</button>
				</view>
			</view>
		</wyb-popup>
		
		
		
		
		
		
		
		
		<view class="footer" style="position: fixed;bottom: 0px;width: 100%;display: flex;">
			<button @click="modify(null)"
				style="width: 50%;height: 35px;font-size: 13px;line-height: 35px;border-radius: 0px;"
				class="button-yuanjiao" hover-class="bg-click">添加</button>
			<button
				style="text-align: center;width: 50%;height: 35px;font-size: 13px;line-height: 35px;border-radius: 0px;"
				class="button-yuanjiao" hover-class="bg-click" @click="Saves">保存</button>
		</view>
	</view>
</template>
<script>
	import wybPopup from '@/components/wyb-popup/wyb-popup.vue'
	export default {
		components: {
			wybPopup,
		},
		data() {
			return {
				// 未选中
				nodefaultimg: '../../static/110.png',
				// 选中
				defaultimg: '../../static/002.png',
				// 默认图片
				ImgStatus: '../../static/110.png',
				color: 'red',
				items: [{
					name: '劳斯莱斯幻影',
					colors: '蓝底白字白框线',
					scratch: '严重',
					corrosion: "严重",
					beBamaged: '严重',
					flyingPaint: '严重'
				}],
				colorList: [{
					good: '良好',
					commonly: '一般',
					serious: '严重',
					value: 'red'
				}],
				// -------------------------------------------------
				RadioList: [],
				// 用户车辆信息列表
				VehicleList: [],
				VehicleModel: {
					"id": 0,
					"UserId": 0,
					"CarModel": "",
					"CarColour": "",
					"Scratch": "良好",
					"Corrosion": "良好",
					"BeDamaged": "良好",
					"FlyingPaint": "良好",
					"CarDefault": true,
					"AddTime": "2021-12-31T02:29:14.609Z",
					"UpdateTime": "2021-12-31T02:29:14.609Z"
				},
				VeModel: {
					"UserId": 0,
					"KeyWord": "",
					"TotalCount": 0,
					"PageIndex": 1,
					"PageSize": 20,
					"Sort": [{
						"Field": "",
						"Type": 0
					}]
				},
				// 漆面划痕 0--良好  1--一般 2--中等  3--严重 
				checkedScratch: 0,
				// 漆面腐蚀0--良好  1--一般 2--中等  3--严重 
				checkedCorrosion: 0,
				// 漆面破损 0--良好  1--一般 2--中等  3--严重 
				checkedBeDamaged: 0,
				// 沥青飞漆0--良好  1--一般 2--中等  3--严重 
				checkedFlyingPaint: 0,
				typeList: ['良好', '一般', '中等', '严重'],
				StatusModel: {
					"id": 0,
					"UserId": 0,
				},
				bl: true,
				// 车辆值  保存操作
				busitem: null,

			}
		},
		onLoad(data) {
			console.log('小程序二维码跳转参数',data)
			this.ShowVehicleListByUser()
		},
		onReachBottom() {
			var _this = this;
			if (_this.bl) {
				_this.bl = false;
				if (_this.VeModel.pageIndex <= _this.VeModel.TotalCount / _this.VeModel.PageSize) {
					_this.VeModel.pageIndex++;
					_this.ShowVehicleListByUser()
				}
			}
		},
		methods: {
			// 漆面划痕
			SelectedScratch(evt) {
				console.log('evt', evt)
				this.VehicleModel.Scratch = evt.detail.value
				console.log(this.VehicleModel.Scratch)
			},
			// 漆面腐蚀
			SelectedCorrosion(evt) {
				console.log('evtCorrosion', evt)
				this.VehicleModel.Corrosion = evt.detail.value
				console.log(this.VehicleModel.Corrosion)
			},
			// 漆面破损
			SelectedBeDamaged(evt) {
				console.log('evtSelectedBeDamaged', evt)
				this.VehicleModel.BeDamaged = evt.detail.value
				console.log(this.VehicleModel.BeDamaged)
			},
			// 沥青飞起
			SelectedFlyingPaint(evt) {
				console.log('SelectedFlyingPaint', evt)
				this.VehicleModel.FlyingPaint = evt.detail.value
				console.log(this.VehicleModel.FlyingPaint)
			},
			// 根据用户ID来获取该用户下面的所有车辆
			ShowVehicleListByUser() {
				let json_id = uni.getStorageSync('userinfo').data.id
				this.VeModel.UserId = json_id
				this.API.GetVehicleListByUser(this.VeModel).then(res => {
					console.log('返回的数据', res)
					if (res.data.code == 200) {
						res.data.data.rows.forEach((item,index)=>{
							if(item.CarDefault==true){
								this.busitem=item
							}else{
								this.busitem=null
							}
						})
						if (res.data.data.total > 0) {
							if (this.bl) {
								this.VehicleList = res.data.data.rows
							} else {
								this.VehicleList = this.VehicleList.concat(res.data.data.rows)
							}
							this.VeModel.TotalCount = res.data.data.total
						} else {
							uni.showToast({
								title: '暂无数据',
								icon: 'none'
							})
							this.$refs.popup.show() // 显示
							this.VehicleModel.CarDefault = 1

						}
					}
				})
			},


			// 展示车型编辑新增
			modify(obj) {
				this.$refs.popup.show() // 显示
				console.log('obj数据', obj)
				if (obj == null) {
					// 新增
					this.VehicleModel.id = 0
					let json_id = uni.getStorageSync('userinfo').data.id
					this.VehicleModel.UserId = json_id
					this.VehicleModel.CarModel = ''
					this.VehicleModel.CarColour = ''
					this.checkedScratch = this.checkedCorrosion = this.checkedBeDamaged = this.checkedFlyingPaint = 0
					this.VehicleModel.Scratch = '良好'
					this.VehicleModel.Corrosion = '良好'
					this.VehicleModel.BeDamaged = '良好'
					this.VehicleModel.FlyingPaint = '良好'
					this.VehicleModel.CarDefault = false
				} else {
					// 修改
					this.VehicleModel.id = obj.id
					this.VehicleModel.UserId = obj.UserId
					this.VehicleModel.CarModel = obj.CarModel
					this.VehicleModel.CarColour = obj.CarColour
					this.VehicleModel.Scratch = obj.Scratch
					this.checkedScratch = this.typeList.findIndex(t => t == this.VehicleModel.Scratch);
					this.VehicleModel.Corrosion = obj.Corrosion
					this.checkedCorrosion = this.typeList.findIndex(t => t == this.VehicleModel.Corrosion);
					this.VehicleModel.BeDamaged = obj.BeDamaged
					this.checkedBeDamaged = this.typeList.findIndex(t => t == this.VehicleModel.BeDamaged);
					this.VehicleModel.FlyingPaint = obj.FlyingPaint
					this.checkedFlyingPaint = this.typeList.findIndex(t => t == this.VehicleModel.FlyingPaint);
					this.VehicleModel.CarDefault = obj.CarDefault
				}
			},
			// 提交新增或者修改
			Submit() {
				let jsonstorage = uni.getStorageSync('userinfo').data
				this.VehicleModel.UserId = jsonstorage.id
				if(this.VehicleModel.CarModel==''){
					uni.showToast({
						title:'请输入品牌型号',
						icon:'none'
					})
				}else if(this.VehicleModel.CarColour==''){
					uni.showToast({
						title:'请输入颜色等',
						icon:'none'
					})
				}else if (this.VehicleModel.Scratch == '') {
					uni.showToast({
						title: '请选择漆面划痕',
						icon: 'none'
					})
				} else if (this.VehicleModel.Corrosion == '') {
					uni.showToast({
						title: '请选择漆面腐蚀',
						icon: 'none'
					})
				} else if (this.VehicleModel.BeDamaged == '') {
					uni.showToast({
						title: '请选择漆面破损',
						icon: 'none'
					})
				} else if (this.VehicleModel.FlyingPaint == '') {
					uni.showToast({
						title: '请选择漆面飞漆',
						icon: 'none'
					})
				} else {
					if (this.VehicleModel.id > 0) {
						// 修改
						this.API.UpdateManagement(this.VehicleModel).then(res => {
							console.log('修改', res)
							if (res.data.code == 200) {
								uni.showToast({
									title: '修改成功',
									icon: 'success'
								})
								this.hide()
								this.ShowVehicleListByUser()
							} else {
								uni.showToast({
									title: res.data.message,
									icon: 'none'
								})
							}
						})
					} else {
						// 新增
						this.API.CreateManagement(this.VehicleModel).then(res => {
							console.log('新增', res)
							if (res.data.code == 200) {
								uni.showToast({
									title: '新增成功',
									icon: 'success'
								})
								this.hide()
								this.ShowVehicleListByUser()
							} else {
								uni.showToast({
									title: res.data.message,
									icon: 'none'
								})
							}
						})
					}
				}
			},
			hide() {
				this.$refs.popup.hide() //隐藏
			},
			// 删除车辆信息
			deleteVehicle(item) {
				if (item.CarDefault) {
					uni.showToast({
						title: '默认车辆不可删除',
						icon: 'none'
					})
				} else {
					this.API.DeleteManagement({
						ids: item.id
					}).then(res => {
						console.log('删除返回数据', res)
						if (res.data.code == 200) {
							uni.showToast({
								title: '删除成功',
								icon: 'success'
							})
							this.ShowVehicleListByUser()
						} else {
							uni.showToast({
								title: '删除失败',
								icon: 'none'
							})
						}
					})
				}

			},
			// 切换单选按钮状态
			setAsDefaultVehicle(item, index) {
				let jsonstorage = uni.getStorageSync('userinfo')
				console.log('索引', index)
				console.log('数据', item)
				this.busitem = item
				console.log('busitem', this.busitem)
				if (item.CarDefault == true) {
					uni.showToast({
						title: '已是默认车辆',
						icon: 'none'
					})
				} else {
					this.StatusModel.id = item.id
					this.StatusModel.UserId = jsonstorage.data.id
					this.preservation()
				}
			},
			// 保存数据进行跳转
			Saves() {
				if (this.VeModel.TotalCount == 0) {
					uni.showToast({
						title: '请添加车辆',
						icon: 'none'
					})
				} else {
					uni.redirectTo({
						url: '../preservation/preservation?busmodel=' + encodeURIComponent(JSON.stringify(this
							.busitem))
					})
				}
			},
			// 保存状态
			preservation() {
				this.API.UpdateCarDefault(this.StatusModel).then(res => {
					console.log('修改状态进行保存', res)
					if (res.data.code == 200) {
						let that = this
						uni.showLoading({
							title: '正在更换',
						})
						that.ShowVehicleListByUser()
						setTimeout(() => {
							uni.hideLoading()
							uni.showToast({
								title: '已设置',
								icon: 'success'
							})
						}, 500)


					} else {
						uni.showToast({
							title: '更改默认车辆失败',
							icon: 'none'
						})
					}
				})
				// setTimeout(() => {
				// 	uni.redirectTo({
				// 		url: '../preservation/preservation'
				// 	})
				// }, 1000)

			}

		}

	}
</script>
<style>
	.wyb-popup-box {
		background-color: transparent !important;
	}
</style>
<style lang="scss">
	
	// ------
	.LL{
	display: flex;	
	justify-content: center;
	}
	
	.LL > radio{
		
		width: calc(100%/4 * 1.2);
		transform: scale(0.8);
		
		text-align: center;
	}
	
	
	
	/* 背景图片 */
	.bg-click {
		background-color: gray;
	}

	.button-yuanjiao {
		background: linear-gradient(to right, #E1E1E1, #9E9E9E)
	}


	.background-s {
		width: 100%;
		height: 100%;
		position: fixed;
		background-size: 100% 100%;
		z-index: -1;
	}

	// -----------------------------------
	.background {
		width: 100%;
		height: 100%;
		position: fixed;
		background-size: 100% 100%;
		border-radius: 30rpx;
		z-index: -1;
	}

	/* 全局大小 */
	.overallSituation {
		width: 100%;
		// height: 960rpx;
		// border: #007AFF 1rpx solid;
		background-color: #101010;

	}

	/* 车辆类型 */
	.VehicleType {
		width: 100%;
		height: 117rpx;
		background-color: #1f1f1f;
		display: flex;
		justify-content: space-around;
		align-items: center;
		color: #007AFF;
		font-size: 22rpx;
		border-radius: 0 0 50rpx 50rpx;

		>view {
			text-align: center;
			// background-color: red;
			border-left: 2rpx solid #f8e2aa;
			width: 100%;
			color: #f8e2aa;
		}
	}

	// 车型颜色
	.textRight {
		flex: 3;
		// border: 2rpx solid red;

	}

	// 划痕腐蚀破损飞漆
	.textLeft {
		flex: 1;
		text-align: center;
		color: #f8e2aa;
		// border: 2rpx solid red;
	}

	// --------------------------------------------
	// 车辆详情列表
	.listOfVehicleDetails {
		width: 100%;
		height: 137rpx;
		font-size: 22rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		background-color: #1f1f1f;
		margin-top: 6rpx;
		border-radius: 20rpx;
	}

	// 详情列表1
	.listOfDetailsOne {
		width: 100%;
		height: 50rpx;
		font-size: 22rpx;
		display: flex;
		justify-content: space-around;
		align-items: center;
		text-align: center;
		color: #cedae3;
		// background-color: #E80080;
	}

	.listOfDetailsOne-1 {
		// border: 2rpx solid red;
		color: #cedae3;
	}

	// 设置默认车辆 
	.setDefaultVehicle {
		width: 100%;
		height: 50rpx;
		display: flex;
		justify-content: space-around;
		align-items: center;
		text-align: center;
		color: #f8e2aa;
		font-size: 22rpx;
	}

	.otsSelected {
		display: flex;
		justify-content: center;
	}

	.otsSelectedImg {
		width: 23rpx;
		height: 23rpx;
		background-image: url(../../static/xiaoyuan.png);
		background-size: 100%;
		margin-right: 12rpx;
	}

	/* 点击图片 */
	.listOfDetailsTwo-1 {
		display: flex;
		justify-content: space-around;
		align-items: center;
	}

	// --------------------------------------------
	// 背景图片
	.wyb-popup-box {
		background-color: transparent;
	}

	.popup-content {
		width: 100%;
		height: 100%;
		position: fixed;
		/* border-radius:50% 50% 0 0 ; */
		background-size: 100% 100%;
		border: 6rpx solid #e7b96e;
		border-radius: 30rpx;
		overflow: hidden;
		box-sizing: border-box;
		// z-index: -1;
	}

	.input-ont {
		width: 90%;
		margin: 50rpx auto;
		margin-bottom: 0;

	}

	// 第二个搜索框
	.input-two {
		width: 90%;
		margin: 70rpx auto;
		margin-bottom: 0;
	}

	// 点击勾选
	.clickTick {
		width: 90%;
		margin: 70rpx auto;
		margin-bottom: 0;
		color: #FFFFFF;
	}

	.tick {
		width: 70%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		color: #FFFFFF;
		// background-color: #AD1212;
		// flex-direction: column;
		// justify-content: space-around;
		// align-items: ;

	}

	.label {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		// background-color: #007BFF;
	}

	.radio1 {
		// width: 100rpx;
		// height: 100rpx;
		color: #000 !important;
		transform: scale(0.6);
		// background-color: #00B26A;
		// display: flex;
		// justify-content: center;
		// align-items: center;
	}

	// 车辆品牌型号
	.uni-column {
		width: 100%;
		height: 60rpx;
		border-radius: 20rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		// background-color: #007AFF;
		color: #FFFFFF;
		font-size: 30rpx;
	}

	.scratch {
		width: 22%;
		height: 100%;
		text-align: left;
		line-height: 60rpx;
		// line-height: ;
	}

	// input输入框
	.uni-input-1 {
		width: 380rpx;
		background-color: #FFFFFF;
		height: 100%;
		border-radius: 30rpx;
	}

	.uni-input {
		width: 450rpx;
		background-color: #FFFFFF;
		height: 100%;
		border-radius: 30rpx;
	}

	.clickTickText {
		color: #FFFFFF;
		font-size: 30rpx;


	}

	// 温馨提示
	.reminder {
		height: 110rpx;
		display: flex;
		margin-top: 25rpx;
		line-height: 50rpx;
		// background-color: #007AFF;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;

		>text {
			// line-height: 50rpx;
			font-size: 24rpx;
			color: #FFFFFF;
		}
	}

	.reminder-fatalFrame {
		// width: 300rpx;
		// height: 200rpx;
		// border: 2rpx solid red;
		margin: 40rpx auto;
		text-align: center;
	}

	.reminder-one {
		font-weight: bold;
		color: #f8e2aa !important;
		font-size: 28rpx;

	}

	// 取消按钮
	.cancel {
		display: flex;
		justify-content: space-around;
	}

	.button {
		// color: #FFFFFF;
		// width: 50rpx;
		// height: 30rpx;
		// background-color: red;
		background-color: unset;
		color: #f7ebb4;
		font-size: 30rpx;
	}

	// 爱车车面状况
	.carSurfaceCondition {
		display: flex;
		justify-content: center;
	}

	// 漆面划痕
</style>