Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
Sign in / Register
Toggle navigation
S
site-uniapp
概览
Overview
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
王柯
site-uniapp
Commits
72f161dd
提交
72f161dd
authored
1月 16, 2023
作者:
wk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
一物一码页面优化
父级
7ab36055
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
7 行删除
+11
-7
pages/gallery/bussData/bussData.vue
+6
-3
pages/user/login/login.vue
+5
-4
没有找到文件。
pages/gallery/bussData/bussData.vue
View file @
72f161dd
...
@@ -298,18 +298,19 @@
...
@@ -298,18 +298,19 @@
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.content
{
.content
{
display
:
flex
;
display
:
flex
;
background-color
:
#F5F5F5
;
flex-direction
:
column
;
flex-direction
:
column
;
.search-content
{
.search-content
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
align-items
:
center
;
align-items
:
center
;
background-color
:
#F5F5F5
;
padding
:
20
rpx
32
rpx
;
padding
:
20
rpx
32
rpx
;
.search
{
.search
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
background-color
:
#FFFFFF
;
border
:
0.5px
solid
#656565
;
border
:
0.5px
solid
#656565
;
flex
:
1
;
flex
:
1
;
padding
:
0
30
rpx
;
padding
:
0
30
rpx
;
...
@@ -343,7 +344,7 @@
...
@@ -343,7 +344,7 @@
.list-content
{
.list-content
{
display
:
flex
;
display
:
flex
;
background
:
rgba
(
0
,
0
,
0
,
0.1
);
//
background
:
rgba
(
0
,
0
,
0
,
0.1
);
flex-direction
:
column
;
flex-direction
:
column
;
.list-item
{
.list-item
{
...
@@ -351,6 +352,7 @@
...
@@ -351,6 +352,7 @@
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
margin
:
10
rpx
30
rpx
;
border-radius
:
30
rpx
;
border-radius
:
30
rpx
;
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0.08
);
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0.08
);
padding
:
32
rpx
;
padding
:
32
rpx
;
...
@@ -359,7 +361,8 @@
...
@@ -359,7 +361,8 @@
.left-item
{
.left-item
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
flex
:
0
0
80%
;
flex
:
1
;
max-width
:
500
rpx
;
.item
{
.item
{
padding
:
10
rpx
0
;
padding
:
10
rpx
0
;
...
...
pages/user/login/login.vue
View file @
72f161dd
...
@@ -92,7 +92,8 @@
...
@@ -92,7 +92,8 @@
this
.
$toast
.
showToast
(
"获取手机号授权失败"
)
this
.
$toast
.
showToast
(
"获取手机号授权失败"
)
return
return
}
}
this
.
wxPhoneLogin
(
result
.
data
.
phoneNumber
)
this
.
checkBind
(
result
.
data
.
phoneNumber
)
// this.wxPhoneLogin(result.data.phoneNumber)
}
else
{
}
else
{
this
.
$toast
.
showToast
(
result
.
msg
)
this
.
$toast
.
showToast
(
result
.
msg
)
}
}
...
@@ -152,8 +153,8 @@
...
@@ -152,8 +153,8 @@
})
})
},
},
});
});
}
}
,
checkBind
:
function
()
{
checkBind
:
function
(
phone
)
{
Api
.
checkBind
({
Api
.
checkBind
({
data
:
{
data
:
{
unique_token
:
this
.
unique_token
unique_token
:
this
.
unique_token
...
@@ -163,7 +164,7 @@
...
@@ -163,7 +164,7 @@
if
(
code
==
0
)
{
//已绑定直接登录
if
(
code
==
0
)
{
//已绑定直接登录
this
.
directLogin
()
this
.
directLogin
()
}
else
{
//其他
}
else
{
//其他
this
.
wxPhoneLogin
()
this
.
wxPhoneLogin
(
phone
)
}
}
},
(
err
)
=>
{
},
(
err
)
=>
{
this
.
$toast
.
showToast
(
err
.
msg
)
this
.
$toast
.
showToast
(
err
.
msg
)
...
...
Write
Preview
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
Please
register
or
sign in
to comment