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
1f1e85d1
Commit
1f1e85d1
authored
Jan 13, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// AI
parent
2fb27403
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
4 deletions
+36
-4
YHAIRobotChatViewController.swift
.../AI/AI-Dialogue(AI对话)/C/YHAIRobotChatViewController.swift
+12
-3
YHAIListModel.swift
...lasses/Modules/AI/AI-Dialogue(AI对话)/M/YHAIListModel.swift
+2
-1
Contents.json
...assets/AI-Chat/ai_chat_header_bg_2.imageset/Contents.json
+22
-0
切图.png
...sets.xcassets/AI-Chat/ai_chat_header_bg_2.imageset/切图.png
+0
-0
切图@3x.png
...s.xcassets/AI-Chat/ai_chat_header_bg_2.imageset/切图@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAIRobotChatViewController.swift
View file @
1f1e85d1
...
...
@@ -351,8 +351,6 @@ class YHAIRobotChatViewController: YHBaseViewController {
config
.
bannerItems
=
[
YHAIChatBannerItem
(
id
:
0
,
title
:
"了解银河集团"
,
desc
:
"香港身份生活一站式服务平台"
,
msg
:
"银河集团,能够为我提供什么?"
),
YHAIChatBannerItem
(
id
:
1
,
title
:
"香港身份智能评估"
,
desc
:
"20s快速评估,了解自身条件是否符合"
,
msg
:
"开始身份办理评估"
),
YHAIChatBannerItem
(
id
:
2
,
title
:
"银河产品矩阵"
,
desc
:
"香港身份、生活多样产品"
,
msg
:
"介绍一下银河的产品"
),]
// config.flowMessages = ["优才学历加分要求是什么?", "优才现在要怎么申请?", "墨尔本大学是优才合资格大学吗?", "推荐一些优才产品"]
}
else
if
robotType
==
YHAIRobotType
.
education
.
rawValue
{
config
.
title
=
"Hello,我是香港教育宝"
...
...
@@ -364,7 +362,18 @@ class YHAIRobotChatViewController: YHBaseViewController {
config
.
bannerItems
=
[
YHAIChatBannerItem
(
id
:
0
,
title
:
"幼中小学升学"
,
desc
:
"去香港插班需要考核哪些"
),
YHAIChatBannerItem
(
id
:
1
,
title
:
"大学升学"
,
desc
:
"DSE分数和Alevel的换算关系"
),
YHAIChatBannerItem
(
id
:
2
,
title
:
"银河教育服务"
,
desc
:
"银河教育插班成功率如何?"
),]
// config.flowMessages = ["香港教育有哪些优势?", "去香港读书有哪些条件?", "申请香港学校费用是多少?", "了解银河教育插班服务流程", "了解银河教育插班录取率"]
}
else
if
robotType
==
YHAIRobotType
.
business
.
rawValue
{
config
.
title
=
"Hello,我是银河商务规划师"
config
.
bannerTitleColor
=
.
brandMainColor
config
.
desc
=
"企业问题都可以找我~"
config
.
bgColor
=
.
init
(
hex
:
0xE6F4FF
)
config
.
indicatorColor
=
.
brandMainColor
config
.
bgImageName
=
"ai_chat_header_bg_2"
config
.
bannerItems
=
[
YHAIChatBannerItem
(
id
:
0
,
title
:
"注册公司KYC"
,
desc
:
"公司注册时,KYC或尽职调查文件的目的是什么?"
),
YHAIChatBannerItem
(
id
:
1
,
title
:
"雇员个税"
,
desc
:
"具体计算薪俸税税率时,雇员个税如何计算?"
),
YHAIChatBannerItem
(
id
:
2
,
title
:
"香港公司取名"
,
desc
:
"选择香港公司的名称有什么限制,跟内地有什么区别?"
),]
}
return
config
}
...
...
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/M/YHAIListModel.swift
View file @
1f1e85d1
...
...
@@ -24,6 +24,7 @@ enum YHAIRobotType: String {
case
education
=
"educationBot"
case
sale
=
"saleBot"
case
image
=
"entryPrecautionsImage"
case
business
=
"businessBot"
}
class
YHEntranceconfigModel
:
SmartCodable
{
...
...
@@ -39,7 +40,7 @@ class YHEntranceconfigModel: SmartCodable {
var
redirectPath
:
String
=
""
func
isNeedShowBannerHeader
()
->
Bool
{
if
businessType
==
YHAIRobotType
.
education
.
rawValue
||
businessType
==
YHAIRobotType
.
sale
.
rawValue
{
if
businessType
==
YHAIRobotType
.
education
.
rawValue
||
businessType
==
YHAIRobotType
.
sale
.
rawValue
||
businessType
==
YHAIRobotType
.
business
.
rawValue
{
return
true
}
return
false
...
...
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_chat_header_bg_2.imageset/Contents.json
0 → 100644
View file @
1f1e85d1
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"切图.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"切图@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_chat_header_bg_2.imageset/切图.png
0 → 100644
View file @
1f1e85d1
221 KB
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_chat_header_bg_2.imageset/切图@3x.png
0 → 100644
View file @
1f1e85d1
454 KB
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