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
1a093e55
Commit
1a093e55
authored
Jan 07, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// AI
parent
e746e00c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
YHAIRobotChatViewController.swift
.../AI/AI-Dialogue(AI对话)/C/YHAIRobotChatViewController.swift
+2
-0
YHAIChatBannerView.swift
...s/Modules/AI/AI-Dialogue(AI对话)/V/YHAIChatBannerView.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAIRobotChatViewController.swift
View file @
1a093e55
...
@@ -319,6 +319,7 @@ class YHAIRobotChatViewController: YHBaseViewController {
...
@@ -319,6 +319,7 @@ class YHAIRobotChatViewController: YHBaseViewController {
if
robotType
==
YHAIRobotType
.
sale
.
rawValue
{
if
robotType
==
YHAIRobotType
.
sale
.
rawValue
{
config
.
title
=
"Hello,我是新港生活规划师"
config
.
title
=
"Hello,我是新港生活规划师"
config
.
bannerTitleColor
=
.
brandMainColor
config
.
desc
=
"香港身份办理问题可以找我"
config
.
desc
=
"香港身份办理问题可以找我"
config
.
bgColor
=
.
init
(
hex
:
0xE6F4FF
)
config
.
bgColor
=
.
init
(
hex
:
0xE6F4FF
)
config
.
indicatorColor
=
.
brandMainColor
config
.
indicatorColor
=
.
brandMainColor
...
@@ -330,6 +331,7 @@ class YHAIRobotChatViewController: YHBaseViewController {
...
@@ -330,6 +331,7 @@ class YHAIRobotChatViewController: YHBaseViewController {
}
else
if
robotType
==
YHAIRobotType
.
education
.
rawValue
{
}
else
if
robotType
==
YHAIRobotType
.
education
.
rawValue
{
config
.
title
=
"Hello,我是香港教育宝"
config
.
title
=
"Hello,我是香港教育宝"
config
.
bannerTitleColor
=
.
init
(
hex
:
0x00C77C
)
config
.
desc
=
"有香港教育的问题尽管问我"
config
.
desc
=
"有香港教育的问题尽管问我"
config
.
bgColor
=
.
init
(
hex
:
0xDAF6FC
)
config
.
bgColor
=
.
init
(
hex
:
0xDAF6FC
)
config
.
indicatorColor
=
.
init
(
hex
:
0x00C77C
)
config
.
indicatorColor
=
.
init
(
hex
:
0x00C77C
)
...
...
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/V/YHAIChatBannerView.swift
View file @
1a093e55
...
@@ -26,6 +26,7 @@ class YHAIChatBannerItem {
...
@@ -26,6 +26,7 @@ class YHAIChatBannerItem {
class
YHAIChatBannerViewConfig
{
class
YHAIChatBannerViewConfig
{
var
bgColor
:
UIColor
=
.
init
(
hex
:
0xE6F4FF
)
var
bgColor
:
UIColor
=
.
init
(
hex
:
0xE6F4FF
)
var
bannerTitleColor
:
UIColor
=
.
init
(
hex
:
0x6D788A
)
var
bgImageName
:
String
=
""
var
bgImageName
:
String
=
""
var
title
:
String
=
""
var
title
:
String
=
""
var
desc
:
String
=
""
var
desc
:
String
=
""
...
@@ -252,6 +253,7 @@ extension YHAIChatBannerView: FSPagerViewDataSource, FSPagerViewDelegate {
...
@@ -252,6 +253,7 @@ extension YHAIChatBannerView: FSPagerViewDataSource, FSPagerViewDelegate {
if
index
<
bannerArr
.
count
{
if
index
<
bannerArr
.
count
{
let
model
=
bannerArr
[
index
]
let
model
=
bannerArr
[
index
]
cell
.
model
=
model
cell
.
model
=
model
cell
.
titleLabel
.
textColor
=
self
.
config
.
bannerTitleColor
}
}
return
cell
return
cell
}
}
...
...
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