分享海报
|
@ -33,6 +33,15 @@
|
|||
CA0D087C2CA55BB80086855E /* ShouYeLiShiJiLuPPTTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0D087B2CA55BB80086855E /* ShouYeLiShiJiLuPPTTableViewCell.m */; };
|
||||
CA0D087F2CA55E5D0086855E /* JJGradientLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0D087E2CA55E5D0086855E /* JJGradientLabel.m */; };
|
||||
CA0D08832CA5682D0086855E /* CamreViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0D08822CA5682D0086855E /* CamreViewController.m */; };
|
||||
CA0FD6902CA8EECE009A4417 /* XieZuoFenXiangAlterTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0FD68F2CA8EECE009A4417 /* XieZuoFenXiangAlterTableViewCell.m */; };
|
||||
CA0FD6932CA8EEF3009A4417 /* XieZuoFenXiangAlterNOTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0FD6922CA8EEF3009A4417 /* XieZuoFenXiangAlterNOTableViewCell.m */; };
|
||||
CA0FD6962CA8F68D009A4417 /* FenXiangHaiBaoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0FD6952CA8F68D009A4417 /* FenXiangHaiBaoViewController.m */; };
|
||||
CA0FD69A2CA8F6DE009A4417 /* FenXiangHaiBaoView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0FD6992CA8F6DE009A4417 /* FenXiangHaiBaoView.m */; };
|
||||
CA0FD69D2CA8F907009A4417 /* FenXiangHaiBaoInfoSuperView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0FD69C2CA8F907009A4417 /* FenXiangHaiBaoInfoSuperView.m */; };
|
||||
CA0FD6A02CA8FA88009A4417 /* FenXiangHaiBaoInfoSuperItemView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0FD69F2CA8FA88009A4417 /* FenXiangHaiBaoInfoSuperItemView.m */; };
|
||||
CA0FD6A42CA8FF5C009A4417 /* FXWDPFView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0FD6A32CA8FF5C009A4417 /* FXWDPFView.m */; };
|
||||
CA0FD6A82CA900E2009A4417 /* FXTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0FD6A72CA900E2009A4417 /* FXTextView.m */; };
|
||||
CA0FD6AC2CA924A1009A4417 /* FXXieZuoJianYiView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA0FD6AB2CA924A1009A4417 /* FXXieZuoJianYiView.m */; };
|
||||
CA11ED5A2CA648AB00209DFC /* CamreTypeView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA11ED592CA648AB00209DFC /* CamreTypeView.m */; };
|
||||
CA11ED5D2CA653F600209DFC /* CamreImagesView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA11ED5C2CA653F600209DFC /* CamreImagesView.m */; };
|
||||
CA11ED612CA6556900209DFC /* CamreImagesCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA11ED602CA6556900209DFC /* CamreImagesCollectionViewCell.m */; };
|
||||
|
@ -80,6 +89,7 @@
|
|||
CA8181B02C9EB96000EE7E6E /* StartKTXZPGDetailFJView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA8181AF2C9EB96000EE7E6E /* StartKTXZPGDetailFJView.m */; };
|
||||
CA8181B32C9EB96F00EE7E6E /* StartKTXZPGDetailXZView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA8181B22C9EB96F00EE7E6E /* StartKTXZPGDetailXZView.m */; };
|
||||
CA8181B62C9ECB5800EE7E6E /* StartKTXZPGDetailFJItemView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA8181B52C9ECB5800EE7E6E /* StartKTXZPGDetailFJItemView.m */; };
|
||||
CAA600CD2CA92FB700026CF4 /* FXErView.m in Sources */ = {isa = PBXBuildFile; fileRef = CAA600CC2CA92FB700026CF4 /* FXErView.m */; };
|
||||
CABA14612C9D0B1C002CB3B1 /* ShouYeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CABA14602C9D0B1C002CB3B1 /* ShouYeViewController.m */; };
|
||||
CABA14642C9D0B25002CB3B1 /* FanWenViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CABA14632C9D0B25002CB3B1 /* FanWenViewController.m */; };
|
||||
CABA14672C9D0B31002CB3B1 /* AIChatViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CABA14662C9D0B31002CB3B1 /* AIChatViewController.m */; };
|
||||
|
@ -350,6 +360,24 @@
|
|||
CA0D087E2CA55E5D0086855E /* JJGradientLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JJGradientLabel.m; sourceTree = "<group>"; };
|
||||
CA0D08812CA5682D0086855E /* CamreViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CamreViewController.h; sourceTree = "<group>"; };
|
||||
CA0D08822CA5682D0086855E /* CamreViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CamreViewController.m; sourceTree = "<group>"; };
|
||||
CA0FD68E2CA8EECE009A4417 /* XieZuoFenXiangAlterTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XieZuoFenXiangAlterTableViewCell.h; sourceTree = "<group>"; };
|
||||
CA0FD68F2CA8EECE009A4417 /* XieZuoFenXiangAlterTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XieZuoFenXiangAlterTableViewCell.m; sourceTree = "<group>"; };
|
||||
CA0FD6912CA8EEF3009A4417 /* XieZuoFenXiangAlterNOTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XieZuoFenXiangAlterNOTableViewCell.h; sourceTree = "<group>"; };
|
||||
CA0FD6922CA8EEF3009A4417 /* XieZuoFenXiangAlterNOTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XieZuoFenXiangAlterNOTableViewCell.m; sourceTree = "<group>"; };
|
||||
CA0FD6942CA8F68D009A4417 /* FenXiangHaiBaoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FenXiangHaiBaoViewController.h; sourceTree = "<group>"; };
|
||||
CA0FD6952CA8F68D009A4417 /* FenXiangHaiBaoViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FenXiangHaiBaoViewController.m; sourceTree = "<group>"; };
|
||||
CA0FD6982CA8F6DE009A4417 /* FenXiangHaiBaoView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FenXiangHaiBaoView.h; sourceTree = "<group>"; };
|
||||
CA0FD6992CA8F6DE009A4417 /* FenXiangHaiBaoView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FenXiangHaiBaoView.m; sourceTree = "<group>"; };
|
||||
CA0FD69B2CA8F907009A4417 /* FenXiangHaiBaoInfoSuperView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FenXiangHaiBaoInfoSuperView.h; sourceTree = "<group>"; };
|
||||
CA0FD69C2CA8F907009A4417 /* FenXiangHaiBaoInfoSuperView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FenXiangHaiBaoInfoSuperView.m; sourceTree = "<group>"; };
|
||||
CA0FD69E2CA8FA88009A4417 /* FenXiangHaiBaoInfoSuperItemView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FenXiangHaiBaoInfoSuperItemView.h; sourceTree = "<group>"; };
|
||||
CA0FD69F2CA8FA88009A4417 /* FenXiangHaiBaoInfoSuperItemView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FenXiangHaiBaoInfoSuperItemView.m; sourceTree = "<group>"; };
|
||||
CA0FD6A22CA8FF5C009A4417 /* FXWDPFView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FXWDPFView.h; sourceTree = "<group>"; };
|
||||
CA0FD6A32CA8FF5C009A4417 /* FXWDPFView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FXWDPFView.m; sourceTree = "<group>"; };
|
||||
CA0FD6A62CA900E2009A4417 /* FXTextView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FXTextView.h; sourceTree = "<group>"; };
|
||||
CA0FD6A72CA900E2009A4417 /* FXTextView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FXTextView.m; sourceTree = "<group>"; };
|
||||
CA0FD6AA2CA924A1009A4417 /* FXXieZuoJianYiView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FXXieZuoJianYiView.h; sourceTree = "<group>"; };
|
||||
CA0FD6AB2CA924A1009A4417 /* FXXieZuoJianYiView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FXXieZuoJianYiView.m; sourceTree = "<group>"; };
|
||||
CA11ED582CA648AB00209DFC /* CamreTypeView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CamreTypeView.h; sourceTree = "<group>"; };
|
||||
CA11ED592CA648AB00209DFC /* CamreTypeView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CamreTypeView.m; sourceTree = "<group>"; };
|
||||
CA11ED5B2CA653F600209DFC /* CamreImagesView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CamreImagesView.h; sourceTree = "<group>"; };
|
||||
|
@ -443,6 +471,8 @@
|
|||
CA8181B22C9EB96F00EE7E6E /* StartKTXZPGDetailXZView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartKTXZPGDetailXZView.m; sourceTree = "<group>"; };
|
||||
CA8181B42C9ECB5800EE7E6E /* StartKTXZPGDetailFJItemView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartKTXZPGDetailFJItemView.h; sourceTree = "<group>"; };
|
||||
CA8181B52C9ECB5800EE7E6E /* StartKTXZPGDetailFJItemView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartKTXZPGDetailFJItemView.m; sourceTree = "<group>"; };
|
||||
CAA600CB2CA92FB700026CF4 /* FXErView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FXErView.h; sourceTree = "<group>"; };
|
||||
CAA600CC2CA92FB700026CF4 /* FXErView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FXErView.m; sourceTree = "<group>"; };
|
||||
CABA145F2C9D0B1C002CB3B1 /* ShouYeViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ShouYeViewController.h; sourceTree = "<group>"; };
|
||||
CABA14602C9D0B1C002CB3B1 /* ShouYeViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ShouYeViewController.m; sourceTree = "<group>"; };
|
||||
CABA14622C9D0B25002CB3B1 /* FanWenViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FanWenViewController.h; sourceTree = "<group>"; };
|
||||
|
@ -1086,6 +1116,61 @@
|
|||
path = "自定义相机";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
CA0FD68D2CA8EEB4009A4417 /* cell */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
CA0FD68E2CA8EECE009A4417 /* XieZuoFenXiangAlterTableViewCell.h */,
|
||||
CA0FD68F2CA8EECE009A4417 /* XieZuoFenXiangAlterTableViewCell.m */,
|
||||
CA0FD6912CA8EEF3009A4417 /* XieZuoFenXiangAlterNOTableViewCell.h */,
|
||||
CA0FD6922CA8EEF3009A4417 /* XieZuoFenXiangAlterNOTableViewCell.m */,
|
||||
);
|
||||
path = cell;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
CA0FD6972CA8F6AE009A4417 /* 分享海报views */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
CAA600CA2CA92FA300026CF4 /* 二维码 */,
|
||||
CA0FD6A92CA92492009A4417 /* 写作建议 */,
|
||||
CA0FD6A52CA900C1009A4417 /* 文本框 */,
|
||||
CA0FD6A12CA8FF38009A4417 /* 维度评分 */,
|
||||
CA0FD6982CA8F6DE009A4417 /* FenXiangHaiBaoView.h */,
|
||||
CA0FD6992CA8F6DE009A4417 /* FenXiangHaiBaoView.m */,
|
||||
CA0FD69B2CA8F907009A4417 /* FenXiangHaiBaoInfoSuperView.h */,
|
||||
CA0FD69C2CA8F907009A4417 /* FenXiangHaiBaoInfoSuperView.m */,
|
||||
CA0FD69E2CA8FA88009A4417 /* FenXiangHaiBaoInfoSuperItemView.h */,
|
||||
CA0FD69F2CA8FA88009A4417 /* FenXiangHaiBaoInfoSuperItemView.m */,
|
||||
);
|
||||
path = "分享海报views";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
CA0FD6A12CA8FF38009A4417 /* 维度评分 */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
CA0FD6A22CA8FF5C009A4417 /* FXWDPFView.h */,
|
||||
CA0FD6A32CA8FF5C009A4417 /* FXWDPFView.m */,
|
||||
);
|
||||
path = "维度评分";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
CA0FD6A52CA900C1009A4417 /* 文本框 */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
CA0FD6A62CA900E2009A4417 /* FXTextView.h */,
|
||||
CA0FD6A72CA900E2009A4417 /* FXTextView.m */,
|
||||
);
|
||||
path = "文本框";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
CA0FD6A92CA92492009A4417 /* 写作建议 */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
CA0FD6AA2CA924A1009A4417 /* FXXieZuoJianYiView.h */,
|
||||
CA0FD6AB2CA924A1009A4417 /* FXXieZuoJianYiView.m */,
|
||||
);
|
||||
path = "写作建议";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
CA11ED572CA6489600209DFC /* view */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
|
@ -1159,8 +1244,12 @@
|
|||
CA11ED7A2CA6B0BA00209DFC /* 写作分享 */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
CA0FD6972CA8F6AE009A4417 /* 分享海报views */,
|
||||
CA0FD68D2CA8EEB4009A4417 /* cell */,
|
||||
CA11ED7B2CA6B0DE00209DFC /* XieZuoFenXiangAlterView.h */,
|
||||
CA11ED7C2CA6B0DE00209DFC /* XieZuoFenXiangAlterView.m */,
|
||||
CA0FD6942CA8F68D009A4417 /* FenXiangHaiBaoViewController.h */,
|
||||
CA0FD6952CA8F68D009A4417 /* FenXiangHaiBaoViewController.m */,
|
||||
);
|
||||
path = "写作分享";
|
||||
sourceTree = "<group>";
|
||||
|
@ -1374,6 +1463,15 @@
|
|||
path = "写作思路";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
CAA600CA2CA92FA300026CF4 /* 二维码 */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
CAA600CB2CA92FB700026CF4 /* FXErView.h */,
|
||||
CAA600CC2CA92FB700026CF4 /* FXErView.m */,
|
||||
);
|
||||
path = "二维码";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
CABA145A2C9D0AF2002CB3B1 /* 首页 */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
|
@ -2695,6 +2793,7 @@
|
|||
CAC806562CA1382500C21AA7 /* StartZNXZView.m in Sources */,
|
||||
CA4257BD2CA2C65600A36A10 /* StartPayTQViewCell.m in Sources */,
|
||||
CB489DD027449D5C00DA044A /* ViewController.m in Sources */,
|
||||
CA0FD6902CA8EECE009A4417 /* XieZuoFenXiangAlterTableViewCell.m in Sources */,
|
||||
CAC806702CA16E0700C21AA7 /* StartPZXZView.m in Sources */,
|
||||
CB489FAA2744A0BD00DA044A /* UIImage+XLExtension.m in Sources */,
|
||||
CABA14672C9D0B31002CB3B1 /* AIChatViewController.m in Sources */,
|
||||
|
@ -2773,6 +2872,7 @@
|
|||
CA8181B02C9EB96000EE7E6E /* StartKTXZPGDetailFJView.m in Sources */,
|
||||
CB489F7A2744A0BD00DA044A /* FSTextView.m in Sources */,
|
||||
CAC8065C2CA1449E00C21AA7 /* StartZNXZKeysViewController.m in Sources */,
|
||||
CA0FD6A42CA8FF5C009A4417 /* FXWDPFView.m in Sources */,
|
||||
CABA14B32C9D4318002CB3B1 /* UserConfigModel.m in Sources */,
|
||||
CA8181992C9E77FB00EE7E6E /* DownJDLoadView.m in Sources */,
|
||||
CB489F6F2744A0BD00DA044A /* XLAlertView.m in Sources */,
|
||||
|
@ -2792,6 +2892,7 @@
|
|||
CABA14E72C9D76F8002CB3B1 /* StartKeTangXieZuoViewController.m in Sources */,
|
||||
CABA14782C9D13CD002CB3B1 /* StartSFViewController.m in Sources */,
|
||||
CA0D085D2CA543EE0086855E /* ShouYeZCXZTableViewCell.m in Sources */,
|
||||
CA0FD6A82CA900E2009A4417 /* FXTextView.m in Sources */,
|
||||
CA0D086D2CA548F70086855E /* ShouYeLiShiJiLuPPTTableViewController.m in Sources */,
|
||||
CA487D932CA4055B00AE773B /* StartPayGoodsCollectionViewCell.m in Sources */,
|
||||
CA4257B62CA2BBB000A36A10 /* StartPayView.m in Sources */,
|
||||
|
@ -2820,6 +2921,7 @@
|
|||
CAC806522CA137E600C21AA7 /* StartZNXZViewController.m in Sources */,
|
||||
CAC806422CA111C300C21AA7 /* StartZWPIView.m in Sources */,
|
||||
CABA14E02C9D6F30002CB3B1 /* RoleTreeModel.m in Sources */,
|
||||
CA0FD6962CA8F68D009A4417 /* FenXiangHaiBaoViewController.m in Sources */,
|
||||
CB489F4F2744A0BD00DA044A /* AddressListAlterViewTableViewCell.m in Sources */,
|
||||
CA8181A42C9EA07300EE7E6E /* StartKTXZPGDetailTabView.m in Sources */,
|
||||
CABA14E32C9D707E002CB3B1 /* TextbookInfoModel.m in Sources */,
|
||||
|
@ -2832,6 +2934,7 @@
|
|||
CB489FA62744A0BD00DA044A /* ZJScrollSegmentView.m in Sources */,
|
||||
CA0D08332CA4FFB90086855E /* ShouYeBannerTableViewCell.m in Sources */,
|
||||
CABA14AF2C9D4318002CB3B1 /* PayOrderModel.m in Sources */,
|
||||
CAA600CD2CA92FB700026CF4 /* FXErView.m in Sources */,
|
||||
CB489F812744A0BD00DA044A /* GTMBase64.m in Sources */,
|
||||
CAC806642CA151ED00C21AA7 /* StartZNXZSiLuViewController.m in Sources */,
|
||||
CB489F962744A0BD00DA044A /* SmsloginCodeModel.m in Sources */,
|
||||
|
@ -2851,6 +2954,7 @@
|
|||
CB489F692744A0BD00DA044A /* CalendarDataDays.m in Sources */,
|
||||
CB489F932744A0BD00DA044A /* PutImageModel.m in Sources */,
|
||||
CA11ED5D2CA653F600209DFC /* CamreImagesView.m in Sources */,
|
||||
CA0FD6A02CA8FA88009A4417 /* FenXiangHaiBaoInfoSuperItemView.m in Sources */,
|
||||
CB489F7D2744A0BD00DA044A /* OpenSSLWrapper.m in Sources */,
|
||||
CA11ED6C2CA6925D00209DFC /* KaiTongAlterView.m in Sources */,
|
||||
CB489FAB2744A0BD00DA044A /* XLZoomingScrollView.m in Sources */,
|
||||
|
@ -2868,6 +2972,7 @@
|
|||
CA487D982CA40A8300AE773B /* StartPayDaoJiShiView.m in Sources */,
|
||||
CB489F642744A0BD00DA044A /* DAYNavigationBar.m in Sources */,
|
||||
CBD422B928DAF2E800C32440 /* JhtBannerScrollView.m in Sources */,
|
||||
CA0FD6AC2CA924A1009A4417 /* FXXieZuoJianYiView.m in Sources */,
|
||||
CABA14B82C9D4318002CB3B1 /* WeixinServiceModel.m in Sources */,
|
||||
CB489FB82744A0BD00DA044A /* HXLoadingHUD.m in Sources */,
|
||||
CABA14D12C9D4961002CB3B1 /* StartGNView.m in Sources */,
|
||||
|
@ -2881,6 +2986,7 @@
|
|||
CA487D872CA3A36300AE773B /* StartZNPPTDaGangTableViewCell.m in Sources */,
|
||||
CA8181882C9E58B100EE7E6E /* StartKTXZWenZhangViewController.m in Sources */,
|
||||
CB489F5A2744A0BD00DA044A /* YQLocationTransform.m in Sources */,
|
||||
CA0FD69D2CA8F907009A4417 /* FenXiangHaiBaoInfoSuperView.m in Sources */,
|
||||
CB489F782744A0BD00DA044A /* NSBundle+DAUtils.m in Sources */,
|
||||
CB489F4C2744A0BD00DA044A /* AddressListUrlAlterView.m in Sources */,
|
||||
CABA14DD2C9D6E40002CB3B1 /* NetWorkManager.m in Sources */,
|
||||
|
@ -2893,6 +2999,7 @@
|
|||
CB489FB52744A0BD00DA044A /* HYTimePickerView.m in Sources */,
|
||||
CA4257A32CA29BF900A36A10 /* StartZNPPTDaGangAlterView.m in Sources */,
|
||||
CA0D08832CA5682D0086855E /* CamreViewController.m in Sources */,
|
||||
CA0FD6932CA8EEF3009A4417 /* XieZuoFenXiangAlterNOTableViewCell.m in Sources */,
|
||||
CA487D9B2CA40D3A00AE773B /* StartPayGoodsPayView.m in Sources */,
|
||||
CAC8066C2CA16DCC00C21AA7 /* StartPZXZViewController.m in Sources */,
|
||||
CB489F722744A0BD00DA044A /* MCTabBarController.m in Sources */,
|
||||
|
@ -2904,6 +3011,7 @@
|
|||
CB489F702744A0BD00DA044A /* TabBarController.m in Sources */,
|
||||
CA11ED702CA6946500209DFC /* KaiTongAlterTQView.m in Sources */,
|
||||
CABA14CE2C9D4395002CB3B1 /* MIUAES.m in Sources */,
|
||||
CA0FD69A2CA8F6DE009A4417 /* FenXiangHaiBaoView.m in Sources */,
|
||||
CB489F562744A0BD00DA044A /* amrFileCodec.m in Sources */,
|
||||
CABA14822C9D1D0A002CB3B1 /* TextHeaderCollectionViewCell.m in Sources */,
|
||||
CB489F572744A0BD00DA044A /* AudioRecored.m in Sources */,
|
||||
|
|
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 8.1 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "512圆角@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "512圆角@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
22
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_back.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "图层 1@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "图层 1@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 155 KiB |
After Width: | Height: | Size: 308 KiB |
22
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_erback.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43492@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43492@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_erback.imageset/组 43492@2x.png
vendored
Normal file
After Width: | Height: | Size: 186 KiB |
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_erback.imageset/组 43492@3x.png
vendored
Normal file
After Width: | Height: | Size: 376 KiB |
22
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_itemtitleback.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43491@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43491@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_itemtitleback.imageset/组 43491@2x.png
vendored
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_itemtitleback.imageset/组 43491@3x.png
vendored
Normal file
After Width: | Height: | Size: 7.9 KiB |
22
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_superback.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "蒙版组 13074@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "蒙版组 13074@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_superback.imageset/蒙版组 13074@2x.png
vendored
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_superback.imageset/蒙版组 13074@3x.png
vendored
Normal file
After Width: | Height: | Size: 39 KiB |
22
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_supertitle.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43490@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43490@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_supertitle.imageset/组 43490@2x.png
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/hb_supertitle.imageset/组 43490@3x.png
vendored
Normal file
After Width: | Height: | Size: 3.4 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "切图 206@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "切图 206@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/切图 206.imageset/切图 206@2x.png
vendored
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/切图 206.imageset/切图 206@3x.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
22
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/组 43457(1).imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43457@2x(1).png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43457@3x(1).png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/组 43457(1).imageset/组 43457@2x(1).png
vendored
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/组 43457(1).imageset/组 43457@3x(1).png
vendored
Normal file
After Width: | Height: | Size: 8.9 KiB |
22
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/组 43457(2).imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43457@2x(2).png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43457@3x(2).png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/组 43457(2).imageset/组 43457@2x(2).png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/组 43457(2).imageset/组 43457@3x(2).png
vendored
Normal file
After Width: | Height: | Size: 6.5 KiB |
22
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/组 43457.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43457@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "组 43457@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/组 43457.imageset/组 43457@2x.png
vendored
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
ProductApp/ProductApp/Assets.xcassets/首页/分享海报/组 43457.imageset/组 43457@3x.png
vendored
Normal file
After Width: | Height: | Size: 9.3 KiB |
|
@ -246,6 +246,7 @@
|
|||
{
|
||||
XieZuoFenXiangAlterView *view = [[XieZuoFenXiangAlterView alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH, UISCREEN_HEIGHT)];
|
||||
[self.superview addSubview:view];
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - UIScrollView
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// FenXiangHaiBaoViewController.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "BaseViewController.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface FenXiangHaiBaoViewController : BaseViewController
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,41 @@
|
|||
//
|
||||
// FenXiangHaiBaoViewController.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "FenXiangHaiBaoViewController.h"
|
||||
#import "FenXiangHaiBaoView.h"
|
||||
|
||||
@interface FenXiangHaiBaoViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation FenXiangHaiBaoViewController
|
||||
- (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 whiteColor]];
|
||||
|
||||
}
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
[self.view setBackgroundColor:RGBCOLOR(255, 255, 227)];
|
||||
|
||||
FenXiangHaiBaoView *view = [FenXiangHaiBaoView new];
|
||||
[self.view addSubview:view];
|
||||
[view mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.bottom.equalTo(self.view);
|
||||
make.top.offset(NavHeight);
|
||||
}];
|
||||
|
||||
}
|
||||
|
||||
|
||||
@end
|
|
@ -6,9 +6,14 @@
|
|||
//
|
||||
|
||||
#import "XieZuoFenXiangAlterView.h"
|
||||
#import "XieZuoFenXiangAlterTableViewCell.h"
|
||||
#import "XieZuoFenXiangAlterNOTableViewCell.h"
|
||||
#import "FenXiangHaiBaoViewController.h"
|
||||
|
||||
|
||||
@interface XieZuoFenXiangAlterView ()
|
||||
@interface XieZuoFenXiangAlterView ()<UITableViewDelegate,UITableViewDataSource>
|
||||
///
|
||||
@property (nonatomic , strong) UITableView *tableView;
|
||||
|
||||
@end
|
||||
|
||||
|
@ -33,27 +38,80 @@
|
|||
maskLayer.path = maskPath.CGPath;
|
||||
viewback.layer.mask = maskLayer;
|
||||
|
||||
UIScrollView *scvback = [[UIScrollView alloc] init];
|
||||
[scvback setBackgroundColor:RGBCOLOR(242, 242, 242)];
|
||||
[viewback addSubview:scvback];
|
||||
[scvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.offset(0);
|
||||
make.width.equalTo(viewback);
|
||||
make.height.equalTo(viewback).offset(-TabHeight-20);
|
||||
}];
|
||||
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:[UIImage imageNamed:@"fenxiang_back"]];
|
||||
[scvback addSubview:imgvback];
|
||||
[viewback addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.width.top.equalTo(scvback);
|
||||
make.left.width.top.equalTo(viewback);
|
||||
}];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"海报分享"];
|
||||
[lbname setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont fontWithName:@"AlimamaShuHeiTi-Bold" size:26]];
|
||||
[viewback addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(27);
|
||||
make.top.offset(22);
|
||||
}];
|
||||
|
||||
UILabel *lbnamets = [[UILabel alloc] init];
|
||||
[lbnamets setText:@"自定义内容由您定"];
|
||||
[lbnamets setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbnamets setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbnamets setFont:[UIFont fontWithName:@"AlimamaShuHeiTi-Bold" size:22]];
|
||||
[viewback addSubview:lbnamets];
|
||||
[lbnamets mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(lbname);
|
||||
make.top.equalTo(lbname.mas_bottom).offset(1);
|
||||
}];
|
||||
|
||||
UITableView *tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped];
|
||||
[tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
|
||||
[tableView setBackgroundColor:[UIColor clearColor]];
|
||||
[tableView setDelegate:self];
|
||||
[tableView setDataSource:self];
|
||||
[viewback addSubview:tableView];
|
||||
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.top.equalTo(lbnamets.mas_bottom).offset(20);
|
||||
make.left.offset(12);
|
||||
make.right.equalTo(imgvback).offset(-12);
|
||||
make.bottom.equalTo(viewback).offset(-TabHeight-25);
|
||||
}];
|
||||
[tableView setShowsVerticalScrollIndicator:NO];
|
||||
_tableView = tableView;
|
||||
|
||||
UIView *viewbottom = [[UIView alloc] init];
|
||||
[viewbottom setBackgroundColor:[UIColor whiteColor]];
|
||||
[viewback addSubview:viewbottom];
|
||||
[viewbottom mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.bottom.equalTo(viewback);
|
||||
make.top.equalTo(tableView.mas_bottom);
|
||||
}];
|
||||
[self drawBottomView:viewbottom];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
-(void)drawBottomView:(UIView *)view
|
||||
{
|
||||
UIButton *btok = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH-32, 44)];
|
||||
[btok setTitle:@"确定" forState:UIControlStateNormal];
|
||||
[btok setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
|
||||
[btok.titleLabel setFont:[UIFont systemFontOfSize:16]];
|
||||
[btok.layer setMasksToBounds:YES];
|
||||
[btok.layer setCornerRadius:8];
|
||||
[view addSubview:btok];
|
||||
[btok mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(16);
|
||||
make.top.offset(10);
|
||||
make.right.equalTo(view).offset(-16);
|
||||
make.height.offset(44);
|
||||
}];
|
||||
[btok addTarget:self action:@selector(okAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
[Tools changedView:btok colors:MainJBColors startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
|
||||
}
|
||||
|
||||
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
|
||||
{
|
||||
|
@ -67,4 +125,173 @@
|
|||
}
|
||||
}
|
||||
|
||||
-(void)okAction
|
||||
{
|
||||
FenXiangHaiBaoViewController *vc = [FenXiangHaiBaoViewController new];
|
||||
[self.viewController.navigationController pushViewController:vc animated:YES];
|
||||
}
|
||||
|
||||
#pragma mark - UITableView
|
||||
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
||||
{
|
||||
if(section==0)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
if(indexPath.section==0)
|
||||
{
|
||||
static NSString *strcell = @"XieZuoFenXiangAlterTableViewCell";
|
||||
XieZuoFenXiangAlterTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:strcell];
|
||||
if(!cell)
|
||||
{
|
||||
cell = [[XieZuoFenXiangAlterTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:strcell];
|
||||
[cell setSelectionStyle:UITableViewCellSelectionStyleNone];
|
||||
[cell setBackgroundColor:[UIColor clearColor]];
|
||||
}
|
||||
if(indexPath.row==0)
|
||||
{
|
||||
cell.typeline = 1;
|
||||
}
|
||||
else if (indexPath.row==1)
|
||||
{///最优一个
|
||||
cell.typeline = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
cell.typeline = 2;
|
||||
}
|
||||
|
||||
return cell;
|
||||
}
|
||||
else
|
||||
{
|
||||
static NSString *strcell = @"XieZuoFenXiangAlterNOTableViewCell";
|
||||
XieZuoFenXiangAlterNOTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:strcell];
|
||||
if(!cell)
|
||||
{
|
||||
cell = [[XieZuoFenXiangAlterNOTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:strcell];
|
||||
[cell setSelectionStyle:UITableViewCellSelectionStyleNone];
|
||||
[cell setBackgroundColor:[UIColor clearColor]];
|
||||
}
|
||||
|
||||
return cell;
|
||||
}
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
return 60;
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
|
||||
{
|
||||
return 26;
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
///暂无内容 40
|
||||
if(indexPath.section==0)
|
||||
{
|
||||
return 70;
|
||||
}
|
||||
return 40;
|
||||
}
|
||||
-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH-24, 60)];
|
||||
[view setBackgroundColor:[UIColor whiteColor]];
|
||||
UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect: view.bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight cornerRadii:CGSizeMake(14,14)];
|
||||
CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
|
||||
maskLayer.frame = view.bounds;
|
||||
maskLayer.path = maskPath.CGPath;
|
||||
view.layer.mask = maskLayer;
|
||||
|
||||
NSArray *arr = @[@"综合评价",@"分句点评",@"写作思路"];
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:[UIImage imageNamed:[NSString stringWithFormat:@"fenxiang_%@",arr[section]]]];
|
||||
[view addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(16);
|
||||
make.top.offset(20);
|
||||
make.width.height.offset(36);
|
||||
}];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:arr[section]];
|
||||
[lbname setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont boldSystemFontOfSize:18]];
|
||||
[view addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(imgvback.mas_right).offset(12);
|
||||
make.centerY.equalTo(imgvback);
|
||||
}];
|
||||
|
||||
UIButton *bthuoqu = [[UIButton alloc] init];
|
||||
[bthuoqu setTitle:@"点击获取" forState:UIControlStateNormal];
|
||||
[bthuoqu setTitleColor:RGBCOLOR(108, 119, 246) forState:UIControlStateNormal];
|
||||
[bthuoqu.titleLabel setFont:[UIFont systemFontOfSize:14]];
|
||||
[bthuoqu.layer setMasksToBounds:YES];
|
||||
[bthuoqu.layer setCornerRadius:4];
|
||||
[bthuoqu setBackgroundColor:RGBCOLOR(239, 240, 255)];
|
||||
[view addSubview:bthuoqu];
|
||||
[bthuoqu mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.sizeOffset(CGSizeMake(72, 28));
|
||||
make.centerY.equalTo(imgvback);
|
||||
make.right.equalTo(view).offset(-16);
|
||||
}];
|
||||
[bthuoqu setTag:section];
|
||||
[bthuoqu addTarget:self action:@selector(huoquAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
UIButton *btselect = [[UIButton alloc] init];
|
||||
[btselect setImage:[UIImage imageNamed:@"fenxiang_selectN"] forState:UIControlStateNormal];
|
||||
[btselect setImage:[UIImage imageNamed:@"fenxiang_selectY"] forState:UIControlStateSelected];
|
||||
[view addSubview:btselect];
|
||||
[btselect mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(30);
|
||||
make.centerY.equalTo(imgvback);
|
||||
make.right.equalTo(view).offset(-10);
|
||||
}];
|
||||
[btselect setHidden:YES];
|
||||
[btselect setTag:section];
|
||||
[btselect addTarget:self action:@selector(selectAllAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
return view;
|
||||
}
|
||||
-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
|
||||
{
|
||||
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH-24, 26)];
|
||||
[view setClipsToBounds:YES];
|
||||
UIView *viewback = [[UIView alloc] initWithFrame:CGRectMake(0, -16, UISCREEN_WIDTH-24, 30)];
|
||||
[viewback setBackgroundColor:[UIColor whiteColor]];
|
||||
[view addSubview:viewback];
|
||||
UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect: viewback.bounds byRoundingCorners:UIRectCornerBottomLeft | UIRectCornerBottomRight cornerRadii:CGSizeMake(14,14)];
|
||||
CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
|
||||
maskLayer.frame = viewback.bounds;
|
||||
maskLayer.path = maskPath.CGPath;
|
||||
viewback.layer.mask = maskLayer;
|
||||
|
||||
return view;
|
||||
}
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
|
||||
}
|
||||
///获取
|
||||
-(void)huoquAction:(UIButton *)sender
|
||||
{
|
||||
|
||||
}
|
||||
///全选分组
|
||||
-(void)selectAllAction:(UIButton *)sender
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// XieZuoFenXiangAlterNOTableViewCell.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface XieZuoFenXiangAlterNOTableViewCell : UITableViewCell
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,50 @@
|
|||
//
|
||||
// XieZuoFenXiangAlterNOTableViewCell.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "XieZuoFenXiangAlterNOTableViewCell.h"
|
||||
|
||||
@implementation XieZuoFenXiangAlterNOTableViewCell
|
||||
|
||||
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
|
||||
{
|
||||
if(self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
|
||||
{
|
||||
UIView *viewback = [[UIView alloc] init];
|
||||
[viewback setBackgroundColor:[UIColor whiteColor]];
|
||||
[self.contentView addSubview:viewback];
|
||||
[viewback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.edges.equalTo(self);
|
||||
}];
|
||||
|
||||
UIView *viewpoint = [[UIView alloc] init];
|
||||
[viewpoint.layer setBorderWidth:1];
|
||||
[viewpoint.layer setBorderColor:RGBCOLOR(108, 119, 246).CGColor];
|
||||
[viewback addSubview:viewpoint];
|
||||
[viewpoint mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(10);
|
||||
make.left.offset(29);
|
||||
make.centerY.equalTo(viewback);
|
||||
}];
|
||||
[viewpoint.layer setMasksToBounds:YES];
|
||||
[viewpoint.layer setCornerRadius:5];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"暂无内容"];
|
||||
[lbname setTextColor:RGBCOLOR(153, 153, 153)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont systemFontOfSize:16]];
|
||||
[viewback addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(viewpoint.mas_right).offset(12);
|
||||
make.centerY.equalTo(viewpoint);
|
||||
}];
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,17 @@
|
|||
//
|
||||
// XieZuoFenXiangAlterTableViewCell.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface XieZuoFenXiangAlterTableViewCell : UITableViewCell
|
||||
///0上面 1下面 2全部
|
||||
@property (nonatomic , assign) NSInteger typeline;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,148 @@
|
|||
//
|
||||
// XieZuoFenXiangAlterTableViewCell.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "XieZuoFenXiangAlterTableViewCell.h"
|
||||
|
||||
@interface XieZuoFenXiangAlterTableViewCell ()
|
||||
///
|
||||
@property (nonatomic , strong) UIView *viewback;
|
||||
///
|
||||
@property (nonatomic , strong) UIView *viewpoint;
|
||||
///
|
||||
@property (nonatomic , strong) UILabel *lbname;
|
||||
///
|
||||
@property (nonatomic , strong) UIButton *btselect;
|
||||
///
|
||||
@property (nonatomic , strong) UILabel *lbinfo;
|
||||
///
|
||||
@property (nonatomic , strong) UIImageView *imgvline;
|
||||
@end
|
||||
|
||||
@implementation XieZuoFenXiangAlterTableViewCell
|
||||
|
||||
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
|
||||
{
|
||||
if(self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
|
||||
{
|
||||
UIView *viewback = [[UIView alloc] init];
|
||||
[viewback setBackgroundColor:[UIColor whiteColor]];
|
||||
[self.contentView addSubview:viewback];
|
||||
[viewback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.edges.equalTo(self);
|
||||
}];
|
||||
_viewback = viewback;
|
||||
|
||||
UIView *viewpoint = [[UIView alloc] init];
|
||||
[viewpoint setBackgroundColor:[UIColor whiteColor]];
|
||||
[viewpoint.layer setBorderWidth:1];
|
||||
[viewpoint.layer setBorderColor:RGBCOLOR(108, 119, 246).CGColor];
|
||||
[viewback addSubview:viewpoint];
|
||||
[viewpoint mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(10);
|
||||
make.left.offset(29);
|
||||
make.top.offset(18);
|
||||
}];
|
||||
[viewpoint.layer setMasksToBounds:YES];
|
||||
[viewpoint.layer setCornerRadius:5];
|
||||
_viewpoint = viewpoint;
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"维度评分"];
|
||||
[lbname setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont systemFontOfSize:16]];
|
||||
[viewback addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(viewpoint.mas_right).offset(12);
|
||||
make.centerY.equalTo(viewpoint);
|
||||
}];
|
||||
_lbname = lbname;
|
||||
|
||||
UIButton *btselect = [[UIButton alloc] init];
|
||||
[btselect setImage:[UIImage imageNamed:@"fenxiang_selectN"] forState:UIControlStateNormal];
|
||||
[btselect setImage:[UIImage imageNamed:@"fenxiang_selectY"] forState:UIControlStateSelected];
|
||||
[viewback addSubview:btselect];
|
||||
[btselect mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(30);
|
||||
make.centerY.equalTo(viewpoint);
|
||||
make.right.equalTo(viewback).offset(-10);
|
||||
}];
|
||||
_btselect = btselect;
|
||||
|
||||
UILabel *lbinfo = [[UILabel alloc] init];
|
||||
[lbinfo setText:@"评分标准:小学"];
|
||||
[lbinfo setTextColor:RGBCOLOR(102, 102, 102)];
|
||||
[lbinfo setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbinfo setFont:[UIFont systemFontOfSize:13]];
|
||||
[lbinfo setNumberOfLines:0];
|
||||
[viewback addSubview:lbinfo];
|
||||
[lbinfo mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(lbname);
|
||||
make.right.equalTo(viewback).offset(-16);
|
||||
make.top.equalTo(lbname.mas_bottom).offset(8);
|
||||
}];
|
||||
_lbinfo = lbinfo;
|
||||
|
||||
UIImageView *imgvline = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 2, 1000)];
|
||||
[imgvline setContentMode:UIViewContentModeScaleAspectFill];
|
||||
[imgvline setClipsToBounds:YES];
|
||||
[viewback addSubview:imgvline];
|
||||
[imgvline mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.centerX.equalTo(viewback);
|
||||
make.top.offset(0);
|
||||
make.width.offset(2);
|
||||
make.bottom.equalTo(viewback);
|
||||
}];
|
||||
_imgvline = imgvline;
|
||||
dispatch_async(dispatch_get_global_queue(0, 0), ^{
|
||||
UIImage *image = [Tools drawLineImageSize:CGSizeMake(2, 1000) line_W:5 line_H:2 color:RGBCOLOR(181, 187, 250)];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
imgvline.image = image;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
-(void)setTypeline:(NSInteger)typeline
|
||||
{
|
||||
_typeline = typeline;
|
||||
[self.imgvline setHidden:NO];
|
||||
if(typeline==0)
|
||||
{
|
||||
[self.imgvline mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.centerX.equalTo(self.viewpoint);
|
||||
make.width.offset(2);
|
||||
make.bottom.equalTo(self.viewpoint.mas_top).offset(-2);
|
||||
make.top.offset(0);
|
||||
}];
|
||||
}
|
||||
else if (typeline==1)
|
||||
{
|
||||
[self.imgvline mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.centerX.equalTo(self.viewpoint);
|
||||
make.width.offset(2);
|
||||
make.bottom.equalTo(self.viewback);
|
||||
make.top.equalTo(self.viewpoint.mas_bottom).offset(2);
|
||||
}];
|
||||
}
|
||||
else if (typeline==2)
|
||||
{
|
||||
[self.imgvline mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.centerX.equalTo(self.viewpoint);
|
||||
make.width.offset(2);
|
||||
make.bottom.top.equalTo(self.viewback);
|
||||
}];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self.imgvline setHidden:YES];
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,23 @@
|
|||
//
|
||||
// FenXiangHaiBaoInfoSuperItemView.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface FenXiangHaiBaoInfoSuperItemView : UIView
|
||||
///
|
||||
@property (nonatomic , strong) NSString *strtitle;
|
||||
///0左边 1右边
|
||||
@property (nonatomic , assign) int type;
|
||||
|
||||
///
|
||||
@property (nonatomic , strong) UIView *viewinfo;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,125 @@
|
|||
//
|
||||
// FenXiangHaiBaoInfoSuperItemView.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "FenXiangHaiBaoInfoSuperItemView.h"
|
||||
|
||||
@interface FenXiangHaiBaoInfoSuperItemView ()
|
||||
///
|
||||
@property (nonatomic , strong) UIImageView *imgvback;
|
||||
///
|
||||
@property (nonatomic , strong) UILabel *lbname;
|
||||
|
||||
///
|
||||
@property (nonatomic , strong) UIView *viewback;
|
||||
///
|
||||
@property (nonatomic , strong) UIView *viewpoint;
|
||||
|
||||
@end
|
||||
|
||||
@implementation FenXiangHaiBaoInfoSuperItemView
|
||||
|
||||
-(id)initWithFrame:(CGRect)frame
|
||||
{
|
||||
if(self = [super initWithFrame:frame])
|
||||
{
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:[UIImage imageNamed:@"hb_itemtitleback"]];
|
||||
[self addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.sizeOffset(CGSizeMake(148, 40));
|
||||
make.top.offset(0);
|
||||
make.left.offset(0);
|
||||
}];
|
||||
_imgvback = imgvback;
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"维度评分"];
|
||||
[lbname setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbname setTextAlignment:NSTextAlignmentCenter];
|
||||
[lbname setFont:[UIFont fontWithName:@"AlimamaShuHeiTi-Bold" size:22]];
|
||||
[imgvback addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.center.equalTo(imgvback);
|
||||
}];
|
||||
_lbname = lbname;
|
||||
|
||||
UIView *viewback = [[UIView alloc] init];
|
||||
[viewback setBackgroundColor:RGBCOLOR(255, 221, 35)];
|
||||
[self addSubview:viewback];
|
||||
[viewback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.equalTo(self);
|
||||
make.top.equalTo(imgvback.mas_bottom);
|
||||
}];
|
||||
[viewback.layer setMasksToBounds:YES];
|
||||
[viewback.layer setCornerRadius:10];
|
||||
_viewback = viewback;
|
||||
|
||||
UIView *viewpoint = [[UIView alloc] init];
|
||||
[viewpoint setBackgroundColor:RGBCOLOR(255, 221, 35)];
|
||||
[self addSubview:viewpoint];
|
||||
[viewpoint mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(10);
|
||||
make.top.equalTo(imgvback.mas_bottom);
|
||||
make.left.offset(0);
|
||||
}];
|
||||
_viewpoint = viewpoint;
|
||||
|
||||
[self mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(viewback);
|
||||
}];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
-(void)setStrtitle:(NSString *)strtitle
|
||||
{
|
||||
_lbname.text = strtitle;
|
||||
}
|
||||
-(void)setType:(int)type
|
||||
{
|
||||
if(type==0)
|
||||
{
|
||||
[self.imgvback mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.sizeOffset(CGSizeMake(148, 40));
|
||||
make.top.offset(0);
|
||||
make.left.offset(0);
|
||||
}];
|
||||
[self.viewpoint mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(10);
|
||||
make.top.equalTo(self.imgvback.mas_bottom);
|
||||
make.left.offset(0);
|
||||
}];
|
||||
}
|
||||
else if (type==1)
|
||||
{
|
||||
[self.imgvback mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.sizeOffset(CGSizeMake(148, 40));
|
||||
make.top.offset(0);
|
||||
make.right.equalTo(self);
|
||||
}];
|
||||
[self.viewpoint mas_remakeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(10);
|
||||
make.top.equalTo(self.imgvback.mas_bottom);
|
||||
make.right.equalTo(self);
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
||||
-(void)setViewinfo:(UIView *)viewinfo
|
||||
{
|
||||
[self.viewback addSubview:viewinfo];
|
||||
[viewinfo mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.offset(12);
|
||||
make.right.equalTo(self.viewback).offset(-12);
|
||||
}];
|
||||
|
||||
[self.viewback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(viewinfo).offset(12);
|
||||
}];
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,18 @@
|
|||
//
|
||||
// FenXiangHaiBaoInfoSuperView.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface FenXiangHaiBaoInfoSuperView : UIView
|
||||
///
|
||||
@property (nonatomic , strong) NSString *strtitle;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,59 @@
|
|||
//
|
||||
// FenXiangHaiBaoInfoSuperView.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "FenXiangHaiBaoInfoSuperView.h"
|
||||
|
||||
@interface FenXiangHaiBaoInfoSuperView ()
|
||||
///
|
||||
@property (nonatomic , strong) UILabel *lbname;
|
||||
|
||||
@end
|
||||
|
||||
@implementation FenXiangHaiBaoInfoSuperView
|
||||
|
||||
-(id)initWithFrame:(CGRect)frame
|
||||
{
|
||||
if(self = [super initWithFrame:frame])
|
||||
{
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:[UIImage imageNamed:@"hb_superback"]];
|
||||
[self addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.top.equalTo(self);
|
||||
}];
|
||||
|
||||
UIImageView *imgvtitle = [[UIImageView alloc] init];
|
||||
[imgvtitle setImage:[UIImage imageNamed:@"hb_supertitle"]];
|
||||
[self addSubview:imgvtitle];
|
||||
[imgvtitle mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.top.offset(64);
|
||||
make.centerX.equalTo(self);
|
||||
make.size.sizeOffset(CGSizeMake(244, 49));
|
||||
}];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"综合评价"];
|
||||
[lbname setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbname setTextAlignment:NSTextAlignmentCenter];
|
||||
[lbname setFont:[UIFont fontWithName:@"AlimamaShuHeiTi-Bold" size:26]];
|
||||
[imgvtitle addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.top.offset(8);
|
||||
make.centerX.equalTo(imgvtitle);
|
||||
}];
|
||||
_lbname = lbname;
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
-(void)setStrtitle:(NSString *)strtitle
|
||||
{
|
||||
_lbname.text = strtitle;
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// FenXiangHaiBaoView.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface FenXiangHaiBaoView : UIView
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,191 @@
|
|||
//
|
||||
// FenXiangHaiBaoView.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "FenXiangHaiBaoView.h"
|
||||
#import "FenXiangHaiBaoInfoSuperView.h"
|
||||
#import "FenXiangHaiBaoInfoSuperItemView.h"
|
||||
#import "FXWDPFView.h"
|
||||
#import "FXTextView.h"
|
||||
#import "FXXieZuoJianYiView.h"
|
||||
|
||||
@interface FenXiangHaiBaoView ()
|
||||
///
|
||||
@property (nonatomic , strong) UIScrollView *scvback;
|
||||
|
||||
@end
|
||||
|
||||
@implementation FenXiangHaiBaoView
|
||||
|
||||
-(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);
|
||||
}];
|
||||
_scvback = scvback;
|
||||
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:[UIImage imageNamed:@"hb_back"]];
|
||||
[scvback addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.width.equalTo(scvback);
|
||||
}];
|
||||
|
||||
[self drawUI];
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
-(void)drawUI
|
||||
{
|
||||
///图片
|
||||
UIView *viewlast;
|
||||
for(int i = 0 ; i < 3; i++)
|
||||
{
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:[UIImage imageNamed:[NSString stringWithFormat:@"yd_xs_%d",i]]];
|
||||
[self.scvback addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
if(viewlast)
|
||||
{
|
||||
make.top.equalTo(viewlast.mas_bottom);
|
||||
}
|
||||
else
|
||||
{
|
||||
make.top.offset(20);
|
||||
}
|
||||
make.left.offset(16);
|
||||
make.width.offset(UISCREEN_WIDTH-32);
|
||||
}];
|
||||
viewlast = imgvback;
|
||||
}
|
||||
|
||||
///综合评价
|
||||
FenXiangHaiBaoInfoSuperView *viewzh = [FenXiangHaiBaoInfoSuperView new];
|
||||
[self.scvback addSubview:viewzh];
|
||||
[viewzh mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.width.equalTo(self.scvback);
|
||||
make.top.equalTo(viewlast.mas_bottom).offset(7);
|
||||
}];
|
||||
viewzh.strtitle = @"综合评价";
|
||||
|
||||
|
||||
FenXiangHaiBaoInfoSuperItemView *viewwdpj = [FenXiangHaiBaoInfoSuperItemView new];
|
||||
[viewzh addSubview:viewwdpj];
|
||||
[viewwdpj mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(16);
|
||||
make.right.equalTo(viewzh).offset(-16);
|
||||
make.top.offset(149);
|
||||
}];
|
||||
viewwdpj.strtitle = @"维度评分";
|
||||
viewwdpj.type = 0;
|
||||
FXWDPFView *viewwdpjson = [FXWDPFView new];
|
||||
viewwdpj.viewinfo = viewwdpjson;
|
||||
|
||||
|
||||
FenXiangHaiBaoInfoSuperItemView *viewqwdp = [FenXiangHaiBaoInfoSuperItemView new];
|
||||
[viewzh addSubview:viewqwdp];
|
||||
[viewqwdp mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.equalTo(viewwdpj);
|
||||
make.top.equalTo(viewwdpj.mas_bottom).offset(30);
|
||||
}];
|
||||
viewqwdp.strtitle = @"全文点评";
|
||||
viewqwdp.type = 1;
|
||||
FXTextView *viewqwdpson = [FXTextView new];
|
||||
viewqwdp.viewinfo = viewqwdpson;
|
||||
|
||||
[viewzh mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(viewqwdp).offset(35);
|
||||
}];
|
||||
|
||||
|
||||
|
||||
///分句点评
|
||||
FenXiangHaiBaoInfoSuperView *viewfjdp = [FenXiangHaiBaoInfoSuperView new];
|
||||
[self.scvback addSubview:viewfjdp];
|
||||
[viewfjdp mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.width.equalTo(self.scvback);
|
||||
make.top.equalTo(viewzh.mas_bottom).offset(35);
|
||||
}];
|
||||
viewfjdp.strtitle = @"分句点评";
|
||||
|
||||
UIView *viewitemlast = nil;
|
||||
for(int i = 0 ; i < 5; i++)
|
||||
{
|
||||
FenXiangHaiBaoInfoSuperItemView *viewitem = [FenXiangHaiBaoInfoSuperItemView new];
|
||||
[viewfjdp addSubview:viewitem];
|
||||
[viewitem mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(16);
|
||||
make.right.equalTo(viewfjdp).offset(-16);
|
||||
if(viewitemlast)
|
||||
{
|
||||
make.top.equalTo(viewitemlast.mas_bottom).offset(30);
|
||||
}
|
||||
else
|
||||
{
|
||||
make.top.offset(149);
|
||||
}
|
||||
}];
|
||||
viewitem.strtitle = @"句子点评①";
|
||||
viewitem.type = i%2;
|
||||
FXTextView *viewitemson = [FXTextView new];
|
||||
viewitem.viewinfo = viewitemson;
|
||||
|
||||
viewitemlast = viewitem;
|
||||
}
|
||||
|
||||
[viewfjdp mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(viewitemlast).offset(35);
|
||||
}];
|
||||
|
||||
///写作思路
|
||||
FenXiangHaiBaoInfoSuperView *viewxzsl = [FenXiangHaiBaoInfoSuperView new];
|
||||
[self.scvback addSubview:viewxzsl];
|
||||
[viewxzsl mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.width.equalTo(viewfjdp);
|
||||
make.top.equalTo(viewfjdp.mas_bottom).offset(35);
|
||||
}];
|
||||
viewxzsl.strtitle = @"写作思路";
|
||||
|
||||
FenXiangHaiBaoInfoSuperItemView *viewdianpin = [FenXiangHaiBaoInfoSuperItemView new];
|
||||
[viewxzsl addSubview:viewdianpin];
|
||||
[viewdianpin mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(16);
|
||||
make.right.equalTo(viewxzsl).offset(-16);
|
||||
make.top.offset(149);
|
||||
}];
|
||||
viewdianpin.strtitle = @"思路点评";
|
||||
viewdianpin.type = 0;
|
||||
FXTextView *viewdianpinson = [FXTextView new];
|
||||
viewdianpin.viewinfo = viewdianpinson;
|
||||
|
||||
FenXiangHaiBaoInfoSuperItemView *viewjianyi = [FenXiangHaiBaoInfoSuperItemView new];
|
||||
[viewxzsl addSubview:viewjianyi];
|
||||
[viewjianyi mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.equalTo(viewdianpin);
|
||||
make.top.equalTo(viewdianpin.mas_bottom).offset(30);
|
||||
}];
|
||||
viewjianyi.strtitle = @"写作建议";
|
||||
viewjianyi.type = 1;
|
||||
FXXieZuoJianYiView *viewjianyison = [FXXieZuoJianYiView new];
|
||||
viewjianyi.viewinfo = viewjianyison;
|
||||
|
||||
[viewxzsl mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(viewjianyi);
|
||||
}];
|
||||
|
||||
[self.scvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(viewxzsl);
|
||||
}];
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// FXErView.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface FXErView : UIView
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,37 @@
|
|||
//
|
||||
// FXErView.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "FXErView.h"
|
||||
|
||||
@implementation FXErView
|
||||
|
||||
-(id)initWithFrame:(CGRect)frame
|
||||
{
|
||||
if(self = [super initWithFrame:frame])
|
||||
{
|
||||
UIImage *image = [UIImage imageNamed:@"hb_erback"];
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:image];
|
||||
[self addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.top.equalTo(self);
|
||||
make.height.offset(UISCREEN_WIDTH*image.size.height/image.size.width);
|
||||
}];
|
||||
|
||||
UIImageView *imgver = [[UIImageView alloc] init];
|
||||
[self addSubview:imgver];
|
||||
[imgver mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(16);
|
||||
make.top.offset(10);
|
||||
make.width.height.offset(100);
|
||||
}];
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// FXXieZuoJianYiView.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface FXXieZuoJianYiView : UIView
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,276 @@
|
|||
//
|
||||
// FXXieZuoJianYiView.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "FXXieZuoJianYiView.h"
|
||||
|
||||
|
||||
@interface FXXieZuoJianYiView ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation FXXieZuoJianYiView
|
||||
|
||||
-(id)initWithFrame:(CGRect)frame
|
||||
{
|
||||
if(self = [super initWithFrame:frame])
|
||||
{
|
||||
[self setBackgroundColor:[UIColor whiteColor]];
|
||||
[self.layer setMasksToBounds:YES];
|
||||
[self.layer setCornerRadius:10];
|
||||
|
||||
UIView *viewtop = [[UIView alloc] init];
|
||||
[self addSubview:viewtop];
|
||||
[viewtop mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.equalTo(self);
|
||||
make.top.offset(20);
|
||||
}];
|
||||
[self drawTopView:viewtop];
|
||||
|
||||
UIView *viewcenter = [[UIView alloc] init];
|
||||
[viewcenter setBackgroundColor:[UIColor whiteColor]];
|
||||
[self addSubview:viewcenter];
|
||||
[viewcenter mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.equalTo(self);
|
||||
make.top.equalTo(viewtop.mas_bottom);
|
||||
}];
|
||||
[self drawCenterView:viewcenter];
|
||||
|
||||
UIView *viewbottom = [[UIView alloc] init];
|
||||
[viewbottom setBackgroundColor:[UIColor whiteColor]];
|
||||
[self addSubview:viewbottom];
|
||||
[viewbottom mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.equalTo(self);
|
||||
make.top.equalTo(viewcenter.mas_bottom);
|
||||
}];
|
||||
[self drawEndView:viewbottom];
|
||||
|
||||
[self mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(viewbottom);
|
||||
}];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
-(UILabel *)drawTopView:(UIView *)view
|
||||
{
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:[UIImage imageNamed:@"yd_detail_jy_l"]];
|
||||
[view addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(24);
|
||||
make.left.offset(20);
|
||||
make.top.offset(0);
|
||||
}];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"开头"];
|
||||
[lbname setTextColor:RGBCOLOR(51, 51, 51)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont boldSystemFontOfSize:18]];
|
||||
[view addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(imgvback.mas_right).offset(14);
|
||||
make.centerY.equalTo(imgvback);
|
||||
}];
|
||||
|
||||
UIImageView *imgvline = [[UIImageView alloc] initWithFrame:CGRectMake(31, 24, 2, 3000)];
|
||||
[imgvline setContentMode:UIViewContentModeScaleAspectFill];
|
||||
[imgvline setClipsToBounds:YES];
|
||||
[view addSubview:imgvline];
|
||||
dispatch_async(dispatch_get_global_queue(0, 0), ^{
|
||||
UIImage *imageline = [Tools drawLineImageSize:CGSizeMake(2, 3000) line_W:5 line_H:1 color:RGBCOLOR(42, 211, 237)];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
imgvline.image = imageline;
|
||||
});
|
||||
});
|
||||
|
||||
UILabel *lbcontent = [[UILabel alloc] init];
|
||||
[lbcontent setText:@"以第一人称视角,通过细腻的心理描写,展现新学期第一天的紧张与期待,引出对小学生活的独特感受,如:“那日的阳光透过窗帘,照亮了我心中对未来学习生活的憧憬。”"];
|
||||
[lbcontent setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbcontent setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbcontent setFont:[UIFont systemFontOfSize:15]];
|
||||
[lbcontent setNumberOfLines:0];
|
||||
[view addSubview:lbcontent];
|
||||
[lbcontent mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(lbname);
|
||||
make.top.equalTo(lbname.mas_bottom).offset(8);
|
||||
make.right.equalTo(view).offset(-15);
|
||||
}];
|
||||
|
||||
[view mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(lbcontent).offset(15);
|
||||
}];
|
||||
|
||||
return lbcontent;
|
||||
}
|
||||
|
||||
|
||||
-(void)drawCenterView:(UIView *)view
|
||||
{
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:[UIImage imageNamed:@"yd_detail_jy_l"]];
|
||||
[view addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(24);
|
||||
make.left.offset(20);
|
||||
make.top.offset(0);
|
||||
}];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"中间"];
|
||||
[lbname setTextColor:RGBCOLOR(51, 51, 51)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont boldSystemFontOfSize:18]];
|
||||
[view addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(imgvback.mas_right).offset(14);
|
||||
make.centerY.equalTo(imgvback);
|
||||
}];
|
||||
|
||||
UIImageView *imgvline = [[UIImageView alloc] initWithFrame:CGRectMake(31, 24, 2, 3000)];
|
||||
[imgvline setContentMode:UIViewContentModeScaleAspectFill];
|
||||
[imgvline setClipsToBounds:YES];
|
||||
[view addSubview:imgvline];
|
||||
dispatch_async(dispatch_get_global_queue(0, 0), ^{
|
||||
UIImage *imageline = [Tools drawLineImageSize:CGSizeMake(2, 3000) line_W:5 line_H:1 color:RGBCOLOR(42, 211, 237)];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
imgvline.image = imageline;
|
||||
});
|
||||
});
|
||||
|
||||
UIView *viewlast = nil;
|
||||
for(int i = 0 ; i < 5; i++)
|
||||
{
|
||||
UIView *viewitem = [[UIView alloc] init];
|
||||
[view addSubview:viewitem];
|
||||
[viewitem mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.right.equalTo(view);
|
||||
make.left.equalTo(lbname);
|
||||
if(viewlast)
|
||||
{
|
||||
make.top.equalTo(viewlast.mas_bottom);
|
||||
}
|
||||
else
|
||||
{
|
||||
make.top.offset(35);
|
||||
}
|
||||
}];
|
||||
|
||||
UILabel *lbitem = [self drawCenterItemView:viewitem value:@"描绘早晨的场景:运用细节描绘,如“熙攘的人群、校门口的敬礼仪式”,体现新环境的秩序与规矩,象征着成长的仪式感。" tag:i];
|
||||
|
||||
viewlast = viewitem;
|
||||
}
|
||||
|
||||
|
||||
[view mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(viewlast);
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
-(UILabel *)drawCenterItemView:(UIView *)view value:(NSString *)value tag:(int)tag
|
||||
{
|
||||
NSString *strtt = [NSString stringWithFormat:@"第%@段落",[self getDuanLuoName:tag]];
|
||||
float f_w = [Tools getWidthWithText:strtt height:20 font:14]+20;
|
||||
|
||||
UIView *viewtt = [[UIView alloc] initWithFrame:CGRectMake(0, 0, f_w, 30)];
|
||||
[view addSubview:viewtt];
|
||||
[viewtt mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.offset(0);
|
||||
make.height.offset(30);
|
||||
make.width.offset(f_w);
|
||||
}];
|
||||
[viewtt.layer setMasksToBounds:YES];
|
||||
[viewtt.layer setCornerRadius:4];
|
||||
[Tools changedView:viewtt colors:@[(id)RGBCOLOR(42, 211, 237).CGColor,(id)RGBCOLOR(136, 238, 118).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, f_w, 30)];
|
||||
[lbname setTextColor:[UIColor whiteColor]];
|
||||
[lbname setTextAlignment:NSTextAlignmentCenter];
|
||||
[lbname setFont:[UIFont systemFontOfSize:14]];
|
||||
[viewtt addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.center.equalTo(viewtt);
|
||||
}];
|
||||
[lbname setText:strtt];
|
||||
|
||||
UILabel *lbcontent = [[UILabel alloc] init];
|
||||
[lbcontent setText:value];
|
||||
[lbcontent setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbcontent setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbcontent setFont:[UIFont systemFontOfSize:15]];
|
||||
[lbcontent setNumberOfLines:0];
|
||||
[view addSubview:lbcontent];
|
||||
[lbcontent mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(viewtt);
|
||||
make.top.equalTo(viewtt.mas_bottom).offset(8);
|
||||
make.right.equalTo(view).offset(-15);
|
||||
}];
|
||||
[view mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(lbcontent).offset(15);
|
||||
}];
|
||||
return lbcontent;
|
||||
}
|
||||
-(NSString *)getDuanLuoName:(int)tag
|
||||
{
|
||||
NSArray *arr = @[@"一",@"二",@"三",@"四",@"五",@"六",@"七",@"八",@"九",@"十",@"十一",@"十二",@"十三"];
|
||||
NSString *strback = @"";
|
||||
@try {
|
||||
strback=arr[tag];
|
||||
} @catch (NSException *exception) {
|
||||
strback = [NSString stringWithFormat:@"%d",tag+1];
|
||||
} @finally {
|
||||
|
||||
}
|
||||
return strback;
|
||||
}
|
||||
|
||||
-(void)drawEndView:(UIView *)view
|
||||
{
|
||||
UIImageView *imgvback = [[UIImageView alloc] init];
|
||||
[imgvback setImage:[UIImage imageNamed:@"yd_detail_jy_l"]];
|
||||
[view addSubview:imgvback];
|
||||
[imgvback mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(24);
|
||||
make.left.offset(20);
|
||||
make.top.offset(0);
|
||||
}];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"结尾"];
|
||||
[lbname setTextColor:RGBCOLOR(51, 51, 51)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont boldSystemFontOfSize:18]];
|
||||
[view addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(imgvback.mas_right).offset(14);
|
||||
make.centerY.equalTo(imgvback);
|
||||
}];
|
||||
|
||||
|
||||
UILabel *lbcontent = [[UILabel alloc] init];
|
||||
[lbcontent setText:@"以第一人称视角,通过细腻的心理描写,展现新学期第一天的紧张与期待,引出对小学生活的独特感受,如:“那日的阳光透过窗帘,照亮了我心中对未来学习生活的憧憬。”"];
|
||||
[lbcontent setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbcontent setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbcontent setFont:[UIFont systemFontOfSize:15]];
|
||||
[lbcontent setNumberOfLines:0];
|
||||
[view addSubview:lbcontent];
|
||||
[lbcontent mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(lbname);
|
||||
make.top.equalTo(lbname.mas_bottom).offset(8);
|
||||
make.right.equalTo(view).offset(-15);
|
||||
}];
|
||||
|
||||
|
||||
[view mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(lbcontent).offset(30);
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
|
||||
@end
|
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// FXTextView.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface FXTextView : UIView
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,106 @@
|
|||
//
|
||||
// FXTextView.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "FXTextView.h"
|
||||
|
||||
@interface FXTextView ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation FXTextView
|
||||
|
||||
-(id)initWithFrame:(CGRect)frame
|
||||
{
|
||||
if(self = [super initWithFrame:frame])
|
||||
{
|
||||
[self setBackgroundColor:[UIColor whiteColor]];
|
||||
[self.layer setMasksToBounds:YES];
|
||||
[self.layer setCornerRadius:10];
|
||||
|
||||
[self drwaText];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
-(void)drwaText
|
||||
{
|
||||
UILabel *lbcontent = [[UILabel alloc] init];
|
||||
[lbcontent setText:@"你的作文写得非常好,充满了对高中生梦想的深入思考和全面了解。你的语言表达清晰明了,结构合理,逻辑性强,情感表达真挚感人。继续保持写作的热情和信心,相信你会成为一名优秀的作家。"];
|
||||
[lbcontent setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbcontent setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbcontent setFont:[UIFont systemFontOfSize:15]];
|
||||
[lbcontent setNumberOfLines:0];
|
||||
[self addSubview:lbcontent];
|
||||
[lbcontent mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.offset(16);
|
||||
make.right.equalTo(self).offset(-16);
|
||||
}];
|
||||
[self setarrString:lbcontent.text lb:lbcontent];
|
||||
|
||||
UILabel *lbyd = [self drawTextItem:self title:@"优点" color:RGBCOLOR(255, 131, 40) value:@"1你的作文写得非常好,充满了对高中生梦想的深入思考和全面了解。你的语言表达清晰明了,结构合理,逻辑性强,情感表达真挚感人。继续保持写作的热情和信心,相信你会成为一名优秀的作家。" lastview:lbcontent];
|
||||
|
||||
UILabel *lbjy = [self drawTextItem:self title:@"建议" color:RGBCOLOR(203, 254, 39) value:@"2你的作文写得非常好,充满了对高中生梦想的深入思考和全面了解。你的语言表达清晰明了,结构合理,逻辑性强,情感表达真挚感人。继续保持写作的热情和信心,相信你会成为一名优秀的作家。" lastview:lbyd];
|
||||
|
||||
[self mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(lbjy).offset(16);
|
||||
}];
|
||||
|
||||
}
|
||||
-(UILabel *)drawTextItem:(UIView *)view title:(NSString *)title color:(UIColor *)color value:(NSString *)value lastview:(UIView *)viewlast
|
||||
{
|
||||
UILabel *lbname = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 50, 22)];
|
||||
[lbname setTextColor:[UIColor whiteColor]];
|
||||
[lbname setTextAlignment:NSTextAlignmentCenter];
|
||||
[lbname setFont:[UIFont systemFontOfSize:15]];
|
||||
[lbname setBackgroundColor:color];
|
||||
[view addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.sizeOffset(CGSizeMake(50, 22));
|
||||
make.left.offset(16);
|
||||
make.top.equalTo(viewlast.mas_bottom).offset(20);
|
||||
}];
|
||||
UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect: lbname.bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight| UIRectCornerBottomRight cornerRadii:CGSizeMake(11,11)];
|
||||
//创建 layer
|
||||
CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
|
||||
maskLayer.frame = lbname.bounds;
|
||||
//赋值
|
||||
maskLayer.path = maskPath.CGPath;
|
||||
lbname.layer.mask = maskLayer;
|
||||
|
||||
[lbname setText:title];
|
||||
|
||||
UILabel *lbcontent = [[UILabel alloc] init];
|
||||
[lbcontent setText:[NSString stringWithFormat:@" %@",value]];
|
||||
[lbcontent setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbcontent setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbcontent setFont:[UIFont systemFontOfSize:15]];
|
||||
[lbcontent setNumberOfLines:0];
|
||||
[view addSubview:lbcontent];
|
||||
[lbcontent mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(16);
|
||||
make.right.equalTo(view).offset(-16);
|
||||
make.top.equalTo(viewlast.mas_bottom).offset(21);
|
||||
}];
|
||||
[self setarrString:lbcontent.text lb:lbcontent];
|
||||
return lbcontent;
|
||||
}
|
||||
|
||||
-(void)setarrString:(NSString *)str lb:(UILabel *)lb
|
||||
{
|
||||
///行间距
|
||||
NSMutableParagraphStyle *style = [NSMutableParagraphStyle new];
|
||||
style.lineSpacing = 5;
|
||||
style.lineBreakMode = NSLineBreakByWordWrapping;
|
||||
style.alignment = NSTextAlignmentLeft;
|
||||
|
||||
NSMutableAttributedString *attrString = [[NSMutableAttributedString alloc] initWithString:str];
|
||||
[attrString addAttribute:NSParagraphStyleAttributeName value:style range:NSMakeRange(0, str.length)];
|
||||
lb.attributedText = attrString;
|
||||
}
|
||||
|
||||
|
||||
@end
|
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// FXWDPFView.h
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface FXWDPFView : UIView
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
|
@ -0,0 +1,83 @@
|
|||
//
|
||||
// FXWDPFView.m
|
||||
// ProductApp
|
||||
//
|
||||
// Created by 工作 on 2024/9/29.
|
||||
//
|
||||
|
||||
#import "FXWDPFView.h"
|
||||
|
||||
|
||||
@interface FXWDPFView ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation FXWDPFView
|
||||
|
||||
-(id)initWithFrame:(CGRect)frame
|
||||
{
|
||||
if(self = [super initWithFrame:frame])
|
||||
{
|
||||
[self setBackgroundColor:[UIColor whiteColor]];
|
||||
[self.layer setMasksToBounds:YES];
|
||||
[self.layer setCornerRadius:10];
|
||||
UILabel *lbbz = [[UILabel alloc] init];
|
||||
[lbbz setText:@"评分标准:"];
|
||||
[lbbz setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbbz setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbbz setFont:[UIFont systemFontOfSize:16]];
|
||||
[self addSubview:lbbz];
|
||||
[lbbz mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.offset(16);
|
||||
}];
|
||||
|
||||
UILabel *lbbzName = [[UILabel alloc] init];
|
||||
[lbbzName setText:@"小学"];
|
||||
[lbbzName setTextColor:RGBCOLOR(26, 26, 26)];
|
||||
[lbbzName setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbbzName setFont:[UIFont systemFontOfSize:16]];
|
||||
[self addSubview:lbbzName];
|
||||
[lbbzName mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(lbbz.mas_right);
|
||||
make.centerY.equalTo(lbbz);
|
||||
}];
|
||||
|
||||
int iline = 3;
|
||||
UIView *viewlast = nil;
|
||||
for(int i = 0; i < iline; i++)
|
||||
{
|
||||
for(int j = 0 ; j < 2; j++)
|
||||
{
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"切合题意"];
|
||||
[lbname setTextColor:RGBCOLOR(61, 61, 61)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont systemFontOfSize:14]];
|
||||
[self addSubview:lbname];
|
||||
[lbname mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(20+(UISCREEN_WIDTH-70)/2.0*j);
|
||||
make.top.offset(55+40*i);
|
||||
}];
|
||||
|
||||
UILabel *lbvalue = [[UILabel alloc] init];
|
||||
[lbvalue setText:@"15/20分"];
|
||||
[lbvalue setTextColor:RGBCOLOR(51, 51, 51)];
|
||||
[lbvalue setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbvalue setFont:[UIFont boldSystemFontOfSize:12]];
|
||||
[self addSubview:lbvalue];
|
||||
[lbvalue mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(lbname.mas_right).offset(10);
|
||||
make.centerY.equalTo(lbname);
|
||||
}];
|
||||
viewlast = lbname;
|
||||
}
|
||||
}
|
||||
|
||||
[self mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.equalTo(viewlast).offset(16);
|
||||
}];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|