eidt_myinfo.wxml 1.7 KB
<!--pages/eidt_myinfo/eidt_myinfo.wxml-->
<view class='itembox'>
 <view class='my_item' bindtap='uploadImages'>
  <view class='my_left'>
   <view class='heaimg'>
    <image src='{{postdata.avatar}}'></image>
   </view>
  </view>
  <view class='my_rigth'>
   <text>编辑头像</text>
   <text class='iconfont icon-xiangyou'></text>
  </view>
 </view>
 <view class='my_item' bindtap='setshowmold'>
  <view class='my_left'>
   昵称
  </view>
  <view class='my_rigth'>
   <text>{{postdata.user_nickname}}</text>
   <text class='iconfont icon-xiangyou'></text>
  </view>
 </view>
 <picker bindchange="bindPickerChange" range="{{array}}">
  <view class='my_item'>
   <view class='my_left'>
    性别
   </view>
   <view class='my_rigth'>
    <text>{{postdata.sextab}}</text>
    <text class='iconfont icon-xiangyou'></text>
   </view>
  </view>
 </picker>

</view>
<view class='bg'></view>
<view class='itembox'>
 <view class='my_item'>
  <view class='my_left'>
   手机号
  </view>
  <view class='my_rigth'>
   <text>{{postdata.mobile?postdata.mobile +'(已绑定)':'未绑定'}}</text>
   <text class='iconfont icon-xiangyou'></text>
  </view>
 </view>
</view>
<view class='my_infobtn' bindtap='submit'>保存</view>

<view class='mold' wx:if='{{showmold}}' bindtap='setshowno'>
 <view class="mold_box {{showmold?'Augly-bounceinR':'Augly-fadeoutR'}}" catchtap='void'>
  <view class='mold_top'>昵称</view>
  <view class='mold_bottom'>
   <view class='mold_input'>
    <input value='{{postdata.user_nickname}}' bindinput='setname'></input>
   </view>
  </view>
  <view class='my_btnbox'>
   <view class='my_btn' catchtap='setshowno'>取消</view>
   <view class='my_btn' catchtap='yesname'>确定</view>
  </view>

 </view>
</view>