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
45eb488c
Commit
45eb488c
authored
Jun 20, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 指南蒙层
parent
d99aca6e
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
184 additions
and
1 deletion
+184
-1
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHMatchPeopleViewController.swift
...Modules/Community(社区)/C/YHMatchPeopleViewController.swift
+9
-1
YHMatchCardUsageGuideView.swift
...s/Modules/Community(社区)/V/YHMatchCardUsageGuideView.swift
+105
-0
Contents.json
...ple/people_card_guide_gesture_left.imageset/Contents.json
+22
-0
Polygon 11@2x.png
...people_card_guide_gesture_left.imageset/Polygon 11@2x.png
+0
-0
Polygon 11@3x.png
...people_card_guide_gesture_left.imageset/Polygon 11@3x.png
+0
-0
Contents.json
...le/people_card_guide_gesture_right.imageset/Contents.json
+22
-0
Polygon 10@2x.png
...eople_card_guide_gesture_right.imageset/Polygon 10@2x.png
+0
-0
Polygon 10@3x.png
...eople_card_guide_gesture_right.imageset/Polygon 10@3x.png
+0
-0
Contents.json
...sets/People/people_card_guide_hand.imageset/Contents.json
+22
-0
Group 2033195122@2x.png
...e/people_card_guide_hand.imageset/Group 2033195122@2x.png
+0
-0
Group 2033195122@3x.png
...e/people_card_guide_hand.imageset/Group 2033195122@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
45eb488c
...
...
@@ -339,6 +339,7 @@
04FA8B332C0880A100ABE43F
/* YHAppleLoginViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04FA8B322C0880A100ABE43F
/* YHAppleLoginViewModel.swift */
;
};
04FB01CE2C23DDBD0040115D
/* YHPeopleMatchNoDataView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04FB01CD2C23DDBD0040115D
/* YHPeopleMatchNoDataView.swift */
;
};
04FB01D02C23FA420040115D
/* YHPeopleCardModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04FB01CF2C23FA420040115D
/* YHPeopleCardModel.swift */
;
};
04FB01D22C23FCDD0040115D
/* YHMatchCardUsageGuideView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04FB01D12C23FCDD0040115D
/* YHMatchCardUsageGuideView.swift */
;
};
04FD85662C2124AF00BEF9C5
/* YHMyNameCardViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04FD85652C2124AF00BEF9C5
/* YHMyNameCardViewController.swift */
;
};
04FD85682C21277800BEF9C5
/* YHMyNameCardAvatarInfoCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04FD85672C21277800BEF9C5
/* YHMyNameCardAvatarInfoCell.swift */
;
};
04FD856A2C21362300BEF9C5
/* YHMyIntroductionCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04FD85692C21362300BEF9C5
/* YHMyIntroductionCell.swift */
;
};
...
...
@@ -872,6 +873,7 @@
04FA8B322C0880A100ABE43F
/* YHAppleLoginViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAppleLoginViewModel.swift
;
sourceTree
=
"<group>"
;
};
04FB01CD2C23DDBD0040115D
/* YHPeopleMatchNoDataView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPeopleMatchNoDataView.swift
;
sourceTree
=
"<group>"
;
};
04FB01CF2C23FA420040115D
/* YHPeopleCardModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPeopleCardModel.swift
;
sourceTree
=
"<group>"
;
};
04FB01D12C23FCDD0040115D
/* YHMatchCardUsageGuideView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMatchCardUsageGuideView.swift
;
sourceTree
=
"<group>"
;
};
04FD85652C2124AF00BEF9C5
/* YHMyNameCardViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyNameCardViewController.swift
;
sourceTree
=
"<group>"
;
};
04FD85672C21277800BEF9C5
/* YHMyNameCardAvatarInfoCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyNameCardAvatarInfoCell.swift
;
sourceTree
=
"<group>"
;
};
04FD85692C21362300BEF9C5
/* YHMyIntroductionCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyIntroductionCell.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -2119,6 +2121,7 @@
044D0BFF2C21663300C5CF5E
/* YHMyInformationItemCell.swift */
,
044D0C052C22736F00C5CF5E
/* YHSetExplainView.swift */
,
04FB01CD2C23DDBD0040115D
/* YHPeopleMatchNoDataView.swift */
,
04FB01D12C23FCDD0040115D
/* YHMatchCardUsageGuideView.swift */
,
);
path
=
V
;
sourceTree
=
"<group>"
;
...
...
@@ -3166,6 +3169,7 @@
A5FD63C92B63A35B00D1D9DA
/* YHInformationFillTipsAlertView.swift in Sources */
,
04174D762BCD5B74000BA46D
/* YHMsgListModel.swift in Sources */
,
045EEEE32B9F171A0022A143
/* YHMySignatureListModel.swift in Sources */
,
04FB01D22C23FCDD0040115D
/* YHMatchCardUsageGuideView.swift in Sources */
,
049AC4C62BC3E55300F857F4
/* YHServiceSectionView.swift in Sources */
,
0408C3632BEC7C6900DB1E25
/* YHVideoPlayerControlView.swift in Sources */
,
A567E5B12BD7643D00D5D5A0
/* YHHomeCollectionViewCell.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHMatchPeopleViewController.swift
View file @
45eb488c
...
...
@@ -9,6 +9,7 @@
import
UIKit
import
DragCardContainer
class
YHMatchPeopleViewController
:
YHBaseViewController
{
var
matchCardsArr
:[
YHPeopleCardModel
]
=
[
YHPeopleCardModel
(),
YHPeopleCardModel
(),
YHPeopleCardModel
(),
YHPeopleCardModel
(),
YHPeopleCardModel
()]
...
...
@@ -32,7 +33,6 @@ class YHMatchPeopleViewController: YHBaseViewController {
bar
.
rightBtnClick
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
}
return
bar
}()
...
...
@@ -46,6 +46,12 @@ class YHMatchPeopleViewController: YHBaseViewController {
return
label
}()
lazy
var
guideView
:
YHMatchCardUsageGuideView
=
{
let
view
=
YHMatchCardUsageGuideView
.
createView
()
view
.
isHidden
=
true
return
view
}()
lazy
var
changeBtn
:
UIButton
=
{
let
btn
=
UIButton
()
btn
.
setImage
(
UIImage
(
named
:
"people_match_change"
),
for
:
.
normal
)
...
...
@@ -172,6 +178,7 @@ class YHMatchPeopleViewController: YHBaseViewController {
self
.
cardActionView
.
addSubview
(
cardContainer
)
self
.
view
.
addSubview
(
self
.
noDataView
)
self
.
view
.
addSubview
(
self
.
rematchBtn
)
self
.
view
.
addSubview
(
self
.
guideView
)
self
.
bgImgV
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
...
...
@@ -280,6 +287,7 @@ class YHMatchPeopleViewController: YHBaseViewController {
[
weak
self
]
finish
in
guard
let
self
=
self
else
{
return
}
self
.
cardContainer
.
isHidden
=
false
self
.
guideView
.
isHidden
=
false
view1
.
removeFromSuperview
()
view2
.
removeFromSuperview
()
view3
.
removeFromSuperview
()
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMatchCardUsageGuideView.swift
0 → 100644
View file @
45eb488c
//
// YHMatchCardUsageGuideView.swift
// galaxy
//
// Created by edy on 2024/6/20.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHMatchCardUsageGuideView
:
UIView
{
// 底层蒙版
lazy
var
blackMaskView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
alertMaskColor
return
view
}()
lazy
var
handImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
"people_card_guide_hand"
))
return
view
}()
lazy
var
leftGestureImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
"people_card_guide_gesture_left"
))
return
view
}()
lazy
var
rightGestureImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
"people_card_guide_gesture_right"
))
return
view
}()
lazy
var
knownBtn
:
UIButton
=
{
let
btn
=
UIButton
()
btn
.
setTitle
(
"我知道了"
,
for
:
.
normal
)
btn
.
backgroundColor
=
.
clear
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
14
)
btn
.
layer
.
cornerRadius
=
3
btn
.
layer
.
borderWidth
=
1.0
btn
.
layer
.
borderColor
=
UIColor
.
white
.
cgColor
btn
.
addTarget
(
self
,
action
:
#selector(
didKnownBtnClicked
)
,
for
:
.
touchUpInside
)
return
btn
}()
@objc
func
didKnownBtnClicked
()
{
self
.
removeFromSuperview
()
}
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
createUI
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
static
func
createView
()
->
YHMatchCardUsageGuideView
{
let
view
=
YHMatchCardUsageGuideView
(
frame
:
UIScreen
.
main
.
bounds
)
return
view
}
func
createUI
()
{
self
.
addSubview
(
self
.
blackMaskView
)
self
.
addSubview
(
self
.
handImgView
)
self
.
addSubview
(
self
.
leftGestureImgView
)
self
.
addSubview
(
self
.
rightGestureImgView
)
self
.
addSubview
(
self
.
knownBtn
)
self
.
blackMaskView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
}
self
.
handImgView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
equalTo
(
56
)
make
.
height
.
equalTo
(
87
)
make
.
centerX
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
}
self
.
leftGestureImgView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
equalTo
(
83
)
make
.
height
.
equalTo
(
42
)
make
.
right
.
equalTo
(
self
.
handImgView
.
snp
.
left
)
.
offset
(
-
16
)
make
.
top
.
equalTo
(
self
.
handImgView
.
snp
.
top
)
.
offset
(
-
16
)
}
self
.
rightGestureImgView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
equalTo
(
83
)
make
.
height
.
equalTo
(
42
)
make
.
left
.
equalTo
(
self
.
handImgView
.
snp
.
right
)
.
offset
(
16
)
make
.
top
.
equalTo
(
self
.
handImgView
.
snp
.
top
)
.
offset
(
-
16
)
}
self
.
knownBtn
.
snp
.
makeConstraints
{
make
in
make
.
width
.
equalTo
(
128
)
make
.
height
.
equalTo
(
45
)
make
.
centerX
.
equalToSuperview
()
make
.
top
.
equalTo
(
self
.
handImgView
.
snp
.
bottom
)
.
offset
(
40
)
}
}
}
galaxy/galaxy/Res/Assets.xcassets/People/people_card_guide_gesture_left.imageset/Contents.json
0 → 100644
View file @
45eb488c
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Polygon 11@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Polygon 11@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/People/people_card_guide_gesture_left.imageset/Polygon 11@2x.png
0 → 100644
View file @
45eb488c
3.19 KB
galaxy/galaxy/Res/Assets.xcassets/People/people_card_guide_gesture_left.imageset/Polygon 11@3x.png
0 → 100644
View file @
45eb488c
5.79 KB
galaxy/galaxy/Res/Assets.xcassets/People/people_card_guide_gesture_right.imageset/Contents.json
0 → 100644
View file @
45eb488c
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Polygon 10@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Polygon 10@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/People/people_card_guide_gesture_right.imageset/Polygon 10@2x.png
0 → 100644
View file @
45eb488c
3.04 KB
galaxy/galaxy/Res/Assets.xcassets/People/people_card_guide_gesture_right.imageset/Polygon 10@3x.png
0 → 100644
View file @
45eb488c
5.5 KB
galaxy/galaxy/Res/Assets.xcassets/People/people_card_guide_hand.imageset/Contents.json
0 → 100644
View file @
45eb488c
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Group 2033195122@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Group 2033195122@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/People/people_card_guide_hand.imageset/Group 2033195122@2x.png
0 → 100644
View file @
45eb488c
6.67 KB
galaxy/galaxy/Res/Assets.xcassets/People/people_card_guide_hand.imageset/Group 2033195122@3x.png
0 → 100644
View file @
45eb488c
13.5 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