<cu-custom bgColor="bg-color" isBack="{{true}}" title="修改信息">
  <!-- <view slot="content">修改信息</view> -->
</cu-custom>
<view class="toptip bg-red {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
<view class="info_card">
  <view class="prof_item">
    <view class="prof_item_label">头像</view>
    <view class="prof_imgs">
      <image src="{{avatar? ossPath+avatar:'/img/my_img1.png'}}" bindtap="uploadImg"></image>
      <!-- <text wx:if="{{avatar}}" bindtap="delImg">━</text> -->
    </view>
  </view>
  <view class="info_item">
    <view class="info_label">用户名</view>
    <input class="info_input" placeholder="请输入用户名" type='text' bindinput="setNickName" value='{{nickName}}'></input>
  </view>
  <!-- <view class="info_item">
    <view class="info_label">性别</view>
    <view class="info_radio">
      <radio-group bindchange="setSexs">
          <radio value="0" checked="{{sex=='0'}}"/>
          <text>男</text>
          <radio value="1" checked="{{sex=='1'}}"/>
          <text>女</text>
      </radio-group>
    </view>
    
    <switch class="switch-sex" checked="{{sex=='1'}}" bindchange="setSex"></switch>
  </view> -->
  
</view>
<view class="phone_btm">
  <view class="phone_btn1" bindtap="editInfo">修改</view>
  <!-- <navigator open-type="navigateBack" class="phone_btn2">返回</navigator> -->
</view>