editInfo.wxml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <cu-custom bgColor="bg-color" isBack="{{true}}" title="修改信息">
  2. <!-- <view slot="content">修改信息</view> -->
  3. </cu-custom>
  4. <view class="toptip bg-red {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
  5. <view class="info_card">
  6. <view class="prof_item">
  7. <view class="prof_item_label">头像</view>
  8. <view class="prof_imgs">
  9. <image src="{{avatar? ossPath+avatar:'/img/my_img1.png'}}" bindtap="uploadImg"></image>
  10. <!-- <text wx:if="{{avatar}}" bindtap="delImg">━</text> -->
  11. </view>
  12. </view>
  13. <view class="info_item">
  14. <view class="info_label">用户名</view>
  15. <input class="info_input" placeholder="请输入用户名" type='text' bindinput="setNickName" value='{{nickName}}'></input>
  16. </view>
  17. <!-- <view class="info_item">
  18. <view class="info_label">性别</view>
  19. <view class="info_radio">
  20. <radio-group bindchange="setSexs">
  21. <radio value="0" checked="{{sex=='0'}}"/>
  22. <text>男</text>
  23. <radio value="1" checked="{{sex=='1'}}"/>
  24. <text>女</text>
  25. </radio-group>
  26. </view>
  27. <switch class="switch-sex" checked="{{sex=='1'}}" bindchange="setSex"></switch>
  28. </view> -->
  29. </view>
  30. <view class="phone_btm">
  31. <view class="phone_btn1" bindtap="editInfo">修改</view>
  32. <!-- <navigator open-type="navigateBack" class="phone_btn2">返回</navigator> -->
  33. </view>