Commit 2f5c63b1 authored by Mac's avatar Mac

判断是否认证 显示年龄还是 岁数

parent 7942fc23
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
<view class="box-name">{{item.name}}</view> <view class="box-name">{{item.name}}</view>
</view> </view>
<view class="row"> <view class="row">
<!-- <view class="boxtc-b-item" v-if="item.Age>0">{{item.Age}}</view> --> <view class="boxtc-b-item" v-if="item.Age>0 && item.Authentication==0">{{item.Age}}</view>
<view class="boxtc-b-item" v-if="item.IDCardNo">{{item.IDCardNo}}</view> <view class="boxtc-b-item" v-if="item.IDCardNo&& item.Authentication==1">{{item.IDCardNo}}</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -31,7 +31,8 @@ ...@@ -31,7 +31,8 @@
<u-tag v-if="item.Authentication==1" text="已认证" shape="circle" size='mini' style="margin-left: 5px;" mode="dark"/> <u-tag v-if="item.Authentication==1" text="已认证" shape="circle" size='mini' style="margin-left: 5px;" mode="dark"/>
</view> </view>
<view class="row"> <view class="row">
<view class="boxtc-b-item" v-if="item.IDCardNo">{{item.IDCardNo}}</view> <view class="boxtc-b-item" v-if="item.Age>0 && item.Authentication==0">{{item.Age}}</view>
<view class="boxtc-b-item" v-if="item.IDCardNo&& item.Authentication==1">{{item.IDCardNo}}</view>
<view class="boxtc-b-item" v-if="item.Education">{{item.Education}}</view> <view class="boxtc-b-item" v-if="item.Education">{{item.Education}}</view>
<view class="boxtc-b-item" v-if="item.Height">{{item.Height}}cm</view> <view class="boxtc-b-item" v-if="item.Height">{{item.Height}}cm</view>
<view class="boxtc-b-item" v-if="item.Industry">{{item.Industry}}</view> <view class="boxtc-b-item" v-if="item.Industry">{{item.Industry}}</view>
......
...@@ -608,7 +608,7 @@ export default { ...@@ -608,7 +608,7 @@ export default {
// must: true, // must: true,
// }, // },
{ {
name: "工作行业", name: "职业类型",
field: "Industry", field: "Industry",
placehloder: "教育行业、旅游行业", placehloder: "教育行业、旅游行业",
subType: 1, subType: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment