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

1 line
3.4 KiB
Plaintext

<view class="content data-v-0838061c"><view class="lanBox data-v-0838061c"><view class="headbox data-v-0838061c"><block wx:if="{{user.head_pic}}"><view class="touxiang data-v-0838061c"><image class="headimage data-v-0838061c" src="{{user.head_pic}}"></image></view></block><block wx:else><view class="touxiang data-v-0838061c"><image class="headimage data-v-0838061c" src="/static/tou.png"></image></view></block></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','nickname','$event',[]],['memInfo']]]]]}}" value="{{memInfo.nickname}}" bindinput="__e"/><block wx:if="{{!memInfo.nickname}}"><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.gender==0?'请选择':memInfo.gender==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="date" end="{{endDate}}" value="{{memInfo.birthday?memInfo.birthday:endDate}}" data-event-opts="{{[['change',[['maskClick',['$event']]]]]}}" bindchange="__e" class="data-v-0838061c"><view class="uni-input data-v-0838061c">{{memInfo.birthday?memInfo.birthday:"请选择"}}</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 class="lan border-bottom data-v-0838061c"><view class="left data-v-0838061c">活动系数</view><view class="right data-v-0838061c"><picker mode="selector" range="{{activityLevel}}" range-key="name" value="{{levelInd}}" data-event-opts="{{[['change',[['changeClickType',['$event']]]]]}}" bindchange="__e" class="data-v-0838061c"><view class="data-v-0838061c">{{''+(levelInd?activityLevel[levelInd].name:'请选择')+''}}<icon class="iconfont icon-arrow-down data-v-0838061c"></icon></view></picker></view></view></view><view data-event-opts="{{[['tap',[['confirmInfo',['$event']]]]]}}" class="btn data-v-0838061c" bindtap="__e">提交</view></view>