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
947b64af
Commit
947b64af
authored
Mar 28, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的文书 入口UI
parent
4640ca9c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
14 deletions
+65
-14
YHMyDocumentsListViewController.swift
...MyDocuments(我的文书)/C/YHMyDocumentsListViewController.swift
+15
-1
YHMyDocListHeaderView.swift
...ice(服务中心)/MyDocuments(我的文书)/V/YHMyDocListHeaderView.swift
+50
-13
icon_download@2x.png
...enter/我的文书/my_doc_down_icon.imageset/icon_download@2x.png
+0
-0
icon_download@3x.png
...enter/我的文书/my_doc_down_icon.imageset/icon_download@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/C/YHMyDocumentsListViewController.swift
View file @
947b64af
...
@@ -22,6 +22,12 @@ class YHMyDocumentsListViewController: YHBaseViewController {
...
@@ -22,6 +22,12 @@ class YHMyDocumentsListViewController: YHBaseViewController {
lazy
var
headSessionView
:
YHMyDocListHeaderView
=
{
let
view
=
YHMyDocListHeaderView
()
return
view
}()
//头部背景图片
//头部背景图片
lazy
var
headBkgImagV
:
UIImageView
=
{
lazy
var
headBkgImagV
:
UIImageView
=
{
let
imagV
=
UIImageView
()
let
imagV
=
UIImageView
()
...
@@ -67,6 +73,14 @@ extension YHMyDocumentsListViewController {
...
@@ -67,6 +73,14 @@ extension YHMyDocumentsListViewController {
make
.
height
.
equalTo
(
312
)
make
.
height
.
equalTo
(
312
)
}
}
view
.
addSubview
(
headSessionView
)
headSessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
.
offset
(
k_Height_NavigationtBarAndStatuBar
)
make
.
left
.
equalToSuperview
()
.
offset
(
kMargin
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
kMargin
)
make
.
height
.
equalTo
(
YHMyDocListHeaderView
.
viewH
)
}
tableView
=
{
tableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
...
@@ -80,7 +94,7 @@ extension YHMyDocumentsListViewController {
...
@@ -80,7 +94,7 @@ extension YHMyDocumentsListViewController {
}()
}()
view
.
addSubview
(
tableView
)
view
.
addSubview
(
tableView
)
tableView
.
snp
.
makeConstraints
{
make
in
tableView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
k_Height_NavigationtBarAndStatuBar
)
make
.
top
.
equalTo
(
headSessionView
.
snp
.
bottom
)
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
left
.
right
.
bottom
.
equalToSuperview
()
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/V/YHMyDocListHeaderView.swift
View file @
947b64af
...
@@ -13,6 +13,7 @@ class YHMyDocListHeaderView: UIView {
...
@@ -13,6 +13,7 @@ class YHMyDocListHeaderView: UIView {
override
init
(
frame
:
CGRect
)
{
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
super
.
init
(
frame
:
frame
)
initView
()
}
}
required
init
?(
coder
:
NSCoder
)
{
required
init
?(
coder
:
NSCoder
)
{
...
@@ -26,29 +27,41 @@ class YHMyDocListHeaderView: UIView {
...
@@ -26,29 +27,41 @@ class YHMyDocListHeaderView: UIView {
return
lable0
return
lable0
}()
}()
//
//
批量下载
private
lazy
var
allDownLoadButton
:
UIButton
=
{
private
lazy
var
allDownLoadButton
:
UIButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
button
.
setImage
(
UIImage
(
named
:
"my_doc_down_icon"
),
for
:
.
normal
)
button
.
setImage
(
UIImage
(
named
:
"my_doc_down_icon"
),
for
:
.
normal
)
button
.
setTitle
(
"批量下载"
,
for
:
.
normal
)
button
.
setTitle
(
"批量下载"
,
for
:
.
normal
)
button
.
setTitle
(
"批量下载"
,
for
:
.
selected
)
button
.
setTitleColor
(
.
white
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
labelTextColor2
,
for
:
.
highlighted
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
10
)
button
.
addTarget
(
self
,
action
:
#selector(
clickAllBtn
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
clickAllBtn
)
,
for
:
.
touchUpInside
)
button
.
layerCornerRadius
=
kCornerRadius4
button
.
clipsToBounds
=
true
button
.
iconInLeft
(
spacing
:
2
)
return
button
return
button
}()
}()
//取消
private
lazy
var
cancelButton
:
UIButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
setTitle
(
"取消"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
clickCancelBtn
)
,
for
:
.
touchUpInside
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
16
)
button
.
isHidden
=
true
return
button
}()
}
}
private
extension
YHMyDocListHeaderView
{
private
extension
YHMyDocListHeaderView
{
func
initView
()
{
func
initView
()
{
backgroundColor
=
.
clear
addSubview
(
titleLable
)
addSubview
(
titleLable
)
titleLable
.
snp
.
makeConstraints
{
make
in
titleLable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
.
offset
(
kMargin
)
make
.
top
.
equalToSuperview
()
.
offset
(
kMargin
)
...
@@ -58,13 +71,37 @@ private extension YHMyDocListHeaderView {
...
@@ -58,13 +71,37 @@ private extension YHMyDocListHeaderView {
addSubview
(
allDownLoadButton
)
addSubview
(
allDownLoadButton
)
allDownLoadButton
.
snp
.
makeConstraints
{
make
in
allDownLoadButton
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
.
offset
(
19
)
make
.
right
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
make
.
width
.
equalTo
(
70
)
make
.
height
.
equalTo
(
24
)
}
}
allDownLoadButton
.
layoutIfNeeded
()
allDownLoadButton
.
addYinHeGradualLayer
()
addSubview
(
cancelButton
)
cancelButton
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
.
offset
(
19
)
make
.
right
.
equalToSuperview
()
make
.
width
.
equalTo
(
34
)
make
.
height
.
equalTo
(
24
)
}
}
}
//点击全部下载按钮
@objc
func
clickAllBtn
()
{
@objc
func
clickAllBtn
()
{
}
}
//点击取消按钮
@objc
func
clickCancelBtn
()
{
}
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的文书/my_doc_down_icon.imageset/icon_download@2x.png
View replaced file @
4640ca9c
View file @
947b64af
417 Bytes
|
W:
|
H:
1.07 KB
|
W:
|
H:
2-up
Swipe
Onion skin
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的文书/my_doc_down_icon.imageset/icon_download@3x.png
View replaced file @
4640ca9c
View file @
947b64af
613 Bytes
|
W:
|
H:
1.35 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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