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
2652db8d
Commit
2652db8d
authored
Jul 15, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节修改
parent
e2990099
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
13 deletions
+15
-13
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+1
-0
YHInformationAuthorizationStepOneViewController.swift
...)/C/YHInformationAuthorizationStepOneViewController.swift
+2
-0
YHImagePickerView.swift
...ainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
+4
-0
YHUserInfoSettingViewController.swift
...Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
+2
-0
YHMyLikeActivityViewController.swift
...s/Modules/Mine(我的)/C/YHMyLikeActivityViewController.swift
+3
-13
YHEditBaseUserInfoViewController.swift
...我的)/MyCard(我的名片)/C/YHEditBaseUserInfoViewController.swift
+3
-0
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
2652db8d
...
@@ -136,6 +136,7 @@ extension AppDelegate {
...
@@ -136,6 +136,7 @@ extension AppDelegate {
IQKeyboardManager
.
shared
.
enable
=
true
IQKeyboardManager
.
shared
.
enable
=
true
IQKeyboardManager
.
shared
.
enableAutoToolbar
=
false
IQKeyboardManager
.
shared
.
enableAutoToolbar
=
false
IQKeyboardManager
.
shared
.
resignOnTouchOutside
=
true
//控制点击背景是否收起键盘
IQKeyboardManager
.
shared
.
resignOnTouchOutside
=
true
//控制点击背景是否收起键盘
IQKeyboardManager
.
shared
.
keyboardDistanceFromTextField
=
10
// 输入框距离键盘的距离
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHInformationAuthorizationStepOneViewController.swift
View file @
2652db8d
...
@@ -82,6 +82,8 @@ class YHInformationAuthorizationStepOneViewController: YHBaseViewController {
...
@@ -82,6 +82,8 @@ class YHInformationAuthorizationStepOneViewController: YHBaseViewController {
imageView
.
isUserInteractionEnabled
=
true
imageView
.
isUserInteractionEnabled
=
true
imageView
.
layer
.
cornerRadius
=
46.5
imageView
.
layer
.
cornerRadius
=
46.5
imageView
.
layer
.
masksToBounds
=
true
imageView
.
layer
.
masksToBounds
=
true
imageView
.
layer
.
borderWidth
=
1
imageView
.
layer
.
borderColor
=
UIColor
(
hex
:
0xF4F6FA
)
.
cgColor
return
imageView
return
imageView
}()
}()
view
.
addSubview
(
photoImageView
)
view
.
addSubview
(
photoImageView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
View file @
2652db8d
...
@@ -33,6 +33,10 @@ class YHImagePickerView: UIView {
...
@@ -33,6 +33,10 @@ class YHImagePickerView: UIView {
let
view
=
YHImagePickerView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
let
view
=
YHImagePickerView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
view
.
backImage
=
callBack
view
.
backImage
=
callBack
view
.
titleLabel
.
text
=
title
view
.
titleLabel
.
text
=
title
if
title
!=
"请选择上传方式"
{
view
.
takePhotoBtton
.
setTitle
(
"拍照"
,
for
:
.
normal
)
view
.
selectPhotoButton
.
setTitle
(
"从相册中选择"
,
for
:
.
normal
)
}
let
window
=
UIApplication
.
shared
.
yhKeyWindow
()
let
window
=
UIApplication
.
shared
.
yhKeyWindow
()
window
?
.
addSubview
(
view
)
window
?
.
addSubview
(
view
)
}
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
View file @
2652db8d
...
@@ -59,6 +59,8 @@ class YHUserInfoSettingViewController: YHBaseViewController {
...
@@ -59,6 +59,8 @@ class YHUserInfoSettingViewController: YHBaseViewController {
imageView
.
isUserInteractionEnabled
=
true
imageView
.
isUserInteractionEnabled
=
true
imageView
.
layer
.
cornerRadius
=
46.5
imageView
.
layer
.
cornerRadius
=
46.5
imageView
.
layer
.
masksToBounds
=
true
imageView
.
layer
.
masksToBounds
=
true
imageView
.
layer
.
borderWidth
=
1
imageView
.
layer
.
borderColor
=
UIColor
(
hex
:
0xF4F6FA
)
.
cgColor
return
imageView
return
imageView
}()
}()
view
.
addSubview
(
photoImageView
)
view
.
addSubview
(
photoImageView
)
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyLikeActivityViewController.swift
View file @
2652db8d
...
@@ -20,7 +20,7 @@ class YHMyLikeActivityViewController: YHBaseViewController {
...
@@ -20,7 +20,7 @@ class YHMyLikeActivityViewController: YHBaseViewController {
var
arrItemTitles
:
[
String
]
=
[
"我的点赞"
,
"我的收藏"
,
"最近浏览"
]
var
arrItemTitles
:
[
String
]
=
[
"我的点赞"
,
"我的收藏"
,
"最近浏览"
]
var
arrItemVCs
:
[
YHMyLikeViewController
]
=
[]
var
arrItemVCs
:
[
YHMyLikeViewController
]
=
[]
var
segmentedView
:
JXSegmentedView
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
KScreenWidth
,
height
:
55
))
var
segmentedView
:
JXSegmentedView
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
KScreenWidth
,
height
:
48
))
lazy
var
segmentedDataSource
:
JXSegmentedTitleDataSource
=
{
lazy
var
segmentedDataSource
:
JXSegmentedTitleDataSource
=
{
let
dataSource
=
JXSegmentedTitleDataSource
()
let
dataSource
=
JXSegmentedTitleDataSource
()
dataSource
.
titles
=
arrItemTitles
dataSource
.
titles
=
arrItemTitles
...
@@ -88,16 +88,6 @@ class YHMyLikeActivityViewController: YHBaseViewController {
...
@@ -88,16 +88,6 @@ class YHMyLikeActivityViewController: YHBaseViewController {
gk_navBarAlpha
=
1.0
gk_navBarAlpha
=
1.0
}
}
func
updateViews
()
{
if
arrItemTitles
.
count
!=
1
{
segmentedView
.
frame
=
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
view
.
bounds
.
size
.
width
,
height
:
55
)
listContainerView
.
frame
=
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
+
55
,
width
:
view
.
bounds
.
size
.
width
,
height
:
view
.
bounds
.
size
.
height
-
55
-
k_Height_NavigationtBarAndStatuBar
)
}
else
{
segmentedView
.
frame
=
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
view
.
bounds
.
size
.
width
,
height
:
0
)
listContainerView
.
frame
=
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
view
.
bounds
.
size
.
width
,
height
:
view
.
bounds
.
size
.
height
-
k_Height_NavigationtBarAndStatuBar
)
}
}
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
super
.
viewWillAppear
(
animated
)
...
@@ -114,8 +104,8 @@ class YHMyLikeActivityViewController: YHBaseViewController {
...
@@ -114,8 +104,8 @@ class YHMyLikeActivityViewController: YHBaseViewController {
override
func
viewDidLayoutSubviews
()
{
override
func
viewDidLayoutSubviews
()
{
super
.
viewDidLayoutSubviews
()
super
.
viewDidLayoutSubviews
()
segmentedView
.
frame
=
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
view
.
bounds
.
size
.
width
,
height
:
55
)
segmentedView
.
frame
=
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
view
.
bounds
.
size
.
width
,
height
:
48
)
listContainerView
.
frame
=
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
+
55
,
width
:
view
.
bounds
.
size
.
width
,
height
:
view
.
bounds
.
size
.
height
-
55
-
k_Height_NavigationtBarAndStatuBar
)
listContainerView
.
frame
=
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
+
48
,
width
:
view
.
bounds
.
size
.
width
,
height
:
view
.
bounds
.
size
.
height
-
48
-
k_Height_NavigationtBarAndStatuBar
)
segmentedView
.
backgroundColor
=
.
white
segmentedView
.
backgroundColor
=
.
white
}
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/MyCard(我的名片)/C/YHEditBaseUserInfoViewController.swift
View file @
2652db8d
...
@@ -52,6 +52,8 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
...
@@ -52,6 +52,8 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
imageView
.
isUserInteractionEnabled
=
true
imageView
.
isUserInteractionEnabled
=
true
imageView
.
layer
.
cornerRadius
=
46.5
imageView
.
layer
.
cornerRadius
=
46.5
imageView
.
layer
.
masksToBounds
=
true
imageView
.
layer
.
masksToBounds
=
true
imageView
.
layer
.
borderWidth
=
1
imageView
.
layer
.
borderColor
=
UIColor
(
hex
:
0xF4F6FA
)
.
cgColor
return
imageView
return
imageView
}()
}()
view
.
addSubview
(
photoImageView
)
view
.
addSubview
(
photoImageView
)
...
@@ -112,6 +114,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
...
@@ -112,6 +114,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
view
.
messageBlock
=
{[
weak
self
]
message
in
view
.
messageBlock
=
{[
weak
self
]
message
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
viewModel
.
didChange
=
true
self
.
viewModel
.
didChange
=
true
self
.
viewModel
.
model
.
signature
=
message
}
}
return
view
return
view
}()
}()
...
...
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