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
5a542dac
Commit
5a542dac
authored
Aug 01, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请有礼
parent
32791faa
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
25 additions
and
23 deletions
+25
-23
YHInvitationWithGiftsViewController.swift
...thGifts(邀请有礼)/C/YHInvitationWithGiftsViewController.swift
+1
-1
YHInvitationWithGiftsDetailView.swift
...onWithGifts(邀请有礼)/V/YHInvitationWithGiftsDetailView.swift
+17
-14
YHInvitationWithGiftsFirstTableViewCell.swift
...fts(邀请有礼)/V/YHInvitationWithGiftsFirstTableViewCell.swift
+3
-3
YHInvitationWithGiftsHeadView.swift
...tionWithGifts(邀请有礼)/V/YHInvitationWithGiftsHeadView.swift
+1
-1
YHInvitationWithGiftsSecondTableViewCell.swift
...ts(邀请有礼)/V/YHInvitationWithGiftsSecondTableViewCell.swift
+1
-1
YHWorkExperienceViewController.swift
...rkExperience(工作经验)/C/YHWorkExperienceViewController.swift
+0
-1
Contents.json
...onr/invitation_with_gifts_share_bg.imageset/Contents.json
+2
-2
Group 2033195291@2x.png
...tion_with_gifts_share_bg.imageset/Group 2033195291@2x.png
+0
-0
Group 2033195291@3x.png
...tion_with_gifts_share_bg.imageset/Group 2033195291@3x.png
+0
-0
invitation_with_gifts_share_bg@2x.png
...s_share_bg.imageset/invitation_with_gifts_share_bg@2x.png
+0
-0
invitation_with_gifts_share_bg@3x.png
...s_share_bg.imageset/invitation_with_gifts_share_bg@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/C/YHInvitationWithGiftsViewController.swift
View file @
5a542dac
...
...
@@ -80,7 +80,7 @@ extension YHInvitationWithGiftsViewController: UITableViewDelegate, UITableViewD
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
indexPath
.
row
==
0
{
return
KScreenWidth
/
1.82
return
KScreenWidth
*
0.55
+
16.0
}
else
if
indexPath
.
row
==
1
{
if
self
.
viewModel
.
recordModel
.
list
.
count
==
0
{
return
345
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/V/YHInvitationWithGiftsDetailView.swift
View file @
5a542dac
...
...
@@ -20,7 +20,7 @@ class YHInvitationWithGiftsDetailView: UIView {
var
closeButton
:
UIButton
!
var
messageLabel
:
UILabel
!
var
messageImage
:
UIImageView
!
var
bgView
:
UIView
!
var
bgView
:
UI
Image
View
!
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
...
...
@@ -73,15 +73,16 @@ class YHInvitationWithGiftsDetailView: UIView {
}
bgView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
(
hex
:
0xf3f8ff
)
return
view
let
imageView
=
UIImageView
()
imageView
.
image
=
UIImage
(
named
:
"invitation_with_gifts_detail_bg"
)
imageView
.
isUserInteractionEnabled
=
true
return
imageView
}()
topView
.
addSubview
(
bgView
)
top
Content
View
.
addSubview
(
bgView
)
bgView
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
-
12
)
make
.
top
.
left
.
equalTo
(
12
)
make
.
height
.
equalTo
(
29
)
make
.
right
.
bottom
.
equalTo
(
-
12
)
make
.
left
.
equalTo
(
12
)
make
.
top
.
equalTo
(
12
)
}
topImageView
=
{
...
...
@@ -99,7 +100,7 @@ class YHInvitationWithGiftsDetailView: UIView {
scrollView
=
{
let
view
=
UIScrollView
()
view
.
bounds
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
287
,
height
:
12
52
)
view
.
bounds
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
287
,
height
:
12
23
)
// 去除弹簧效果
view
.
bounces
=
false
...
...
@@ -112,12 +113,14 @@ class YHInvitationWithGiftsDetailView: UIView {
topContentView
.
addSubview
(
scrollView
)
scrollView
.
snp
.
makeConstraints
{
make
in
make
.
right
.
bottom
.
equalTo
(
-
12
)
make
.
top
.
left
.
equalTo
(
12
)
make
.
left
.
equalTo
(
12
)
make
.
top
.
equalTo
(
41
)
}
bgImageView
=
{
let
imageView
=
UIImageView
()
imageView
.
image
=
UIImage
(
named
:
"invitation_with_gifts_detail_bg"
)
imageView
.
isHidden
=
true
return
imageView
}()
scrollView
.
addSubview
(
bgImageView
)
...
...
@@ -137,7 +140,7 @@ class YHInvitationWithGiftsDetailView: UIView {
make
.
left
.
equalTo
(
14
)
make
.
right
.
equalTo
(
-
14
)
make
.
height
.
equalTo
(
21
)
make
.
top
.
equalTo
(
38
)
make
.
top
.
equalTo
(
9
)
}
titleImage
=
{
...
...
@@ -150,7 +153,7 @@ class YHInvitationWithGiftsDetailView: UIView {
make
.
width
.
equalTo
(
259
)
make
.
centerX
.
equalToSuperview
()
make
.
height
.
equalTo
(
681
)
make
.
top
.
equalTo
(
71
)
make
.
top
.
equalTo
(
42
)
}
messageLabel
=
{
...
...
@@ -165,7 +168,7 @@ class YHInvitationWithGiftsDetailView: UIView {
make
.
left
.
equalTo
(
14
)
make
.
right
.
equalTo
(
-
14
)
make
.
height
.
equalTo
(
21
)
make
.
top
.
equalTo
(
7
82
)
make
.
top
.
equalTo
(
7
53
)
}
messageImage
=
{
...
...
@@ -178,7 +181,7 @@ class YHInvitationWithGiftsDetailView: UIView {
make
.
width
.
equalTo
(
259
)
make
.
centerX
.
equalToSuperview
()
make
.
height
.
equalTo
(
426
)
make
.
top
.
equalTo
(
814
)
make
.
top
.
equalTo
(
785
)
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/V/YHInvitationWithGiftsFirstTableViewCell.swift
View file @
5a542dac
...
...
@@ -33,7 +33,7 @@ class YHInvitationWithGiftsFirstTableViewCell: UITableViewCell {
}
func
setupUI
()
{
self
.
backgroundColor
=
UIColor
(
hex
:
0xe
deded
)
self
.
backgroundColor
=
UIColor
(
hex
:
0xe
bf4fe
)
centerImageView
=
{
let
imageView
=
UIImageView
()
imageView
.
image
=
UIImage
(
named
:
"invitation_with_gifts_first"
)
...
...
@@ -41,10 +41,10 @@ class YHInvitationWithGiftsFirstTableViewCell: UITableViewCell {
}()
contentView
.
addSubview
(
centerImageView
)
centerImageView
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
(
)
make
.
bottom
.
equalTo
(
-
8
)
make
.
left
.
equalTo
(
12
)
make
.
right
.
equalTo
(
-
12
)
make
.
height
.
equalTo
(
193
)
make
.
top
.
equalTo
(
8
)
}
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/V/YHInvitationWithGiftsHeadView.swift
View file @
5a542dac
...
...
@@ -66,7 +66,7 @@ class YHInvitationWithGiftsHeadView: UIView {
}
func
setUpView
()
{
self
.
backgroundColor
=
UIColor
(
hex
:
0xe
deded
)
self
.
backgroundColor
=
UIColor
(
hex
:
0xe
bf4fe
)
let
height
=
KScreenWidth
/
0.735
centerImageView
=
{
let
view
=
UIImageView
()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/V/YHInvitationWithGiftsSecondTableViewCell.swift
View file @
5a542dac
...
...
@@ -91,7 +91,7 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
}
func
setupUI
()
{
self
.
backgroundColor
=
UIColor
(
hex
:
0xe
deded
)
self
.
backgroundColor
=
UIColor
(
hex
:
0xe
bf4fe
)
centerView
=
{
let
view
=
UIView
()
view
.
layer
.
cornerRadius
=
kCornerRadius3
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHWorkExperienceViewController.swift
View file @
5a542dac
...
...
@@ -622,7 +622,6 @@ extension YHWorkExperienceViewController: UITableViewDelegate, UITableViewDataSo
}
}
}
}
if
editType
==
.
delete
{
self
.
showDeleteAlert
(
model
)
...
...
galaxy/galaxy/Res/Assets.xcassets/Home/Invitationr/invitation_with_gifts_share_bg.imageset/Contents.json
View file @
5a542dac
...
...
@@ -5,12 +5,12 @@
"scale"
:
"1x"
},
{
"filename"
:
"
invitation_with_gifts_share_bg
@2x.png"
,
"filename"
:
"
Group 2033195291
@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"
invitation_with_gifts_share_bg
@3x.png"
,
"filename"
:
"
Group 2033195291
@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
...
...
galaxy/galaxy/Res/Assets.xcassets/Home/Invitationr/invitation_with_gifts_share_bg.imageset/Group 2033195291@2x.png
0 → 100644
View file @
5a542dac
63.2 KB
galaxy/galaxy/Res/Assets.xcassets/Home/Invitationr/invitation_with_gifts_share_bg.imageset/Group 2033195291@3x.png
0 → 100644
View file @
5a542dac
111 KB
galaxy/galaxy/Res/Assets.xcassets/Home/Invitationr/invitation_with_gifts_share_bg.imageset/invitation_with_gifts_share_bg@2x.png
deleted
100644 → 0
View file @
32791faa
223 KB
galaxy/galaxy/Res/Assets.xcassets/Home/Invitationr/invitation_with_gifts_share_bg.imageset/invitation_with_gifts_share_bg@3x.png
deleted
100644 → 0
View file @
32791faa
420 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