修复绑定input值
This commit is contained in:
parent
609f748248
commit
7fe51944d0
4
app.json
4
app.json
@ -96,7 +96,7 @@
|
||||
"sharePage/cardcode",
|
||||
"common/corpperimg/cropperimg"
|
||||
]
|
||||
}]
|
||||
|
||||
}],
|
||||
"requiredPrivateInfos": ["chooseLocation","getLocation"]
|
||||
|
||||
}
|
@ -95,6 +95,16 @@ Page({
|
||||
console.log(e);
|
||||
});
|
||||
},
|
||||
authPhone(e) {
|
||||
this.setData({
|
||||
userNameText: e.detail.value
|
||||
})
|
||||
},
|
||||
authPwd(e) {
|
||||
this.setData({
|
||||
userPassword: e.detail.value
|
||||
})
|
||||
},
|
||||
getFriendCount: function () {
|
||||
var t = this;
|
||||
a.restAjax.get(a.restAjax.path(a.apis.getHelpCount, [a.baseUrls.requestUrl]), {
|
||||
|
@ -96,8 +96,8 @@
|
||||
<image bindtap="closeAuthentication" class="close" src="{{sourceUrl}}close-rz.png"></image>
|
||||
</view>
|
||||
<view class="authentication-box">
|
||||
<input value="{{userNameText}}" placeholder="请输入用户名" type="text"></input>
|
||||
<input value="{{userPassword}}" placeholder="请输入密码" type="password"></input>
|
||||
<input value="{{userNameText}}" placeholder="请输入用户名" type="text" bindinput="authPhone"></input>
|
||||
<input value="{{userPassword}}" placeholder="请输入密码" type="password" bindinput="authPwd"></input>
|
||||
<view bindtap="doAuthentication" class="authentication-btn">立即认证</view>
|
||||
</view>
|
||||
</view>
|
||||
|
Loading…
Reference in New Issue
Block a user