Commit cadadf54 authored by Steven杜宇's avatar Steven杜宇

// AI

parent 10398c03
...@@ -675,6 +675,8 @@ ...@@ -675,6 +675,8 @@
04BE39322CF9AB0900BD31DB /* YHCardMessageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04BE39312CF9AB0900BD31DB /* YHCardMessageCell.swift */; }; 04BE39322CF9AB0900BD31DB /* YHCardMessageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04BE39312CF9AB0900BD31DB /* YHCardMessageCell.swift */; };
04BE39342CF9AFAE00BD31DB /* YHFixProductMessageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04BE39332CF9AFAE00BD31DB /* YHFixProductMessageCell.swift */; }; 04BE39342CF9AFAE00BD31DB /* YHFixProductMessageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04BE39332CF9AFAE00BD31DB /* YHFixProductMessageCell.swift */; };
04BE39362CF9AFF200BD31DB /* YHFixProductItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04BE39352CF9AFF200BD31DB /* YHFixProductItemView.swift */; }; 04BE39362CF9AFF200BD31DB /* YHFixProductItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04BE39352CF9AFF200BD31DB /* YHFixProductItemView.swift */; };
04BE393C2CF9B67000BD31DB /* ai_chat_loading.json in Resources */ = {isa = PBXBuildFile; fileRef = 04BE393B2CF9B67000BD31DB /* ai_chat_loading.json */; };
04BE393E2CF9B67700BD31DB /* ai_chat_input_pause.json in Resources */ = {isa = PBXBuildFile; fileRef = 04BE393D2CF9B67700BD31DB /* ai_chat_input_pause.json */; };
04C693622B723AB8004C1758 /* YHMySettingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04C693612B723AB8004C1758 /* YHMySettingViewController.swift */; }; 04C693622B723AB8004C1758 /* YHMySettingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04C693612B723AB8004C1758 /* YHMySettingViewController.swift */; };
04C693642B723B56004C1758 /* YHMySettingCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04C693632B723B56004C1758 /* YHMySettingCell.swift */; }; 04C693642B723B56004C1758 /* YHMySettingCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04C693632B723B56004C1758 /* YHMySettingCell.swift */; };
04C85DDF2C364FE9008B20D6 /* YHAboutUsCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04C85DDE2C364FE9008B20D6 /* YHAboutUsCell.swift */; }; 04C85DDF2C364FE9008B20D6 /* YHAboutUsCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04C85DDE2C364FE9008B20D6 /* YHAboutUsCell.swift */; };
...@@ -1732,6 +1734,8 @@ ...@@ -1732,6 +1734,8 @@
04BE39312CF9AB0900BD31DB /* YHCardMessageCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCardMessageCell.swift; sourceTree = "<group>"; }; 04BE39312CF9AB0900BD31DB /* YHCardMessageCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCardMessageCell.swift; sourceTree = "<group>"; };
04BE39332CF9AFAE00BD31DB /* YHFixProductMessageCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHFixProductMessageCell.swift; sourceTree = "<group>"; }; 04BE39332CF9AFAE00BD31DB /* YHFixProductMessageCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHFixProductMessageCell.swift; sourceTree = "<group>"; };
04BE39352CF9AFF200BD31DB /* YHFixProductItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHFixProductItemView.swift; sourceTree = "<group>"; }; 04BE39352CF9AFF200BD31DB /* YHFixProductItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHFixProductItemView.swift; sourceTree = "<group>"; };
04BE393B2CF9B67000BD31DB /* ai_chat_loading.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = ai_chat_loading.json; sourceTree = "<group>"; };
04BE393D2CF9B67700BD31DB /* ai_chat_input_pause.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = ai_chat_input_pause.json; sourceTree = "<group>"; };
04C693612B723AB8004C1758 /* YHMySettingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMySettingViewController.swift; sourceTree = "<group>"; }; 04C693612B723AB8004C1758 /* YHMySettingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMySettingViewController.swift; sourceTree = "<group>"; };
04C693632B723B56004C1758 /* YHMySettingCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMySettingCell.swift; sourceTree = "<group>"; }; 04C693632B723B56004C1758 /* YHMySettingCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMySettingCell.swift; sourceTree = "<group>"; };
04C85DDE2C364FE9008B20D6 /* YHAboutUsCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAboutUsCell.swift; sourceTree = "<group>"; }; 04C85DDE2C364FE9008B20D6 /* YHAboutUsCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAboutUsCell.swift; sourceTree = "<group>"; };
...@@ -4244,6 +4248,22 @@ ...@@ -4244,6 +4248,22 @@
path = C; path = C;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
04BE39372CF9B5B100BD31DB /* ai_chat_loading */ = {
isa = PBXGroup;
children = (
04BE393B2CF9B67000BD31DB /* ai_chat_loading.json */,
);
path = ai_chat_loading;
sourceTree = "<group>";
};
04BE393A2CF9B61100BD31DB /* ai_chat_input_pause */ = {
isa = PBXGroup;
children = (
04BE393D2CF9B67700BD31DB /* ai_chat_input_pause.json */,
);
path = ai_chat_input_pause;
sourceTree = "<group>";
};
04CA2BE22CB7693500F36DE7 /* UploadTravelCrad(上传旅行证件) */ = { 04CA2BE22CB7693500F36DE7 /* UploadTravelCrad(上传旅行证件) */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
...@@ -5419,6 +5439,8 @@ ...@@ -5419,6 +5439,8 @@
A5DF3D4A2BF9A304003D5F03 /* jsons */ = { A5DF3D4A2BF9A304003D5F03 /* jsons */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
04BE393A2CF9B61100BD31DB /* ai_chat_input_pause */,
04BE39372CF9B5B100BD31DB /* ai_chat_loading */,
A5F9EA022C647D32005BCA73 /* tabbar */, A5F9EA022C647D32005BCA73 /* tabbar */,
043BA8822C24360C006EF02D /* people_rotate */, 043BA8822C24360C006EF02D /* people_rotate */,
043BA87C2C2435D4006EF02D /* people_launch */, 043BA87C2C2435D4006EF02D /* people_launch */,
...@@ -5643,6 +5665,7 @@ ...@@ -5643,6 +5665,7 @@
049663C02BF729F6003C8295 /* galaxy_refresher.gif in Resources */, 049663C02BF729F6003C8295 /* galaxy_refresher.gif in Resources */,
045EEED42B9F171A0022A143 /* scoreOptionData.plist in Resources */, 045EEED42B9F171A0022A143 /* scoreOptionData.plist in Resources */,
A5EE42032C216C78005BBA5D /* data.json in Resources */, A5EE42032C216C78005BBA5D /* data.json in Resources */,
04BE393C2CF9B67000BD31DB /* ai_chat_loading.json in Resources */,
045EEED62B9F171A0022A143 /* YHQuestionList.plist in Resources */, 045EEED62B9F171A0022A143 /* YHQuestionList.plist in Resources */,
04EA2E722BF74FA200AE80B0 /* zixun.json in Resources */, 04EA2E722BF74FA200AE80B0 /* zixun.json in Resources */,
A5C5B2EE2B4F9B8800A7C5D1 /* Localizable.xcstrings in Resources */, A5C5B2EE2B4F9B8800A7C5D1 /* Localizable.xcstrings in Resources */,
...@@ -5657,6 +5680,7 @@ ...@@ -5657,6 +5680,7 @@
04EA2E712BF74FA200AE80B0 /* shouye.json in Resources */, 04EA2E712BF74FA200AE80B0 /* shouye.json in Resources */,
048FA0332BFDDFF400AD3BA9 /* submit_head_animation.gif in Resources */, 048FA0332BFDDFF400AD3BA9 /* submit_head_animation.gif in Resources */,
A5E69D512BA304D400411932 /* DIN Alternate Bold.ttf in Resources */, A5E69D512BA304D400411932 /* DIN Alternate Bold.ttf in Resources */,
04BE393E2CF9B67700BD31DB /* ai_chat_input_pause.json in Resources */,
A5EE42022C216C78005BBA5D /* img_2.jpg in Resources */, A5EE42022C216C78005BBA5D /* img_2.jpg in Resources */,
04EA2E702BF74FA200AE80B0 /* shipin.json in Resources */, 04EA2E702BF74FA200AE80B0 /* shipin.json in Resources */,
044378A42BFC848C001F95AE /* loginBkg.mov in Resources */, 044378A42BFC848C001F95AE /* loginBkg.mov in Resources */,
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
// //
import UIKit import UIKit
import Lottie
class YHAIThinkingMessageCell: UITableViewCell { class YHAIThinkingMessageCell: UITableViewCell {
...@@ -29,9 +30,12 @@ class YHAIThinkingMessageCell: UITableViewCell { ...@@ -29,9 +30,12 @@ class YHAIThinkingMessageCell: UITableViewCell {
return lable return lable
}() }()
lazy var loadingImgView: UIImageView = { let loadingImgView: LottieAnimationView! = {
let v = UIImageView(image: UIImage(named: "ai_chat_think_loading")) let lottieView = LottieAnimationView(name: "ai_chat_loading")
return v lottieView.loopMode = .loop
lottieView.contentMode = .scaleAspectFit
lottieView.play()
return lottieView
}() }()
required init?(coder: NSCoder) { required init?(coder: NSCoder) {
......
...@@ -10,7 +10,7 @@ import UIKit ...@@ -10,7 +10,7 @@ import UIKit
class YHCardMessageCell: UITableViewCell { class YHCardMessageCell: UITableViewCell {
static let cellReuseIdentifier = "YHProductListMessageCell" static let cellReuseIdentifier = "YHCardMessageCell"
var whiteContentView: UIView = { var whiteContentView: UIView = {
let v = UIView() let v = UIView()
......
{"v":"5.6.10","fr":60,"ip":0,"op":90,"w":72,"h":72,"nm":"对话框loading","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"front","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,36,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[54,54],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0,0.274509817362,0.705882370472,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"front","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[100]},{"t":67,"s":[1]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":22,"s":[100]},{"t":90,"s":[1]}],"ix":2},"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":90,"s":[-360]}],"ix":3},"m":1,"ix":2,"nm":"修剪路径 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"back","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,36,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[54,54],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.921568632126,0.941176474094,0.976470589638,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"back","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"BG","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,36,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[18,18],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":3,"ix":4},"nm":"矩形路径 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.274509817362,0.705882370472,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"BG","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0}],"markers":[]}
\ No newline at end of file
{"v":"5.6.10","fr":60,"ip":0,"op":90,"w":78,"h":54,"nm":"loading","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Ellipse 1879","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[9,27,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[18,18],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0.921568632126,0.941176474094,0.976470589638,1]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":30,"s":[0,0.274509817362,0.705882370472,1]},{"t":60,"s":[0.921568632126,0.941176474094,0.976470589638,1]}],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Ellipse 1879","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Ellipse 1878","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[39,27,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[18,18],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":15,"s":[0.921568632126,0.941176474094,0.976470589638,1]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":45,"s":[0,0.274509817362,0.705882370472,1]},{"t":75,"s":[0.921568632126,0.941176474094,0.976470589638,1]}],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Ellipse 1878","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Ellipse 1877","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[69,27,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[18,18],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":30,"s":[0.921568632126,0.941176474094,0.976470589638,1]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":60,"s":[0,0.274509817362,0.705882370472,1]},{"t":90,"s":[0.921568632126,0.941176474094,0.976470589638,1]}],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Ellipse 1877","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0}],"markers":[]}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment