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.
17 lines
776 B
17 lines
776 B
5 years ago
|
<view class="container">
|
||
|
<view class="form-wrap">
|
||
|
<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>
|
||
|
<text class="hint">当前用户 authData: </text>
|
||
|
<textarea class="hint" auto-height='true' disabled maxlength="-1" value="{{authData}}"></textarea>
|
||
|
</view>
|