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
8ae114bf
Commit
8ae114bf
authored
Nov 18, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 方案
parent
a073813d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
18 deletions
+14
-18
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+0
-8
YHImproveHKView.swift
...(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/V/YHImproveHKView.swift
+5
-0
YHImproveSchemeTemplateListCell.swift
...MyNewScheme(我的方案)/V/YHImproveSchemeTemplateListCell.swift
+2
-5
YHImproveSchemeTemplateListView.swift
...MyNewScheme(我的方案)/V/YHImproveSchemeTemplateListView.swift
+7
-5
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
8ae114bf
...
...
@@ -23,14 +23,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
var
window
:
UIWindow
?
func
application
(
_
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
UIApplication
.
LaunchOptionsKey
:
Any
]?)
->
Bool
{
for
(
i
,
family
)
in
UIFont
.
familyNames
.
enumerated
()
{
print
(
"
\(
i
)
---项目字体---
\(
family
)
"
)
for
names
:
String
in
UIFont
.
fontNames
(
forFamilyName
:
family
)
{
print
(
"==
\(
names
)
"
)
}
}
Thread
.
sleep
(
forTimeInterval
:
0.5
)
// 应产品同学Nick要求 启动页时间展示长点
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/V/YHImproveHKView.swift
View file @
8ae114bf
...
...
@@ -103,6 +103,7 @@ class YHImproveHKView: UIView {
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
14
)
btn
.
setImage
(
UIImage
(
named
:
"blue_right_arrow"
),
for
:
.
normal
)
btn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
10
,
left
:
20
,
bottom
:
20
,
right
:
10
)
btn
.
addTarget
(
self
,
action
:
#selector(
didRightBtnClicked
)
,
for
:
.
touchUpInside
)
return
btn
}()
...
...
@@ -115,6 +116,10 @@ class YHImproveHKView: UIView {
fatalError
(
"init(coder:) has not been implemented"
)
}
@objc
func
didRightBtnClicked
()
{
YHImproveSchemeTemplateListView
.
listView
()
.
show
()
}
func
setupUI
()
{
self
.
addSubview
(
grayView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/V/YHImproveSchemeTemplateListCell.swift
View file @
8ae114bf
...
...
@@ -22,6 +22,7 @@ class YHImproveSchemeTemplateListCell: UITableViewCell {
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
textColor
=
.
mainTextColor
label
.
numberOfLines
=
0
label
.
text
=
"5、持股证明文件.pdf(周年申报表/工商备案的公司章程/验资报告/国家企业信用信息公示报告)"
return
label
}()
...
...
@@ -32,15 +33,11 @@ class YHImproveSchemeTemplateListCell: UITableViewCell {
btn
.
setTitle
(
"查看示例"
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
mainTextColor
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
11
)
btn
.
addTarget
(
self
,
action
:
#selector(
didRightBtnClicked
)
,
for
:
.
touchUpInside
)
//
btn.addTarget(self, action: #selector(didRightBtnClicked), for: .touchUpInside)
btn
.
layer
.
cornerRadius
=
kCornerRadius2
return
btn
}()
@objc
func
didRightBtnClicked
()
{
YHImproveSchemeTemplateListView
.
listView
()
.
show
()
}
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/V/YHImproveSchemeTemplateListView.swift
View file @
8ae114bf
...
...
@@ -26,7 +26,7 @@ class YHImproveSchemeTemplateListView: UIView {
lazy
var
whiteView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
2
.0
view
.
layer
.
cornerRadius
=
4
.0
return
view
}()
...
...
@@ -49,6 +49,7 @@ class YHImproveSchemeTemplateListView: UIView {
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
textColor
=
.
mainTextColor
label
.
text
=
"材料示例"
...
...
@@ -74,7 +75,6 @@ class YHImproveSchemeTemplateListView: UIView {
@objc
func
show
()
{
UIApplication
.
shared
.
yhKeyWindow
()?
.
addSubview
(
self
)
}
@objc
func
dismiss
()
{
...
...
@@ -86,8 +86,8 @@ class YHImproveSchemeTemplateListView: UIView {
self
.
addSubview
(
blackMaskView
)
self
.
addSubview
(
whiteView
)
whiteView
.
addSubview
(
titleLabel
)
whiteView
.
addSubview
(
closeBtn
)
whiteView
.
addSubview
(
tableView
)
whiteView
.
addSubview
(
closeBtn
)
blackMaskView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
...
...
@@ -105,12 +105,14 @@ class YHImproveSchemeTemplateListView: UIView {
closeBtn
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
24
)
make
.
centerY
.
equalTo
Superview
(
)
make
.
centerY
.
equalTo
(
titleLabel
)
make
.
right
.
equalTo
(
-
24
)
}
tableView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
left
.
equalTo
(
20
)
make
.
right
.
equalTo
(
-
20
)
make
.
bottom
.
equalToSuperview
()
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
0
)
}
}
...
...
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