Commit bb8f7ce5 by 李伟康

commit

1 parent c04f18f0
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
:key="index" :key="index"
:title="i.title" :title="i.title"
@click="setDetail(i)" @click="setDetail(i)"
title-class="cell-title"
> >
<template #default> <template #default>
<div v-if="i.value(userInfo)">{{i.value(userInfo)}}</div> <div v-if="i.value(userInfo)">{{i.value(userInfo)}}</div>
...@@ -247,7 +248,8 @@ export default { ...@@ -247,7 +248,8 @@ export default {
}, },
save_key: 'audi', save_key: 'audi',
placeholder: '请输入', placeholder: '请输入',
key: 'vehicleTrain' key: 'vehicleTrain',
maxlength: 100
}, },
{ {
title: '车型', title: '车型',
...@@ -257,7 +259,8 @@ export default { ...@@ -257,7 +259,8 @@ export default {
}, },
save_key: 'carType', save_key: 'carType',
placeholder: '请输入', placeholder: '请输入',
key: 'vehicleType' key: 'vehicleType',
maxlength: 100
} }
], ],
id: '', id: '',
...@@ -309,8 +312,8 @@ export default { ...@@ -309,8 +312,8 @@ export default {
}, },
methods: { methods: {
moreInfo() { moreInfo() {
let {customerPhone} = this.userInfo.info let { customerPhone } = this.userInfo.info
if(!customerPhone){ if (!customerPhone) {
this.showToast('请完善手机号码,系统将自动关联更多客户信息') this.showToast('请完善手机号码,系统将自动关联更多客户信息')
return return
} }
...@@ -491,20 +494,25 @@ export default { ...@@ -491,20 +494,25 @@ export default {
box-shadow: 0px 4px 8px 0px rgba(224, 224, 224, 0.5); box-shadow: 0px 4px 8px 0px rgba(224, 224, 224, 0.5);
margin: 0 16px; margin: 0 16px;
background-color: #fff; background-color: #fff;
.cell-title {
width: 120px;
flex: none;
}
.van-cell-group { .van-cell-group {
transition: all 0.25s; transition: all .5s;
height: 540px; // min-height: 540px;
max-height: 1000px;
overflow: hidden; overflow: hidden;
} }
.van-cell { .van-cell {
height: 60px !important; min-height: 60px !important;
align-items: center; align-items: center;
.van-cell__value { .van-cell__value {
color: #333333; color: #333333;
} }
} }
.more-hidden { .more-hidden {
height: 180px; max-height: 180px;
} }
.placeholder { .placeholder {
color: #ccc; color: #ccc;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!