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
13d44053
Commit
13d44053
authored
Dec 11, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// AI
parent
67bff81e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
YHAIRobotChatViewController.swift
.../AI/AI-Dialogue(AI对话)/C/YHAIRobotChatViewController.swift
+8
-6
No files found.
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAIRobotChatViewController.swift
View file @
13d44053
...
...
@@ -134,8 +134,10 @@ class YHAIRobotChatViewController: YHBaseViewController {
self
.
view
.
addSubview
(
self
.
tableView
)
self
.
view
.
addSubview
(
self
.
bottomInputView
)
self
.
view
.
addSubview
(
self
.
bgImgView
)
gk_navigationBar
.
addSubview
(
cleanBtn
)
self
.
view
.
insertSubview
(
bgImgView
,
belowSubview
:
gk_navigationBar
)
self
.
gk_navigationItem
.
rightBarButtonItem
=
UIBarButtonItem
.
gk_item
(
image
:
UIImage
(
named
:
"msg_clean"
),
target
:
self
,
action
:
#selector(
didCleanButtonClicked
)
)
if
self
.
isNeedShowBannerHeader
{
self
.
tableView
.
tableHeaderView
=
self
.
bannerView
...
...
@@ -143,11 +145,11 @@ class YHAIRobotChatViewController: YHBaseViewController {
self
.
tableView
.
tableHeaderView
=
nil
}
cleanBtn
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
24
)
make
.
top
.
equalTo
(
k_Height_statusBar
()
+
k_Height_NavContentBar
/
2.0
-
12
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
20
)
}
//
cleanBtn.snp.makeConstraints { make in
//
make.width.height.equalTo(24)
//
make.top.equalTo(k_Height_statusBar()+k_Height_NavContentBar/2.0-12)
//
make.right.equalToSuperview().offset(-20)
//
}
bgImgView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
...
...
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