段落写作

This commit is contained in:
pengguangjian 2024-10-08 11:53:19 +08:00
parent fc8a2a3a26
commit a169f067e4
41 changed files with 1402 additions and 9 deletions

View File

@ -8,6 +8,16 @@
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
664551746CA42328436EB43A /* Pods_ProductApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E7E9D1598912BF8D031CA536 /* Pods_ProductApp.framework */; }; 664551746CA42328436EB43A /* Pods_ProductApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E7E9D1598912BF8D031CA536 /* Pods_ProductApp.framework */; };
CA0C3A832CB4C27E00E01A72 /* HuanGeSiLuViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3A822CB4C27E00E01A72 /* HuanGeSiLuViewController.m */; };
CA0C3A872CB4C34800E01A72 /* HuanGeSiLuView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3A862CB4C34800E01A72 /* HuanGeSiLuView.m */; };
CA0C3A8B2CB4C80300E01A72 /* HuanGeSiLuCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3A8A2CB4C80300E01A72 /* HuanGeSiLuCollectionViewCell.m */; };
CA0C3A8E2CB4C94000E01A72 /* HuanGeSiLuHDCollectionReusableView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3A8D2CB4C94000E01A72 /* HuanGeSiLuHDCollectionReusableView.m */; };
CA0C3A922CB4D03B00E01A72 /* ChongXieYiPianViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3A912CB4D03B00E01A72 /* ChongXieYiPianViewController.m */; };
CA0C3A962CB4D06600E01A72 /* ChongXieYiPianView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3A952CB4D06600E01A72 /* ChongXieYiPianView.m */; };
CA0C3A992CB4D4F500E01A72 /* ZhiNengXieZuoDuanLuoView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3A982CB4D4F500E01A72 /* ZhiNengXieZuoDuanLuoView.m */; };
CA0C3A9E2CB4DADA00E01A72 /* DuanLuoXieZuoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3A9D2CB4DADA00E01A72 /* DuanLuoXieZuoViewController.m */; };
CA0C3AA22CB4DBB900E01A72 /* DuanLuoXieZuoView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3AA12CB4DBB900E01A72 /* DuanLuoXieZuoView.m */; };
CA0C3AA52CB4DED200E01A72 /* DuanLuoXieZuoCellView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0C3AA42CB4DED200E01A72 /* DuanLuoXieZuoCellView.m */; };
CA0D082D2CA4F8930086855E /* ShouYeZNXZTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0D082C2CA4F8930086855E /* ShouYeZNXZTableViewCell.m */; }; CA0D082D2CA4F8930086855E /* ShouYeZNXZTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0D082C2CA4F8930086855E /* ShouYeZNXZTableViewCell.m */; };
CA0D08302CA4FBDB0086855E /* ShouYeXieZuoTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0D082F2CA4FBDB0086855E /* ShouYeXieZuoTableViewCell.m */; }; CA0D08302CA4FBDB0086855E /* ShouYeXieZuoTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0D082F2CA4FBDB0086855E /* ShouYeXieZuoTableViewCell.m */; };
CA0D08332CA4FFB90086855E /* ShouYeBannerTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0D08322CA4FFB90086855E /* ShouYeBannerTableViewCell.m */; }; CA0D08332CA4FFB90086855E /* ShouYeBannerTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0D08322CA4FFB90086855E /* ShouYeBannerTableViewCell.m */; };
@ -330,6 +340,26 @@
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
87167CC240BDAA55C86F80DE /* Pods-ProductApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProductApp.debug.xcconfig"; path = "Target Support Files/Pods-ProductApp/Pods-ProductApp.debug.xcconfig"; sourceTree = "<group>"; }; 87167CC240BDAA55C86F80DE /* Pods-ProductApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProductApp.debug.xcconfig"; path = "Target Support Files/Pods-ProductApp/Pods-ProductApp.debug.xcconfig"; sourceTree = "<group>"; };
B3DBEC0C6ED0E182F65EDBEA /* Pods-ProductApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProductApp.release.xcconfig"; path = "Target Support Files/Pods-ProductApp/Pods-ProductApp.release.xcconfig"; sourceTree = "<group>"; }; B3DBEC0C6ED0E182F65EDBEA /* Pods-ProductApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProductApp.release.xcconfig"; path = "Target Support Files/Pods-ProductApp/Pods-ProductApp.release.xcconfig"; sourceTree = "<group>"; };
CA0C3A812CB4C27E00E01A72 /* HuanGeSiLuViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HuanGeSiLuViewController.h; sourceTree = "<group>"; };
CA0C3A822CB4C27E00E01A72 /* HuanGeSiLuViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HuanGeSiLuViewController.m; sourceTree = "<group>"; };
CA0C3A852CB4C34800E01A72 /* HuanGeSiLuView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HuanGeSiLuView.h; sourceTree = "<group>"; };
CA0C3A862CB4C34800E01A72 /* HuanGeSiLuView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HuanGeSiLuView.m; sourceTree = "<group>"; };
CA0C3A892CB4C80300E01A72 /* HuanGeSiLuCollectionViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HuanGeSiLuCollectionViewCell.h; sourceTree = "<group>"; };
CA0C3A8A2CB4C80300E01A72 /* HuanGeSiLuCollectionViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HuanGeSiLuCollectionViewCell.m; sourceTree = "<group>"; };
CA0C3A8C2CB4C94000E01A72 /* HuanGeSiLuHDCollectionReusableView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HuanGeSiLuHDCollectionReusableView.h; sourceTree = "<group>"; };
CA0C3A8D2CB4C94000E01A72 /* HuanGeSiLuHDCollectionReusableView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HuanGeSiLuHDCollectionReusableView.m; sourceTree = "<group>"; };
CA0C3A902CB4D03B00E01A72 /* ChongXieYiPianViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ChongXieYiPianViewController.h; sourceTree = "<group>"; };
CA0C3A912CB4D03B00E01A72 /* ChongXieYiPianViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ChongXieYiPianViewController.m; sourceTree = "<group>"; };
CA0C3A942CB4D06600E01A72 /* ChongXieYiPianView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ChongXieYiPianView.h; sourceTree = "<group>"; };
CA0C3A952CB4D06600E01A72 /* ChongXieYiPianView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ChongXieYiPianView.m; sourceTree = "<group>"; };
CA0C3A972CB4D4F500E01A72 /* ZhiNengXieZuoDuanLuoView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ZhiNengXieZuoDuanLuoView.h; sourceTree = "<group>"; };
CA0C3A982CB4D4F500E01A72 /* ZhiNengXieZuoDuanLuoView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ZhiNengXieZuoDuanLuoView.m; sourceTree = "<group>"; };
CA0C3A9C2CB4DADA00E01A72 /* DuanLuoXieZuoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DuanLuoXieZuoViewController.h; sourceTree = "<group>"; };
CA0C3A9D2CB4DADA00E01A72 /* DuanLuoXieZuoViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DuanLuoXieZuoViewController.m; sourceTree = "<group>"; };
CA0C3AA02CB4DBB900E01A72 /* DuanLuoXieZuoView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DuanLuoXieZuoView.h; sourceTree = "<group>"; };
CA0C3AA12CB4DBB900E01A72 /* DuanLuoXieZuoView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DuanLuoXieZuoView.m; sourceTree = "<group>"; };
CA0C3AA32CB4DED200E01A72 /* DuanLuoXieZuoCellView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DuanLuoXieZuoCellView.h; sourceTree = "<group>"; };
CA0C3AA42CB4DED200E01A72 /* DuanLuoXieZuoCellView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DuanLuoXieZuoCellView.m; sourceTree = "<group>"; };
CA0D082B2CA4F8930086855E /* ShouYeZNXZTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ShouYeZNXZTableViewCell.h; sourceTree = "<group>"; }; CA0D082B2CA4F8930086855E /* ShouYeZNXZTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ShouYeZNXZTableViewCell.h; sourceTree = "<group>"; };
CA0D082C2CA4F8930086855E /* ShouYeZNXZTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ShouYeZNXZTableViewCell.m; sourceTree = "<group>"; }; CA0D082C2CA4F8930086855E /* ShouYeZNXZTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ShouYeZNXZTableViewCell.m; sourceTree = "<group>"; };
CA0D082E2CA4FBDB0086855E /* ShouYeXieZuoTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ShouYeXieZuoTableViewCell.h; sourceTree = "<group>"; }; CA0D082E2CA4FBDB0086855E /* ShouYeXieZuoTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ShouYeXieZuoTableViewCell.h; sourceTree = "<group>"; };
@ -1010,6 +1040,88 @@
path = Pods; path = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
CA0C3A802CB4C25B00E01A72 /* 换个思路 */ = {
isa = PBXGroup;
children = (
CA0C3A882CB4C7F500E01A72 /* cell */,
CA0C3A842CB4C33900E01A72 /* view */,
CA0C3A812CB4C27E00E01A72 /* HuanGeSiLuViewController.h */,
CA0C3A822CB4C27E00E01A72 /* HuanGeSiLuViewController.m */,
);
path = "换个思路";
sourceTree = "<group>";
};
CA0C3A842CB4C33900E01A72 /* view */ = {
isa = PBXGroup;
children = (
CA0C3A852CB4C34800E01A72 /* HuanGeSiLuView.h */,
CA0C3A862CB4C34800E01A72 /* HuanGeSiLuView.m */,
);
path = view;
sourceTree = "<group>";
};
CA0C3A882CB4C7F500E01A72 /* cell */ = {
isa = PBXGroup;
children = (
CA0C3A892CB4C80300E01A72 /* HuanGeSiLuCollectionViewCell.h */,
CA0C3A8A2CB4C80300E01A72 /* HuanGeSiLuCollectionViewCell.m */,
CA0C3A8C2CB4C94000E01A72 /* HuanGeSiLuHDCollectionReusableView.h */,
CA0C3A8D2CB4C94000E01A72 /* HuanGeSiLuHDCollectionReusableView.m */,
);
path = cell;
sourceTree = "<group>";
};
CA0C3A8F2CB4CD9B00E01A72 /* 重写一篇 */ = {
isa = PBXGroup;
children = (
CA0C3A932CB4D05800E01A72 /* view */,
CA0C3A902CB4D03B00E01A72 /* ChongXieYiPianViewController.h */,
CA0C3A912CB4D03B00E01A72 /* ChongXieYiPianViewController.m */,
);
path = "重写一篇";
sourceTree = "<group>";
};
CA0C3A932CB4D05800E01A72 /* view */ = {
isa = PBXGroup;
children = (
CA0C3A942CB4D06600E01A72 /* ChongXieYiPianView.h */,
CA0C3A952CB4D06600E01A72 /* ChongXieYiPianView.m */,
);
path = view;
sourceTree = "<group>";
};
CA0C3A9A2CB4DA8800E01A72 /* 全文写作 */ = {
isa = PBXGroup;
children = (
CA0C3A8F2CB4CD9B00E01A72 /* 重写一篇 */,
CA0C3A802CB4C25B00E01A72 /* 换个思路 */,
CAB0F35D2CAA849E003B0C39 /* 写作详情 */,
CAB0F3552CAA7626003B0C39 /* 创作思路 */,
);
path = "全文写作";
sourceTree = "<group>";
};
CA0C3A9B2CB4DA9A00E01A72 /* 段落 */ = {
isa = PBXGroup;
children = (
CA0C3A9F2CB4DBAC00E01A72 /* view */,
CA0C3A9C2CB4DADA00E01A72 /* DuanLuoXieZuoViewController.h */,
CA0C3A9D2CB4DADA00E01A72 /* DuanLuoXieZuoViewController.m */,
);
path = "段落";
sourceTree = "<group>";
};
CA0C3A9F2CB4DBAC00E01A72 /* view */ = {
isa = PBXGroup;
children = (
CA0C3AA02CB4DBB900E01A72 /* DuanLuoXieZuoView.h */,
CA0C3AA12CB4DBB900E01A72 /* DuanLuoXieZuoView.m */,
CA0C3AA32CB4DED200E01A72 /* DuanLuoXieZuoCellView.h */,
CA0C3AA42CB4DED200E01A72 /* DuanLuoXieZuoCellView.m */,
);
path = view;
sourceTree = "<group>";
};
CA0D082A2CA4F8720086855E /* cell */ = { CA0D082A2CA4F8720086855E /* cell */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -1594,8 +1706,8 @@
CAB0D3722CAA47CF009BF67D /* 智能写作 */ = { CAB0D3722CAA47CF009BF67D /* 智能写作 */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
CAB0F35D2CAA849E003B0C39 /* 写作详情 */, CA0C3A9B2CB4DA9A00E01A72 /* 段落 */,
CAB0F3552CAA7626003B0C39 /* 创作思路 */, CA0C3A9A2CB4DA8800E01A72 /* 全文写作 */,
CAB0D3802CAA54E1009BF67D /* alter */, CAB0D3802CAA54E1009BF67D /* alter */,
CAB0D3762CAA487E009BF67D /* view */, CAB0D3762CAA487E009BF67D /* view */,
CAB0D3732CAA47F3009BF67D /* ZhiNengXieZuoViewController.h */, CAB0D3732CAA47F3009BF67D /* ZhiNengXieZuoViewController.h */,
@ -1613,6 +1725,8 @@
CAB0D37B2CAA4A2F009BF67D /* ZhiNengXieZuoTopView.m */, CAB0D37B2CAA4A2F009BF67D /* ZhiNengXieZuoTopView.m */,
CAB0D37D2CAA533D009BF67D /* ZhiNengXieZuoQuanWenView.h */, CAB0D37D2CAA533D009BF67D /* ZhiNengXieZuoQuanWenView.h */,
CAB0D37E2CAA533D009BF67D /* ZhiNengXieZuoQuanWenView.m */, CAB0D37E2CAA533D009BF67D /* ZhiNengXieZuoQuanWenView.m */,
CA0C3A972CB4D4F500E01A72 /* ZhiNengXieZuoDuanLuoView.h */,
CA0C3A982CB4D4F500E01A72 /* ZhiNengXieZuoDuanLuoView.m */,
); );
path = view; path = view;
sourceTree = "<group>"; sourceTree = "<group>";
@ -3002,6 +3116,7 @@
CB489F8F2744A0BD00DA044A /* UITextField+SY.m in Sources */, CB489F8F2744A0BD00DA044A /* UITextField+SY.m in Sources */,
CBD422BA28DAF2E800C32440 /* JhtBannerCardView.m in Sources */, CBD422BA28DAF2E800C32440 /* JhtBannerCardView.m in Sources */,
CB489FCB2744A0BD00DA044A /* HXHud.m in Sources */, CB489FCB2744A0BD00DA044A /* HXHud.m in Sources */,
CA0C3A9E2CB4DADA00E01A72 /* DuanLuoXieZuoViewController.m in Sources */,
CAC806562CA1382500C21AA7 /* StartZNXZView.m in Sources */, CAC806562CA1382500C21AA7 /* StartZNXZView.m in Sources */,
CA4257BD2CA2C65600A36A10 /* StartPayTQViewCell.m in Sources */, CA4257BD2CA2C65600A36A10 /* StartPayTQViewCell.m in Sources */,
CB489DD027449D5C00DA044A /* ViewController.m in Sources */, CB489DD027449D5C00DA044A /* ViewController.m in Sources */,
@ -3032,10 +3147,14 @@
CA11ED742CA69AC600209DFC /* GaiXieRunSeViewController.m in Sources */, CA11ED742CA69AC600209DFC /* GaiXieRunSeViewController.m in Sources */,
CAB0F3602CAA84B3003B0C39 /* XieZuoXiangQingViewController.m in Sources */, CAB0F3602CAA84B3003B0C39 /* XieZuoXiangQingViewController.m in Sources */,
CA4257A02CA299F900A36A10 /* StartZNPPTDaGangView.m in Sources */, CA4257A02CA299F900A36A10 /* StartZNPPTDaGangView.m in Sources */,
CA0C3A8B2CB4C80300E01A72 /* HuanGeSiLuCollectionViewCell.m in Sources */,
CA81818B2C9E598300EE7E6E /* StartKTXZWenZhangView.m in Sources */, CA81818B2C9E598300EE7E6E /* StartKTXZWenZhangView.m in Sources */,
CB489FA72744A0BD00DA044A /* ZJScrollPageView.m in Sources */, CB489FA72744A0BD00DA044A /* ZJScrollPageView.m in Sources */,
CA4257A62CA29FE700A36A10 /* StartZNPPTDaGangAlterLoadView.m in Sources */, CA4257A62CA29FE700A36A10 /* StartZNPPTDaGangAlterLoadView.m in Sources */,
CA0C3A992CB4D4F500E01A72 /* ZhiNengXieZuoDuanLuoView.m in Sources */,
CB489F942744A0BD00DA044A /* AreaprovinceListModel.m in Sources */, CB489F942744A0BD00DA044A /* AreaprovinceListModel.m in Sources */,
CA0C3A832CB4C27E00E01A72 /* HuanGeSiLuViewController.m in Sources */,
CA0C3A962CB4D06600E01A72 /* ChongXieYiPianView.m in Sources */,
CABA14B02C9D4318002CB3B1 /* UserAccountModel.m in Sources */, CABA14B02C9D4318002CB3B1 /* UserAccountModel.m in Sources */,
CA4257982CA2914100A36A10 /* StartZNPPTHUDAlter.m in Sources */, CA4257982CA2914100A36A10 /* StartZNPPTHUDAlter.m in Sources */,
CB489F7C2744A0BD00DA044A /* RSAEncrypt.m in Sources */, CB489F7C2744A0BD00DA044A /* RSAEncrypt.m in Sources */,
@ -3056,6 +3175,7 @@
CAC806732CA171ED00C21AA7 /* StartPZXZPageView.m in Sources */, CAC806732CA171ED00C21AA7 /* StartPZXZPageView.m in Sources */,
CABA14B72C9D4318002CB3B1 /* UserUploadModel.m in Sources */, CABA14B72C9D4318002CB3B1 /* UserUploadModel.m in Sources */,
CB489FB22744A0BD00DA044A /* FSActionSheetItem.m in Sources */, CB489FB22744A0BD00DA044A /* FSActionSheetItem.m in Sources */,
CA0C3AA52CB4DED200E01A72 /* DuanLuoXieZuoCellView.m in Sources */,
CA4257AE2CA2AF3600A36A10 /* StartZNPPTYuLanTableViewCell.m in Sources */, CA4257AE2CA2AF3600A36A10 /* StartZNPPTYuLanTableViewCell.m in Sources */,
CA0D08362CA501710086855E /* ShouYeToolsTableViewCell.m in Sources */, CA0D08362CA501710086855E /* ShouYeToolsTableViewCell.m in Sources */,
CB489F4B2744A0BD00DA044A /* PGGDatePickView.m in Sources */, CB489F4B2744A0BD00DA044A /* PGGDatePickView.m in Sources */,
@ -3067,6 +3187,7 @@
CB489FCC2744A0BD00DA044A /* ConfigireSetting.m in Sources */, CB489FCC2744A0BD00DA044A /* ConfigireSetting.m in Sources */,
CA4257952CA2671400A36A10 /* StartZNPPTCell.m in Sources */, CA4257952CA2671400A36A10 /* StartZNPPTCell.m in Sources */,
CABA14CC2C9D4395002CB3B1 /* NSData+PEHIExtension.m in Sources */, CABA14CC2C9D4395002CB3B1 /* NSData+PEHIExtension.m in Sources */,
CA0C3AA22CB4DBB900E01A72 /* DuanLuoXieZuoView.m in Sources */,
CA0D08542CA543370086855E /* ShouYeLSZWPGTableViewCell.m in Sources */, CA0D08542CA543370086855E /* ShouYeLSZWPGTableViewCell.m in Sources */,
CABA14AC2C9D4318002CB3B1 /* OrderGoodsModel.m in Sources */, CABA14AC2C9D4318002CB3B1 /* OrderGoodsModel.m in Sources */,
CABA14EB2C9D7AB2002CB3B1 /* StartKeTangXieZuoView.m in Sources */, CABA14EB2C9D7AB2002CB3B1 /* StartKeTangXieZuoView.m in Sources */,
@ -3158,6 +3279,7 @@
CA0D08332CA4FFB90086855E /* ShouYeBannerTableViewCell.m in Sources */, CA0D08332CA4FFB90086855E /* ShouYeBannerTableViewCell.m in Sources */,
CABA14AF2C9D4318002CB3B1 /* PayOrderModel.m in Sources */, CABA14AF2C9D4318002CB3B1 /* PayOrderModel.m in Sources */,
CAA600CD2CA92FB700026CF4 /* FXErView.m in Sources */, CAA600CD2CA92FB700026CF4 /* FXErView.m in Sources */,
CA0C3A872CB4C34800E01A72 /* HuanGeSiLuView.m in Sources */,
CB489F812744A0BD00DA044A /* GTMBase64.m in Sources */, CB489F812744A0BD00DA044A /* GTMBase64.m in Sources */,
CAC806642CA151ED00C21AA7 /* StartZNXZSiLuViewController.m in Sources */, CAC806642CA151ED00C21AA7 /* StartZNXZSiLuViewController.m in Sources */,
CB489F962744A0BD00DA044A /* SmsloginCodeModel.m in Sources */, CB489F962744A0BD00DA044A /* SmsloginCodeModel.m in Sources */,
@ -3199,6 +3321,7 @@
CA487D982CA40A8300AE773B /* StartPayDaoJiShiView.m in Sources */, CA487D982CA40A8300AE773B /* StartPayDaoJiShiView.m in Sources */,
CB489F642744A0BD00DA044A /* DAYNavigationBar.m in Sources */, CB489F642744A0BD00DA044A /* DAYNavigationBar.m in Sources */,
CBD422B928DAF2E800C32440 /* JhtBannerScrollView.m in Sources */, CBD422B928DAF2E800C32440 /* JhtBannerScrollView.m in Sources */,
CA0C3A8E2CB4C94000E01A72 /* HuanGeSiLuHDCollectionReusableView.m in Sources */,
CA0FD6AC2CA924A1009A4417 /* FXXieZuoJianYiView.m in Sources */, CA0FD6AC2CA924A1009A4417 /* FXXieZuoJianYiView.m in Sources */,
CABA14B82C9D4318002CB3B1 /* WeixinServiceModel.m in Sources */, CABA14B82C9D4318002CB3B1 /* WeixinServiceModel.m in Sources */,
CB489FB82744A0BD00DA044A /* HXLoadingHUD.m in Sources */, CB489FB82744A0BD00DA044A /* HXLoadingHUD.m in Sources */,
@ -3238,6 +3361,7 @@
CABA147B2C9D17C3002CB3B1 /* StartNJViewController.m in Sources */, CABA147B2C9D17C3002CB3B1 /* StartNJViewController.m in Sources */,
CB489F732744A0BD00DA044A /* BaseViewController.m in Sources */, CB489F732744A0BD00DA044A /* BaseViewController.m in Sources */,
CB489FA42744A0BD00DA044A /* ZJCollectionView.m in Sources */, CB489FA42744A0BD00DA044A /* ZJCollectionView.m in Sources */,
CA0C3A922CB4D03B00E01A72 /* ChongXieYiPianViewController.m in Sources */,
CB489F702744A0BD00DA044A /* TabBarController.m in Sources */, CB489F702744A0BD00DA044A /* TabBarController.m in Sources */,
CA11ED702CA6946500209DFC /* KaiTongAlterTQView.m in Sources */, CA11ED702CA6946500209DFC /* KaiTongAlterTQView.m in Sources */,
CAB0D3712CAA3DAE009BF67D /* KeTangXieZuoXiangQingView.m in Sources */, CAB0D3712CAA3DAE009BF67D /* KeTangXieZuoXiangQingView.m in Sources */,

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "remix-iconslinesystemarrow-left-s-line 1@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "remix-iconslinesystemarrow-left-s-line 1@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 836 B

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "矩形 17911@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "矩形 17911@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -12,6 +12,9 @@ typedef void(^TiCaiAlterViewBack)(NSString *name);
@interface TiCaiAlterView : UIView @interface TiCaiAlterView : UIView
/// ///
@property (nonatomic , strong) TiCaiAlterViewBack backValue; @property (nonatomic , strong) TiCaiAlterViewBack backValue;
///
@property (nonatomic , strong) NSString *strtitle;
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

View File

@ -11,6 +11,8 @@
@interface TiCaiAlterView ()<UITableViewDelegate,UITableViewDataSource> @interface TiCaiAlterView ()<UITableViewDelegate,UITableViewDataSource>
/// ///
@property (nonatomic , strong) UILabel *lbname;
///
@property (nonatomic , strong) UITableView *tableView; @property (nonatomic , strong) UITableView *tableView;
/// ///
@property (nonatomic , strong) NSMutableArray *arrdata; @property (nonatomic , strong) NSMutableArray *arrdata;
@ -48,6 +50,7 @@
make.top.offset(20); make.top.offset(20);
make.centerX.equalTo(viewback); make.centerX.equalTo(viewback);
}]; }];
_lbname = lbname;
UITableView *tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped]; UITableView *tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped];
[tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone]; [tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
@ -66,6 +69,10 @@
} }
return self; return self;
} }
-(void)setStrtitle:(NSString *)strtitle
{
self.lbname.text = strtitle;
}
-(void)getdata -(void)getdata
{ {

View File

@ -0,0 +1,16 @@
//
// ZhiNengXieZuoDuanLuoView.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface ZhiNengXieZuoDuanLuoView : UIView
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,238 @@
//
// ZhiNengXieZuoDuanLuoView.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "ZhiNengXieZuoDuanLuoView.h"
#import "TiCaiAlterView.h"
#import "DuanLuoXieZuoViewController.h"
@interface ZhiNengXieZuoDuanLuoView ()
///
@property (nonatomic , strong) UIButton *btselect;
///
@property (nonatomic , strong) NSMutableArray *arrfield;
@end
@implementation ZhiNengXieZuoDuanLuoView
-(id)initWithFrame:(CGRect)frame
{
if(self = [super initWithFrame:frame])
{
self.arrfield = [NSMutableArray new];
UIView *viewlast = nil;
NSArray *arrt = @[@"写作段落",@"作文标题",@"写作要求",@"写作手法"];
NSArray *arrplatch = @[@"",@"请输入标题",@"请输入作文要求,如:探索梦想的翅膀",@"写作手法"];
for(int i = 0; i < arrt.count; i++)
{
UIView *viewitem = [[UIView alloc] init];
[self addSubview:viewitem];
[viewitem mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.equalTo(self);
make.top.offset(5+90*i);
make.height.offset(90);
}];
viewlast = viewitem;
if(i==0)
{
[self drawDLView:viewitem title:arrt[i]];
}
else
{
UITextField *field = [self drawItemView:viewitem title:arrt[i] platch:arrplatch[i] tag:i-2];
if (i==3)
{
field.text = @"智能推荐";
}
[self.arrfield addObject:field];
}
}
float f_w = UISCREEN_WIDTH-80;
UIButton *btai = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, f_w, 50)];
[btai setTitle:@"批量生成" forState:UIControlStateNormal];
[btai setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
[btai.titleLabel setFont:[UIFont systemFontOfSize:16]];
[btai.layer setMasksToBounds:YES];
[btai.layer setCornerRadius:16];
[self addSubview:btai];
[btai mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.equalTo(viewlast.mas_bottom).offset(20);
make.size.sizeOffset(CGSizeMake(f_w, 50));
make.left.offset(20);
}];
[Tools changedView:btai colors:MainJBColors startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
[btai addTarget:self action:@selector(sendAction) forControlEvents:UIControlEventTouchUpInside];
[self mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(btai).offset(20);
}];
}
return self;
}
-(void)drawDLView:(UIView *)view title:(NSString *)title
{
UIView *viewline = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 7, 17)];
[view addSubview:viewline];
[viewline mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.top.offset(15);
make.size.sizeOffset(CGSizeMake(7, 17));
}];
[viewline.layer setMasksToBounds:YES];
[viewline.layer setCornerRadius:3.5];
[Tools changedView:viewline colors:@[(id)RGBCOLOR(42, 211, 237).CGColor,(id)RGBCOLOR(167, 247, 153).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(0, 1)];
UILabel *lbname = [[UILabel alloc] init];
[lbname setText:title];
[lbname setTextColor:RGBCOLOR(26, 26, 17)];
[lbname setTextAlignment:NSTextAlignmentLeft];
[lbname setFont:[UIFont boldSystemFontOfSize:16]];
[view addSubview:lbname];
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerY.equalTo(viewline);
make.left.equalTo(viewline.mas_right).offset(6);
}];
NSArray *arrbt = @[@"开头",@"段落",@"结尾"];
float f_with = (UISCREEN_WIDTH-104)/3.0;
for(int i = 0 ; i < arrbt.count; i++)
{
UIButton *btitem = [[UIButton alloc] init];
[btitem setTitle:arrbt[i] forState:UIControlStateNormal];
[btitem setTitleColor:RGBCOLOR(61, 61, 61) forState:UIControlStateNormal];
[btitem setTitleColor:[UIColor whiteColor] forState:UIControlStateSelected];
[btitem.titleLabel setFont:[UIFont systemFontOfSize:14]];
[btitem.layer setMasksToBounds:YES];
[btitem.layer setCornerRadius:12];
[btitem setBackgroundColor:RGBCOLOR(240, 241, 254)];
[view addSubview:btitem];
[btitem mas_makeConstraints:^(MASConstraintMaker *make) {
make.size.sizeOffset(CGSizeMake(f_with, 40));
make.left.offset(20+(f_with+12)*i);
make.top.equalTo(viewline.mas_bottom).offset(12);
}];
[btitem setTag:i];
[btitem addTarget:self action:@selector(dlItemAction:) forControlEvents:UIControlEventTouchUpInside];
if(i==0)
{
self.btselect = btitem;
[self.btselect setSelected:YES];
[self.btselect setBackgroundColor:RGBCOLOR(108, 119, 246)];
}
}
}
-(UITextField *)drawItemView:(UIView *)view title:(NSString *)title platch:(NSString *)platch tag:(int)tag
{
UIView *viewline = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 7, 17)];
[view addSubview:viewline];
[viewline mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.top.offset(15);
make.size.sizeOffset(CGSizeMake(7, 17));
}];
[viewline.layer setMasksToBounds:YES];
[viewline.layer setCornerRadius:3.5];
[Tools changedView:viewline colors:@[(id)RGBCOLOR(42, 211, 237).CGColor,(id)RGBCOLOR(167, 247, 153).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(0, 1)];
UILabel *lbname = [[UILabel alloc] init];
[lbname setText:title];
[lbname setTextColor:RGBCOLOR(26, 26, 17)];
[lbname setTextAlignment:NSTextAlignmentLeft];
[lbname setFont:[UIFont boldSystemFontOfSize:16]];
[view addSubview:lbname];
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerY.equalTo(viewline);
make.left.equalTo(viewline.mas_right).offset(6);
}];
UIView *viewback = [[UIView alloc] init];
[viewback setBackgroundColor:RGBCOLOR(250, 250, 250)];
[view addSubview:viewback];
[viewback mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(viewline);
make.right.equalTo(view).offset(-20);
make.top.equalTo(viewline.mas_bottom).offset(12);
make.height.offset(40);
}];
[viewback.layer setMasksToBounds:YES];
[viewback.layer setCornerRadius:12];
UITextField *field = [[UITextField alloc] init];
[field setTextColor:RGBCOLOR(51, 51, 51)];
[field setTextAlignment:NSTextAlignmentLeft];
[field setFont:[UIFont systemFontOfSize:14]];
[field setPlaceholder:platch];
[viewback addSubview:field];
[field mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(10);
make.top.bottom.equalTo(viewback);
make.right.equalTo(viewback).offset(-10);
}];
if(tag>0)
{
UIImageView *imgvnext = [[UIImageView alloc] init];
[imgvnext setImage:[UIImage imageNamed:@"znxz_next"]];
[viewback addSubview:imgvnext];
[imgvnext mas_makeConstraints:^(MASConstraintMaker *make) {
make.width.height.offset(24);
make.centerY.equalTo(viewback);
make.right.equalTo(viewback).offset(-10);
}];
UIButton *btitem = [[UIButton alloc] init];
[viewback addSubview:btitem];
[btitem mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(viewback);
}];
[btitem setTag:tag];
[btitem addTarget:self action:@selector(itemAction:) forControlEvents:UIControlEventTouchUpInside];
}
return field;
}
///
-(void)itemAction:(UIButton *)sender
{
[self endEditing:YES];
TiCaiAlterView *view = [[TiCaiAlterView alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH, UISCREEN_HEIGHT)];
[self.viewController.view addSubview:view];
view.strtitle = @"写作手法";
[view setBackValue:^(NSString * _Nonnull name) {
UITextField *field = self.arrfield[2];
field.text = name;
}];
}
///
-(void)dlItemAction:(UIButton *)sender
{
if(sender.tag==self.btselect.tag)return;;
[self.btselect setSelected:NO];
[self.btselect setBackgroundColor:RGBCOLOR(240, 241, 254)];
self.btselect = sender;
[self.btselect setSelected:YES];
[self.btselect setBackgroundColor:RGBCOLOR(108, 119, 246)];
}
///
-(void)sendAction
{
DuanLuoXieZuoViewController *vc = [DuanLuoXieZuoViewController new];
vc.strtitle = @"开头";
[self.viewController.navigationController pushViewController:vc animated:YES];
}
@end

View File

@ -8,9 +8,17 @@
#import "ZhiNengXieZuoView.h" #import "ZhiNengXieZuoView.h"
#import "ZhiNengXieZuoTopView.h" #import "ZhiNengXieZuoTopView.h"
#import "ZhiNengXieZuoQuanWenView.h" #import "ZhiNengXieZuoQuanWenView.h"
#import "ZhiNengXieZuoDuanLuoView.h"
@interface ZhiNengXieZuoView () @interface ZhiNengXieZuoView ()
///
@property (nonatomic , strong) UIImageView *imgvback;
///
@property (nonatomic , strong) ZhiNengXieZuoQuanWenView *viewqw;
///
@property (nonatomic , strong) ZhiNengXieZuoDuanLuoView *viewdl;
@end @end
@ -22,7 +30,7 @@
if(self = [super initWithFrame:frame]) if(self = [super initWithFrame:frame])
{ {
UIImage *image = [UIImage imageNamed:@"znxz_viewleft"]; UIImage *image = [UIImage imageNamed:@"znxz_viewleft"];
///znxz_viewright
UIImageView *imgvback = [[UIImageView alloc] init]; UIImageView *imgvback = [[UIImageView alloc] init];
[imgvback setImage:[image resizableImageWithCapInsets:UIEdgeInsetsMake(image.size.height/2.0, 20, image.size.height/2.0, image.size.width-20)]]; [imgvback setImage:[image resizableImageWithCapInsets:UIEdgeInsetsMake(image.size.height/2.0, 20, image.size.height/2.0, image.size.width-20)]];
[self addSubview:imgvback]; [self addSubview:imgvback];
@ -32,7 +40,7 @@
}]; }];
[imgvback setUserInteractionEnabled:YES]; [imgvback setUserInteractionEnabled:YES];
[self drawInfoView:imgvback]; [self drawInfoView:imgvback];
_imgvback = imgvback;
} }
@ -47,7 +55,7 @@
make.height.offset(52); make.height.offset(52);
}]; }];
[viewtop setBackSelect:^(NSInteger tag) { [viewtop setBackSelect:^(NSInteger tag) {
[self topAction:tag];
}]; }];
ZhiNengXieZuoQuanWenView *viewqw = [ZhiNengXieZuoQuanWenView new]; ZhiNengXieZuoQuanWenView *viewqw = [ZhiNengXieZuoQuanWenView new];
@ -56,12 +64,37 @@
make.left.right.equalTo(view); make.left.right.equalTo(view);
make.top.equalTo(viewtop.mas_bottom); make.top.equalTo(viewtop.mas_bottom);
}]; }];
_viewqw = viewqw;
[view mas_makeConstraints:^(MASConstraintMaker *make) { [view mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(viewqw); make.bottom.equalTo(viewqw);
}]; }];
ZhiNengXieZuoDuanLuoView *viewdl = [ZhiNengXieZuoDuanLuoView new];
[view addSubview:viewdl];
[viewdl mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.equalTo(view);
make.top.equalTo(viewqw);
}];
[viewdl setHidden:YES];
_viewdl = viewdl;
}
-(void)topAction:(NSInteger)tag
{
if(tag==1)
{
[self.viewdl setHidden:NO];
[self.viewqw setHidden:YES];
UIImage *image = [UIImage imageNamed:@"znxz_viewright"];
[self.imgvback setImage:[image resizableImageWithCapInsets:UIEdgeInsetsMake(image.size.height/2.0, image.size.width-20, image.size.height/2.0, 20)]];
}
else
{
[self.viewdl setHidden:YES];
[self.viewqw setHidden:NO];
UIImage *image = [UIImage imageNamed:@"znxz_viewleft"];
[self.imgvback setImage:[image resizableImageWithCapInsets:UIEdgeInsetsMake(image.size.height/2.0, 20, image.size.height/2.0, image.size.width-20)]];
}
} }

View File

@ -8,7 +8,7 @@
#import "XieZuoXiangQingView.h" #import "XieZuoXiangQingView.h"
#import "XieZuoXiangQingSiLuView.h" #import "XieZuoXiangQingSiLuView.h"
#import "FenXiangWenZhangAlterView.h" #import "FenXiangWenZhangAlterView.h"
#import "ChongXieYiPianViewController.h"
@interface XieZuoXiangQingView () @interface XieZuoXiangQingView ()
@ -226,7 +226,8 @@
switch (sender.tag) { switch (sender.tag) {
case 0: case 0:
{ {
ChongXieYiPianViewController *vc = [ChongXieYiPianViewController new];
[self.viewController.navigationController pushViewController:vc animated:YES];
} }
break; break;
case 1: case 1:

View File

@ -7,6 +7,8 @@
#import "ChuangZuoSiLuView.h" #import "ChuangZuoSiLuView.h"
#import "XieZuoXiangQingViewController.h" #import "XieZuoXiangQingViewController.h"
#import "HuanGeSiLuViewController.h"
typedef void(^ChuangZuoSiLuViewDraw)(void); typedef void(^ChuangZuoSiLuViewDraw)(void);
@interface ChuangZuoSiLuView () @interface ChuangZuoSiLuView ()
@ -248,7 +250,8 @@ typedef void(^ChuangZuoSiLuViewDraw)(void);
-(void)changeAction -(void)changeAction
{ {
HuanGeSiLuViewController *vc = [HuanGeSiLuViewController new];
[self.viewController.navigationController pushViewController:vc animated:YES];
} }
-(void)sendAction -(void)sendAction

View File

@ -0,0 +1,16 @@
//
// HuanGeSiLuViewController.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import "BaseViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface HuanGeSiLuViewController : BaseViewController
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,56 @@
//
// HuanGeSiLuViewController.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "HuanGeSiLuViewController.h"
#import "HuanGeSiLuView.h"
@interface HuanGeSiLuViewController ()
///
@property (nonatomic , strong) HuanGeSiLuView *viewshow;
@end
@implementation HuanGeSiLuViewController
- (UIStatusBarStyle)preferredStatusBarStyle {
return UIStatusBarStyleDefault;
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:YES animated:animated];
[self showNaviGationView:YES];
[self.navigationView setTitle:@"换个思路" titleColor:RGBCOLOR(60, 60, 60)];
[self.navigationView setBackgroundColor:[UIColor clearColor]];
[self.navigationView setMuenTitle:@"提交" titleColor:RGBCOLOR(60, 60, 60)];
}
-(void)navMuenButtonAction
{
[self.viewshow sendAction];
}
- (void)viewDidLoad {
[super viewDidLoad];
[self.view setBackgroundColor:[UIColor whiteColor]];
UIImageView *imgvback = [[UIImageView alloc] init];
[imgvback setImage:[UIImage imageNamed:@"znxz_back"]];
[self.view addSubview:imgvback];
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(self.view);
}];
[self.view sendSubviewToBack:imgvback];
HuanGeSiLuView *view = [HuanGeSiLuView new];
[self.view addSubview:view];
[view mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.bottom.equalTo(self.view);
make.top.offset(NavHeight);
}];
_viewshow = view;
}
@end

View File

@ -0,0 +1,20 @@
//
// HuanGeSiLuCollectionViewCell.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface HuanGeSiLuCollectionViewCell : UICollectionViewCell
///
@property (nonatomic , strong) UIView *viewback;
///
@property (nonatomic , strong) UILabel *lbname;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,51 @@
//
// HuanGeSiLuCollectionViewCell.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "HuanGeSiLuCollectionViewCell.h"
@implementation HuanGeSiLuCollectionViewCell
-(id)initWithFrame:(CGRect)frame
{
if(self = [super initWithFrame:frame])
{
UIView *viewback = [[UIView alloc] init];
[viewback setBackgroundColor:[UIColor whiteColor]];
[self.contentView addSubview:viewback];
[viewback mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(self);
}];
[viewback.layer setMasksToBounds:YES];
[viewback.layer setCornerRadius:16];
[viewback.layer setBorderWidth:1];
[viewback.layer setBorderColor:RGBCOLOR(216, 216, 216).CGColor];
_viewback = viewback;
UILabel *lbname = [[UILabel alloc] init];
[lbname setText:@"-"];
[lbname setTextColor:RGBCOLOR(51, 51, 51)];
[lbname setTextAlignment:NSTextAlignmentCenter];
[lbname setFont:[UIFont systemFontOfSize:14]];
[viewback addSubview:lbname];
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(viewback);
}];
_lbname = lbname;
}
return self;
}
-(void)selectItem
{
[self.viewback setBackgroundColor:RGBCOLOR(108, 119, 246)];
[self.lbname setTextColor:[UIColor whiteColor]];
}
@end

View File

@ -0,0 +1,18 @@
//
// HuanGeSiLuHDCollectionReusableView.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface HuanGeSiLuHDCollectionReusableView : UICollectionReusableView
///
@property (nonatomic , strong) UILabel *lbname;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,29 @@
//
// HuanGeSiLuHDCollectionReusableView.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "HuanGeSiLuHDCollectionReusableView.h"
@implementation HuanGeSiLuHDCollectionReusableView
-(id)initWithFrame:(CGRect)frame
{
if(self = [super initWithFrame:frame])
{
UILabel *lbname = [[UILabel alloc] init];
[lbname setText:@"-"];
[lbname setTextColor:RGBCOLOR(51, 51, 51)];
[lbname setTextAlignment:NSTextAlignmentLeft];
[lbname setFont:[UIFont systemFontOfSize:16]];
[self addSubview:lbname];
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.centerY.equalTo(self);
}];
_lbname = lbname;
}
return self;
}
@end

View File

@ -0,0 +1,16 @@
//
// HuanGeSiLuView.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface HuanGeSiLuView : UIView
-(void)sendAction;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,204 @@
//
// HuanGeSiLuView.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "HuanGeSiLuView.h"
#import "HuanGeSiLuCollectionViewCell.h"
#import "HuanGeSiLuHDCollectionReusableView.h"
#import "FSTextView.h"
@interface HuanGeSiLuView ()<UICollectionViewDelegate,UICollectionViewDataSource>
///
@property (nonatomic , strong) UICollectionView *collect;
///
@property (nonatomic , strong) FSTextView *textView;
@end
@implementation HuanGeSiLuView
-(id)initWithFrame:(CGRect)frame
{
if(self = [super initWithFrame:frame])
{
UIScrollView *scvback = [[UIScrollView alloc] init];
[self addSubview:scvback];
[scvback mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.top.offset(0);
make.width.height.equalTo(self);
}];
UIView *viewcell = [[UIView alloc] init];
[viewcell setBackgroundColor:[UIColor whiteColor]];
[scvback addSubview:viewcell];
[viewcell mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.top.offset(20);
make.width.equalTo(scvback).offset(-40);
}];
[Tools normalShadow:viewcell shadowColor:RGBACOLOR(26, 71, 111, 0.08) shadowOpacity:1 cornerRadius:20 shadowRadius:12];
[self drawInfoView:viewcell];
UIView *viewtext = [[UIView alloc] init];
[viewtext setBackgroundColor:[UIColor whiteColor]];
[scvback addSubview:viewtext];
[viewtext mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.equalTo(viewcell);
make.top.equalTo(viewcell.mas_bottom).offset(20);
}];
[Tools normalShadow:viewtext shadowColor:RGBACOLOR(26, 71, 111, 0.08) shadowOpacity:1 cornerRadius:20 shadowRadius:12];
[self drawTextView:viewtext];
[scvback mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(viewtext).offset(30);
}];
}
return self;
}
-(void)drawTextView:(UIView *)view
{
UIView *viewle = [self drawItemView:view title:@"写作要求"];
FSTextView *textView = [[FSTextView alloc] init];
[textView setTextColor:RGBCOLOR(51, 51, 51)];
[textView setTextAlignment:NSTextAlignmentLeft];
[textView setFont:[UIFont systemFontOfSize:14]];
[textView setPlaceholder:@"请输入您的写作要求"];
[view addSubview:textView];
[textView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.top.equalTo(viewle.mas_bottom).offset(10);
make.right.equalTo(view).offset(-20);
make.height.offset(150);
}];
[textView.layer setMasksToBounds:YES];
[textView.layer setCornerRadius:12];
[textView setBackgroundColor:RGBCOLOR(250, 250, 250)];
[view mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(textView).offset(20);
}];
}
-(void)drawInfoView:(UIView *)view
{
UIView *viewle = [self drawItemView:view title:@"灵感题材"];
UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init];
layout.minimumLineSpacing = 0;
layout.minimumInteritemSpacing = 0;
UICollectionView *collect = [[UICollectionView alloc] initWithFrame:CGRectZero collectionViewLayout:layout];
[collect setScrollEnabled:NO];
[collect setDelegate:self];
[collect setDataSource:self];
[collect setBackgroundColor:[UIColor clearColor]];
[view addSubview:collect];
[collect mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(0);
make.right.equalTo(view);
make.top.equalTo(viewle.mas_bottom);
make.height.offset(47*2+42*4-10*2+4);
}];
[collect registerClass:[HuanGeSiLuCollectionViewCell class] forCellWithReuseIdentifier:@"HuanGeSiLuCollectionViewCell"];
[collect registerClass:[HuanGeSiLuHDCollectionReusableView class] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HuanGeSiLuHDCollectionReusableView"];
_collect = collect;
[view mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(collect.mas_bottom).offset(20);
}];
}
-(UIView *)drawItemView:(UIView *)view title:(NSString *)title
{
UIView *viewline = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 7, 17)];
[view addSubview:viewline];
[viewline mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.top.offset(23);
make.size.sizeOffset(CGSizeMake(7, 17));
}];
[viewline.layer setMasksToBounds:YES];
[viewline.layer setCornerRadius:3.5];
[Tools changedView:viewline colors:@[(id)RGBCOLOR(42, 211, 237).CGColor,(id)RGBCOLOR(167, 247, 153).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(0, 1)];
UILabel *lbname = [[UILabel alloc] init];
[lbname setText:title];
[lbname setTextColor:RGBCOLOR(26, 26, 17)];
[lbname setTextAlignment:NSTextAlignmentLeft];
[lbname setFont:[UIFont boldSystemFontOfSize:16]];
[view addSubview:lbname];
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerY.equalTo(viewline);
make.left.equalTo(viewline.mas_right).offset(6);
}];
return viewline;
}
///
-(void)sendAction
{
}
#pragma mark - UICollectionView
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView
{
return 2;
}
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section
{
return 5;
}
- (__kindof UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
{
HuanGeSiLuCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"HuanGeSiLuCollectionViewCell" forIndexPath:indexPath];
return cell;
}
//section
- (UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout insetForSectionAtIndex:(NSInteger)section{
return UIEdgeInsetsMake(0, 20, 0, 20);
}
//cell
- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout minimumLineSpacingForSectionAtIndex:(NSInteger)section{
return 12;
}
//cell
- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout ForSectionAtIndex:(NSInteger)section{
return 10;
}
// UICollectionViewCell
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath
{
return CGSizeMake((UISCREEN_WIDTH-104)/3.0, 32);
}
///collectionView
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout referenceSizeForHeaderInSection:(NSInteger)section{
return CGSizeMake(UISCREEN_WIDTH-40, 47);
}
- (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath
{
if([kind isEqualToString:UICollectionElementKindSectionHeader])
{
HuanGeSiLuHDCollectionReusableView *header = [collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HuanGeSiLuHDCollectionReusableView" forIndexPath:indexPath];
header.lbname.text = @"亲人";
return header;
}
return nil;
}
-(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
///
}
@end

View File

@ -0,0 +1,16 @@
//
// ChongXieYiPianViewController.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import "BaseViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface ChongXieYiPianViewController : BaseViewController
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,54 @@
//
// ChongXieYiPianViewController.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "ChongXieYiPianViewController.h"
#import "ChongXieYiPianView.h"
@interface ChongXieYiPianViewController ()
///
@property (nonatomic , strong) ChongXieYiPianView *viewshow;
@end
@implementation ChongXieYiPianViewController
- (UIStatusBarStyle)preferredStatusBarStyle {
return UIStatusBarStyleDefault;
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:YES animated:animated];
[self showNaviGationView:YES];
[self.navigationView setTitle:@"重写一篇" titleColor:RGBCOLOR(60, 60, 60)];
[self.navigationView setBackgroundColor:[UIColor clearColor]];
[self.navigationView setMuenTitle:@"提交" titleColor:RGBCOLOR(60, 60, 60)];
}
-(void)navMuenButtonAction
{
[self.viewshow sendAction];
}
- (void)viewDidLoad {
[super viewDidLoad];
[self.view setBackgroundColor:[UIColor whiteColor]];
UIImageView *imgvback = [[UIImageView alloc] init];
[imgvback setImage:[UIImage imageNamed:@"znxz_back"]];
[self.view addSubview:imgvback];
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(self.view);
}];
[self.view sendSubviewToBack:imgvback];
ChongXieYiPianView *view = [ChongXieYiPianView new];
[self.view addSubview:view];
[view mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.bottom.equalTo(self.view);
make.top.offset(NavHeight);
}];
_viewshow = view;
}
@end

View File

@ -0,0 +1,16 @@
//
// ChongXieYiPianView.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface ChongXieYiPianView : UIView
-(void)sendAction;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,116 @@
//
// ChongXieYiPianView.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "ChongXieYiPianView.h"
#import "FSTextView.h"
@interface ChongXieYiPianView ()
///
@property (nonatomic , strong) FSTextView *textView;
@end
@implementation ChongXieYiPianView
-(id)initWithFrame:(CGRect)frame
{
if(self = [super initWithFrame:frame])
{
UIScrollView *scvback = [[UIScrollView alloc] init];
[self addSubview:scvback];
[scvback mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.top.offset(0);
make.width.height.equalTo(self);
}];
UIView *viewtext = [[UIView alloc] init];
[viewtext setBackgroundColor:[UIColor whiteColor]];
[scvback addSubview:viewtext];
[viewtext mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.top.offset(20);
make.width.equalTo(scvback).offset(-40);
}];
[Tools normalShadow:viewtext shadowColor:RGBACOLOR(26, 71, 111, 0.08) shadowOpacity:1 cornerRadius:20 shadowRadius:12];
[self drawTextView:viewtext];
UILabel *lbts = [[UILabel alloc] init];
[lbts setText:@"没有思路AI随机写一篇吧"];
[lbts setTextColor:RGBCOLOR(109, 109, 109)];
[lbts setTextAlignment:NSTextAlignmentLeft];
[lbts setFont:[UIFont systemFontOfSize:14]];
[scvback addSubview:lbts];
[lbts mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.equalTo(viewtext.mas_bottom).offset(20);
make.centerX.equalTo(viewtext);
}];
[scvback mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(lbts).offset(30);
}];
}
return self;
}
-(void)drawTextView:(UIView *)view
{
UIView *viewle = [self drawItemView:view title:@"写作要求"];
FSTextView *textView = [[FSTextView alloc] init];
[textView setTextColor:RGBCOLOR(51, 51, 51)];
[textView setTextAlignment:NSTextAlignmentLeft];
[textView setFont:[UIFont systemFontOfSize:14]];
[textView setPlaceholder:@"请输入您的写作要求"];
[view addSubview:textView];
[textView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.top.equalTo(viewle.mas_bottom).offset(10);
make.right.equalTo(view).offset(-20);
make.height.offset(150);
}];
[textView.layer setMasksToBounds:YES];
[textView.layer setCornerRadius:12];
[textView setBackgroundColor:RGBCOLOR(250, 250, 250)];
[view mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(textView).offset(20);
}];
}
-(UIView *)drawItemView:(UIView *)view title:(NSString *)title
{
UIView *viewline = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 7, 17)];
[view addSubview:viewline];
[viewline mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.top.offset(23);
make.size.sizeOffset(CGSizeMake(7, 17));
}];
[viewline.layer setMasksToBounds:YES];
[viewline.layer setCornerRadius:3.5];
[Tools changedView:viewline colors:@[(id)RGBCOLOR(42, 211, 237).CGColor,(id)RGBCOLOR(167, 247, 153).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(0, 1)];
UILabel *lbname = [[UILabel alloc] init];
[lbname setText:title];
[lbname setTextColor:RGBCOLOR(26, 26, 17)];
[lbname setTextAlignment:NSTextAlignmentLeft];
[lbname setFont:[UIFont boldSystemFontOfSize:16]];
[view addSubview:lbname];
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerY.equalTo(viewline);
make.left.equalTo(viewline.mas_right).offset(6);
}];
return viewline;
}
///
-(void)sendAction
{
}
@end

View File

@ -0,0 +1,18 @@
//
// DuanLuoXieZuoViewController.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import "BaseViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface DuanLuoXieZuoViewController : BaseViewController
///
@property (nonatomic , strong) NSString *strtitle;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,46 @@
//
// DuanLuoXieZuoViewController.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "DuanLuoXieZuoViewController.h"
#import "DuanLuoXieZuoView.h"
@interface DuanLuoXieZuoViewController ()
@end
@implementation DuanLuoXieZuoViewController
-(UIStatusBarStyle)preferredStatusBarStyle {
return UIStatusBarStyleDefault;
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:YES animated:animated];
[self showNaviGationView:YES];
[self.navigationView setTitle:@"开头" titleColor:RGBCOLOR(60, 60, 60)];
if(self.strtitle)
{
[self.navigationView setTitle:self.strtitle titleColor:RGBCOLOR(60, 60, 60)];
}
[self.navigationView setBackgroundColor:RGBCOLOR(251, 251, 253)];
}
- (void)viewDidLoad {
[super viewDidLoad];
[self.view setBackgroundColor:RGBCOLOR(251, 251, 253)];
DuanLuoXieZuoView *view = [DuanLuoXieZuoView new];
[self.view addSubview:view];
[view mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.bottom.equalTo(self.view);
make.top.offset(NavHeight);
}];
}
@end

View File

@ -0,0 +1,22 @@
//
// DuanLuoXieZuoCellView.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void(^DuanLuoXieZuoCellViewBack)(BOOL isend);
@interface DuanLuoXieZuoCellView : UIView
///
@property (nonatomic , strong) NSString *strname;
@property (nonatomic , strong) NSString *strvalue;
///
@property (nonatomic , strong) DuanLuoXieZuoCellViewBack backValue;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,134 @@
//
// DuanLuoXieZuoCellView.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "DuanLuoXieZuoCellView.h"
@interface DuanLuoXieZuoCellView ()
///
@property (nonatomic , strong) UILabel *lbname;
///
@property (nonatomic , strong) UILabel *lbnumber;
///
@property (nonatomic , strong) ViewLable *lbwz;
@end
@implementation DuanLuoXieZuoCellView
-(id)initWithFrame:(CGRect)frame
{
if(self = [super initWithFrame:frame])
{
[self setBackgroundColor:[UIColor whiteColor]];
[Tools normalShadow:self shadowColor:RGBACOLOR(26, 71, 111, 0.08) shadowOpacity:1 cornerRadius:20 shadowRadius:12];
_lbname = [self drawItemView:self];
_lbname.text = @"结果一";
UIButton *btnext = [[UIButton alloc] init];
[btnext setTitle:@"续写全文" forState:UIControlStateNormal];
[btnext setTitleColor:RGBCOLOR(109, 109, 109) forState:UIControlStateNormal];
[btnext.titleLabel setFont:[UIFont systemFontOfSize:14]];
[btnext setImage:[UIImage imageNamed:@"duanluo_next"] forState:UIControlStateNormal];
[self addSubview:btnext];
[btnext mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerY.equalTo(self.lbname);
make.right.equalTo(self).offset(-20);
make.height.offset(30);
make.width.offset(100);
}];
[btnext setIconInRight];
[btnext setContentHorizontalAlignment:UIControlContentHorizontalAlignmentRight];
UIView *viewback = [[UIView alloc] init];
[viewback setBackgroundColor:RGBCOLOR(240, 241, 254)];
[self addSubview:viewback];
[viewback mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.top.equalTo(self.lbname.mas_bottom).offset(10);
make.right.equalTo(self).offset(-20);
}];
[viewback.layer setMasksToBounds:YES];
[viewback.layer setCornerRadius:20];
ViewLable *lbwz = [[ViewLable alloc] init];
[viewback addSubview:lbwz];
[lbwz mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(15);
make.top.offset(15);
make.right.equalTo(viewback).offset(-15);
}];
lbwz.textColor = RGBCOLOR(61, 61, 61);
lbwz.textFont = [UIFont systemFontOfSize:14];
lbwz.fspeed = 0.02;
_lbwz = lbwz;
[lbwz setBackHeight:^(float fheight, BOOL isend) {
if(isend)
{
self.backValue(YES);
}
}];
UILabel *lbnumber = [[UILabel alloc] init];
[lbnumber setText:@"智能推荐 0字"];
[lbnumber setTextColor:RGBCOLOR(109, 109, 109)];
[lbnumber setTextAlignment:NSTextAlignmentLeft];
[lbnumber setFont:[UIFont systemFontOfSize:12]];
[viewback addSubview:lbnumber];
[lbnumber mas_makeConstraints:^(MASConstraintMaker *make) {
make.right.equalTo(viewback).offset(-15);
make.top.equalTo(lbwz.mas_bottom).offset(20);
}];
_lbnumber = lbnumber;
[viewback mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(lbnumber).offset(15);
}];
[self mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(viewback).offset(20);
}];
}
return self;
}
-(UILabel *)drawItemView:(UIView *)view
{
UIView *viewline = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 7, 17)];
[view addSubview:viewline];
[viewline mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.top.offset(23);
make.size.sizeOffset(CGSizeMake(7, 17));
}];
[viewline.layer setMasksToBounds:YES];
[viewline.layer setCornerRadius:3.5];
[Tools changedView:viewline colors:@[(id)RGBCOLOR(42, 211, 237).CGColor,(id)RGBCOLOR(167, 247, 153).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(0, 1)];
UILabel *lbname = [[UILabel alloc] init];
[lbname setTextColor:RGBCOLOR(26, 26, 17)];
[lbname setTextAlignment:NSTextAlignmentLeft];
[lbname setFont:[UIFont boldSystemFontOfSize:16]];
[view addSubview:lbname];
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerY.equalTo(viewline);
make.left.equalTo(viewline.mas_right).offset(6);
}];
return lbname;
}
-(void)setStrname:(NSString *)strname
{
self.lbname.text = strname;
}
-(void)setStrvalue:(NSString *)strvalue
{
_strvalue = strvalue;
self.lbwz.strValue = strvalue;
}
@end

View File

@ -0,0 +1,16 @@
//
// DuanLuoXieZuoView.h
// ProductApp
//
// Created by 工作 on 2024/10/8.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface DuanLuoXieZuoView : UIView
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,76 @@
//
// DuanLuoXieZuoView.m
// ProductApp
//
// Created by on 2024/10/8.
//
#import "DuanLuoXieZuoView.h"
#import "DuanLuoXieZuoCellView.h"
@interface DuanLuoXieZuoView ()
///
@property (nonatomic , strong) UIScrollView *scvback;
@end
@implementation DuanLuoXieZuoView
-(id)initWithFrame:(CGRect)frame
{
if(self = [super initWithFrame:frame])
{
UIScrollView *scvback = [[UIScrollView alloc] init];
[scvback setShowsVerticalScrollIndicator:NO];
[self addSubview:scvback];
[scvback mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.top.offset(0);
make.width.equalTo(self);
make.height.equalTo(self).offset(-TabHeight-40);
}];
_scvback = scvback;
[self drawinfo];
UIButton *btcreate = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 160, 50)];
[btcreate setTitle:@"再生成3段" forState:UIControlStateNormal];
[btcreate setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
[btcreate.titleLabel setFont:[UIFont boldSystemFontOfSize:18]];
[btcreate.layer setMasksToBounds:YES];
[btcreate.layer setCornerRadius:16];
[self addSubview:btcreate];
[btcreate mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerX.equalTo(self);
make.top.equalTo(scvback.mas_bottom).offset(20);
make.width.offset(160);
make.height.offset(50);
}];
[btcreate addTarget:self action:@selector(createAction) forControlEvents:UIControlEventTouchUpInside];
[Tools changedView:btcreate colors:MainJBColors startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
}
return self;
}
-(void)drawinfo
{
DuanLuoXieZuoCellView *viewitem = [DuanLuoXieZuoCellView new];
[self.scvback addSubview:viewitem];
[viewitem mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.offset(20);
make.top.offset(20);
make.width.equalTo(self.scvback).offset(-40);
}];
viewitem.strname = @"结果一";
viewitem.strvalue = @"阳光透过茂密的树叶,洒在我的帐篷上。我睁开眼睛,闻到了清新的泥土味和远处溪水的声音。这是我第一次露营,心情无比激动。";
[viewitem setBackValue:^(BOOL isend) {
}];
}
-(void)createAction
{
}
@end