|
@@ -133,16 +133,16 @@
|
|
|
<view class="table">
|
|
|
<view class="table_v">
|
|
|
<view class="table_tr">
|
|
|
- <view class="table_td">姓名</view>
|
|
|
- <view class="table_td">手机号</view>
|
|
|
- <view class="table_td">车牌号</view>
|
|
|
- <view class="table_td">操作</view>
|
|
|
+ <view class="table_td table_td1">姓名</view>
|
|
|
+ <view class="table_td table_td2">手机号</view>
|
|
|
+ <view class="table_td table_td3">车牌号</view>
|
|
|
+ <view class="table_td table_td4">操作</view>
|
|
|
</view>
|
|
|
<view class="table_tr" v-for="(item,i) in whiteList" :key="i">
|
|
|
- <view class="table_td">{{item.nickName}}</view>
|
|
|
- <view class="table_td">{{item.phone}}</view>
|
|
|
- <view class="table_td">{{item.carNumber==0?'':item.carNumber}}</view>
|
|
|
- <view class="table_td" style="color:#1677FF;white-space: pre;" @click="editUser(item)">修改</view>
|
|
|
+ <view class="table_td table_td1">{{item.nickName}}</view>
|
|
|
+ <view class="table_td table_td2">{{item.phone}}</view>
|
|
|
+ <view class="table_td table_td3">{{item.carNumber==0?'':item.carNumber}}</view>
|
|
|
+ <view class="table_td table_td4" style="color:#1677FF;white-space: pre;" @click="editUser(item)">修改</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -161,9 +161,9 @@
|
|
|
|
|
|
<view class="popup-title">{{vipUser.id?'修改':'添加'}}白名单信息</view>
|
|
|
<view style="padding: 4px;">白名单车主姓名<span style="color: red;">*</span></view>
|
|
|
- <u-input :customStyle="customStyle" v-model="vipUser.nickName" placeholder="白名单车主姓名(必填)"></u-input>
|
|
|
+ <u-input :customStyle="customStyle" maxlength="8" v-model="vipUser.nickName" placeholder="白名单车主姓名(必填)"></u-input>
|
|
|
<view style="padding: 4px;">白名单车主手机号码<span style="color: red;">*</span></view>
|
|
|
- <u-input :customStyle="customStyle" type="number" v-model="vipUser.phone"
|
|
|
+ <u-input :customStyle="customStyle" maxlength="13" type="number" v-model="vipUser.phone"
|
|
|
placeholder="白名单车主手机号码(必填)"></u-input>
|
|
|
<view style="padding: 4px;">白名单车主车牌号</view>
|
|
|
<!-- <u-input :customStyle="customStyle" v-model="vipUser.carNumber" placeholder="白名单车主车牌号"></u-input> -->
|
|
@@ -523,13 +523,25 @@
|
|
|
}
|
|
|
|
|
|
.table_td {
|
|
|
-
|
|
|
+
|
|
|
height: 72rpx;
|
|
|
font-size: 28rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
+ }
|
|
|
+ .table_td1{
|
|
|
+ width: 30%;
|
|
|
+ }
|
|
|
+ .table_td2{
|
|
|
+ width: 30%;
|
|
|
+ }
|
|
|
+ .table_td3{
|
|
|
+ width: 30%;
|
|
|
+ }
|
|
|
+ .table_td4{
|
|
|
+ width: 10%;
|
|
|
}
|
|
|
|
|
|
/* 隔行变色: 偶数行设置背景色 */
|