|
|
|
@ -37,27 +37,42 @@ |
|
|
|
|
<view :class="['line req', {err: err === 'name'}]"> |
|
|
|
|
<view class="name">联系人姓名</view> |
|
|
|
|
<view v-if="isDetail" class="val">{{ form.name }}</view> |
|
|
|
|
<input v-else type="text" placeholder="请输入" v-model="form.name" @change="handleErr('name')"> |
|
|
|
|
<template v-else> |
|
|
|
|
<input type="text" placeholder="请输入" v-model="form.name" @change="handleErr('name')"> |
|
|
|
|
<uni-icons class="edit" type="compose" size="20" color="#b3b3b3"></uni-icons> |
|
|
|
|
</template> |
|
|
|
|
</view> |
|
|
|
|
<view :class="['line req', {err: err === 'phone'}]"> |
|
|
|
|
<view class="name">手机</view> |
|
|
|
|
<view v-if="isDetail" class="val">{{ form.phone }}</view> |
|
|
|
|
<input v-else type="number" maxlength="11" placeholder="请输入" v-model="form.phone" @change="handleErr('phone')"> |
|
|
|
|
<template v-else> |
|
|
|
|
<input type="number" maxlength="11" placeholder="请输入" v-model="form.phone" @change="handleErr('phone')"> |
|
|
|
|
<uni-icons class="edit" type="compose" size="20" color="#b3b3b3"></uni-icons> |
|
|
|
|
</template> |
|
|
|
|
</view> |
|
|
|
|
<view :class="['line req', {err: err === 'account'}]"> |
|
|
|
|
<view class="name">账号</view> |
|
|
|
|
<view v-if="isDetail" class="val">{{ form.account }}</view> |
|
|
|
|
<input v-else type="text" placeholder="请以院校首字母+admin的格式来设置" v-model="form.account" @change="handleErr('account')"> |
|
|
|
|
<template v-else> |
|
|
|
|
<input type="text" placeholder="请以院校首字母+admin的格式来设置" v-model="form.account" @change="handleErr('account')"> |
|
|
|
|
<uni-icons class="edit" type="compose" size="20" color="#b3b3b3"></uni-icons> |
|
|
|
|
</template> |
|
|
|
|
</view> |
|
|
|
|
<view class="line"> |
|
|
|
|
<view class="name">职务</view> |
|
|
|
|
<view v-if="isDetail" class="val">{{ form.position }}</view> |
|
|
|
|
<input v-else type="text" placeholder="请输入" v-model="form.position"> |
|
|
|
|
<template v-else> |
|
|
|
|
<input type="text" placeholder="请输入" v-model="form.position"> |
|
|
|
|
<uni-icons class="edit" type="compose" size="20" color="#b3b3b3"></uni-icons> |
|
|
|
|
</template> |
|
|
|
|
</view> |
|
|
|
|
<view class="line"> |
|
|
|
|
<view class="name">邮箱</view> |
|
|
|
|
<view v-if="isDetail" class="val">{{ form.email }}</view> |
|
|
|
|
<input v-else type="text" placeholder="请输入" v-model="form.email"> |
|
|
|
|
<template v-else> |
|
|
|
|
<input type="text" placeholder="请输入" v-model="form.email"> |
|
|
|
|
<uni-icons class="edit" type="compose" size="20" color="#b3b3b3"></uni-icons> |
|
|
|
|
</template> |
|
|
|
|
</view> |
|
|
|
|
<view v-if="customerId" class="line"> |
|
|
|
|
<view class="name">产品到期时间</view> |
|
|
|
@ -355,6 +370,11 @@ |
|
|
|
|
margin-right: 10rpx; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.form-list { |
|
|
|
|
.edit { |
|
|
|
|
margin-left: 10rpx; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.editIcon { |
|
|
|
|
width: 50rpx; |
|
|
|
|
height: 50rpx; |
|
|
|
|