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
6fb3d2ed
Commit
6fb3d2ed
authored
Oct 12, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// UI
parent
c0c1eadb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
YHFileRenameInputView.swift
...AS(优才)/MyCertificates(我的证书)/V/YHFileRenameInputView.swift
+3
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyCertificates(我的证书)/V/YHFileRenameInputView.swift
View file @
6fb3d2ed
...
...
@@ -61,7 +61,7 @@ class YHFileRenameInputView: UIView {
lazy
var
topLine
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
separatorColor
view
.
backgroundColor
=
.
brandGrayColor3
return
view
}()
...
...
@@ -76,7 +76,7 @@ class YHFileRenameInputView: UIView {
lazy
var
textField
:
UITextField
=
{
let
textField
=
UITextField
()
textField
.
backgroundColor
=
.
clear
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"请输入文件名称"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
placeHolderColor
])
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"请输入文件名称"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
brandGrayColor5
])
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
16
)
textField
.
tintColor
=
UIColor
.
brandMainColor
textField
.
textColor
=
UIColor
.
mainTextColor
...
...
@@ -120,7 +120,7 @@ class YHFileRenameInputView: UIView {
static
func
inputView
(
defalutText
:
String
?,
_
placeholde
:
String
=
"请输入文件名称"
,
_
title
:
String
=
"文件重命名"
)
->
YHFileRenameInputView
{
let
view
=
YHFileRenameInputView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
Self
.
height
))
view
.
textField
.
text
=
defalutText
view
.
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
placeholde
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
placeHolderColor
])
view
.
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
placeholde
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
brandGrayColor5
])
view
.
titleLabel
.
text
=
title
if
placeholde
==
"请输入10字以内的标签"
{
view
.
maxWordsCount
=
10
...
...
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