You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<view class="container">
|
|
|
|
<view class="form-wrap">
|
|
|
|
<view class="flex-wrap input-wrap">
|
|
|
|
<text class="label">姓名</text>
|
|
|
|
<input value="{{name}}" bindinput="updateName" id="name" class="account-info-input"/>
|
|
|
|
</view>
|
|
|
|
<view class="flex-wrap input-wrap">
|
|
|
|
<text class="label">用户名</text>
|
|
|
|
<input value="{{username}}" bindinput="updateUsername" id="username" class="account-info-input"/>
|
|
|
|
</view>
|
|
|
|
<view class="flex-wrap input-wrap">
|
|
|
|
<text class="label">新密码</text>
|
|
|
|
<input password bindinput="updatePassword" id="password" class="account-info-input"/>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<text wx:if="{{error}}" class="error">{{error}}</text>
|
|
|
|
<button class="submit" type="primary" disabled="{{!(username || password)}}" bindtap="save">更新</button>
|
|
|
|
</view>
|