tanzhongheY/pages/userEdit/userEdit.wxml

31 lines
1.2 KiB
Plaintext

<!--pages/userEdit/userEdit.wxml-->
<view class="centent">
<view class="img" bindtap="onUpimg">
<image src="{{custom_avatar?custom_avatar:'../../img/logo.png'}}" style="width:200rpx; height:200rpx"></image>
<view>
修改头像
</view>
</view>
<view class="item">
<view class="title" >昵称</view>
<image class="works-icon" style="width:16rpx; height: 28rpx;" src="../../img/nav/arrow.png">
</image>
<input type="text" bindchange="bindNameChange" value="{{nick_name}}" placeholder="用户名称" />
</view>
<view class="item">
<view class="title">地址</view>
<image class="works-icon" style="width:16rpx; height: 28rpx;" src="../../img/nav/arrow.png">
</image>
<view class="section">
<picker mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}">
<view class="picker">
<!-- {{province}}•{{city}}•{{county}} -->
{{province}}•{{city}}
</view>
</picker>
</view>
<!-- <input type="text" value="{{usesDetails.nickname}}" placeholder="用户名称" /> -->
</view>
<button class="sub" bindtap="save">保存</button>
</view>