|
@@ -12,25 +12,6 @@ class TSAILIstVC: TSBaseVC {
|
|
|
let sectionModel = TSBasicSectionModel()
|
|
|
dataArray.append(sectionModel)
|
|
|
|
|
|
- //母亲节
|
|
|
- sectionModel.addSubItemModel(
|
|
|
- createItemModel(
|
|
|
- leftImageName:"aiList_MotherDay",
|
|
|
- leftTitle: "Happy Mother's Day".localized,
|
|
|
- leftSubTitle: "Create sweet memories with Mom".localized,
|
|
|
- rightViewStyle: 0,
|
|
|
- tapBlock: { [weak self] model, _, _ in
|
|
|
- guard let self = self else { return }
|
|
|
-// enterSelectPhotos(
|
|
|
-// userDefaultsKey: "isFirstAIMotherDay",
|
|
|
-// maxBitSize: kUploadImageMaxBit10Size,
|
|
|
-// config:.getDefaultConfig(imageMaxBitSize: kUploadImageMaxBit10Size)
|
|
|
-// ) { image in
|
|
|
- let baseVc = TSAIUploadPhotoBaseVC(titleString: model.leftTitle ?? "",upLoadImage: nil,imageMaxBitSize: kUploadImageMaxBit10Size, generatorStyle: .motherDay)
|
|
|
- kPushVC(target: self, modelVC: baseVc)
|
|
|
-// }
|
|
|
- }))
|
|
|
-
|
|
|
//猫咪变人
|
|
|
let catTohumanItemModel = createItemModel(
|
|
|
leftImageName:"aiList_catTohuman",
|
|
@@ -50,7 +31,28 @@ class TSAILIstVC: TSBaseVC {
|
|
|
})
|
|
|
catTohumanItemModel.isWhether = true
|
|
|
sectionModel.addSubItemModel(catTohumanItemModel)
|
|
|
+
|
|
|
+ //母亲节
|
|
|
+ sectionModel.addSubItemModel(
|
|
|
+ createItemModel(
|
|
|
+ leftImageName:"aiList_MotherDay",
|
|
|
+ leftTitle: "Happy Mother's Day".localized,
|
|
|
+ leftSubTitle: "Create sweet memories with Mom".localized,
|
|
|
+ rightViewStyle: 0,
|
|
|
+ tapBlock: { [weak self] model, _, _ in
|
|
|
+ guard let self = self else { return }
|
|
|
+// enterSelectPhotos(
|
|
|
+// userDefaultsKey: "isFirstAIMotherDay",
|
|
|
+// maxBitSize: kUploadImageMaxBit10Size,
|
|
|
+// config:.getDefaultConfig(imageMaxBitSize: kUploadImageMaxBit10Size)
|
|
|
+// ) { image in
|
|
|
+ let baseVc = TSAIUploadPhotoBaseVC(titleString: model.leftTitle ?? "",upLoadImage: nil,imageMaxBitSize: kUploadImageMaxBit10Size, generatorStyle: .motherDay)
|
|
|
+ kPushVC(target: self, modelVC: baseVc)
|
|
|
+// }
|
|
|
+ }))
|
|
|
+
|
|
|
|
|
|
+ //改头发型
|
|
|
sectionModel.addSubItemModel(
|
|
|
createItemModel(
|
|
|
leftImageName:"aiList_hair",
|
|
@@ -367,11 +369,18 @@ class TSAILIstVC: TSBaseVC {
|
|
|
NotificationCenter.default.addObserver(forName: .kOpenMotherDayVC, object: nil, queue: OperationQueue.main) { [weak self] _ in
|
|
|
guard let self = self else { return }
|
|
|
DispatchQueue.main.async {
|
|
|
-// self.openMotherDayVC(titleString: "Happy Mother's Day".localized)
|
|
|
let baseVc = TSAIUploadPhotoBaseVC(titleString: "Happy Mother's Day".localized,upLoadImage: nil,imageMaxBitSize: kUploadImageMaxBit10Size, generatorStyle: .motherDay)
|
|
|
kPushVC(target: self, modelVC: baseVc)
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ NotificationCenter.default.addObserver(forName: .kOpenCatTohumanVC, object: nil, queue: OperationQueue.main) { [weak self] _ in
|
|
|
+ guard let self = self else { return }
|
|
|
+ DispatchQueue.main.async {
|
|
|
+ let baseVc = TSAIUploadPhotoBaseVC(titleString: "Pet Humanization".localized,upLoadImage: nil,imageMaxBitSize: kUploadImageMaxBit10Size, generatorStyle: .catTohuman)
|
|
|
+ kPushVC(target: self, modelVC: baseVc)
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
}
|