<view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
<cu-custom bgColor="bg-color" isBack="{{false}}" title="我的">
  <!-- <view slot="content">我的</view> -->
</cu-custom>
<view class="my_top"></view>
<view class="my_user">
  <image src="{{user.avatar?user.avatar:'/img/my_img1.png'}}"></image>
  <navigator url="/pages/login/login" class="my_login" wx:if="{{!islogin}}">登录/注册</navigator>
  <view class="my_user_info" wx:if="{{islogin}}" bindtap="goSetMobileEmail">
    <view class="my_user_txt">
      <view>{{user.nickName || "未知"}}</view>
    </view>
    <text class="cuIcon-right lg text-gray"></text>
  </view>
</view>
<view class="my_action">
  <view class="my_card">
    <view class="my_action_tit">设置与服务</view>
    <view class="my_action_item" bindtap="goChangeRole">
      <image src="/img/msgId.png"></image>
      <view>切换身份</view>
      <text class="my_action_txt">{{roleMap[user.loginRole]}}</text>
      <text class="cuIcon-right lg text-gray"></text>
    </view>
  </view>
  <!-- <view class="my_card">
    <view class="my_action_item" bindtap="goMessage">
      <image src="/img/msg.png"></image>
      <view>消息</view>
      <text class="cuIcon-right lg text-gray"></text>
    </view>
  </view> -->
  <view class="my_card">
    <view class="my_action_item" bindtap="goSetting">
      <image src="/img/my_icon1.png"></image>
      <view>设置</view>
      <text class="cuIcon-right lg text-gray"></text>
    </view>
  </view>
  <!-- <view class="my_card">
    <view class="my_action_item">
      <image src="/img/my_icon2.png"></image>
      <view>检查更新</view>
      <text class="my_action_vs">V1.0</text>
    </view>
  </view> -->
  <view class="my_exit" bindtap="exitLogin" wx:if="{{islogin}}">退出</view>
</view>
<cu-tabBar selected="{{3}}"></cu-tabBar>