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
0b64d6d5
Commit
0b64d6d5
authored
Jan 29, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 预览相关的界面
parent
19196252
Changes
18
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
71 additions
and
12 deletions
+71
-12
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+3
-0
YHServiceCenterMainViewController.swift
...ntService(服务中心)/C/YHServiceCenterMainViewController.swift
+3
-1
YHPersonInfoControllerHoldViewController.swift
...心)/C/个人信息表/YHPersonInfoControllerHoldViewController.swift
+12
-10
YHPersonInformMainViewController.swift
...vice(服务中心)/C/个人信息表/YHPersonInformMainViewController.swift
+0
-0
YHScorePersonInfoCell.swift
...telligentService(服务中心)/V/我的评分/YHScorePersonInfoCell.swift
+1
-1
Contents.json
...xy/Res/Assets.xcassets/ServiceCenter/我的信息预览/Contents.json
+6
-0
Contents.json
...Center/我的信息预览/person_info_head_bkg.imageset/Contents.json
+23
-0
Rectangle 2418.png
...r/我的信息预览/person_info_head_bkg.imageset/Rectangle 2418.png
+0
-0
Rectangle 2418@2x.png
...的信息预览/person_info_head_bkg.imageset/Rectangle 2418@2x.png
+0
-0
Rectangle 2418@3x.png
...的信息预览/person_info_head_bkg.imageset/Rectangle 2418@3x.png
+0
-0
Contents.json
...enter/我的信息预览/person_info_head_icon.imageset/Contents.json
+23
-0
截屏2023-04-10 上午9.43.png
...预览/person_info_head_icon.imageset/截屏2023-04-10 上午9.43.png
+0
-0
截屏2023-04-10 上午9.43@2x.png
...person_info_head_icon.imageset/截屏2023-04-10 上午9.43@2x.png
+0
-0
截屏2023-04-10 上午9.43@3x.png
...person_info_head_icon.imageset/截屏2023-04-10 上午9.43@3x.png
+0
-0
Contents.json
.../ServiceCenter/我的评分/score_icon_bkg.imageset/Contents.json
+0
-0
我的评分-卡片背景图.png
...ServiceCenter/我的评分/score_icon_bkg.imageset/我的评分-卡片背景图.png
+0
-0
我的评分-卡片背景图@2x.png
...viceCenter/我的评分/score_icon_bkg.imageset/我的评分-卡片背景图@2x.png
+0
-0
我的评分-卡片背景图@3x.png
...viceCenter/我的评分/score_icon_bkg.imageset/我的评分-卡片背景图@3x.png
+0
-0
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
0b64d6d5
...
@@ -139,6 +139,9 @@ extension AppDelegate {
...
@@ -139,6 +139,9 @@ extension AppDelegate {
private
func
setupRootVC
()
{
private
func
setupRootVC
()
{
let
tabBarController
=
YHTabBarViewController
()
let
tabBarController
=
YHTabBarViewController
()
let
v0
=
YHNavigationController
(
rootVC
:
YHHomeViewController
())
let
v0
=
YHNavigationController
(
rootVC
:
YHHomeViewController
())
// let v0 = YHNavigationController(rootVC:YHPersonInformMainViewController())//for test hjl
let
v1
=
YHNavigationController
(
rootVC
:
YHServiceCenterMainViewController
())
let
v1
=
YHNavigationController
(
rootVC
:
YHServiceCenterMainViewController
())
let
v2
=
YHNavigationController
(
rootVC
:
YHMyViewController
())
let
v2
=
YHNavigationController
(
rootVC
:
YHMyViewController
())
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceCenterMainViewController.swift
View file @
0b64d6d5
...
@@ -141,7 +141,9 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat
...
@@ -141,7 +141,9 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
tableView
.
deselectRow
(
at
:
indexPath
,
animated
:
true
)
tableView
.
deselectRow
(
at
:
indexPath
,
animated
:
true
)
printLog
(
"点击了 tableView Cell
\(
indexPath
.
row
)
"
)
printLog
(
"点击了 tableView Cell
\(
indexPath
.
row
)
"
)
let
vc
=
YHServiceCenterSecondViewController
()
// let vc = YHServiceCenterSecondViewController()
let
vc
=
YHPersonInformMainViewController
()
//for test hjl
self
.
navigationController
?
.
pushViewController
(
vc
)
self
.
navigationController
?
.
pushViewController
(
vc
)
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/个人信息表/YHPersonInfoControllerHoldViewController.swift
View file @
0b64d6d5
...
@@ -23,21 +23,21 @@ class YHPersonInfoControllerHoldViewController: UIViewController {
...
@@ -23,21 +23,21 @@ class YHPersonInfoControllerHoldViewController: UIViewController {
let
arrItemTitles
=
[
"主申请人信息"
,
"家庭成员信息"
,
"基本资料"
,
"学历/专业资格"
,
"工作经验"
,
"其他信息"
]
let
arrItemTitles
=
[
"主申请人信息"
,
"家庭成员信息"
,
"基本资料"
,
"学历/专业资格"
,
"工作经验"
,
"其他信息"
]
var
arrItemVCs
:
[
YHDavidTestViewController
]
=
[]
var
arrItemVCs
:
[
YHDavidTestViewController
]
=
[]
var
segmentedView
:
JXSegmentedView
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
40
))
var
segmentedView
:
JXSegmentedView
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
58
))
lazy
var
segmentedDataSource
:
JXSegmentedBaseDataSource
=
{
lazy
var
segmentedDataSource
:
JXSegmentedBaseDataSource
=
{
let
dataSource
=
JXSegmentedTitleDataSource
()
let
dataSource
=
JXSegmentedTitleDataSource
()
dataSource
.
isTitleColorGradientEnabled
=
true
//
dataSource.isTitleColorGradientEnabled = true
dataSource
.
titles
=
arrItemTitles
dataSource
.
titles
=
arrItemTitles
dataSource
.
titleNormalFont
=
UIFont
.
PingFangSc
M
(
ofSize
:
16
)
dataSource
.
titleNormalFont
=
UIFont
.
PingFangSc
R
(
ofSize
:
16
)
dataSource
.
title
NormalColor
=
.
commonColor25
dataSource
.
title
SelectedColor
=
UIColor
(
hex
:
0x888F98
)
dataSource
.
titleSelectedFont
=
UIFont
.
PingFangScM
(
ofSize
:
18
)
dataSource
.
titleSelectedFont
=
UIFont
.
PingFangScM
(
ofSize
:
18
)
dataSource
.
titleSelectedColor
=
.
commonColor100
dataSource
.
titleSelectedColor
=
UIColor
(
hex
:
0x4388FF
)
dataSource
.
isItemSpacingAverageEnabled
=
false
dataSource
.
isItemSpacingAverageEnabled
=
false
dataSource
.
itemWidth
=
JXSegmentedViewAutomaticDimension
dataSource
.
itemWidth
=
JXSegmentedViewAutomaticDimension
dataSource
.
itemSpacing
=
2
4
dataSource
.
itemSpacing
=
2
1.5
return
dataSource
return
dataSource
}()
}()
...
@@ -71,9 +71,10 @@ class YHPersonInfoControllerHoldViewController: UIViewController {
...
@@ -71,9 +71,10 @@ class YHPersonInfoControllerHoldViewController: UIViewController {
//配置指示器
//配置指示器
let
indicator
=
JXSegmentedIndicatorLineView
()
let
indicator
=
JXSegmentedIndicatorLineView
()
indicator
.
indicatorWidth
=
16
indicator
.
indicatorWidth
=
16
indicator
.
indicatorColor
=
.
blue
indicator
.
indicatorHeight
=
4
indicator
.
indicatorCornerRadius
=
2
indicator
.
indicatorColor
=
UIColor
(
hex
:
0x4388FF
)
segmentedView
.
indicators
=
[
indicator
]
segmentedView
.
indicators
=
[
indicator
]
segmentedView
.
backgroundColor
=
UIColor
(
red
:
0.95
,
green
:
0.95
,
blue
:
0.95
,
alpha
:
1
)
}
}
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
...
@@ -93,8 +94,9 @@ class YHPersonInfoControllerHoldViewController: UIViewController {
...
@@ -93,8 +94,9 @@ class YHPersonInfoControllerHoldViewController: UIViewController {
override
func
viewDidLayoutSubviews
()
{
override
func
viewDidLayoutSubviews
()
{
super
.
viewDidLayoutSubviews
()
super
.
viewDidLayoutSubviews
()
segmentedView
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
view
.
bounds
.
size
.
width
,
height
:
50
)
segmentedView
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
view
.
bounds
.
size
.
width
,
height
:
58
)
listContainerView
.
frame
=
CGRect
(
x
:
0
,
y
:
50
,
width
:
view
.
bounds
.
size
.
width
,
height
:
view
.
bounds
.
size
.
height
-
50
)
listContainerView
.
frame
=
CGRect
(
x
:
0
,
y
:
58
,
width
:
view
.
bounds
.
size
.
width
,
height
:
view
.
bounds
.
size
.
height
-
58
)
segmentedView
.
backgroundColor
=
.
white
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/个人信息表/YHPersonInformMainViewController.swift
View file @
0b64d6d5
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/我的评分/YHScorePersonInfoCell.swift
View file @
0b64d6d5
...
@@ -117,7 +117,7 @@ extension YHScorePersonInfoCell {
...
@@ -117,7 +117,7 @@ extension YHScorePersonInfoCell {
}
}
let
bkgImageV
=
UIImageView
(
image
:
UIImage
(
named
:
"sc
ro
e_icon_bkg"
))
let
bkgImageV
=
UIImageView
(
image
:
UIImage
(
named
:
"sc
or
e_icon_bkg"
))
bkgImageV
.
contentMode
=
.
scaleAspectFill
bkgImageV
.
contentMode
=
.
scaleAspectFill
holdView
.
addSubview
(
bkgImageV
)
holdView
.
addSubview
(
bkgImageV
)
bkgImageV
.
snp
.
makeConstraints
{
make
in
bkgImageV
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的信息预览/Contents.json
0 → 100644
View file @
0b64d6d5
{
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的信息预览/person_info_head_bkg.imageset/Contents.json
0 → 100644
View file @
0b64d6d5
{
"images"
:
[
{
"filename"
:
"Rectangle 2418.png"
,
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Rectangle 2418@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Rectangle 2418@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的信息预览/person_info_head_bkg.imageset/Rectangle 2418.png
0 → 100644
View file @
0b64d6d5
1.91 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的信息预览/person_info_head_bkg.imageset/Rectangle 2418@2x.png
0 → 100644
View file @
0b64d6d5
4.71 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的信息预览/person_info_head_bkg.imageset/Rectangle 2418@3x.png
0 → 100644
View file @
0b64d6d5
8.81 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的信息预览/person_info_head_icon.imageset/Contents.json
0 → 100644
View file @
0b64d6d5
{
"images"
:
[
{
"filename"
:
"截屏2023-04-10 上午9.43.png"
,
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"截屏2023-04-10 上午9.43@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"截屏2023-04-10 上午9.43@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的信息预览/person_info_head_icon.imageset/截屏2023-04-10 上午9.43.png
0 → 100644
View file @
0b64d6d5
36 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的信息预览/person_info_head_icon.imageset/截屏2023-04-10 上午9.43@2x.png
0 → 100644
View file @
0b64d6d5
92.4 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的信息预览/person_info_head_icon.imageset/截屏2023-04-10 上午9.43@3x.png
0 → 100644
View file @
0b64d6d5
144 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/sc
ro
e_icon_bkg.imageset/Contents.json
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/sc
or
e_icon_bkg.imageset/Contents.json
View file @
0b64d6d5
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/sc
ro
e_icon_bkg.imageset/我的评分-卡片背景图.png
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/sc
or
e_icon_bkg.imageset/我的评分-卡片背景图.png
View file @
0b64d6d5
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/sc
ro
e_icon_bkg.imageset/我的评分-卡片背景图@2x.png
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/sc
or
e_icon_bkg.imageset/我的评分-卡片背景图@2x.png
View file @
0b64d6d5
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/sc
ro
e_icon_bkg.imageset/我的评分-卡片背景图@3x.png
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/sc
or
e_icon_bkg.imageset/我的评分-卡片背景图@3x.png
View file @
0b64d6d5
File moved
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