| 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 src="{{userinfos.image}}" mode="aspectFill"></image></view></view><view class="info-item"><text class="tit">用户名</text><text class="val">{{userinfos.username}}</text></view><view class="info-item"><text class="tit">用户身份</text><text class="val">管理员</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="{{[['tap',[['cutticy',['$event']]]],['input',[['__set_model',['','location','$event',[]]]]]]}}" value="{{location}}" bindtap="__e" 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>
|