提交 72f161dd 作者: wk

一物一码页面优化

父级 7ab36055
......@@ -298,18 +298,19 @@
<style lang="scss">
.content {
display: flex;
background-color: #F5F5F5;
flex-direction: column;
.search-content {
display: flex;
flex-direction: row;
align-items: center;
background-color: #F5F5F5;
padding: 20rpx 32rpx;
.search {
display: flex;
flex-direction: row;
background-color: #FFFFFF;
border: 0.5px solid #656565;
flex: 1;
padding: 0 30rpx;
......@@ -343,7 +344,7 @@
.list-content {
display: flex;
background: rgba(0, 0, 0, 0.1);
// background: rgba(0, 0, 0, 0.1);
flex-direction: column;
.list-item {
......@@ -351,6 +352,7 @@
background-color: #FFFFFF;
display: flex;
flex-direction: row;
margin: 10rpx 30rpx;
border-radius: 30rpx;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
padding: 32rpx;
......@@ -359,7 +361,8 @@
.left-item {
display: flex;
flex-direction: column;
flex: 0 0 80%;
flex: 1;
max-width: 500rpx;
.item {
padding: 10rpx 0;
......
......@@ -92,7 +92,8 @@
this.$toast.showToast("获取手机号授权失败")
return
}
this.wxPhoneLogin(result.data.phoneNumber)
this.checkBind(result.data.phoneNumber)
// this.wxPhoneLogin(result.data.phoneNumber)
} else {
this.$toast.showToast(result.msg)
}
......@@ -152,8 +153,8 @@
})
},
});
}
checkBind: function() {
},
checkBind: function(phone) {
Api.checkBind({
data: {
unique_token: this.unique_token
......@@ -163,7 +164,7 @@
if (code == 0) { //已绑定直接登录
this.directLogin()
} else { //其他
this.wxPhoneLogin()
this.wxPhoneLogin(phone)
}
}, (err) => {
this.$toast.showToast(err.msg)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
Please register or to comment