<view class="container">
  <navigator class target url="/pages/mine/userDetail/index" hover-class="none" open-type="navigate" wx:if="{{isLogin}}">
    <view class="userinfobox" hover-class="thover">
      <view class="userinfo">
        <block wx:if="{{userInfo.user.imgSrc}}">
          <view class="por mr12" style="height:56px" hover-class="none" hover-stop-propagation="false">
            <image src="{{userInfo.user.imgSrc}}" class="show-image" mode="aspectFill"></image>
          </view>
        </block>
        <block wx:else>
          <view class="mr12" hover-class="none" hover-stop-propagation="false">
            <image src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/defaultAva.svg" class="show-image" mode="aspectFill"></image>
          </view>
        </block>
        <view class="usernamebox">
          <view class="username">
            <view class="theusername">{{userInfo.user.userName || '微信用户'}}</view>
            <i class="iconfont icon-nv3 f12" style="color:#fb8585;line-height:20px" wx:if="{{userInfo.user.sex == 2}}"></i>
            <i class="iconfont icon-nan3 f12" style="color:#10aeff;line-height:20px" wx:if="{{userInfo.user.sex == 1}}"></i>
          </view>
          <view>{{userInfo.user.tel || '-'}}</view>
        </view>
      </view>
      <view hover-class="thover">
        <view>
          <i wx:if="{{userInfo.user.idauth}}" class="t-icon t-icon-yirenzheng color-f40 f20"></i>
          <view wx:else class hover-class="none" hover-stop-propagation="false">去认证</view>
        </view>
        <text class="iconfont icon-gengduo11 c9"></text>
      </view>
    </view>
  </navigator>
  <navigator class target url="/pages/login/index" hover-class="none" open-type="navigate" wx:if="{{!isLogin}}">
    <view class="userinfobox" hover-class="thover">
      <view class="userinfo">
        <view class="mr12" style="height:56px" hover-class="none" hover-stop-propagation="false">
          <image class="show-image" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/defaultAva.svg" mode="aspectFill"></image>
        </view>
        <view class="usernamebox">
          <view class="username">
            <view class="theusername">微信用户</view>
          </view>
          <view>钱多活少离家近</view>
        </view>
      </view>
      <view hover-class="thover">
        <text class="iconfont icon-gengduo11 c9"></text>
      </view>
    </view>
  </navigator>

  <navigator class url="{{isLogin? '/pages/mine/myJob/index': '/pages/login/index'}}" hover-class="none" hover-stop-propagation="false">
    <view class="br_8" hover-class="none" style="background-color:#fff" hover-stop-propagation="false">
      <view class="setting mt_10" hover-class="thover">
        <view>
          <view class="t-icon t-icon-wodegongzuo2 mr6" style="width:22px;height:22px" hover-class="none" hover-stop-propagation="false"></view>
          <view class="c3 f16" hover-class="none" hover-stop-propagation="false">我的报名</view>
        </view>
        <view class hover-class="none" style="line-height:16px" hover-stop-propagation="false">
          <view class="iconfont icon-gengduo11 f12 c9 ml4 mt2"></view>
        </view>
      </view>
    </view>
  </navigator>  
  <navigator class url="{{isLogin? '/pages/mine/listManagement/index': '/pages/login/index'}}" hover-class="none" hover-stop-propagation="false" wx:if="{{isMyPro}}">
    <view class="br_8" hover-class="none" style="background-color:#fff" hover-stop-propagation="false">
      <view class="setting mt_10" hover-class="thover">
        <view>
          <view class="t-icon t-icon-wodeshoucang1 mr6" style="width:22px;height:22px" hover-class="none" hover-stop-propagation="false"></view>
          <view class="c3 f16" hover-class="none" hover-stop-propagation="false">职位管理</view>
        </view>
        <view class hover-class="none" style="line-height:16px" hover-stop-propagation="false">
          <view class="iconfont icon-gengduo11 f12 c9 ml4 mt2"></view>
        </view>
      </view>
    </view>
  </navigator>

  <!-- 我的服务 -->
  <view class="myserve mt_10 br_8">
    <view class="title bb1" hover-class="none" hover-stop-propagation="false">
      <view class="ml16 f16 c3 fw500">我的服务</view>
    </view>
    <view class="content">
      <!-- <view>
        <navigator url="{{isLogin? '/pages/mine/myJob/index': '/pages/login/index'}}" hover-class="thover" open-type="navigate">
          <image class src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/gz92.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
          <view>工作</view>
        </navigator>
      </view> -->
      <!-- <view>
        <navigator class target url="{{isLogin? '/pages/mine/vitaeList/index?type=edit': '/pages/login/index'}}" hover-class="thover" aria-role="navigate" open-type="navigate">
          <image class src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/yhk911.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
          <view>简历</view>
        </navigator>
      </view> -->


      <view>
        <!-- url="{{isLogin? '/pages/addUserCard/index': '/pages/login/index'}}" -->
        <navigator url="{{isLogin? './addUserCard/index': '/pages/login/index'}}" hover-class="thover" open-type="navigate">
          <image class src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/zj911.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
          <view>证件</view>
        </navigator>
      </view>

     
      <!-- <view>
        <navigator class="" target="" url="/pages/myEnroll/index" hover-class="none" open-type="navigate">
          <image class="" src="/assets/images/wdbm.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
          <view>我的报名</view>
        </navigator>
      </view>-->
      <!-- <view>
        <image class="" src="/assets/images/wdlx.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
        <view>我的老乡</view>
      </view>-->
      <view>
        <!-- url="{{isLogin? '/pages/addressBook/index': '/pages/login/index'}}" -->
        <navigator url="{{isLogin? './addressBook/index': '/pages/login/index'}}" hover-class="thover" open-type="navigate">
          <image class src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/dzb911.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
          <view>地址本</view>
        </navigator>
      </view>
      <view>
        <navigator class="" url="{{isLogin? '/pages/collect/index': '/pages/login/index'}}" hover-class="thover" open-type="navigate">
          <image class="" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/sc911.svg" mode="aspectFit | aspectFill | widthFix" lazy-load="false" binderror="" bindload=""></image>
          <view>收藏</view>
        </navigator>
      </view>

      <!-- <view wx:if="{{!isLogin}}">
        <navigator class="" target="" url="" hover-class="thover" open-type="navigate">
          <image class="" src="/assets/images/wdbm.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
          <view>我的团队</view>
        </navigator>
      </view>-->
    </view>
  </view>
  <!--
  <view class="servicebox mt_10 br8 fsa">
    <view class="serviceinfo display-flex" hover-class="none">
      <view class="mr10">
        <image wx:if="{{serviceInfo.avatar}}" class="br_8" src="{{serviceInfo.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
        <image wx:else class="br_8" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/service.jpg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
      </view>
      <view class="servicenamebox">
        <view class="mb2 f18 fw500">客户经理</view>
        <view class="c3 f16">
          {{serviceInfo.userName }}
          <i class="mr4"></i>
          <p class="f14">{{serviceInfo.tel || '0371-6611 3723'}}</p>
        </view>
      </view>
    </view>
    <view class hover-class="none" hover-stop-propagation="false">
      <view class="iconfont icon-qiyeweixin dib" bindtap="showdialog" hover-class="thover06" style="width:40px;height:40px;border-radius: 50%;background-color: var(--color-ysd-bg);color:var(--color-hover);display: flex;align-items: center;justify-content: center;font-size: 20px;float: right;"></view>
      <view class="iconfont icon-dianhua mr10 dib" bindtap="makePhoneCall" hover-class="thover06" style="width:40px;height:40px;border-radius: 50%;background-color: var(--color-ysd-bg);color:var(--color-hover);display: flex;align-items: center;justify-content: center;font-size: 20px;float: right;"></view>
    </view>
  </view>
-->

  <navigator hover-class target url="{{isLogin? './opinion/index': '/pages/login/index'}}">
    <view class="br_8" hover-class="none" style="background-color:#fff" hover-stop-propagation="false">
      <view class="setting" hover-class="thover" style="margin-top:10px;">
        <view>
          <!-- <image class src="/assets/images/sz.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image> -->
          <view class="t-icon t-icon-fankuiyujianyi1 mr6" style="width:22px;height:22px" hover-class="none" hover-stop-propagation="false"></view>
          <view class>反馈与建议</view>
        </view>
        <view class="iconfont icon-gengduo11"></view>
      </view>
    </view>
  </navigator>

  <!-- url="{{isLogin? '/pages/setting/index': '/pages/login/index'}}" -->
  <navigator class="mb32" hover-class target url="{{isLogin? './setting/index': '/pages/login/index'}}">
    <view class="br_8" hover-class="none" style="background-color:#fff" hover-stop-propagation="false">
      <view class="setting" hover-class="thover" style="margin-top: 10px;">
        <view>
          <!-- <image class src="/assets/images/sz.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image> -->
          <view class="t-icon t-icon-shezhi4 mr6" style="width:22px;height:22px" hover-class="none" hover-stop-propagation="false"></view>
          <view class>设置</view>
        </view>
        <view class="iconfont icon-gengduo11"></view>
      </view>
    </view>
  </navigator>


  <!-- <navigator class="mb32" hover-class style="margin-bottom:80px;" target url="{{isLogin? './setting/index': '/pages/login/index'}}">
    <view class="br_8 tc" hover-class="none" style="background-color:#fff" hover-stop-propagation="false">
      <view class="setting" hover-class="thover" style="margin-top: 32px;">
        <view style="flex: 1;justify-content: center;font-size: 16px;">
          <view class="iconfont icon-shangjiahoutai mr6" style="width:22px;height:22px" hover-class="none" hover-stop-propagation="false"></view>
          <view class="fwb">商家后台</view>
        </view>
         <view></view>
      </view>
    </view>
  </navigator> -->

  <!-- <view class="login" wx:if="{{!isLogin}}">
    <navigator class="" target="" url="../login/index" hover-class="none" open-type="navigate">
      <button class="loginBtn" style="font-weight:400;margin-top:0px;" type="primary" role="button" bindtap=''>登录</button>
    </navigator>
  </view>-->
</view>
<view aria-role="dialog" aria-modal="true" catchtouchmove="modalMove" class="fadeIn" wx:if="{{iosDialog}}">
  <view class="weui-mask"></view>
  <view class="weui-dialog contact" style="box-sizing:border-box;">
    <view class="weui-dialog__hd">
      <!-- <strong class="weui-dialog__title">17639080029</strong></view> -->
      <!-- <view class="weui-dialog__bd">
            <view>现在登录吗?</view>
      </view>-->
      <!-- <image src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/service.jpg" style="width:56px;height:56px;"></image> -->
      <!-- <image src="../../assets/Snipaste_2023-06-13_09-25-14.png" show-menu-by-longpress='{{true}}' style="width:56px;height:56px;"></image> -->
      <i class="iconfont icon-guanbi guanbi c6 biggerSize" bindtap="closeDialog"></i>
      <view class="f16 c3 fw500 mb32">加客户经理微信</view>
      <view wx:if="{{isLoading}}" class style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)" hover-class="none" hover-stop-propagation="false">
        <view aria-role="img" aria-label="加载中" style class="weui-primary-loading">
          <view class="weui-primary-loading__dot"></view>
        </view>
        <view class hover-class="none" hover-stop-propagation="false">加载中...</view>
      </view>
      <image src="{{serviceInfo.qrCode}}" bindload="imageLoad" show-menu-by-longpress="{{true}}" style="width: 184px;height: 184px;"></image>
      <!-- <view class="f14 c9">人才经纪人</view> -->
      <!-- <view class="mt20 f22 c3">{{pmdUserInfo.tel}}</view> -->
      <view class="f14 c3 mt6">长按识别二维码</view>
    </view>
    <!-- <view class="display-flex contact_bottomBtn pb20" style="padding-top:20px;">
      <view class="flex-1 lflex v-center" bindtap="closeDialog" hover-class="thover">取消</view>
      <view class="rflex">
        <button class="" type="primary" hover-class="thover" bindtap="makePhoneCall">呼叫</button>
      </view>
    </view>-->
  </view>
</view>
<view aria-role="dialog" catchtouchmove="modalMove" aria-modal="true" class="fadeIn" wx:if="{{iosDialogTobe}}">
  <view class="weui-mask"></view>
  <view class="weui-dialog contact tobe" style="box-sizing:border-box;">
    <i class="iconfont icon-guanbi guanbi c6 biggerSize" bindtap="closeDialog"></i>
    <view class="weui-dialog__hd">
      <view class="f20 bbd1 top" hover-class="none" hover-stop-propagation="false">
        <view class="fw500" hover-class="none" hover-stop-propagation="false">成为伯才代理</view>
        <view class="f16 c6" hover-class="none" hover-stop-propagation="false">请联系客户经理</view>
      </view>
      <view class="bottom" hover-class="none" hover-stop-propagation="false">
        <view class hover-class="none" hover-stop-propagation="false">
          <view class="fw500 f18" hover-class="none" hover-stop-propagation="false">客户经理</view>
          <view class="c3 f14">
            {{serviceInfo.userName }}
            <i class="mr4"></i>
            <p class>{{serviceInfo.tel || '0371-6611 3723'}}</p>
          </view>
          <view wx:if="{{isLoading}}" class style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)" hover-class="none" hover-stop-propagation="false">
            <view aria-role="img" aria-label="加载中" style class="weui-primary-loading">
              <view class="weui-primary-loading__dot"></view>
            </view>
            <view class hover-class="none" hover-stop-propagation="false">加载中...</view>
          </view>
          <image src="{{serviceInfo.qrCode}}" bindload="imageLoad" show-menu-by-longpress="{{true}}" style="width: 161px;height: 161px;"></image>
          <view class="f14 c9 mt6">长按识别二维码</view>
        </view>
      </view>
    </view>
  </view>
</view>

<!-- <button bindtap='showTobe'>123123</button> -->