| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 | 
							- <template>
 
- 	<view>
 
- 		<view style="position: fixed;top: 0;background-color: #FD4B09;">
 
- 			<view style="width: 90%;margin: 0 auto;padding: 20rpx 0;display: flex;">
 
- 				<u--text color="#fff" :lines="1"
 
- 					:text="`${params.brand} ${params.seriesName} ${params.engine} ${params.modelYear} ${params.modelName}`">
 
- 				</u--text>
 
- 				<u-icon name="home" color="#fff" size="48rpx" @click="reLaunch"></u-icon>
 
- 			</view>
 
- 		</view>
 
- 		<view style="margin-top: 110rpx;">
 
- 			<u--form labelPosition="left" :labelStyle="{color: '#fd4b09'}" :model="form" ref="form" labelWidth="150rpx"
 
- 				style="margin-top: 10rpx;padding-bottom: 130rpx;">
 
- 				<view style="width: calc(96%);margin: 0 auto;background-color: #fff;border-radius: 20rpx;">
 
- 					<u-cell-group :border="false">
 
- 						<u-cell :border="false" center title="轮胎规格" arrow-direction="down">
 
- 							<view slot="icon" style="width: 10rpx;height: 35rpx;background-color: #fd4b09;"></view>
 
- 						</u-cell>
 
- 					</u-cell-group>
 
- 					<view style="padding: 0 25rpx;">
 
- 						<u-form-item label="前轮胎" prop="cname" borderBottom @click="SearchJump(form.frontTireSpecification)">
 
- 							<u-input v-model="form.frontTireSpecification" inputAlign="right" border="none"
 
- 								disabledColor="#ffffff" disabled/>
 
- 						</u-form-item>
 
- 						<u-form-item label="后轮胎" prop="attn" borderBottom @click="SearchJump(form.rearTireSpecification)" >
 
- 							<u-input v-model="form.rearTireSpecification" inputAlign="right" border="none"
 
- 								disabledColor="#ffffff" disabled/>
 
- 						</u-form-item>
 
- 					</view>
 
- 				</view>
 
- 			</u--form>
 
- 		</view>
 
- 	</view>
 
- </template>
 
- <script>
 
- 	import {
 
- 		detail,goodsdescGetCnameInt
 
- 	} from '@/api/views/vehicle/brand.js'
 
- 	export default {
 
- 		data() {
 
- 			return {
 
- 				displacementList: [],
 
- 				annualStyle: false,
 
- 				params: {},
 
- 				form:{}
 
- 			}
 
- 		},
 
- 		onLoad(params) {
 
- 			this.params = {
 
- 				...params
 
- 			}
 
- 			detail({id:this.params.id}).then(res=>{
 
- 				this.form = res.data
 
- 			})
 
- 		},
 
- 		methods: {
 
- 			// 搜索跳转
 
- 			SearchJump(cname) {
 
- 				goodsdescGetCnameInt({cname}).then(res=>{
 
- 					uni.setStorageSync('cname', res.data);
 
- 					uni.switchTab({
 
- 						url: '/pages/tabBar/home',
 
- 					})
 
- 				})
 
- 			},
 
- 			reLaunch(){
 
- 				uni.switchTab({
 
- 					url: '/pages/tabBar/home'
 
- 				})
 
- 			}
 
- 		}
 
- 	}
 
- </script>
 
- <style lang="scss">
 
- 	.box-c,
 
- 	.child {
 
- 		display: flex;
 
- 		flex: 1;
 
- 	}
 
- 	.list {
 
- 		&__item {
 
- 			@include flex;
 
- 			padding: 6px 12px;
 
- 			align-items: center;
 
- 			justify-content: space-between;
 
- 			&__user-name {
 
- 				font-size: 32rpx;
 
- 				color: $u-main-color;
 
- 			}
 
- 			&__user-tel {
 
- 				font-size: 32rpx;
 
- 				margin-right: 20rpx;
 
- 				color: $u-main-color;
 
- 			}
 
- 		}
 
- 		&__footer {
 
- 			color: $u-tips-color;
 
- 			font-size: 14px;
 
- 			text-align: center;
 
- 			margin: 15px 0;
 
- 		}
 
- 	}
 
- </style>
 
 
  |