Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
f01d6ddd
Commit
f01d6ddd
authored
Jul 30, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI走查
parent
33c9f14c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
YHInvitationWithGiftsViewModel.swift
...onWithGifts(邀请有礼)/VM/YHInvitationWithGiftsViewModel.swift
+1
-1
YHLifeViewController.swift
...es/Modules/Home(首页)/Life(生活)/C/YHLifeViewController.swift
+2
-2
YHLifeHeadView.swift
.../Classes/Modules/Home(首页)/Life(生活)/V/YHLifeHeadView.swift
+1
-1
YHLifeItemTableViewCell.swift
...Modules/Home(首页)/Life(生活)/V/YHLifeItemTableViewCell.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/VM/YHInvitationWithGiftsViewModel.swift
View file @
f01d6ddd
...
@@ -60,7 +60,7 @@ class YHInvitationWithGiftsViewModel: YHBaseViewModel {
...
@@ -60,7 +60,7 @@ class YHInvitationWithGiftsViewModel: YHBaseViewModel {
func
postRecord
(
page
:
Int
,
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
func
postRecord
(
page
:
Int
,
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Share
.
record
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Share
.
record
let
param
:
[
String
:
Any
]
=
[
"page"
:
1
,
let
param
:
[
String
:
Any
]
=
[
"page"
:
page
,
"pagesize"
:
20
]
"pagesize"
:
20
]
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
param
)
{
[
weak
self
]
json
,
code
in
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
param
)
{
[
weak
self
]
json
,
code
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/Life(生活)/C/YHLifeViewController.swift
View file @
f01d6ddd
...
@@ -54,7 +54,7 @@ extension YHLifeViewController {
...
@@ -54,7 +54,7 @@ extension YHLifeViewController {
let
label
=
UILabel
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
self
.
view
.
height
-
44
-
KScreenWidth
-
16
))
let
label
=
UILabel
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
self
.
view
.
height
-
44
-
KScreenWidth
-
16
))
label
.
text
=
"商品未上架,好货不怕晚,敬请期待!"
label
.
text
=
"商品未上架,好货不怕晚,敬请期待!"
label
.
textColor
=
UIColor
.
mainTextColor30
label
.
textColor
=
UIColor
.
mainTextColor30
label
.
font
=
UIFont
.
PFSC_
M
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_
L
(
ofSize
:
14
)
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
self
.
tableView
.
tableFooterView
=
label
self
.
tableView
.
tableFooterView
=
label
}
else
{
}
else
{
...
@@ -83,7 +83,7 @@ extension YHLifeViewController {
...
@@ -83,7 +83,7 @@ extension YHLifeViewController {
make
.
top
.
left
.
right
.
equalToSuperview
()
make
.
top
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
44
)
make
.
height
.
equalTo
(
44
)
}
}
headView
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenWidth
+
16
)
headView
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenWidth
+
28
)
tableView
=
{
tableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
tableView
.
contentInsetAdjustmentBehavior
=
.
never
tableView
.
contentInsetAdjustmentBehavior
=
.
never
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/Life(生活)/V/YHLifeHeadView.swift
View file @
f01d6ddd
...
@@ -27,7 +27,7 @@ class YHLifeHeadView: UIView {
...
@@ -27,7 +27,7 @@ class YHLifeHeadView: UIView {
imageView
.
snp
.
makeConstraints
{
make
in
imageView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
make
.
left
.
right
.
equalToSuperview
()
make
.
top
.
equalTo
(
8
)
make
.
top
.
equalTo
(
8
)
make
.
bottom
.
equalTo
(
-
8
)
make
.
height
.
equalTo
(
KScreenWidth
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/Life(生活)/V/YHLifeItemTableViewCell.swift
View file @
f01d6ddd
...
@@ -52,7 +52,7 @@ class YHLifeItemTableViewCell: UITableViewCell {
...
@@ -52,7 +52,7 @@ class YHLifeItemTableViewCell: UITableViewCell {
contentView
.
addSubview
(
centerImageView
)
contentView
.
addSubview
(
centerImageView
)
centerImageView
.
snp
.
makeConstraints
{
make
in
centerImageView
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
12
)
make
.
left
.
equalTo
(
20
)
make
.
height
.
width
.
equalTo
(
100
)
make
.
height
.
width
.
equalTo
(
100
)
}
}
...
@@ -72,7 +72,7 @@ class YHLifeItemTableViewCell: UITableViewCell {
...
@@ -72,7 +72,7 @@ class YHLifeItemTableViewCell: UITableViewCell {
subTitleLabel
=
{
subTitleLabel
=
{
let
view
=
UILabel
()
let
view
=
UILabel
()
view
.
font
=
UIFont
.
PFSC_
M
(
ofSize
:
14
)
view
.
font
=
UIFont
.
PFSC_
L
(
ofSize
:
14
)
view
.
textColor
=
UIColor
.
mainTextColor50
view
.
textColor
=
UIColor
.
mainTextColor50
view
.
numberOfLines
=
2
view
.
numberOfLines
=
2
return
view
return
view
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment