Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
陈高翔
/
AoleiSports
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 9b1f00df
由
ilCode
编写于
2024-07-02 11:37:12 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
情报页面iOS13部分UI适配问题
1 个父辈
b234e5a9
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
9 行增加
和
2 行删除
AoleiSports/Src/Information/MatchInfoCell.swift
AoleiSports/Src/User/LoginController.swift
AoleiSports/Src/Information/MatchInfoCell.swift
查看文件 @
9b1f00d
...
@@ -38,7 +38,7 @@ class MatchInfoCell: BaseTableViewCell {
...
@@ -38,7 +38,7 @@ class MatchInfoCell: BaseTableViewCell {
private
lazy
var
wtStackView
:
UIStackView
=
{
private
lazy
var
wtStackView
:
UIStackView
=
{
let
stackView
=
UIStackView
(
arrangedSubviews
:
[
weatherLab
,
temperatureLab
])
let
stackView
=
UIStackView
(
arrangedSubviews
:
[
weatherLab
,
temperatureLab
])
stackView
.
axis
=
.
horizontal
stackView
.
axis
=
.
horizontal
stackView
.
alignment
=
.
trailing
stackView
.
alignment
=
.
center
stackView
.
spacing
=
15
stackView
.
spacing
=
15
return
stackView
return
stackView
}()
}()
...
@@ -53,6 +53,8 @@ class MatchInfoCell: BaseTableViewCell {
...
@@ -53,6 +53,8 @@ class MatchInfoCell: BaseTableViewCell {
lab
.
font
=
kBoldFontSize
(
16
)
lab
.
font
=
kBoldFontSize
(
16
)
lab
.
textColor
=
kMainTitleColor
lab
.
textColor
=
kMainTitleColor
lab
.
numberOfLines
=
2
lab
.
numberOfLines
=
2
lab
.
setContentHuggingPriority
(
.
required
,
for
:
.
horizontal
)
lab
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
return
lab
return
lab
}()
}()
private
lazy
var
hostInfoCountLab
:
UILabel
=
{
private
lazy
var
hostInfoCountLab
:
UILabel
=
{
...
@@ -101,6 +103,8 @@ class MatchInfoCell: BaseTableViewCell {
...
@@ -101,6 +103,8 @@ class MatchInfoCell: BaseTableViewCell {
lab
.
textColor
=
kMainTitleColor
lab
.
textColor
=
kMainTitleColor
lab
.
textAlignment
=
.
right
lab
.
textAlignment
=
.
right
lab
.
numberOfLines
=
2
lab
.
numberOfLines
=
2
lab
.
setContentHuggingPriority
(
.
required
,
for
:
.
horizontal
)
lab
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
return
lab
return
lab
}()
}()
private
lazy
var
guestIcon
:
UIImageView
=
{
private
lazy
var
guestIcon
:
UIImageView
=
{
...
@@ -229,6 +233,7 @@ class MatchInfoCell: BaseTableViewCell {
...
@@ -229,6 +233,7 @@ class MatchInfoCell: BaseTableViewCell {
make
.
right
.
equalToSuperview
()
.
offset
(
-
8
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
8
)
make
.
bottom
.
equalToSuperview
()
.
offset
((
model
?
.
isLast
??
false
)
?
-
8
:
0
)
make
.
bottom
.
equalToSuperview
()
.
offset
((
model
?
.
isLast
??
false
)
?
-
8
:
0
)
}
}
gameAndNumLab
.
snp
.
makeConstraints
{
make
in
gameAndNumLab
.
snp
.
makeConstraints
{
make
in
make
.
left
.
top
.
equalToSuperview
()
.
offset
(
10
)
make
.
left
.
top
.
equalToSuperview
()
.
offset
(
10
)
make
.
height
.
equalTo
(
20
)
make
.
height
.
equalTo
(
20
)
...
@@ -238,6 +243,7 @@ class MatchInfoCell: BaseTableViewCell {
...
@@ -238,6 +243,7 @@ class MatchInfoCell: BaseTableViewCell {
make
.
right
.
equalToSuperview
()
.
offset
(
-
10
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
10
)
make
.
height
.
equalTo
(
20
)
make
.
height
.
equalTo
(
20
)
}
}
htgStackView
.
snp
.
makeConstraints
{
make
in
htgStackView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
gameAndNumLab
.
snp
.
bottom
)
.
offset
(
10
)
make
.
top
.
equalTo
(
gameAndNumLab
.
snp
.
bottom
)
.
offset
(
10
)
make
.
left
.
equalTo
(
gameAndNumLab
)
make
.
left
.
equalTo
(
gameAndNumLab
)
...
@@ -252,6 +258,7 @@ class MatchInfoCell: BaseTableViewCell {
...
@@ -252,6 +258,7 @@ class MatchInfoCell: BaseTableViewCell {
guestIcon
.
snp
.
makeConstraints
{
make
in
guestIcon
.
snp
.
makeConstraints
{
make
in
make
.
size
.
equalTo
(
hostIcon
)
make
.
size
.
equalTo
(
hostIcon
)
}
}
infoStackView
.
snp
.
makeConstraints
{
make
in
infoStackView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
htgStackView
.
snp
.
bottom
)
.
offset
(
10
)
make
.
top
.
equalTo
(
htgStackView
.
snp
.
bottom
)
.
offset
(
10
)
make
.
left
.
right
.
equalTo
(
htgStackView
)
make
.
left
.
right
.
equalTo
(
htgStackView
)
...
...
AoleiSports/Src/User/LoginController.swift
查看文件 @
9b1f00d
...
@@ -493,7 +493,7 @@ class LoginController: BaseController {
...
@@ -493,7 +493,7 @@ class LoginController: BaseController {
return
return
}
}
AppleSignInManager
()
.
performSignIn
()
self
.
appleSignInManager
.
performSignIn
()
}
}
@objc
private
func
guestLoginTapped
()
{
@objc
private
func
guestLoginTapped
()
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论