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