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
fd2c8c81
Commit
fd2c8c81
authored
Apr 08, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4 大金刚区
parent
0ea6f74d
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
169 additions
and
14 deletions
+169
-14
YHHomeHeadView.swift
...xy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
+1
-1
YHHomeKingKongBlockItem.swift
.../Classes/Modules/Home(首页)/V/YHHomeKingKongBlockItem.swift
+57
-7
YHHomeKingKongBlockView.swift
.../Classes/Modules/Home(首页)/V/YHHomeKingKongBlockView.swift
+16
-5
YHDocListCell.swift
...gentService(服务中心)/MyDocuments(我的文书)/V/YHDocListCell.swift
+1
-1
Contents.json
...xy/galaxy/Res/Assets.xcassets/Home/kingkong/Contents.json
+6
-0
Contents.json
...assets/Home/kingkong/kingkong_blgl.imageset/Contents.json
+22
-0
Frame 1@2x.png
...ssets/Home/kingkong/kingkong_blgl.imageset/Frame 1@2x.png
+0
-0
Frame 1@3x.png
...ssets/Home/kingkong/kingkong_blgl.imageset/Frame 1@3x.png
+0
-0
Contents.json
...assets/Home/kingkong/kingkong_khxs.imageset/Contents.json
+22
-0
Frame 1@2x.png
...ssets/Home/kingkong/kingkong_khxs.imageset/Frame 1@2x.png
+0
-0
Frame 1@3x.png
...ssets/Home/kingkong/kingkong_khxs.imageset/Frame 1@3x.png
+0
-0
Contents.json
...assets/Home/kingkong/kingkong_sffl.imageset/Contents.json
+22
-0
Frame 1@2x.png
...ssets/Home/kingkong/kingkong_sffl.imageset/Frame 1@2x.png
+0
-0
Frame 1@3x.png
...ssets/Home/kingkong/kingkong_sffl.imageset/Frame 1@3x.png
+0
-0
Contents.json
...assets/Home/kingkong/kingkong_xgbs.imageset/Contents.json
+22
-0
Frame 1@2x.png
...ssets/Home/kingkong/kingkong_xgbs.imageset/Frame 1@2x.png
+0
-0
Frame 1@3x.png
...ssets/Home/kingkong/kingkong_xgbs.imageset/Frame 1@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
View file @
fd2c8c81
...
@@ -65,6 +65,6 @@ private extension YHHomeHeadView {
...
@@ -65,6 +65,6 @@ private extension YHHomeHeadView {
make
.
left
.
right
.
equalToSuperview
()
make
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
YHHomeKingKongBlockView
.
viewH
)
make
.
height
.
equalTo
(
YHHomeKingKongBlockView
.
viewH
)
}
}
homeKingKongBlock
.
backgroundColor
=
.
purple
//
homeKingKongBlock.backgroundColor = .purple
}
}
}
}
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeKingKongBlockItem.swift
View file @
fd2c8c81
...
@@ -9,13 +9,63 @@
...
@@ -9,13 +9,63 @@
import
UIKit
import
UIKit
class
YHHomeKingKongBlockItem
:
UIView
{
class
YHHomeKingKongBlockItem
:
UIView
{
override
init
(
frame
:
CGRect
)
{
/*
super
.
init
(
frame
:
frame
)
// Only override draw() if you perform custom drawing.
initView
()
// An empty implementation adversely affects performance during animation.
}
override func draw(_ rect: CGRect) {
// Drawing code
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
lazy
var
iconV
:
UIImageView
=
{
let
imageV
=
UIImageView
()
imageV
.
contentMode
=
.
scaleAspectFill
return
imageV
}()
lazy
var
subtitleLable
:
UILabel
=
{
let
label
=
UILabel
()
label
.
text
=
"去香港"
label
.
textColor
=
UIColor
(
hex
:
0x94A3B8
,
alpha
:
1.0
)
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
12
)
label
.
lineBreakMode
=
.
byTruncatingMiddle
label
.
textAlignment
=
.
center
// label.minimumScaleFactor = 0.5
return
label
}()
var
dataModel
:
YHHomeKingKongBlockModel
?
{
didSet
{
updateUI
()
}
}
}
*/
}
private
extension
YHHomeKingKongBlockItem
{
func
initView
()
{
backgroundColor
=
UIColor
(
hex
:
0xF8FAFB
,
alpha
:
1.0
)
addSubview
(
iconV
)
iconV
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
make
.
width
.
height
.
equalTo
(
31
)
make
.
top
.
equalTo
(
10
)
}
addSubview
(
subtitleLable
)
subtitleLable
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
make
.
left
.
equalTo
(
4
)
make
.
right
.
equalTo
(
-
4
)
make
.
height
.
equalTo
(
18
)
make
.
bottom
.
equalTo
(
-
8
)
}
}
func
updateUI
()
{
guard
let
dataModel
=
dataModel
else
{
return
}
iconV
.
image
=
UIImage
(
named
:
dataModel
.
iconName
)
subtitleLable
.
text
=
dataModel
.
title
}
}
}
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeKingKongBlockView.swift
View file @
fd2c8c81
...
@@ -22,17 +22,28 @@ class YHHomeKingKongBlockView: UIView {
...
@@ -22,17 +22,28 @@ class YHHomeKingKongBlockView: UIView {
}
}
var
arrData
:
[
YHHomeKingKongBlockModel
]
=
[
var
arrData
:
[
YHHomeKingKongBlockModel
]
=
[
YHHomeKingKongBlockModel
(
type
:
"1"
,
iconName
:
""
,
title
:
"身份福利"
),
YHHomeKingKongBlockModel
(
type
:
"1"
,
iconName
:
"
kingkong_sffl
"
,
title
:
"身份福利"
),
YHHomeKingKongBlockModel
(
type
:
"2"
,
iconName
:
""
,
title
:
"办理攻略"
),
YHHomeKingKongBlockModel
(
type
:
"2"
,
iconName
:
"
kingkong_blgl
"
,
title
:
"办理攻略"
),
YHHomeKingKongBlockModel
(
type
:
"3"
,
iconName
:
""
,
title
:
"客户心声"
),
YHHomeKingKongBlockModel
(
type
:
"3"
,
iconName
:
"
kingkong_khxs
"
,
title
:
"客户心声"
),
YHHomeKingKongBlockModel
(
type
:
"4"
,
iconName
:
""
,
title
:
"香港办事"
),
YHHomeKingKongBlockModel
(
type
:
"4"
,
iconName
:
"
kingkong_xgbs
"
,
title
:
"香港办事"
),
]
]
}
}
private
extension
YHHomeKingKongBlockView
{
private
extension
YHHomeKingKongBlockView
{
func
initView
()
{
func
initView
()
{
for
(
index
,
item
)
in
arrData
.
enumerated
()
{
let
gap
:
CGFloat
=
16.0
var
offsetX
:
CGFloat
=
0.0
for
(
_
,
item
)
in
arrData
.
enumerated
()
{
let
view
=
YHHomeKingKongBlockItem
()
view
.
dataModel
=
item
addSubview
(
view
)
view
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
left
.
equalTo
(
offsetX
)
make
.
width
.
height
.
equalTo
(
YHHomeKingKongBlockView
.
viewH
)
}
offsetX
=
offsetX
+
YHHomeKingKongBlockView
.
viewH
+
gap
}
}
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/V/YHDocListCell.swift
View file @
fd2c8c81
...
@@ -162,7 +162,7 @@ class YHDocListCell: UITableViewCell {
...
@@ -162,7 +162,7 @@ class YHDocListCell: UITableViewCell {
if
status
==
2
{
if
status
==
2
{
statusTxt
=
"待确认"
statusTxt
=
"待确认"
color
=
UIColor
.
brandMainColor
color
=
UIColor
.
brandMainColor
}
else
if
status
==
3
{
}
else
if
status
==
3
{
statusTxt
=
"核对中"
statusTxt
=
"核对中"
color
=
UIColor
.
warnColor
color
=
UIColor
.
warnColor
}
else
if
status
==
4
{
}
else
if
status
==
4
{
...
...
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/Contents.json
0 → 100644
View file @
fd2c8c81
{
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_blgl.imageset/Contents.json
0 → 100644
View file @
fd2c8c81
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Frame 1@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Frame 1@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_blgl.imageset/Frame 1@2x.png
0 → 100644
View file @
fd2c8c81
708 Bytes
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_blgl.imageset/Frame 1@3x.png
0 → 100644
View file @
fd2c8c81
999 Bytes
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_khxs.imageset/Contents.json
0 → 100644
View file @
fd2c8c81
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Frame 1@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Frame 1@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_khxs.imageset/Frame 1@2x.png
0 → 100644
View file @
fd2c8c81
929 Bytes
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_khxs.imageset/Frame 1@3x.png
0 → 100644
View file @
fd2c8c81
1.43 KB
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_sffl.imageset/Contents.json
0 → 100644
View file @
fd2c8c81
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Frame 1@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Frame 1@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_sffl.imageset/Frame 1@2x.png
0 → 100644
View file @
fd2c8c81
919 Bytes
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_sffl.imageset/Frame 1@3x.png
0 → 100644
View file @
fd2c8c81
1.43 KB
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_xgbs.imageset/Contents.json
0 → 100644
View file @
fd2c8c81
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Frame 1@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Frame 1@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_xgbs.imageset/Frame 1@2x.png
0 → 100644
View file @
fd2c8c81
798 Bytes
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_xgbs.imageset/Frame 1@3x.png
0 → 100644
View file @
fd2c8c81
1.16 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