<!--pages/user/index.wxml-->
<view class="user_user">
<view class="user_box">
  <view class="allocation_box1">
<view class="allocation_boxc">头像</view>
<image class="user_to" src="https://esos-iot.com/wx_images/to1.jpg" mode=""/>
</view>
<view class="allocation_box">
<view class="allocation_boxc">昵称</view>
<view>{{user.user.userName}}</view>
</view>
</view>

<view class="user_box">
  <view class="allocation_box">
<view class="allocation_boxc">部门：</view>
<view>{{user.user.dept.deptName}}</view>
</view>
  <view class="allocation_box">
<view class="allocation_boxc">账号：</view>
<view>{{user.user.loginName}}</view>
</view>

<view class="allocation_box">
<view class="allocation_boxc">性别：</view>
<view wx:if="{{user.user.sex==0}}">男</view>
<view wx:if="{{user.user.sex==1}}">女</view>
</view>
<view class="allocation_box">
<view class="allocation_boxc">电话：</view>
<view>{{user.user.phonenumber}}</view>
</view>


<view class="allocation_box">
<view class="allocation_boxc">邮箱：</view>
<view>{{user.user.email}}</view>
</view>
<view class="allocation_box">
<view class="allocation_boxc">创建时间：</view>
<view>{{user.user.createTime}}</view>
</view>
<view class="allocation_box">
<view class="allocation_boxc">备注：</view>
<view>{{user.user.remark}}</view>
</view>

</view>
</view>