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
3bf270db
Commit
3bf270db
authored
Mar 10, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 我的
parent
af5d6222
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
5 deletions
+27
-5
YHMyNewViewController.swift
...xy/Classes/Modules/Mine(我的)/C/YHMyNewViewController.swift
+1
-1
YHMyFunctionGroupItemCell.swift
...lasses/Modules/Mine(我的)/V/YHMyFunctionGroupItemCell.swift
+1
-1
YHMySectionGroupCell.swift
...axy/Classes/Modules/Mine(我的)/V/YHMySectionGroupCell.swift
+3
-3
Contents.json
...ts/Mine/mine_item_exchange_history.imageset/Contents.json
+22
-0
icon_兑换记录@2x.png
...Mine/mine_item_exchange_history.imageset/icon_兑换记录@2x.png
+0
-0
icon_兑换记录@3x.png
...Mine/mine_item_exchange_history.imageset/icon_兑换记录@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyNewViewController.swift
View file @
3bf270db
...
...
@@ -256,7 +256,7 @@ class YHMyNewViewController: YHBaseViewController {
}
do
{
let
item
=
PersonalModuleItem
(
icon
:
"mine_item_
activit
y"
,
title
:
"兑换历史"
.
local
,
type
:
.
exchangeHistory
)
let
item
=
PersonalModuleItem
(
icon
:
"mine_item_
exchange_histor
y"
,
title
:
"兑换历史"
.
local
,
type
:
.
exchangeHistory
)
serviceGroupArr
.
append
(
item
)
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHMyFunctionGroupItemCell.swift
View file @
3bf270db
...
...
@@ -60,7 +60,7 @@ class YHMyFunctionGroupItemCell: UICollectionViewCell {
iconImgView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
2
0
)
make
.
top
.
equalTo
(
0
)
make
.
width
.
height
.
equalTo
(
24
)
make
.
centerX
.
equalToSuperview
()
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHMySectionGroupCell.swift
View file @
3bf270db
...
...
@@ -22,7 +22,7 @@ class YHMySectionGroupCell: UITableViewCell {
var
groupArr
:
[
PersonalModuleItem
]
=
[]
{
didSet
{
let
countPerRow
=
4
let
rowHeight
=
9
0.0
let
rowHeight
=
7
0.0
var
listHeight
=
rowHeight
if
groupArr
.
count
%
countPerRow
==
0
{
listHeight
=
rowHeight
*
Double
(
groupArr
.
count
/
countPerRow
)
...
...
@@ -101,7 +101,7 @@ class YHMySectionGroupCell: UITableViewCell {
make
.
height
.
equalTo
(
20
)
}
collectionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
0
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
2
0
)
make
.
bottom
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
90
)
}
...
...
@@ -121,7 +121,7 @@ extension YHMySectionGroupCell: UICollectionViewDelegate, UICollectionViewDataSo
func
collectionView
(
_
collectionView
:
UICollectionView
,
layout
collectionViewLayout
:
UICollectionViewLayout
,
sizeForItemAt
indexPath
:
IndexPath
)
->
CGSize
{
let
width
=
floor
((
KScreenWidth
-
20.0
*
2.0
)
/
4.0
)
return
CGSize
(
width
:
width
,
height
:
9
0.0
)
return
CGSize
(
width
:
width
,
height
:
7
0.0
)
}
// 返回自定义单元格
...
...
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_exchange_history.imageset/Contents.json
0 → 100644
View file @
3bf270db
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"icon_兑换记录@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"icon_兑换记录@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_exchange_history.imageset/icon_兑换记录@2x.png
0 → 100644
View file @
3bf270db
1.14 KB
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_exchange_history.imageset/icon_兑换记录@3x.png
0 → 100644
View file @
3bf270db
1.67 KB
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