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