| 1 |
- <view class="user-info"><view class="info-item"><text class="tit">头像</text><view data-event-opts="{{[['tap',[['gainimg',['$event']]]]]}}" class="avater" bindtap="__e"><image class="user" src="{{userinfos.image}}" mode="aspectFill"></image><block wx:if="{{loding}}"><view class="sim_info_loding"><image class="img" src="../../../static/images/cb/6286299.gif" mode></image></view></block></view></view><view class="info-item"><text class="tit">用户名</text><input class="{{[compileTF?'valinput valinput2':'valinput']}}" type="text" disabled="{{!compileTF}}" maxlength="8" data-event-opts="{{[['input',[['__set_model',['$0','username','$event',[]],['userinfos']]]]]}}" value="{{userinfos.username}}" bindinput="__e"/></view><view class="info-item"><text class="tit">用户身份</text><text class="val">{{usertype[userinfos.user_type-1]}}</text></view><view class="info-item"><text class="tit">用户电话</text><input class="{{[compileTF?'valinput valinput2':'valinput']}}" type="text" disabled="{{!compileTF}}" data-event-opts="{{[['blur',[['verifyphone',['$event']]]],['input',[['__set_model',['$0','mobile','$event',[]],['userinfos']]]]]}}" value="{{userinfos.mobile}}" bindblur="__e" bindinput="__e"/><block wx:if="{{phonehint}}"><view class="hint _p">手机号格式不正确</view></block></view><view class="info-item"><text class="tit">E-mail</text><input class="{{[compileTF?'valinput valinput2':'valinput']}}" type="text" disabled="{{!compileTF}}" data-event-opts="{{[['blur',[['verifyemail',['$event']]]],['input',[['__set_model',['$0','email','$event',[]],['userinfos']]]]]}}" value="{{userinfos.email}}" bindblur="__e" bindinput="__e"/><block wx:if="{{emailhint}}"><view class="hint _p">邮箱格式不正确</view></block></view><view class="info-item"><text class="tit">我的地址</text><input class="{{[compileTF?'valinput valinput2':'valinput']}}" type="text" disabled="{{!compileTF}}" data-event-opts="{{[['input',[['__set_model',['','location','$event',[]]]]]]}}" value="{{location}}" bindinput="__e"/></view><view class="compile"><block wx:if="{{!compileTF}}"><view data-event-opts="{{[['tap',[['compile',['$event']]]]]}}" bindtap="__e" class="_p">编辑</view></block><block wx:else><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" bindtap="__e" class="_p">提交</view></block></view></view>
|