kitchendDevice/unpackage/dist/dev/mp-weixin/pageTwo/me/userEdit.wxml

1 line
3.1 KiB
Plaintext

<view class="content data-v-0838061c"><view class="lanBox data-v-0838061c"><view class="headbox data-v-0838061c"><view class="touxiang data-v-0838061c"><uni-file-picker vue-id="026d832c-1" imageStyles="{{imageStyles}}" file-mediatype="image" disable-preview="{{true}}" limit="1" del-icon="{{false}}" data-event-opts="{{[['^select',[['handleimg']]]]}}" bind:select="__e" class="data-v-0838061c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{memInfo.headimg}}"><image class="headimage data-v-0838061c" src="{{memInfo.headimg}}"></image></block><block wx:else><icon class="headimage t-icon t-icon-nvtouxiang data-v-0838061c"></icon></block></uni-file-picker></view></view><view class="lan border-bottom data-v-0838061c"><view class="left data-v-0838061c">昵称</view><view class="right data-v-0838061c"><input class="name data-v-0838061c" name="name" type="text" placeholder="请输入昵称" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['memInfo']]]]]}}" value="{{memInfo.name}}" bindinput="__e"/><block wx:if="{{!memInfo.name}}"><icon class="iconfont icon-bianji data-v-0838061c"></icon></block><block wx:else><icon data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="iconfont icon-error data-v-0838061c" bindtap="__e"></icon></block></view></view><view class="lan border-bottom data-v-0838061c"><view class="left data-v-0838061c">性别</view><view class="right data-v-0838061c"><picker mode="selector" range="{{sexItem}}" data-event-opts="{{[['change',[['onsexArr',['$event']]]]]}}" bindchange="__e" class="data-v-0838061c"><view class="uni-input data-v-0838061c">{{!memInfo.sex?'请选择性别':memInfo.sex==1?'男':'女'}}</view><icon class="iconfont icon-arrow-down data-v-0838061c"></icon></picker></view></view><view class="lan border-bottom data-v-0838061c"><view class="left data-v-0838061c">年龄</view><view class="right data-v-0838061c"><picker mode="selector" range="{{ageArr}}" data-event-opts="{{[['change',[['onageArr',['$event']]]]]}}" bindchange="__e" class="data-v-0838061c"><view class="uni-input data-v-0838061c">{{!memInfo.age?'请选择年龄':memInfo.age+'岁'}}</view><icon class="iconfont icon-arrow-down data-v-0838061c"></icon></picker></view></view><view class="lan border-bottom data-v-0838061c"><view class="left data-v-0838061c">身高</view><view class="right data-v-0838061c"><input type="digit" placeholder="请输入身高" data-event-opts="{{[['input',[['__set_model',['$0','height','$event',[]],['memInfo']]]]]}}" value="{{memInfo.height}}" bindinput="__e" class="data-v-0838061c"/><text class="data-v-0838061c">cm</text></view></view><view class="lan border-bottom data-v-0838061c"><view class="left data-v-0838061c">体重</view><view class="right data-v-0838061c"><input type="digit" placeholder="请输入体重" data-event-opts="{{[['input',[['__set_model',['$0','weight','$event',[]],['memInfo']]]]]}}" value="{{memInfo.weight}}" bindinput="__e" class="data-v-0838061c"/><text class="data-v-0838061c">kg</text></view></view></view><view data-event-opts="{{[['tap',[['confirmInfo',['$event']]]]]}}" class="btn data-v-0838061c" bindtap="__e">提交</view></view>