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
70882d5d
Commit
70882d5d
authored
Jul 02, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '630-dev' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into 630-dev
parents
db2f3a41
6d3dc5f5
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
96 additions
and
26 deletions
+96
-26
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+3
-3
YHActivityTravelCell.swift
...s/Community(社区)/Activity(活动)/V/YHActivityTravelCell.swift
+1
-1
YHActivityTravelitemView.swift
...mmunity(社区)/Activity(活动)/V/YHActivityTravelitemView.swift
+53
-0
YHActivityTwoItemView.swift
.../Community(社区)/Activity(活动)/V/YHActivityTwoItemView.swift
+2
-3
YHApplyActivityAlert.swift
...s/Community(社区)/Activity(活动)/V/YHApplyActivityAlert.swift
+4
-4
YHCommunityViewController.swift
...s/Modules/Community(社区)/C/YHCommunityViewController.swift
+2
-2
YHMatchResultListViewController.swift
...les/Community(社区)/C/YHMatchResultListViewController.swift
+1
-1
YHNameCardInfoView.swift
.../Classes/Modules/Community(社区)/V/YHNameCardInfoView.swift
+2
-2
YHAiRadarAreaView.swift
...galaxy/Classes/Modules/Home(首页)/V/YHAiRadarAreaView.swift
+3
-2
YHHomeSalonAreaView.swift
...laxy/Classes/Modules/Home(首页)/V/YHHomeSalonAreaView.swift
+1
-1
YHOrderTipsItemView.swift
...laxy/Classes/Modules/Home(首页)/V/YHOrderTipsItemView.swift
+5
-1
YHOrderTipsView.swift
...y/galaxy/Classes/Modules/Home(首页)/V/YHOrderTipsView.swift
+2
-2
UILable+Extension.swift
...xy/galaxy/Classes/Tools/Extention/UILable+Extension.swift
+13
-0
Contents.json
...ssets.xcassets/Home/home_radar_bkg.imageset/Contents.json
+2
-2
Group 2033194990@2x.png
...sets/Home/home_radar_bkg.imageset/Group 2033194990@2x.png
+0
-0
Group 2033194990@3x.png
...sets/Home/home_radar_bkg.imageset/Group 2033194990@3x.png
+0
-0
渐变背景色@2x.png
...Assets.xcassets/Home/home_radar_bkg.imageset/渐变背景色@2x.png
+0
-0
渐变背景色@3x.png
...Assets.xcassets/Home/home_radar_bkg.imageset/渐变背景色@3x.png
+0
-0
Contents.json
...s.xcassets/Mine/mine_item_activity.imageset/Contents.json
+2
-2
Frame@2x.png
...ts.xcassets/Mine/mine_item_activity.imageset/Frame@2x.png
+0
-0
Frame@3x.png
...ts.xcassets/Mine/mine_item_activity.imageset/Frame@3x.png
+0
-0
wode_activity 1.png
...sets/Mine/mine_item_activity.imageset/wode_activity 1.png
+0
-0
wode_activity.png
...assets/Mine/mine_item_activity.imageset/wode_activity.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
70882d5d
...
...
@@ -3740,7 +3740,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyTestEnv.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
7
;
CURRENT_PROJECT_VERSION
=
8
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -3944,7 +3944,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyDebug.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
7
;
CURRENT_PROJECT_VERSION
=
8
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -3990,7 +3990,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
7
;
CURRENT_PROJECT_VERSION
=
8
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/V/YHActivityTravelCell.swift
View file @
70882d5d
...
...
@@ -95,7 +95,7 @@ extension YHActivityTravelCell {
cancelButton
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
highlighted
)
cancelButton
.
backgroundColor
=
.
white
cancelButton
.
backgroundColor
=
.
clear
cancelButton
.
layer
.
borderWidth
=
1
cancelButton
.
layer
.
borderColor
=
UIColor
.
mainTextColor50
.
cgColor
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/V/YHActivityTravelitemView.swift
View file @
70882d5d
...
...
@@ -114,6 +114,59 @@ extension YHActivityTravelitemView {
timeLable
.
text
=
model
.
getDateString
(
format
:
"yyyy-MM-dd"
)
addressLable
.
text
=
model
.
place
navAddressLable
.
text
=
model
.
guidance
let
hhhh
=
nameLabel
.
requiredHeight
timeStaticLable
.
snp
.
removeConstraints
()
if
hhhh
>
72
{
timeStaticLable
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
nameLabel
.
snp
.
left
)
make
.
top
.
equalTo
(
nameLabel
.
snp
.
bottom
)
.
offset
(
24
)
make
.
height
.
equalTo
(
20
)
make
.
width
.
equalTo
(
28
)
}
}
else
{
timeStaticLable
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
nameLabel
.
snp
.
left
)
make
.
top
.
equalTo
(
activityImgV
.
snp
.
bottom
)
.
offset
(
24
)
make
.
height
.
equalTo
(
20
)
make
.
width
.
equalTo
(
28
)
}
}
timeLable
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
timeStaticLable
.
snp
.
right
)
.
offset
(
16
)
make
.
top
.
equalTo
(
timeStaticLable
.
snp
.
top
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
20
)
}
addressStaticLable
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
timeStaticLable
.
snp
.
left
)
make
.
top
.
equalTo
(
timeLable
.
snp
.
bottom
)
.
offset
(
13
)
make
.
height
.
equalTo
(
timeStaticLable
.
snp
.
height
)
make
.
width
.
equalTo
(
timeStaticLable
.
snp
.
width
)
}
addressLable
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
timeLable
.
snp
.
left
)
make
.
top
.
equalTo
(
addressStaticLable
.
snp
.
top
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
20
)
}
navAddressLable
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
addressLable
.
snp
.
left
)
make
.
top
.
equalTo
(
addressLable
.
snp
.
bottom
)
.
offset
(
8
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
20
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
20
)
}
}
func
setupUI
()
{
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/V/YHActivityTwoItemView.swift
View file @
70882d5d
...
...
@@ -25,7 +25,7 @@ class YHActivityTwoItemView: UIView {
label
.
textColor
=
UIColor
.
mainTextColor50
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
text
=
"
您的姓名
"
label
.
text
=
""
// label.numberOfLines = 0
return
label
}()
...
...
@@ -36,7 +36,7 @@ class YHActivityTwoItemView: UIView {
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
right
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
text
=
"
侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊侯林俊
"
label
.
text
=
""
label
.
numberOfLines
=
0
return
label
}()
...
...
@@ -65,7 +65,6 @@ extension YHActivityTwoItemView {
make
.
left
.
equalTo
(
titleLable
.
snp
.
right
)
.
offset
(
20
)
make
.
right
.
equalToSuperview
()
make
.
bottom
.
equalToSuperview
()
}
}
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/V/YHApplyActivityAlert.swift
View file @
70882d5d
...
...
@@ -31,8 +31,8 @@ class YHApplyActivityAlert: UIView {
lazy
var
nameTextField
:
UITextField
=
{
let
textField
=
UITextField
()
textField
.
backgroundColor
=
.
clear
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"请输入您的姓名"
.
local
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
yhGreyColor
])
textField
.
font
=
UIFont
.
PFSC_
M
(
ofSize
:
14
)
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"请输入您的姓名"
.
local
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
mainTextColor30
])
textField
.
font
=
UIFont
.
PFSC_
R
(
ofSize
:
14
)
textField
.
tintColor
=
UIColor
.
brandMainColor
textField
.
textColor
=
UIColor
.
mainTextColor
textField
.
clearButtonMode
=
.
whileEditing
...
...
@@ -93,8 +93,8 @@ class YHApplyActivityAlert: UIView {
lazy
var
phoneTextField
:
UITextField
=
{
let
textField
=
UITextField
()
textField
.
backgroundColor
=
.
clear
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"请输入"
.
local
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
yhGreyColor
])
textField
.
font
=
UIFont
.
PFSC_
M
(
ofSize
:
14
)
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"请输入"
.
local
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
mainTextColor30
])
textField
.
font
=
UIFont
.
PFSC_
R
(
ofSize
:
14
)
textField
.
tintColor
=
UIColor
.
brandMainColor
textField
.
textColor
=
UIColor
.
mainTextColor
textField
.
clearButtonMode
=
.
whileEditing
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHCommunityViewController.swift
View file @
70882d5d
...
...
@@ -28,7 +28,7 @@ class YHCommunityViewController: YHBaseViewController {
dataSource
.
titles
=
arrItemTitles
dataSource
.
titleNormalFont
=
UIFont
.
PFSC_M
(
ofSize
:
15
)
dataSource
.
titleNormalColor
=
UIColor
(
hex
:
0xFFFFFF
,
alpha
:
0.6
)
dataSource
.
titleNormalColor
=
UIColor
.
yhGreyColor
dataSource
.
titleSelectedFont
=
UIFont
.
PFSC_M
(
ofSize
:
21
)
dataSource
.
titleSelectedColor
=
.
white
...
...
@@ -240,7 +240,7 @@ extension YHCommunityViewController: JXSegmentedViewDelegate {
}
else
{
bgImgV
.
isHidden
=
true
friendsBtn
.
isHidden
=
true
segmentedDataSource
.
titleNormalColor
=
UIColor
(
hex
:
0x94a3b8
)
segmentedDataSource
.
titleNormalColor
=
UIColor
.
yhGreyColor
segmentedDataSource
.
titleSelectedColor
=
UIColor
.
mainTextColor
let
indicator
=
JXSegmentedIndicatorLineView
()
indicator
.
indicatorWidth
=
16
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHMatchResultListViewController.swift
View file @
70882d5d
...
...
@@ -405,7 +405,7 @@ extension YHMatchResultListViewController: DragCardDataSource {
if
success
{
YHHUD
.
flash
(
message
:
"已发送申请,继续查看更多人脉吧~"
)
cardView
.
bottomBtn
.
setTitle
(
"已发送好友申请"
,
for
:
.
normal
)
cardView
.
bottomBtn
.
backgroundColor
=
.
brandMainColor30
cardView
.
bottomBtn
.
alpha
=
0.3
cardView
.
bottomBtn
.
isUserInteractionEnabled
=
false
userModel
.
isSendRequest
=
true
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHNameCardInfoView.swift
View file @
70882d5d
...
...
@@ -62,11 +62,11 @@ class YHNameCardInfoView: DragCardView {
if
self
.
userModel
.
isSendRequest
{
self
.
bottomBtn
.
setTitle
(
"已发送好友申请"
,
for
:
.
normal
)
self
.
bottomBtn
.
backgroundColor
=
.
brandMainColor30
self
.
bottomBtn
.
alpha
=
0.3
self
.
bottomBtn
.
isUserInteractionEnabled
=
false
}
else
{
self
.
bottomBtn
.
setTitle
(
"交换名片"
,
for
:
.
normal
)
self
.
bottomBtn
.
backgroundColor
=
.
brandMainColor
self
.
bottomBtn
.
alpha
=
1.0
self
.
bottomBtn
.
isUserInteractionEnabled
=
true
}
self
.
setNeedsLayout
()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHAiRadarAreaView.swift
View file @
70882d5d
...
...
@@ -29,6 +29,7 @@ class YHAiRadarAreaView: UIView {
let
imgV
:
UIImageView
=
UIImageView
()
imgV
.
contentMode
=
.
scaleAspectFill
imgV
.
image
=
UIImage
(
named
:
"home_radar_bkg"
)
imgV
.
clipsToBounds
=
true
return
imgV
}()
...
...
@@ -36,8 +37,8 @@ class YHAiRadarAreaView: UIView {
lazy
var
lable1
:
UILabel
=
{
let
lable
:
UILabel
=
UILabel
()
lable
.
text
=
"AI人脉雷达"
lable
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
1
6
)
lable
.
textColor
=
UIColor
.
brandMain
Color
lable
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
1
7
)
lable
.
textColor
=
UIColor
.
mainText
Color
return
lable
}()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeSalonAreaView.swift
View file @
70882d5d
...
...
@@ -57,7 +57,7 @@ class YHHomeSalonAreaView: UIView {
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
lable
.
textColor
=
UIColor
.
mainTextColor
lable
.
textAlignment
=
.
center
lable
.
layer
.
borderColor
=
UIColor
.
mainTextColor
30
.
cgColor
lable
.
layer
.
borderColor
=
UIColor
.
mainTextColor
18
.
cgColor
lable
.
layer
.
borderWidth
=
1
return
lable
}()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHOrderTipsItemView.swift
View file @
70882d5d
...
...
@@ -165,7 +165,11 @@ extension YHOrderTipsItemView {
let
tap
=
UITapGestureRecognizer
(
target
:
self
,
action
:
#selector(
tapButton(gestureRecognizer:)
)
)
self
.
addGestureRecognizer
(
tap
)
backgroundColor
=
UIColor
.
white
backgroundColor
=
UIColor
(
hex
:
0xffffff
,
alpha
:
0.65
)
layer
.
borderWidth
=
0.5
layer
.
borderColor
=
UIColor
.
white
.
cgColor
addSubview
(
lableMyOrder
)
lableMyOrder
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHOrderTipsView.swift
View file @
70882d5d
...
...
@@ -92,13 +92,13 @@ class YHOrderTipsView: UIView {
firstItem
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
lableName
.
snp
.
bottom
)
.
offset
(
20
)
make
.
left
.
equalTo
(
kMargin
)
make
.
right
.
equalTo
(
-
kMargin
)
make
.
right
.
equalTo
(
-
20
)
make
.
height
.
equalTo
(
YHOrderTipsItemView
.
viewH
)
}
secondItem
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
firstItem
.
snp
.
bottom
)
.
offset
(
12
)
make
.
left
.
equalTo
(
kMargin
)
make
.
right
.
equalTo
(
-
kMargin
)
make
.
right
.
equalTo
(
-
20
)
make
.
height
.
equalTo
(
YHOrderTipsItemView
.
viewH
)
}
}
else
if
arr
.
count
==
1
{
...
...
galaxy/galaxy/Classes/Tools/Extention/UILable+Extension.swift
View file @
70882d5d
...
...
@@ -50,4 +50,17 @@ extension UILabel {
label
.
sizeToFit
()
return
label
.
frame
.
width
}
var
requiredHeight
:
CGFloat
{
let
label
=
UILabel
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
frame
.
width
,
height
:
CGFloat
.
greatestFiniteMagnitude
))
label
.
numberOfLines
=
0
label
.
lineBreakMode
=
NSLineBreakMode
.
byWordWrapping
label
.
font
=
font
label
.
text
=
text
label
.
attributedText
=
attributedText
label
.
sizeToFit
()
return
label
.
frame
.
height
}
}
galaxy/galaxy/Res/Assets.xcassets/Home/home_radar_bkg.imageset/Contents.json
View file @
70882d5d
...
...
@@ -5,12 +5,12 @@
"scale"
:
"1x"
},
{
"filename"
:
"
渐变背景色
@2x.png"
,
"filename"
:
"
Group 2033194990
@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"
渐变背景色
@3x.png"
,
"filename"
:
"
Group 2033194990
@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
...
...
galaxy/galaxy/Res/Assets.xcassets/Home/home_radar_bkg.imageset/Group 2033194990@2x.png
0 → 100644
View file @
70882d5d
28.1 KB
galaxy/galaxy/Res/Assets.xcassets/Home/home_radar_bkg.imageset/Group 2033194990@3x.png
0 → 100644
View file @
70882d5d
55.1 KB
galaxy/galaxy/Res/Assets.xcassets/Home/home_radar_bkg.imageset/渐变背景色@2x.png
deleted
100644 → 0
View file @
db2f3a41
982 Bytes
galaxy/galaxy/Res/Assets.xcassets/Home/home_radar_bkg.imageset/渐变背景色@3x.png
deleted
100644 → 0
View file @
db2f3a41
1.72 KB
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_activity.imageset/Contents.json
View file @
70882d5d
...
...
@@ -5,12 +5,12 @@
"scale"
:
"1x"
},
{
"filename"
:
"
wode_activity
.png"
,
"filename"
:
"
Frame@2x
.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"
wode_activity 1
.png"
,
"filename"
:
"
Frame@3x
.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
...
...
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_activity.imageset/Frame@2x.png
0 → 100644
View file @
70882d5d
595 Bytes
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_activity.imageset/Frame@3x.png
0 → 100644
View file @
70882d5d
631 Bytes
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_activity.imageset/wode_activity 1.png
deleted
100644 → 0
View file @
db2f3a41
298 Bytes
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_activity.imageset/wode_activity.png
deleted
100644 → 0
View file @
db2f3a41
298 Bytes
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