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
23e56c96
Commit
23e56c96
authored
Nov 26, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// AI
parent
2009024d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
82 additions
and
14 deletions
+82
-14
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+8
-4
YHAIChatViewController.swift
...dules/AI/AI-Dialogue(AI对话)/C/YHAIChatViewController.swift
+3
-3
YHAIServiceListViewController.swift
...I/AI-Dialogue(AI对话)/C/YHAIServiceListViewController.swift
+70
-0
YHAITabViewController.swift
...odules/AI/AI-Dialogue(AI对话)/C/YHAITabViewController.swift
+1
-1
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+0
-6
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
23e56c96
...
@@ -467,6 +467,7 @@
...
@@ -467,6 +467,7 @@
045EEF252B9F171A0022A143
/* YHMainInformationCardTableViewCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045EEE782B9F171A0022A143
/* YHMainInformationCardTableViewCell.swift */
;
};
045EEF252B9F171A0022A143
/* YHMainInformationCardTableViewCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045EEE782B9F171A0022A143
/* YHMainInformationCardTableViewCell.swift */
;
};
045F28402CF5ED3400520F19
/* YHAITabBarItemContentView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045F283F2CF5ED3400520F19
/* YHAITabBarItemContentView.swift */
;
};
045F28402CF5ED3400520F19
/* YHAITabBarItemContentView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045F283F2CF5ED3400520F19
/* YHAITabBarItemContentView.swift */
;
};
045F28422CF6028A00520F19
/* YHAITabViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045F28412CF6028A00520F19
/* YHAITabViewController.swift */
;
};
045F28422CF6028A00520F19
/* YHAITabViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045F28412CF6028A00520F19
/* YHAITabViewController.swift */
;
};
045F28442CF608C100520F19
/* YHAIServiceListViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045F28432CF608C100520F19
/* YHAIServiceListViewController.swift */
;
};
0468D4222B493A5E00CFB916
/* YHPhoneMessageView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4212B493A5E00CFB916
/* YHPhoneMessageView.swift */
;
};
0468D4222B493A5E00CFB916
/* YHPhoneMessageView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4212B493A5E00CFB916
/* YHPhoneMessageView.swift */
;
};
0468D4262B495A5400CFB916
/* YHPickPhoneAddressViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4252B495A5400CFB916
/* YHPickPhoneAddressViewController.swift */
;
};
0468D4262B495A5400CFB916
/* YHPickPhoneAddressViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4252B495A5400CFB916
/* YHPickPhoneAddressViewController.swift */
;
};
0468D4282B50D4AF00CFB916
/* YHPrivacyAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4272B50D4AF00CFB916
/* YHPrivacyAlertView.swift */
;
};
0468D4282B50D4AF00CFB916
/* YHPrivacyAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4272B50D4AF00CFB916
/* YHPrivacyAlertView.swift */
;
};
...
@@ -570,7 +571,7 @@
...
@@ -570,7 +571,7 @@
0493B3DC2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DB2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift */
;
};
0493B3DC2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DB2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift */
;
};
0493B3DE2BA80C2300AF9393
/* YHCertificateFilterButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DD2BA80C2300AF9393
/* YHCertificateFilterButton.swift */
;
};
0493B3DE2BA80C2300AF9393
/* YHCertificateFilterButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DD2BA80C2300AF9393
/* YHCertificateFilterButton.swift */
;
};
04943BE82CF0A0B500BF2255
/* submit_page_scroll.gif in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BE72CF0A0B500BF2255
/* submit_page_scroll.gif */
;
};
04943BE82CF0A0B500BF2255
/* submit_page_scroll.gif in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BE72CF0A0B500BF2255
/* submit_page_scroll.gif */
;
};
04943BEA2CF1B44100BF2255
/* YHAI
ViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BE92CF1B44100BF2255
/* YHAI
ViewController.swift */
;
};
04943BEA2CF1B44100BF2255
/* YHAI
ChatViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BE92CF1B44100BF2255
/* YHAIChat
ViewController.swift */
;
};
04943BED2CF46B6600BF2255
/* YHAIRequestManager.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BEC2CF46B6600BF2255
/* YHAIRequestManager.swift */
;
};
04943BED2CF46B6600BF2255
/* YHAIRequestManager.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BEC2CF46B6600BF2255
/* YHAIRequestManager.swift */
;
};
04943BF42CF4954800BF2255
/* YHAIMessageCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BF32CF4954800BF2255
/* YHAIMessageCell.swift */
;
};
04943BF42CF4954800BF2255
/* YHAIMessageCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BF32CF4954800BF2255
/* YHAIMessageCell.swift */
;
};
04943BF62CF49E3E00BF2255
/* YHAITextInputView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BF52CF49E3E00BF2255
/* YHAITextInputView.swift */
;
};
04943BF62CF49E3E00BF2255
/* YHAITextInputView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04943BF52CF49E3E00BF2255
/* YHAITextInputView.swift */
;
};
...
@@ -1508,6 +1509,7 @@
...
@@ -1508,6 +1509,7 @@
045EEE782B9F171A0022A143
/* YHMainInformationCardTableViewCell.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMainInformationCardTableViewCell.swift
;
sourceTree
=
"<group>"
;
};
045EEE782B9F171A0022A143
/* YHMainInformationCardTableViewCell.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMainInformationCardTableViewCell.swift
;
sourceTree
=
"<group>"
;
};
045F283F2CF5ED3400520F19
/* YHAITabBarItemContentView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAITabBarItemContentView.swift
;
sourceTree
=
"<group>"
;
};
045F283F2CF5ED3400520F19
/* YHAITabBarItemContentView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAITabBarItemContentView.swift
;
sourceTree
=
"<group>"
;
};
045F28412CF6028A00520F19
/* YHAITabViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAITabViewController.swift
;
sourceTree
=
"<group>"
;
};
045F28412CF6028A00520F19
/* YHAITabViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAITabViewController.swift
;
sourceTree
=
"<group>"
;
};
045F28432CF608C100520F19
/* YHAIServiceListViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAIServiceListViewController.swift
;
sourceTree
=
"<group>"
;
};
0468D4212B493A5E00CFB916
/* YHPhoneMessageView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPhoneMessageView.swift
;
sourceTree
=
"<group>"
;
};
0468D4212B493A5E00CFB916
/* YHPhoneMessageView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPhoneMessageView.swift
;
sourceTree
=
"<group>"
;
};
0468D4252B495A5400CFB916
/* YHPickPhoneAddressViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPickPhoneAddressViewController.swift
;
sourceTree
=
"<group>"
;
};
0468D4252B495A5400CFB916
/* YHPickPhoneAddressViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPickPhoneAddressViewController.swift
;
sourceTree
=
"<group>"
;
};
0468D4272B50D4AF00CFB916
/* YHPrivacyAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrivacyAlertView.swift
;
sourceTree
=
"<group>"
;
};
0468D4272B50D4AF00CFB916
/* YHPrivacyAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrivacyAlertView.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -1614,7 +1616,7 @@
...
@@ -1614,7 +1616,7 @@
0493B3DB2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateSearchViewController.swift
;
sourceTree
=
"<group>"
;
};
0493B3DB2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateSearchViewController.swift
;
sourceTree
=
"<group>"
;
};
0493B3DD2BA80C2300AF9393
/* YHCertificateFilterButton.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateFilterButton.swift
;
sourceTree
=
"<group>"
;
};
0493B3DD2BA80C2300AF9393
/* YHCertificateFilterButton.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateFilterButton.swift
;
sourceTree
=
"<group>"
;
};
04943BE72CF0A0B500BF2255
/* submit_page_scroll.gif */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
image.gif
;
path
=
submit_page_scroll.gif
;
sourceTree
=
"<group>"
;
};
04943BE72CF0A0B500BF2255
/* submit_page_scroll.gif */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
image.gif
;
path
=
submit_page_scroll.gif
;
sourceTree
=
"<group>"
;
};
04943BE92CF1B44100BF2255
/* YHAI
ViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAI
ViewController.swift
;
sourceTree
=
"<group>"
;
};
04943BE92CF1B44100BF2255
/* YHAI
ChatViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAIChat
ViewController.swift
;
sourceTree
=
"<group>"
;
};
04943BEC2CF46B6600BF2255
/* YHAIRequestManager.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAIRequestManager.swift
;
sourceTree
=
"<group>"
;
};
04943BEC2CF46B6600BF2255
/* YHAIRequestManager.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAIRequestManager.swift
;
sourceTree
=
"<group>"
;
};
04943BF32CF4954800BF2255
/* YHAIMessageCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAIMessageCell.swift
;
sourceTree
=
"<group>"
;
};
04943BF32CF4954800BF2255
/* YHAIMessageCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAIMessageCell.swift
;
sourceTree
=
"<group>"
;
};
04943BF52CF49E3E00BF2255
/* YHAITextInputView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAITextInputView.swift
;
sourceTree
=
"<group>"
;
};
04943BF52CF49E3E00BF2255
/* YHAITextInputView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAITextInputView.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -3957,8 +3959,9 @@
...
@@ -3957,8 +3959,9 @@
04943BF22CF4948400BF2255
/* C */
=
{
04943BF22CF4948400BF2255
/* C */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
04943BE92CF1B44100BF2255
/* YHAIViewController.swift */
,
045F28412CF6028A00520F19
/* YHAITabViewController.swift */
,
045F28412CF6028A00520F19
/* YHAITabViewController.swift */
,
04943BE92CF1B44100BF2255
/* YHAIChatViewController.swift */
,
045F28432CF608C100520F19
/* YHAIServiceListViewController.swift */
,
);
);
path
=
C
;
path
=
C
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -5915,7 +5918,7 @@
...
@@ -5915,7 +5918,7 @@
045EEEA42B9F171A0022A143
/* YHImageResultViewController.swift in Sources */
,
045EEEA42B9F171A0022A143
/* YHImageResultViewController.swift in Sources */
,
045EEE812B9F171A0022A143
/* YHPreviewQuestionAndAnswerModel.swift in Sources */
,
045EEE812B9F171A0022A143
/* YHPreviewQuestionAndAnswerModel.swift in Sources */
,
049D62C02C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift in Sources */
,
049D62C02C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift in Sources */
,
04943BEA2CF1B44100BF2255
/* YHAIViewController.swift in Sources */
,
04943BEA2CF1B44100BF2255
/* YHAI
Chat
ViewController.swift in Sources */
,
04C85DDF2C364FE9008B20D6
/* YHAboutUsCell.swift in Sources */
,
04C85DDF2C364FE9008B20D6
/* YHAboutUsCell.swift in Sources */
,
045EEEB02B9F171A0022A143
/* YHWorkItemView.swift in Sources */
,
045EEEB02B9F171A0022A143
/* YHWorkItemView.swift in Sources */
,
0468D4222B493A5E00CFB916
/* YHPhoneMessageView.swift in Sources */
,
0468D4222B493A5E00CFB916
/* YHPhoneMessageView.swift in Sources */
,
...
@@ -6660,6 +6663,7 @@
...
@@ -6660,6 +6663,7 @@
045EEE972B9F171A0022A143
/* YHPreviewInfoWorkExpView.swift in Sources */
,
045EEE972B9F171A0022A143
/* YHPreviewInfoWorkExpView.swift in Sources */
,
04B401EC2CE84CBD005C61A9
/* YHIncomeTypePopViewSelectCell.swift in Sources */
,
04B401EC2CE84CBD005C61A9
/* YHIncomeTypePopViewSelectCell.swift in Sources */
,
04B401F42CEB1C51005C61A9
/* YHIncomeCompanyDetailModel.swift in Sources */
,
04B401F42CEB1C51005C61A9
/* YHIncomeCompanyDetailModel.swift in Sources */
,
045F28442CF608C100520F19
/* YHAIServiceListViewController.swift in Sources */
,
044BACC72BCFA58E00184C64
/* YHNoDataTipsView.swift in Sources */
,
044BACC72BCFA58E00184C64
/* YHNoDataTipsView.swift in Sources */
,
04D5C5662B8ED92600190021
/* YHBaseModel.swift in Sources */
,
04D5C5662B8ED92600190021
/* YHBaseModel.swift in Sources */
,
A5F8AC082B9F414000A21EFA
/* YHCustomTextView.swift in Sources */
,
A5F8AC082B9F414000A21EFA
/* YHCustomTextView.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAIViewController.swift
→
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAI
Chat
ViewController.swift
View file @
23e56c96
...
@@ -11,7 +11,7 @@ import Alamofire
...
@@ -11,7 +11,7 @@ import Alamofire
import
IQKeyboardManagerSwift
import
IQKeyboardManagerSwift
import
JXSegmentedView
import
JXSegmentedView
class
YHAIViewController
:
YHBaseViewController
{
class
YHAI
Chat
ViewController
:
YHBaseViewController
{
var
messages
:[
YHAIMessage
]
=
[]
var
messages
:[
YHAIMessage
]
=
[]
...
@@ -96,7 +96,7 @@ class YHAIViewController: YHBaseViewController {
...
@@ -96,7 +96,7 @@ class YHAIViewController: YHBaseViewController {
}
}
}
}
extension
YHAIViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
extension
YHAI
Chat
ViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
1
return
1
...
@@ -142,7 +142,7 @@ extension YHAIViewController: UITableViewDelegate, UITableViewDataSource {
...
@@ -142,7 +142,7 @@ extension YHAIViewController: UITableViewDelegate, UITableViewDataSource {
}
}
extension
YHAIViewController
:
JXSegmentedListContainerViewListDelegate
{
extension
YHAI
Chat
ViewController
:
JXSegmentedListContainerViewListDelegate
{
func
listView
()
->
UIView
{
func
listView
()
->
UIView
{
return
view
return
view
}
}
...
...
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAIServiceListViewController.swift
0 → 100644
View file @
23e56c96
//
// YHAIServiceListViewController.swift
// galaxy
//
// Created by Dufet on 2024/11/26.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHAIServiceListViewController
:
YHBaseViewController
{
var
serviceArr
:
[
String
]
=
[]
lazy
var
collectionView
:
UICollectionView
=
{
let
flowLayout
=
UICollectionViewFlowLayout
()
flowLayout
.
itemSize
=
CGSize
(
width
:
50
,
height
:
26
)
flowLayout
.
minimumInteritemSpacing
=
12.0
flowLayout
.
minimumLineSpacing
=
12.0
flowLayout
.
scrollDirection
=
.
horizontal
let
collectView
=
UICollectionView
(
frame
:
.
zero
,
collectionViewLayout
:
flowLayout
)
collectView
.
delegate
=
self
collectView
.
dataSource
=
self
collectView
.
register
(
YHTopicItemCell
.
self
,
forCellWithReuseIdentifier
:
YHTopicItemCell
.
cellReuseIdentifier
)
collectView
.
contentInset
=
UIEdgeInsets
(
top
:
0
,
left
:
20
,
bottom
:
0
,
right
:
-
20
)
return
collectView
}()
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
view
.
addSubview
(
collectionView
)
collectionView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
top
.
bottom
.
equalToSuperview
()
}
}
}
extension
YHAIServiceListViewController
:
UICollectionViewDelegate
,
UICollectionViewDataSource
,
UICollectionViewDelegateFlowLayout
{
// 返回单元格数量
func
collectionView
(
_
collectionView
:
UICollectionView
,
numberOfItemsInSection
section
:
Int
)
->
Int
{
return
serviceArr
.
count
}
// 返回每个单元格的大小
func
collectionView
(
_
collectionView
:
UICollectionView
,
layout
collectionViewLayout
:
UICollectionViewLayout
,
sizeForItemAt
indexPath
:
IndexPath
)
->
CGSize
{
return
CGSize
(
width
:
(
KScreenWidth
-
20.0
*
2.0
)
/
2.0
,
height
:
194.0
)
}
// 返回自定义单元格
func
collectionView
(
_
collectionView
:
UICollectionView
,
cellForItemAt
indexPath
:
IndexPath
)
->
UICollectionViewCell
{
let
cell
=
collectionView
.
dequeueReusableCell
(
withReuseIdentifier
:
YHTopicItemCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHTopicItemCell
if
0
<=
indexPath
.
item
&&
indexPath
.
item
<
serviceArr
.
count
{
cell
.
titleLabel
.
text
=
serviceArr
[
indexPath
.
item
]
}
return
cell
}
func
collectionView
(
_
collectionView
:
UICollectionView
,
didSelectItemAt
indexPath
:
IndexPath
)
{
if
0
<=
indexPath
.
item
&&
indexPath
.
item
<
serviceArr
.
count
{
let
text
=
serviceArr
[
indexPath
.
item
]
}
}
}
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAITabViewController.swift
View file @
23e56c96
...
@@ -62,7 +62,7 @@ class YHAITabViewController: YHBaseViewController {
...
@@ -62,7 +62,7 @@ class YHAITabViewController: YHBaseViewController {
arrItemVCs
.
append
(
vc
)
arrItemVCs
.
append
(
vc
)
}
else
if
i
==
1
{
// 对话
}
else
if
i
==
1
{
// 对话
let
vc
=
YHAIViewController
()
let
vc
=
YHAI
Chat
ViewController
()
arrItemVCs
.
append
(
vc
)
arrItemVCs
.
append
(
vc
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
23e56c96
...
@@ -349,12 +349,6 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
...
@@ -349,12 +349,6 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
return
return
}
}
if
true
{
let
vc
=
YHAIViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
return
}
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
]
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
]
switch
item
.
type
{
switch
item
.
type
{
case
.
myCard
:
//我的名片
case
.
myCard
:
//我的名片
...
...
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