diff --git a/ProductApp/ProductApp.xcodeproj/project.pbxproj b/ProductApp/ProductApp.xcodeproj/project.pbxproj index 2178a68..df5d5f5 100644 --- a/ProductApp/ProductApp.xcodeproj/project.pbxproj +++ b/ProductApp/ProductApp.xcodeproj/project.pbxproj @@ -8,6 +8,20 @@ /* Begin PBXBuildFile section */ 664551746CA42328436EB43A /* Pods_ProductApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E7E9D1598912BF8D031CA536 /* Pods_ProductApp.framework */; }; + CA4257852CA24E1100A36A10 /* StartPZXZDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257842CA24E1100A36A10 /* StartPZXZDetailViewController.m */; }; + CA4257892CA24E8C00A36A10 /* StartPZXZDetailView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257882CA24E8C00A36A10 /* StartPZXZDetailView.m */; }; + CA42578D2CA262B300A36A10 /* StartZNPPTViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA42578C2CA262B300A36A10 /* StartZNPPTViewController.m */; }; + CA4257912CA2652D00A36A10 /* StartZNPPTView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257902CA2652D00A36A10 /* StartZNPPTView.m */; }; + CA4257952CA2671400A36A10 /* StartZNPPTCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257942CA2671400A36A10 /* StartZNPPTCell.m */; }; + CA4257982CA2914100A36A10 /* StartZNPPTHUDAlter.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257972CA2914100A36A10 /* StartZNPPTHUDAlter.m */; }; + CA42579C2CA2998200A36A10 /* StartZNPPTDaGangViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA42579B2CA2998200A36A10 /* StartZNPPTDaGangViewController.m */; }; + CA4257A02CA299F900A36A10 /* StartZNPPTDaGangView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA42579F2CA299F900A36A10 /* StartZNPPTDaGangView.m */; }; + CA4257A32CA29BF900A36A10 /* StartZNPPTDaGangAlterView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257A22CA29BF900A36A10 /* StartZNPPTDaGangAlterView.m */; }; + CA4257A62CA29FE700A36A10 /* StartZNPPTDaGangAlterLoadView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257A52CA29FE700A36A10 /* StartZNPPTDaGangAlterLoadView.m */; }; + CA4257AA2CA2A30C00A36A10 /* StartZNPPTYuLanViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257A92CA2A30C00A36A10 /* StartZNPPTYuLanViewController.m */; }; + CA4257AE2CA2AF3600A36A10 /* StartZNPPTYuLanTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257AD2CA2AF3600A36A10 /* StartZNPPTYuLanTableViewCell.m */; }; + CA4257B22CA2BB8500A36A10 /* StartPayViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257B12CA2BB8500A36A10 /* StartPayViewController.m */; }; + CA4257B62CA2BBB000A36A10 /* StartPayView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257B52CA2BBB000A36A10 /* StartPayView.m */; }; CA8181882C9E58B100EE7E6E /* StartKTXZWenZhangViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA8181872C9E58B100EE7E6E /* StartKTXZWenZhangViewController.m */; }; CA81818B2C9E598300EE7E6E /* StartKTXZWenZhangView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA81818A2C9E598300EE7E6E /* StartKTXZWenZhangView.m */; }; CA81818E2C9E60B100EE7E6E /* ViewLable.m in Sources */ = {isa = PBXBuildFile; fileRef = CA81818D2C9E60B100EE7E6E /* ViewLable.m */; }; @@ -242,6 +256,34 @@ /* 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 = ""; }; 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 = ""; }; + CA4257832CA24E1100A36A10 /* StartPZXZDetailViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartPZXZDetailViewController.h; sourceTree = ""; }; + CA4257842CA24E1100A36A10 /* StartPZXZDetailViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartPZXZDetailViewController.m; sourceTree = ""; }; + CA4257872CA24E8C00A36A10 /* StartPZXZDetailView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartPZXZDetailView.h; sourceTree = ""; }; + CA4257882CA24E8C00A36A10 /* StartPZXZDetailView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartPZXZDetailView.m; sourceTree = ""; }; + CA42578B2CA262B300A36A10 /* StartZNPPTViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTViewController.h; sourceTree = ""; }; + CA42578C2CA262B300A36A10 /* StartZNPPTViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTViewController.m; sourceTree = ""; }; + CA42578F2CA2652D00A36A10 /* StartZNPPTView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTView.h; sourceTree = ""; }; + CA4257902CA2652D00A36A10 /* StartZNPPTView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTView.m; sourceTree = ""; }; + CA4257932CA2671400A36A10 /* StartZNPPTCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTCell.h; sourceTree = ""; }; + CA4257942CA2671400A36A10 /* StartZNPPTCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTCell.m; sourceTree = ""; }; + CA4257962CA2914100A36A10 /* StartZNPPTHUDAlter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTHUDAlter.h; sourceTree = ""; }; + CA4257972CA2914100A36A10 /* StartZNPPTHUDAlter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTHUDAlter.m; sourceTree = ""; }; + CA42579A2CA2998200A36A10 /* StartZNPPTDaGangViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTDaGangViewController.h; sourceTree = ""; }; + CA42579B2CA2998200A36A10 /* StartZNPPTDaGangViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTDaGangViewController.m; sourceTree = ""; }; + CA42579E2CA299F900A36A10 /* StartZNPPTDaGangView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTDaGangView.h; sourceTree = ""; }; + CA42579F2CA299F900A36A10 /* StartZNPPTDaGangView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTDaGangView.m; sourceTree = ""; }; + CA4257A12CA29BF900A36A10 /* StartZNPPTDaGangAlterView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTDaGangAlterView.h; sourceTree = ""; }; + CA4257A22CA29BF900A36A10 /* StartZNPPTDaGangAlterView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTDaGangAlterView.m; sourceTree = ""; }; + CA4257A42CA29FE700A36A10 /* StartZNPPTDaGangAlterLoadView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StartZNPPTDaGangAlterLoadView.h; sourceTree = ""; }; + CA4257A52CA29FE700A36A10 /* StartZNPPTDaGangAlterLoadView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTDaGangAlterLoadView.m; sourceTree = ""; }; + CA4257A82CA2A30C00A36A10 /* StartZNPPTYuLanViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTYuLanViewController.h; sourceTree = ""; }; + CA4257A92CA2A30C00A36A10 /* StartZNPPTYuLanViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTYuLanViewController.m; sourceTree = ""; }; + CA4257AC2CA2AF3600A36A10 /* StartZNPPTYuLanTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTYuLanTableViewCell.h; sourceTree = ""; }; + CA4257AD2CA2AF3600A36A10 /* StartZNPPTYuLanTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTYuLanTableViewCell.m; sourceTree = ""; }; + CA4257B02CA2BB8500A36A10 /* StartPayViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartPayViewController.h; sourceTree = ""; }; + CA4257B12CA2BB8500A36A10 /* StartPayViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartPayViewController.m; sourceTree = ""; }; + CA4257B42CA2BBB000A36A10 /* StartPayView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartPayView.h; sourceTree = ""; }; + CA4257B52CA2BBB000A36A10 /* StartPayView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartPayView.m; sourceTree = ""; }; CA8181862C9E58B100EE7E6E /* StartKTXZWenZhangViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartKTXZWenZhangViewController.h; sourceTree = ""; }; CA8181872C9E58B100EE7E6E /* StartKTXZWenZhangViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartKTXZWenZhangViewController.m; sourceTree = ""; }; CA8181892C9E598300EE7E6E /* StartKTXZWenZhangView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartKTXZWenZhangView.h; sourceTree = ""; }; @@ -747,6 +789,119 @@ path = Pods; sourceTree = ""; }; + CA4257822CA24DFB00A36A10 /* 文章 */ = { + isa = PBXGroup; + children = ( + CA4257862CA24E7600A36A10 /* view */, + CA4257832CA24E1100A36A10 /* StartPZXZDetailViewController.h */, + CA4257842CA24E1100A36A10 /* StartPZXZDetailViewController.m */, + ); + path = "文章"; + sourceTree = ""; + }; + CA4257862CA24E7600A36A10 /* view */ = { + isa = PBXGroup; + children = ( + CA4257872CA24E8C00A36A10 /* StartPZXZDetailView.h */, + CA4257882CA24E8C00A36A10 /* StartPZXZDetailView.m */, + ); + path = view; + sourceTree = ""; + }; + CA42578A2CA2629800A36A10 /* 智能PPT */ = { + isa = PBXGroup; + children = ( + CA4257A72CA2A2F000A36A10 /* 预览PPT */, + CA4257992CA2996500A36A10 /* 大纲 */, + CA4257922CA2670100A36A10 /* cell */, + CA42578E2CA2652000A36A10 /* view */, + CA42578B2CA262B300A36A10 /* StartZNPPTViewController.h */, + CA42578C2CA262B300A36A10 /* StartZNPPTViewController.m */, + ); + path = "智能PPT"; + sourceTree = ""; + }; + CA42578E2CA2652000A36A10 /* view */ = { + isa = PBXGroup; + children = ( + CA42578F2CA2652D00A36A10 /* StartZNPPTView.h */, + CA4257902CA2652D00A36A10 /* StartZNPPTView.m */, + CA4257962CA2914100A36A10 /* StartZNPPTHUDAlter.h */, + CA4257972CA2914100A36A10 /* StartZNPPTHUDAlter.m */, + ); + path = view; + sourceTree = ""; + }; + CA4257922CA2670100A36A10 /* cell */ = { + isa = PBXGroup; + children = ( + CA4257932CA2671400A36A10 /* StartZNPPTCell.h */, + CA4257942CA2671400A36A10 /* StartZNPPTCell.m */, + ); + path = cell; + sourceTree = ""; + }; + CA4257992CA2996500A36A10 /* 大纲 */ = { + isa = PBXGroup; + children = ( + CA42579D2CA299B800A36A10 /* view */, + CA42579A2CA2998200A36A10 /* StartZNPPTDaGangViewController.h */, + CA42579B2CA2998200A36A10 /* StartZNPPTDaGangViewController.m */, + ); + path = "大纲"; + sourceTree = ""; + }; + CA42579D2CA299B800A36A10 /* view */ = { + isa = PBXGroup; + children = ( + CA42579E2CA299F900A36A10 /* StartZNPPTDaGangView.h */, + CA42579F2CA299F900A36A10 /* StartZNPPTDaGangView.m */, + CA4257A12CA29BF900A36A10 /* StartZNPPTDaGangAlterView.h */, + CA4257A22CA29BF900A36A10 /* StartZNPPTDaGangAlterView.m */, + CA4257A42CA29FE700A36A10 /* StartZNPPTDaGangAlterLoadView.h */, + CA4257A52CA29FE700A36A10 /* StartZNPPTDaGangAlterLoadView.m */, + ); + path = view; + sourceTree = ""; + }; + CA4257A72CA2A2F000A36A10 /* 预览PPT */ = { + isa = PBXGroup; + children = ( + CA4257AB2CA2AF2400A36A10 /* cell */, + CA4257A82CA2A30C00A36A10 /* StartZNPPTYuLanViewController.h */, + CA4257A92CA2A30C00A36A10 /* StartZNPPTYuLanViewController.m */, + ); + path = "预览PPT"; + sourceTree = ""; + }; + CA4257AB2CA2AF2400A36A10 /* cell */ = { + isa = PBXGroup; + children = ( + CA4257AC2CA2AF3600A36A10 /* StartZNPPTYuLanTableViewCell.h */, + CA4257AD2CA2AF3600A36A10 /* StartZNPPTYuLanTableViewCell.m */, + ); + path = cell; + sourceTree = ""; + }; + CA4257AF2CA2BB6700A36A10 /* 支付页 */ = { + isa = PBXGroup; + children = ( + CA4257B32CA2BBA500A36A10 /* view */, + CA4257B02CA2BB8500A36A10 /* StartPayViewController.h */, + CA4257B12CA2BB8500A36A10 /* StartPayViewController.m */, + ); + path = "支付页"; + sourceTree = ""; + }; + CA4257B32CA2BBA500A36A10 /* view */ = { + isa = PBXGroup; + children = ( + CA4257B42CA2BBB000A36A10 /* StartPayView.h */, + CA4257B52CA2BBB000A36A10 /* StartPayView.m */, + ); + path = view; + sourceTree = ""; + }; CA81818F2C9E742400EE7E6E /* 批改识别 */ = { isa = PBXGroup; children = ( @@ -869,6 +1024,8 @@ CABA146E2C9D0D3C002CB3B1 /* 引导 */ = { isa = PBXGroup; children = ( + CA4257AF2CA2BB6700A36A10 /* 支付页 */, + CA42578A2CA2629800A36A10 /* 智能PPT */, CAC806692CA16DBC00C21AA7 /* 拍照写作 */, CAC8064F2CA137C700C21AA7 /* 智能写作 */, CAC8063B2CA10AEB00C21AA7 /* 作文批改 */, @@ -1149,6 +1306,7 @@ CAC806692CA16DBC00C21AA7 /* 拍照写作 */ = { isa = PBXGroup; children = ( + CA4257822CA24DFB00A36A10 /* 文章 */, CAC8066D2CA16DF500C21AA7 /* view */, CAC8066A2CA16DCC00C21AA7 /* StartPZXZViewController.h */, CAC8066B2CA16DCC00C21AA7 /* StartPZXZViewController.m */, @@ -2136,14 +2294,18 @@ CB489F612744A0BD00DA044A /* ListAlterView.m in Sources */, CBD422C028DAF38900C32440 /* KAlterView.m in Sources */, CABA14BB2C9D4330002CB3B1 /* PublicUploadImageManager.m in Sources */, + CA4257AA2CA2A30C00A36A10 /* StartZNPPTYuLanViewController.m in Sources */, CB489F9D2744A0BD00DA044A /* AssistiveView.m in Sources */, CABA14CB2C9D4395002CB3B1 /* GTMBases64.m in Sources */, CB489FA02744A0BD00DA044A /* UIView+ZJFrame.m in Sources */, CABA148D2C9D4312002CB3B1 /* PublicNetWorkManager.m in Sources */, + CA4257A02CA299F900A36A10 /* StartZNPPTDaGangView.m in Sources */, CA81818B2C9E598300EE7E6E /* StartKTXZWenZhangView.m in Sources */, CB489FA72744A0BD00DA044A /* ZJScrollPageView.m in Sources */, + CA4257A62CA29FE700A36A10 /* StartZNPPTDaGangAlterLoadView.m in Sources */, CB489F942744A0BD00DA044A /* AreaprovinceListModel.m in Sources */, CABA14B02C9D4318002CB3B1 /* UserAccountModel.m in Sources */, + CA4257982CA2914100A36A10 /* StartZNPPTHUDAlter.m in Sources */, CB489F7C2744A0BD00DA044A /* RSAEncrypt.m in Sources */, CB489F6B2744A0BD00DA044A /* LJsignView.m in Sources */, CB489F622744A0BD00DA044A /* MDBwebVIew.m in Sources */, @@ -2159,6 +2321,7 @@ CAC806732CA171ED00C21AA7 /* StartPZXZPageView.m in Sources */, CABA14B72C9D4318002CB3B1 /* UserUploadModel.m in Sources */, CB489FB22744A0BD00DA044A /* FSActionSheetItem.m in Sources */, + CA4257AE2CA2AF3600A36A10 /* StartZNPPTYuLanTableViewCell.m in Sources */, CB489F4B2744A0BD00DA044A /* PGGDatePickView.m in Sources */, CB489FB72744A0BD00DA044A /* UIAlertController+Blocks.m in Sources */, CABA14612C9D0B1C002CB3B1 /* ShouYeViewController.m in Sources */, @@ -2166,6 +2329,7 @@ CA8181A12C9E9CC500EE7E6E /* StartKTXZPGDetailView.m in Sources */, CABA14B42C9D4318002CB3B1 /* UserLoginModel.m in Sources */, CB489FCC2744A0BD00DA044A /* ConfigireSetting.m in Sources */, + CA4257952CA2671400A36A10 /* StartZNPPTCell.m in Sources */, CABA14CC2C9D4395002CB3B1 /* NSData+PEHIExtension.m in Sources */, CABA14AC2C9D4318002CB3B1 /* OrderGoodsModel.m in Sources */, CABA14EB2C9D7AB2002CB3B1 /* StartKeTangXieZuoView.m in Sources */, @@ -2174,6 +2338,7 @@ CB489FB12744A0BD00DA044A /* FSActionSheetCell.m in Sources */, CB489F6D2744A0BD00DA044A /* UIView+Additions.m in Sources */, CABA14CD2C9D4395002CB3B1 /* NSString+AES.m in Sources */, + CA42579C2CA2998200A36A10 /* StartZNPPTDaGangViewController.m in Sources */, CABA14B52C9D4318002CB3B1 /* UserModel.m in Sources */, CB489FA92744A0BD00DA044A /* UIView+XLExtension.m in Sources */, CB489F512744A0BD00DA044A /* PGJSearchView.m in Sources */, @@ -2192,14 +2357,17 @@ CB489F502744A0BD00DA044A /* Tools.m in Sources */, CAC806682CA1521200C21AA7 /* StartZNXZSiLuView.m in Sources */, CAC806602CA144D000C21AA7 /* StartZNXZKeysView.m in Sources */, + CA4257892CA24E8C00A36A10 /* StartPZXZDetailView.m in Sources */, CABA14E72C9D76F8002CB3B1 /* StartKeTangXieZuoViewController.m in Sources */, CABA14782C9D13CD002CB3B1 /* StartSFViewController.m in Sources */, + CA4257B62CA2BBB000A36A10 /* StartPayView.m in Sources */, CB489DDB27449D5D00DA044A /* main.m in Sources */, CB489FB02744A0BD00DA044A /* FSActionSheet.m in Sources */, CB489F652744A0BD00DA044A /* DAYComponentView.m in Sources */, CB489FAC2744A0BD00DA044A /* XLPhotoBrowser.m in Sources */, CB489F522744A0BD00DA044A /* PlayAudio.m in Sources */, CB489F662744A0BD00DA044A /* DAYUtils.m in Sources */, + CA4257B22CA2BB8500A36A10 /* StartPayViewController.m in Sources */, CB489F6A2744A0BD00DA044A /* UILabel+PGGLabText.m in Sources */, CB489F772744A0BD00DA044A /* WYCamaImageTools.m in Sources */, CA8181B62C9ECB5800EE7E6E /* StartKTXZPGDetailFJItemView.m in Sources */, @@ -2235,6 +2403,7 @@ CB489F762744A0BD00DA044A /* UIColor+LSFoundation.m in Sources */, CB489F952744A0BD00DA044A /* BaseRequestDataController.m in Sources */, CB489F8A2744A0BD00DA044A /* UIButton+HQCustomIcon.m in Sources */, + CA4257912CA2652D00A36A10 /* StartZNPPTView.m in Sources */, CB489F632744A0BD00DA044A /* CountDownManager.m in Sources */, CB489F9A2744A0BD00DA044A /* baseInfoModel.m in Sources */, CB489F6E2744A0BD00DA044A /* UIButton+EnlargeTouchArea.m in Sources */, @@ -2244,11 +2413,13 @@ CB489F7D2744A0BD00DA044A /* OpenSSLWrapper.m in Sources */, CB489FAB2744A0BD00DA044A /* XLZoomingScrollView.m in Sources */, CA8181962C9E751700EE7E6E /* StartKTXZPGView.m in Sources */, + CA42578D2CA262B300A36A10 /* StartZNPPTViewController.m in Sources */, CB489F752744A0BD00DA044A /* NavgationController.m in Sources */, CB489F682744A0BD00DA044A /* DAYCalendarView.m in Sources */, CABA14AD2C9D4318002CB3B1 /* OrderInfoListModel.m in Sources */, CABA14AB2C9D4318002CB3B1 /* DownLoadModel.m in Sources */, CABA14D92C9D5071002CB3B1 /* PageControlView.m in Sources */, + CA4257852CA24E1100A36A10 /* StartPZXZDetailViewController.m in Sources */, CB489FA52744A0BD00DA044A /* ZJSegmentStyle.m in Sources */, CABA147F2C9D19A0002CB3B1 /* TextCollectionViewCell.m in Sources */, CB489F642744A0BD00DA044A /* DAYNavigationBar.m in Sources */, @@ -2271,6 +2442,7 @@ CB489FA12744A0BD00DA044A /* ZJTitleView.m in Sources */, CB489FAF2744A0BD00DA044A /* FSActionSheetConfig.m in Sources */, CB489FB52744A0BD00DA044A /* HYTimePickerView.m in Sources */, + CA4257A32CA29BF900A36A10 /* StartZNPPTDaGangAlterView.m in Sources */, CAC8066C2CA16DCC00C21AA7 /* StartPZXZViewController.m in Sources */, CB489F722744A0BD00DA044A /* MCTabBarController.m in Sources */, CB489F9F2744A0BD00DA044A /* LogView.m in Sources */, @@ -2464,7 +2636,7 @@ INFOPLIST_KEY_UIMainStoryboardFile = Main; INFOPLIST_KEY_UIRequiredDeviceCapabilities = armv7; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -2525,7 +2697,7 @@ INFOPLIST_KEY_UIMainStoryboardFile = Main; INFOPLIST_KEY_UIRequiredDeviceCapabilities = armv7; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/ProductApp/ProductApp.xcworkspace/xcuserdata/gongzuo.xcuserdatad/UserInterfaceState.xcuserstate b/ProductApp/ProductApp.xcworkspace/xcuserdata/gongzuo.xcuserdatad/UserInterfaceState.xcuserstate index 2bf00e8..cd49b44 100644 Binary files a/ProductApp/ProductApp.xcworkspace/xcuserdata/gongzuo.xcuserdatad/UserInterfaceState.xcuserstate and b/ProductApp/ProductApp.xcworkspace/xcuserdata/gongzuo.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/ProductApp/ProductApp.xcworkspace/xcuserdata/gongzuo.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/ProductApp/ProductApp.xcworkspace/xcuserdata/gongzuo.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index ea7abca..c814176 100644 --- a/ProductApp/ProductApp.xcworkspace/xcuserdata/gongzuo.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/ProductApp/ProductApp.xcworkspace/xcuserdata/gongzuo.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -3,4 +3,38 @@ uuid = "41EC793F-022E-49E6-A76A-A910FEF0483C" type = "0" version = "2.0"> + + + + + + + + + + diff --git a/ProductApp/ProductApp/AppDelegate.m b/ProductApp/ProductApp/AppDelegate.m index b84bc52..0a859ac 100644 --- a/ProductApp/ProductApp/AppDelegate.m +++ b/ProductApp/ProductApp/AppDelegate.m @@ -10,7 +10,7 @@ #import "StartViewController.h" -#import "StartPZXZViewController.h" +#import "StartPayViewController.h" @interface AppDelegate () @@ -33,7 +33,7 @@ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; self.window.backgroundColor = [UIColor whiteColor]; - [self.window setRootViewController:[[NavgationController alloc] initWithRootViewController:[StartPZXZViewController new]]]; + [self.window setRootViewController:[[NavgationController alloc] initWithRootViewController:[StartPayViewController new]]]; [self.window makeKeyAndVisible]; @@ -50,6 +50,10 @@ self.window.overrideUserInterfaceStyle = UIUserInterfaceStyleLight; { /// [[NSNotificationCenter defaultCenter] postNotificationName:@"huoquidfanotifi" object:nil]; + + ///获取粘贴信息 + [[NSNotificationCenter defaultCenter] postNotificationName:@"getpastData" object:nil]; + } @end diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/tuoyuan.imageset/Contents.json b/ProductApp/ProductApp/Assets.xcassets/引导页/tuoyuan.imageset/Contents.json new file mode 100644 index 0000000..607819c --- /dev/null +++ b/ProductApp/ProductApp/Assets.xcassets/引导页/tuoyuan.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "WeChatb8c40ed1c36404eed2f451fc1a2b046a.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/tuoyuan.imageset/WeChatb8c40ed1c36404eed2f451fc1a2b046a.jpg b/ProductApp/ProductApp/Assets.xcassets/引导页/tuoyuan.imageset/WeChatb8c40ed1c36404eed2f451fc1a2b046a.jpg new file mode 100644 index 0000000..72259d1 Binary files /dev/null and b/ProductApp/ProductApp/Assets.xcassets/引导页/tuoyuan.imageset/WeChatb8c40ed1c36404eed2f451fc1a2b046a.jpg differ diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hud.imageset/Contents.json b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hud.imageset/Contents.json new file mode 100644 index 0000000..cbe3114 --- /dev/null +++ b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hud.imageset/Contents.json @@ -0,0 +1,22 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Group 65@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Group 65@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hud.imageset/Group 65@2x.png b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hud.imageset/Group 65@2x.png new file mode 100644 index 0000000..0239c19 Binary files /dev/null and b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hud.imageset/Group 65@2x.png differ diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hud.imageset/Group 65@3x.png b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hud.imageset/Group 65@3x.png new file mode 100644 index 0000000..4b5dd7e Binary files /dev/null and b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hud.imageset/Group 65@3x.png differ diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hudppt.imageset/Contents.json b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hudppt.imageset/Contents.json new file mode 100644 index 0000000..c6bb0e5 --- /dev/null +++ b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hudppt.imageset/Contents.json @@ -0,0 +1,22 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "lq@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "lq@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hudppt.imageset/lq@2x.png b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hudppt.imageset/lq@2x.png new file mode 100644 index 0000000..bfef7fa Binary files /dev/null and b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hudppt.imageset/lq@2x.png differ diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hudppt.imageset/lq@3x.png b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hudppt.imageset/lq@3x.png new file mode 100644 index 0000000..7f6f44a Binary files /dev/null and b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_hudppt.imageset/lq@3x.png differ diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_pptBack.imageset/Contents.json b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_pptBack.imageset/Contents.json new file mode 100644 index 0000000..f9f2ee3 --- /dev/null +++ b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_pptBack.imageset/Contents.json @@ -0,0 +1,22 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "图层 0@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "图层 0@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_pptBack.imageset/图层 0@2x.png b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_pptBack.imageset/图层 0@2x.png new file mode 100644 index 0000000..bbbf9b4 Binary files /dev/null and b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_pptBack.imageset/图层 0@2x.png differ diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_pptBack.imageset/图层 0@3x.png b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_pptBack.imageset/图层 0@3x.png new file mode 100644 index 0000000..e12a8c7 Binary files /dev/null and b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_pptBack.imageset/图层 0@3x.png differ diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_txt.imageset/Contents.json b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_txt.imageset/Contents.json new file mode 100644 index 0000000..2cc4fb5 --- /dev/null +++ b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_txt.imageset/Contents.json @@ -0,0 +1,22 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "组@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "组@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_txt.imageset/组@2x.png b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_txt.imageset/组@2x.png new file mode 100644 index 0000000..61e408b Binary files /dev/null and b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_txt.imageset/组@2x.png differ diff --git a/ProductApp/ProductApp/Assets.xcassets/引导页/yd_txt.imageset/组@3x.png b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_txt.imageset/组@3x.png new file mode 100644 index 0000000..c075201 Binary files /dev/null and b/ProductApp/ProductApp/Assets.xcassets/引导页/yd_txt.imageset/组@3x.png differ diff --git a/ProductApp/ProductApp/Other/ViewLable.m b/ProductApp/ProductApp/Other/ViewLable.m index f87eeba..2e72c2c 100644 --- a/ProductApp/ProductApp/Other/ViewLable.m +++ b/ProductApp/ProductApp/Other/ViewLable.m @@ -16,6 +16,11 @@ /// @property (nonatomic , strong) NSTimer *timer; @property (nonatomic , assign) int inow; + +@property (strong, nonatomic) NSLayoutManager *layoutManager; +@property (strong, nonatomic) NSTextStorage *textStorage; +@property (strong, nonatomic) NSTextContainer *textContainer; + @end @implementation ViewLable @@ -24,6 +29,17 @@ { if(self = [super initWithFrame:frame]) { + + self.textStorage = [NSTextStorage new]; + self.layoutManager = [NSLayoutManager new]; + + self.textContainer = [NSTextContainer new]; + + [self.textStorage addLayoutManager:self.layoutManager]; + + [self.layoutManager addTextContainer:self.textContainer]; + + PGJUILabel *lbname = [[PGJUILabel alloc] init]; [lbname setTextColor:RGBCOLOR(26, 26, 26)]; [lbname setTextAlignment:NSTextAlignmentLeft]; @@ -105,33 +121,70 @@ CGPoint point = [self boundingRectForLastCharacterInLabel:self.lbname]; self.imgvb.center = point; + NSLog(@"%@",NSStringFromCGPoint(point)); + } - (CGPoint)boundingRectForLastCharacterInLabel:(UILabel *)label { NSString *text = label.text; +// +// NSMutableParagraphStyle *style = [NSMutableParagraphStyle new]; +// style.lineSpacing = 5; +// style.lineBreakMode = NSLineBreakByWordWrapping; +// style.alignment = NSTextAlignmentLeft; +// +// NSDictionary *attributes = @{NSFontAttributeName: label.font,NSParagraphStyleAttributeName:style}; // 设置字体属性 +// +// CGRect sz = [text boundingRectWithSize:CGSizeMake(MAXFLOAT, 20) options:NSStringDrawingUsesLineFragmentOrigin attributes:attributes context:nil]; +// +// CGRect linesSz = [text boundingRectWithSize:CGSizeMake(label.frame.size.width, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin attributes:attributes context:nil]; +// +// [text sizeWithFont:label.font constrainedToSize:CGSizeMake(MAXFLOAT, 20) lineBreakMode:NSLineBreakByWordWrapping]; +// +// CGPoint lastPoint; +// if(sz.size.height>=linesSz.size.height) +// { +// lastPoint = CGPointMake(label.frame.origin.x+sz.size.width, label.frame.origin.y+9); +// } +// else +// { +// lastPoint = CGPointMake(label.frame.origin.x+(int)sz.size.width%(int)linesSz.size.width, linesSz.size.height-sz.size.height+9); +// } - NSMutableParagraphStyle *style = [NSMutableParagraphStyle new]; - style.lineSpacing = 5; - style.lineBreakMode = NSLineBreakByWordWrapping; - style.alignment = NSTextAlignmentLeft; - - NSDictionary *attributes = @{NSFontAttributeName: label.font,NSParagraphStyleAttributeName:style}; // 设置字体属性 - - CGRect sz = [text boundingRectWithSize:CGSizeMake(MAXFLOAT, 20) options:NSStringDrawingUsesLineFragmentOrigin attributes:attributes context:nil]; - - CGRect linesSz = [text boundingRectWithSize:CGSizeMake(label.frame.size.width, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin attributes:attributes context:nil]; - CGPoint lastPoint; - if(sz.size.width= self.textStorage.length) { + return CGRectZero; + } + NSRange characterRange = NSMakeRange(charIndex, 1); + NSRange glyphRange = [self.layoutManager glyphRangeForCharacterRange:characterRange actualCharacterRange:nil]; + return [self.layoutManager boundingRectForGlyphRange:glyphRange inTextContainer:self.textContainer]; +} + -(void)endAction { if(self.timer) diff --git a/ProductApp/ProductApp/ProductMain/引导/view/StartGNView.m b/ProductApp/ProductApp/ProductMain/引导/view/StartGNView.m index d925958..3cf8c1c 100644 --- a/ProductApp/ProductApp/ProductMain/引导/view/StartGNView.m +++ b/ProductApp/ProductApp/ProductMain/引导/view/StartGNView.m @@ -11,6 +11,8 @@ #import "StartZWPIViewController.h" #import "StartZNXZViewController.h" #import "StartPZXZViewController.h" +#import "StartZNPPTViewController.h" +#import "StartPayViewController.h" @interface StartGNView () @@ -306,7 +308,16 @@ } else {///职员 - + if(self.pagec.selectNumber==0) + { + StartZNPPTViewController *vc = [StartZNPPTViewController new]; + [self.viewController.navigationController pushViewController:vc animated:YES]; + } + else + {/// + StartPayViewController *vc = [StartPayViewController new]; + [self.viewController.navigationController pushViewController:vc animated:YES]; + } } } diff --git a/ProductApp/ProductApp/ProductMain/引导/作文批改/批改信息/view/StartZWPIDetailView.m b/ProductApp/ProductApp/ProductMain/引导/作文批改/批改信息/view/StartZWPIDetailView.m index 0c03162..cff6734 100644 --- a/ProductApp/ProductApp/ProductMain/引导/作文批改/批改信息/view/StartZWPIDetailView.m +++ b/ProductApp/ProductApp/ProductMain/引导/作文批改/批改信息/view/StartZWPIDetailView.m @@ -9,6 +9,7 @@ #import "StartKTXZPGDetailTabView.h" #import "StartKTXZPGDetailZHView.h" #import "StartKTXZPGDetailFJView.h" +#import "StartPayViewController.h" @interface StartZWPIDetailView () /// @@ -182,7 +183,8 @@ } -(void)tiyanAction { - + StartPayViewController *vc = [StartPayViewController new]; + [self.viewController.navigationController pushViewController:vc animated:YES]; } -(void)showVC:(NSInteger)page { diff --git a/ProductApp/ProductApp/ProductMain/引导/拍照写作/view/StartPZXZPageView.m b/ProductApp/ProductApp/ProductMain/引导/拍照写作/view/StartPZXZPageView.m index d40b556..e69f159 100644 --- a/ProductApp/ProductApp/ProductMain/引导/拍照写作/view/StartPZXZPageView.m +++ b/ProductApp/ProductApp/ProductMain/引导/拍照写作/view/StartPZXZPageView.m @@ -48,7 +48,11 @@ ///去小数点后1 x y -(void)setYidongsize:(CGSize)yidongsize { - + dispatch_async(dispatch_get_main_queue(), ^{ + float f_x = UISCREEN_WIDTH*0.3/2.0*yidongsize.width; + float f_h = self.scvback.height*0.3/2.0*yidongsize.height; + [self.scvback setContentOffset:CGPointMake(f_x, f_h) animated:YES]; + }); } @end diff --git a/ProductApp/ProductApp/ProductMain/引导/拍照写作/view/StartPZXZView.m b/ProductApp/ProductApp/ProductMain/引导/拍照写作/view/StartPZXZView.m index 4c4d4d6..9aa3905 100644 --- a/ProductApp/ProductApp/ProductMain/引导/拍照写作/view/StartPZXZView.m +++ b/ProductApp/ProductApp/ProductMain/引导/拍照写作/view/StartPZXZView.m @@ -8,6 +8,8 @@ #import "StartPZXZView.h" #import "StartPZXZPageView.h" #import +#import "StartPZXZDetailViewController.h" + @interface StartPZXZView () /// @@ -103,6 +105,21 @@ self.btselect = btitem; } } + + UIButton *btpai = [[UIButton alloc] init]; + [btpai setBackgroundColor:[UIColor whiteColor]]; + [btpai.layer setMasksToBounds:YES]; + [btpai.layer setCornerRadius:35]; + [btpai.layer setBorderWidth:7]; + [btpai.layer setBorderColor:RGBCOLOR(128, 128, 128).CGColor]; + [view addSubview:btpai]; + [btpai mas_makeConstraints:^(MASConstraintMaker *make) { + make.width.height.offset(70); + make.top.equalTo(viewback.mas_bottom); + make.centerX.equalTo(view); + }]; + [btpai addTarget:self action:@selector(paiAction) forControlEvents:UIControlEventTouchUpInside]; + } -(void)itemAction:(UIButton *)sender { @@ -127,19 +144,18 @@ CMMotionManager *motionManager = [[ CMMotionManager alloc ] init ]; NSOperationQueue *queue = [[ NSOperationQueue alloc ] init ]; if (motionManager.accelerometerAvailable) { - motionManager.accelerometerUpdateInterval = 0.5 ; - motionManager.gyroUpdateInterval = 0.5 ; + motionManager.accelerometerUpdateInterval = 0.1 ; + motionManager.gyroUpdateInterval = 0.1 ; [motionManager startAccelerometerUpdatesToQueue:queue withHandler:^(CMAccelerometerData * _Nullable accelerometerData, NSError * _Nullable error) { if (error) { [motionManager stopAccelerometerUpdates]; NSLog( @"error: %@" , error); } else { -// NSLog( @"x--> %.1f y--> %.1f" , -// accelerometerData.acceleration.x, -// accelerometerData.acceleration.y); - StartPZXZPageView *viewitem = self.arrView[self.btselect.tag]; - viewitem.yidongsize = CGSizeMake(accelerometerData.acceleration.x, accelerometerData.acceleration.y); + dispatch_async(dispatch_get_main_queue(), ^{ + StartPZXZPageView *viewitem = self.arrView[self.btselect.tag]; + viewitem.yidongsize = CGSizeMake(accelerometerData.acceleration.x, accelerometerData.acceleration.y); + }); } }]; } @@ -151,6 +167,14 @@ -(void)stopMotion { [self.motionManager stopAccelerometerUpdates]; + self.motionManager = nil; } +-(void)paiAction +{ + [self stopMotion]; + /// + StartPZXZDetailViewController *vc = [StartPZXZDetailViewController new]; + [self.viewController.navigationController pushViewController:vc animated:YES]; +} @end diff --git a/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/StartPZXZDetailViewController.h b/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/StartPZXZDetailViewController.h new file mode 100644 index 0000000..3533715 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/StartPZXZDetailViewController.h @@ -0,0 +1,16 @@ +// +// StartPZXZDetailViewController.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "BaseViewController.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface StartPZXZDetailViewController : BaseViewController + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/StartPZXZDetailViewController.m b/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/StartPZXZDetailViewController.m new file mode 100644 index 0000000..f29806f --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/StartPZXZDetailViewController.m @@ -0,0 +1,41 @@ +// +// StartPZXZDetailViewController.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartPZXZDetailViewController.h" +#import "StartPZXZDetailView.h" + + +@interface StartPZXZDetailViewController () + +@end + +@implementation StartPZXZDetailViewController +- (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]]; + [self.navigationView.backButton setHidden:YES]; +} +- (void)viewDidLoad { + [super viewDidLoad]; + [self.view setBackgroundColor:[UIColor whiteColor]]; + + StartPZXZDetailView *view = [[StartPZXZDetailView alloc] init]; + [self.view addSubview:view]; + [view mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.bottom.equalTo(self.view); + make.top.offset(NavHeight); + }]; + +} + +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/view/StartPZXZDetailView.h b/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/view/StartPZXZDetailView.h new file mode 100644 index 0000000..2e048fb --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/view/StartPZXZDetailView.h @@ -0,0 +1,16 @@ +// +// StartPZXZDetailView.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface StartPZXZDetailView : UIView + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/view/StartPZXZDetailView.m b/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/view/StartPZXZDetailView.m new file mode 100644 index 0000000..fd2f64f --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/拍照写作/文章/view/StartPZXZDetailView.m @@ -0,0 +1,246 @@ +// +// StartPZXZDetailView.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartPZXZDetailView.h" +#import +#import "StartPZXZPageView.h" +#import "StartPayViewController.h" + +@interface StartPZXZDetailView () +/// +@property (nonatomic , strong) CMMotionManager *motionManager; +/// +@property (nonatomic , strong) StartPZXZPageView *viweBack; +/// +@property (nonatomic , strong) UIView *viewback; + +@property (nonatomic , assign) BOOL isdrawEnd; + +/// +@property (nonatomic , strong) UIScrollView *scvback; +@property (nonatomic , assign) BOOL isDragging; + +@end + +@implementation StartPZXZDetailView + +-(id)initWithFrame:(CGRect)frame +{ + if(self = [super initWithFrame:frame]) + { + StartPZXZPageView *viweBack = [StartPZXZPageView new]; + [self addSubview:viweBack]; + [viweBack mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.top.offset(0); + make.width.equalTo(self); + make.height.equalTo(self).offset(-200); + }]; + _viweBack = viweBack; + [self tuoluo]; + + UIView *viewback = [[UIView alloc] initWithFrame:CGRectMake(0, UISCREEN_HEIGHT*0.2, UISCREEN_WIDTH, UISCREEN_HEIGHT*0.8-TabHeight-20-NavHeight)]; + [viewback setBackgroundColor:[UIColor whiteColor]]; + [self addSubview:viewback]; + UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect: viewback.bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight cornerRadii:CGSizeMake(20,20)]; + //创建 layer + CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init]; + maskLayer.frame = viewback.bounds; + //赋值 + maskLayer.path = maskPath.CGPath; + viewback.layer.mask = maskLayer; + [self drawInfoView:viewback]; + _viewback = viewback; + + UIView *viewbottom = [[UIView alloc] init]; + [viewbottom setBackgroundColor:[UIColor whiteColor]]; + [self addSubview:viewbottom]; + [viewbottom mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.bottom.equalTo(self); + make.height.offset(TabHeight+20); + }]; + [self drawBottomView:viewbottom]; + + } + return self; +} +-(void)drawBottomView:(UIView *)view +{ + UIView *viewline = [[UIView alloc] init]; + [viewline setBackgroundColor:RGBCOLOR(217, 217, 217)]; + [self addSubview:viewline]; + [viewline mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.top.equalTo(view); + make.height.offset(1); + }]; + + UIButton *btpigai = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH-40, 44)]; + [btpigai setTitle:@"点击体验正式功能" forState:UIControlStateNormal]; + [btpigai setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; + [btpigai.titleLabel setFont:[UIFont boldSystemFontOfSize:16]]; + [btpigai.layer setMasksToBounds:YES]; + [btpigai.layer setCornerRadius:5]; + [view addSubview:btpigai]; + [btpigai mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.offset(20); + make.right.equalTo(view).offset(-20); + make.top.offset(10); + make.height.offset(44); + }]; + [btpigai addTarget:self action:@selector(tiyanAction) forControlEvents:UIControlEventTouchUpInside]; + [Tools changedView:btpigai colors:MainJBColors startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)]; +} +-(void)drawInfoView:(UIView *)view +{ + [view setBackgroundColor:[UIColor whiteColor]]; + UIView *viewline = [[UIView alloc] init]; + [viewline setBackgroundColor:RGBCOLOR(216, 216, 216)]; + [view addSubview:viewline]; + [viewline mas_makeConstraints:^(MASConstraintMaker *make) { + make.size.sizeOffset(CGSizeMake(41, 5)); + make.centerX.equalTo(view); + make.top.offset(10); + }]; + [viewline.layer setMasksToBounds:YES]; + [viewline.layer setCornerRadius:2.5]; + + UIView *viewtap = [[UIView alloc] init]; + [view addSubview:viewtap]; + [viewtap mas_makeConstraints:^(MASConstraintMaker *make) { + make.center.equalTo(viewline); + make.width.offset(80); + make.height.offset(45); + }]; + UIPanGestureRecognizer *panBig = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panGestureAction:)]; + [viewtap addGestureRecognizer:panBig]; + + UIScrollView *scvback = [[UIScrollView alloc] init]; + [scvback setShowsVerticalScrollIndicator:NO]; + [view addSubview:scvback]; + [scvback mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.offset(0); + make.top.offset(45); + make.width.equalTo(view); + make.height.equalTo(view).offset(-45); + }]; + [scvback setDelegate:self]; + _scvback = scvback; + + UILabel *lbname = [[UILabel alloc] init]; + [lbname setText:@"假如我是一颗小星星"]; + [lbname setTextColor:RGBCOLOR(51, 51, 51)]; + [lbname setTextAlignment:NSTextAlignmentCenter]; + [lbname setFont:[UIFont boldSystemFontOfSize:24]]; + [scvback addSubview:lbname]; + [lbname mas_makeConstraints:^(MASConstraintMaker *make) { + make.top.offset(0); + make.height.offset(30); + make.left.offset(16); + make.width.equalTo(scvback).offset(-32); + }]; + [lbname sizeToFit]; + + ViewLable *lbwz = [[ViewLable alloc] init]; + [scvback addSubview:lbwz]; + [lbwz mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.equalTo(lbname); + make.top.equalTo(lbname.mas_bottom).offset(20); + }]; + lbwz.textColor = RGBCOLOR(61, 61, 61); + lbwz.textFont = [UIFont systemFontOfSize:14]; + lbwz.fspeed = 0.02; + lbwz.strValue = @" 假如我是一颗小星星,我愿意紧紧地围绕在月亮身边,静静地听她讲美丽动人的故事,嫦娥、玉兔,还有吴刚的桂花酒……\n 假如我是一颗小星星,我愿意做最亮的一颗,每当夜幕降临,我就高高地悬挂在夜空中,给人们送去珍贵的光明,为走夜路的人们照亮前进的方向,为在夜里害怕的孩子送去光明。"; + [lbwz setBackHeight:^(float fheight, BOOL isend) { + if(isend) + { + self.isdrawEnd = YES; + } + if(self.isDragging==NO) + { + if(self.scvback.contentSize.height-self.scvback.height>0) + { + [self.scvback setContentOffset:CGPointMake(0, self.scvback.contentSize.height-self.scvback.height) animated:NO]; + } + } + }]; + + [scvback mas_makeConstraints:^(MASConstraintMaker *make) { + make.bottom.equalTo(lbwz).offset(20); + }]; +} +- (void)panGestureAction:(UIPanGestureRecognizer *)pan +{ + if(pan.state == UIGestureRecognizerStateChanged) + { + CGPoint transP = [pan translationInView:self]; + float fmax = UISCREEN_HEIGHT-NavHeight-TabHeight-20-80; + if(self.viewback.top+transP.y>fmax) + { + self.viewback.top=fmax; + } + else if(self.viewback.top+transP.y + +NS_ASSUME_NONNULL_BEGIN + +@interface StartPayView : UIView + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/支付页/view/StartPayView.m b/ProductApp/ProductApp/ProductMain/引导/支付页/view/StartPayView.m new file mode 100644 index 0000000..c5cf000 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/支付页/view/StartPayView.m @@ -0,0 +1,25 @@ +// +// StartPayView.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartPayView.h" + + +@interface StartPayView () + +@end + +@implementation StartPayView + +/* +// Only override drawRect: if you perform custom drawing. +// An empty implementation adversely affects performance during animation. +- (void)drawRect:(CGRect)rect { + // Drawing code +} +*/ + +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/StartZNPPTViewController.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/StartZNPPTViewController.h new file mode 100644 index 0000000..a279db8 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/StartZNPPTViewController.h @@ -0,0 +1,16 @@ +// +// StartZNPPTViewController.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "BaseViewController.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTViewController : BaseViewController + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/StartZNPPTViewController.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/StartZNPPTViewController.m new file mode 100644 index 0000000..cdc15a0 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/StartZNPPTViewController.m @@ -0,0 +1,79 @@ +// +// StartZNPPTViewController.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartZNPPTViewController.h" +#import "StartZNPPTView.h" + + +@interface StartZNPPTViewController () + +@end + +@implementation StartZNPPTViewController +- (UIStatusBarStyle)preferredStatusBarStyle { + return UIStatusBarStyleDefault; +} +- (void)viewWillAppear:(BOOL)animated { + [super viewWillAppear:animated]; + +} +- (void)viewDidLoad { + [super viewDidLoad]; + [self.navigationController setNavigationBarHidden:YES animated:NO]; + [self showNaviGationView:YES]; + [self.navigationView setTitle:@"智能PPT" titleColor:RGBCOLOR(31, 31, 31)]; + [self.navigationView setBackgroundColor:[UIColor clearColor]]; + + [self.view setBackgroundColor:RGBCOLOR(246, 249, 250)]; + UIImageView *imgvback = [[UIImageView alloc] init]; + [imgvback setImage:[UIImage imageNamed:@"yd_pptBack"]]; + [self.view addSubview:imgvback]; + [imgvback mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.top.equalTo(self.view); + }]; + [self.view sendSubviewToBack:imgvback]; + + + StartZNPPTView *view =[[StartZNPPTView alloc] init]; + [self.view addSubview:view]; + [view mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.bottom.equalTo(self.view); + make.top.offset(NavHeight); + }]; + + +} + +///获取粘贴板的文件 +-(void)getpasteInfo +{ + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getpasteInfo) name:@"getpastData" object:nil]; + // 获取通用剪贴板 + UIPasteboard *pasteboard = [UIPasteboard generalPasteboard]; + // 检查剪贴板是否包含文本 + if ([pasteboard isKindOfClass:[UIPasteboard class]]) { + + NSArray *arrtemp = [pasteboard itemProviders]; + if(arrtemp.count>0) + { + NSItemProvider *item = arrtemp.firstObject; + [item loadFileRepresentationForTypeIdentifier:[item registeredTypeIdentifiers].firstObject completionHandler:^(NSURL * _Nullable url, NSError * _Nullable error) { + NSLog(@"ssss"); + if(url) + { + NSData *data = [NSData dataWithContentsOfURL:url options:NSDataReadingMappedIfSafe error:nil]; + NSLog(@"sss"); + } + }]; + } + } + +} + + + +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/cell/StartZNPPTCell.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/cell/StartZNPPTCell.h new file mode 100644 index 0000000..0e24e4c --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/cell/StartZNPPTCell.h @@ -0,0 +1,16 @@ +// +// StartZNPPTCell.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "JhtBannerCardView.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTCell : JhtBannerCardView + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/cell/StartZNPPTCell.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/cell/StartZNPPTCell.m new file mode 100644 index 0000000..77d2520 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/cell/StartZNPPTCell.m @@ -0,0 +1,77 @@ +// +// StartZNPPTCell.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartZNPPTCell.h" + + +@interface StartZNPPTCell () + +@end +@implementation StartZNPPTCell + +-(id)initWithFrame:(CGRect)frame +{ + if(self = [super initWithFrame:frame]) + { + UIView *viewback = [[UIView alloc] init]; + [viewback setBackgroundColor:[UIColor whiteColor]]; + [self addSubview:viewback]; + [viewback mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.top.right.equalTo(self); + make.bottom.equalTo(self).offset(-40); + }]; + [viewback.layer setMasksToBounds:YES]; + [viewback.layer setCornerRadius:6]; + + UILabel *lbname = [[UILabel alloc] init]; + [lbname setText:@"年终总结"]; + [lbname setTextColor:RGBCOLOR(51, 51, 51)]; + [lbname setTextAlignment:NSTextAlignmentLeft]; + [lbname setFont:[UIFont boldSystemFontOfSize:16]]; + [viewback addSubview:lbname]; + [lbname mas_makeConstraints:^(MASConstraintMaker *make) { + make.centerX.equalTo(viewback); + make.bottom.equalTo(viewback.mas_centerY).offset(-20); + }]; + + UILabel *lbbt = [[UILabel alloc] init]; + [lbbt setText:@"回顾过去展望未来"]; + [lbbt setTextColor:RGBCOLOR(241, 141, 107)]; + [lbbt setTextAlignment:NSTextAlignmentLeft]; + [lbbt setFont:[UIFont boldSystemFontOfSize:14]]; + [viewback addSubview:lbbt]; + [lbbt mas_makeConstraints:^(MASConstraintMaker *make) { + make.centerX.equalTo(lbname); + make.top.equalTo(lbname.mas_bottom).offset(15); + }]; + + UILabel *lbren = [[UILabel alloc] init]; + [lbren setText:@"汇报人:xxx"]; + [lbren setTextColor:RGBCOLOR(51, 51, 51)]; + [lbren setTextAlignment:NSTextAlignmentLeft]; + [lbren setFont:[UIFont systemFontOfSize:8]]; + [viewback addSubview:lbren]; + [lbren mas_makeConstraints:^(MASConstraintMaker *make) { + make.centerX.equalTo(lbname); + make.top.equalTo(lbbt.mas_bottom).offset(20); + }]; + + UILabel *lbbiaoti = [[UILabel alloc] init]; + [lbbiaoti setText:@"企业工作汇报商务风PPT套装"]; + [lbbiaoti setTextColor:RGBCOLOR(51, 51, 51)]; + [lbbiaoti setTextAlignment:NSTextAlignmentLeft]; + [lbbiaoti setFont:[UIFont systemFontOfSize:13]]; + [self addSubview:lbbiaoti]; + [lbbiaoti mas_makeConstraints:^(MASConstraintMaker *make) { + make.centerX.equalTo(self); + make.top.equalTo(viewback.mas_bottom).offset(14); + }]; + } + return self; +} + +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTHUDAlter.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTHUDAlter.h new file mode 100644 index 0000000..9f5970e --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTHUDAlter.h @@ -0,0 +1,17 @@ +// +// StartZNPPTHUDAlter.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTHUDAlter : UIView ++(void)show; ++(void)dismis; +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTHUDAlter.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTHUDAlter.m new file mode 100644 index 0000000..4d3fdc8 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTHUDAlter.m @@ -0,0 +1,92 @@ +// +// StartZNPPTHUDAlter.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartZNPPTHUDAlter.h" +#import "AppDelegate.h" + +static StartZNPPTHUDAlter *viewShow; + +@interface StartZNPPTHUDAlter () +/// +@property (nonatomic , strong) UIImageView *imgvback; +@end + +@implementation StartZNPPTHUDAlter + +-(id)initWithFrame:(CGRect)frame +{ + if(self = [super initWithFrame:frame]) + { + [self setBackgroundColor:RGBACOLOR(0, 0, 0, 0.4)]; + + UIView *viewback = [[UIView alloc] init]; + [viewback setBackgroundColor:[UIColor whiteColor]]; + [self addSubview:viewback]; + [viewback mas_makeConstraints:^(MASConstraintMaker *make) { + make.center.equalTo(self); + make.size.sizeOffset(CGSizeMake(192, 124)); + }]; + [viewback.layer setMasksToBounds:YES]; + [viewback.layer setCornerRadius:10]; + + UIImageView *imgvback = [[UIImageView alloc] init]; + [imgvback setImage:[UIImage imageNamed:@"yd_hud"]]; + [viewback addSubview:imgvback]; + [imgvback mas_makeConstraints:^(MASConstraintMaker *make) { + make.width.height.offset(46); + make.centerX.equalTo(viewback); + make.top.offset(25); + }]; + _imgvback = imgvback; + CABasicAnimation *animation; + animation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"]; + animation.fromValue = [NSNumber numberWithFloat:0]; + animation.toValue = [NSNumber numberWithFloat:((360*M_PI)/180)*2]; // 旋转两圈 + animation.duration = 3.0; // 旋转时间 + animation.repeatCount = HUGE_VALF; // 无限次数的重复 + // 将动画添加到图层并开始动画 + [imgvback.layer addAnimation:animation forKey:@"rotationAnimation"]; + + + UILabel *lbname = [[UILabel alloc] init]; + [lbname setText:@"处理中"]; + [lbname setTextColor:RGBCOLOR(26, 26, 26)]; + [lbname setTextAlignment:NSTextAlignmentLeft]; + [lbname setFont:[UIFont systemFontOfSize:14]]; + [viewback addSubview:lbname]; + [lbname mas_makeConstraints:^(MASConstraintMaker *make) { + make.centerX.equalTo(viewback); + make.top.equalTo(imgvback.mas_bottom).offset(10); + }]; + + + } + return self; +} + ++(void)show +{ + if(viewShow) + { + [StartZNPPTHUDAlter dismis]; + } + StartZNPPTHUDAlter *view = [[StartZNPPTHUDAlter alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH, UISCREEN_HEIGHT)]; + AppDelegate *appde = (AppDelegate *)[UIApplication sharedApplication].delegate; + [appde.window addSubview:view]; + viewShow = view; +} ++(void)dismis +{ + if(viewShow) + { + [viewShow.imgvback.layer removeAnimationForKey:@"rotationAnimation"]; + [viewShow removeFromSuperview]; + viewShow = nil; + } +} + +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTView.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTView.h new file mode 100644 index 0000000..015f19b --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTView.h @@ -0,0 +1,16 @@ +// +// StartZNPPTView.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTView : UIView + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTView.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTView.m new file mode 100644 index 0000000..77100f4 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/view/StartZNPPTView.m @@ -0,0 +1,285 @@ +// +// StartZNPPTView.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartZNPPTView.h" +#import "JhtBannerScrollView.h" +#import "StartZNPPTCell.h" +#import "FSTextView.h" +#import "StartZNPPTHUDAlter.h" +#import "StartZNPPTDaGangViewController.h" + + +@interface StartZNPPTView () +@property (nonatomic, strong) JhtBannerScrollView *bannerView; + +@end + +@implementation StartZNPPTView + +-(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-20); + }]; + + JhtBannerScrollView *bannerView = [[JhtBannerScrollView alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH, 180)]; + bannerView.delegate = self; + bannerView.dataSource = self; + bannerView.minCoverViewAlpha = 0.0; + bannerView.leftRightMargin = UISCREEN_WIDTH*0.05; + bannerView.topBottomMargin = 20; + bannerView.orientation = BV_Orientation_Horizontal; + bannerView.isOpenAutoScroll = NO; + [bannerView setBackgroundColor:[UIColor clearColor]]; + [scvback addSubview:bannerView]; + [bannerView mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.width.equalTo(scvback); + make.top.offset(16); + make.height.offset(180); + }]; + [bannerView setClipsToBounds:NO]; + _bannerView = bannerView; + [self.bannerView reloadData]; + + UIView *viewback = [[UIView alloc] init]; + [viewback setBackgroundColor:[UIColor whiteColor]]; + [scvback addSubview:viewback]; + [viewback mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.offset(16); + make.right.equalTo(bannerView).offset(-16); + make.top.equalTo(bannerView.mas_bottom).offset(14); + }]; + [viewback.layer setMasksToBounds:YES]; + [viewback.layer setCornerRadius:8]; + [self drawInfoview:viewback]; + + [scvback mas_makeConstraints:^(MASConstraintMaker *make) { + make.bottom.equalTo(viewback).offset(20); + }]; + + UIButton *btnext = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 144, 46)]; + [btnext setTitle:@"下一步" forState:UIControlStateNormal]; + [btnext setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; + [btnext.titleLabel setFont:[UIFont systemFontOfSize:16]]; + [btnext.layer setMasksToBounds:YES]; + [btnext.layer setCornerRadius:23]; + [self addSubview:btnext]; + [btnext mas_makeConstraints:^(MASConstraintMaker *make) { + make.size.sizeOffset(CGSizeMake(144, 46)); + make.centerX.equalTo(self); + make.top.equalTo(scvback.mas_bottom).offset(10); + }]; + [btnext addTarget:self action:@selector(nextAction) forControlEvents:UIControlEventTouchUpInside]; + [Tools changedView:btnext colors:MainJBColors startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)]; + } + return self; +} +-(void)drawInfoview:(UIView *)view +{ + UILabel *lbname = [[UILabel alloc] init]; + [lbname setText:@"开始创作"]; + [lbname setTextColor:RGBCOLOR(51, 51, 51)]; + [lbname setTextAlignment:NSTextAlignmentLeft]; + [lbname setFont:[UIFont boldSystemFontOfSize:15]]; + [view addSubview:lbname]; + [lbname mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.offset(12); + make.top.offset(16); + }]; + + FSTextView *textview = [[FSTextView alloc] init]; + [textview setTextColor:RGBCOLOR(51, 51, 51)]; + [textview setTextAlignment:NSTextAlignmentLeft]; + [textview setFont:[UIFont systemFontOfSize:14]]; + [textview.layer setMasksToBounds:YES]; + [textview.layer setCornerRadius:8]; + [textview.layer setBorderWidth:1]; + [textview.layer setBorderColor:RGBCOLOR(237, 241, 244).CGColor]; + [view addSubview:textview]; + [textview mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.offset(12); + make.right.equalTo(view).offset(-12); + make.top.equalTo(lbname.mas_bottom).offset(13); + make.height.offset(110); + }]; + textview.text = @"年终总结"; + [textview setUserInteractionEnabled:NO]; + + NSArray *arrt = @[@"中文(简体)",@"演讲备注",@"智能配图"]; + NSArray *arrColor = @[RGBCOLOR(255, 114, 65),RGBCOLOR(255, 170, 16),RGBCOLOR(108, 119, 246)]; + for(int i = 0; i < 3; i++) + { + UILabel *lbitem = [[UILabel alloc] init]; + [lbitem setText:arrt[i]]; + [lbitem setTextColor:arrColor[i]]; + [lbitem setTextAlignment:NSTextAlignmentCenter]; + [lbitem setFont:[UIFont systemFontOfSize:13]]; + [lbitem setBackgroundColor:[arrColor[i] colorWithAlphaComponent:0.1]]; + [lbitem.layer setMasksToBounds:YES]; + [lbitem.layer setCornerRadius:4]; + [view addSubview:lbitem]; + [lbitem mas_makeConstraints:^(MASConstraintMaker *make) { + make.size.sizeOffset(CGSizeMake(77, 24)); + make.top.equalTo(textview.mas_bottom).offset(12); + make.left.offset(12+85*i); + }]; + } + + UIView *viewline = [[UIView alloc] init]; + [viewline setBackgroundColor:RGBCOLOR(238, 238, 238)]; + [view addSubview:viewline]; + [viewline mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.equalTo(textview); + make.top.equalTo(textview.mas_bottom).offset(56); + make.height.offset(1); + }]; + + UILabel *lbbc = [[UILabel alloc] init]; + [lbbc setText:@"补充"]; + [lbbc setTextColor:RGBCOLOR(51, 51, 51)]; + [lbbc setTextAlignment:NSTextAlignmentLeft]; + [lbbc setFont:[UIFont boldSystemFontOfSize:15]]; + [view addSubview:lbbc]; + [lbbc mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.equalTo(viewline); + make.top.equalTo(viewline.mas_bottom).offset(16); + }]; + + UIView *viewfile = [[UIView alloc] init]; + [viewfile setBackgroundColor:RGBCOLOR(246, 249, 250)]; + [viewfile.layer setMasksToBounds:YES]; + [viewfile.layer setCornerRadius:4]; + [view addSubview:viewfile]; + [viewfile mas_makeConstraints:^(MASConstraintMaker *make) { + make.width.height.offset(86); + make.centerX.equalTo(view); + make.top.equalTo(lbbc.mas_bottom).offset(20); + }]; + + UIView *viewfileson = [[UIView alloc] init]; + [viewfile addSubview:viewfileson]; + [viewfileson mas_makeConstraints:^(MASConstraintMaker *make) { + make.center.equalTo(viewfile); + make.left.offset(10); + make.right.equalTo(viewfile).offset(-10); + }]; + + UIImageView *imgvico= [[UIImageView alloc] init]; + [imgvico setImage:[UIImage imageNamed:@"yd_txt"]]; + [imgvico setContentMode:UIViewContentModeScaleAspectFit]; + [viewfileson addSubview:imgvico]; + [imgvico mas_makeConstraints:^(MASConstraintMaker *make) { + make.centerX.equalTo(viewfileson); + make.width.height.offset(33); + make.top.offset(0); + }]; + + UILabel *lbfilename = [[UILabel alloc] init]; + [lbfilename setText:@"年终总结手稿.txt"]; + [lbfilename setTextColor:RGBCOLOR(51, 51, 51)]; + [lbfilename setTextAlignment:NSTextAlignmentCenter]; + [lbfilename setFont:[UIFont systemFontOfSize:11]]; + [lbfilename setNumberOfLines:2]; + [viewfileson addSubview:lbfilename]; + [lbfilename mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.equalTo(viewfileson); + make.top.equalTo(imgvico.mas_bottom).offset(4); + }]; + + [viewfileson mas_makeConstraints:^(MASConstraintMaker *make) { + make.bottom.equalTo(lbfilename); + }]; + + UIButton *btfile = [[UIButton alloc] init]; + [viewfile addSubview:btfile]; + [btfile mas_makeConstraints:^(MASConstraintMaker *make) { + make.edges.equalTo(viewfile); + }]; + [btfile addTarget:self action:@selector(fileAction) forControlEvents:UIControlEventTouchUpInside]; + + + UILabel *lbts = [[UILabel alloc] init]; + [lbts setText:@"支持pdf(不支持扫描件)、doc、docx、txt,文件大小不得超过10MB"]; + [lbts setTextColor:RGBCOLOR(153, 153, 153)]; + [lbts setTextAlignment:NSTextAlignmentCenter]; + [lbts setFont:[UIFont systemFontOfSize:12]]; + [lbts setNumberOfLines:0]; + [view addSubview:lbts]; + [lbts mas_makeConstraints:^(MASConstraintMaker *make) { + make.centerX.equalTo(view); + make.top.equalTo(viewfile.mas_bottom).offset(12); + make.left.offset(40); + make.right.equalTo(view).offset(-40); + }]; + + [view mas_makeConstraints:^(MASConstraintMaker *make) { + make.bottom.equalTo(lbts).offset(16); + }]; +} + +-(void)fileAction +{ + +} + +-(void)nextAction +{ + [StartZNPPTHUDAlter show]; + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + [StartZNPPTHUDAlter dismis]; + StartZNPPTDaGangViewController *vc = [StartZNPPTDaGangViewController new]; + [self.viewController.navigationController pushViewController:vc animated:YES]; + }); +} + +#pragma mark - JhtBannerScrollViewDataSource +/** 显示cardView 个数 */ +- (NSInteger)numberOfCardViewInBannerView:(JhtBannerScrollView *)bannerView +{ + return 5; +} + +/** 单个cardView */ +- (UIView *)bannerView:(JhtBannerScrollView *)bannerView cardViewForBannerViewAtIndex:(NSInteger)index +{ + StartZNPPTCell *cardView = (StartZNPPTCell *)[bannerView dequeueReusableView]; + if (!cardView) { + cardView = [[StartZNPPTCell alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH*0.8, 180)]; + cardView.tag = index; + } + + + return cardView; +} + +/** 当前显示cardView Size */ +- (CGSize)sizeForCurrentCardViewInBannerView:(JhtBannerScrollView *)bannerView +{ + return CGSizeMake(UISCREEN_WIDTH*0.8, 180); +} + +/** 滚动到了某一个cardView */ +- (void)bannerView:(JhtBannerScrollView *)bannerView didScrollToCardViewWithIndex:(NSInteger)index +{ + +} + +/** 点击了第几个cardView + * index: 点击bannerCardView index + */ +- (void)bannerView:(JhtBannerScrollView *)bannerView didSelectCardView:(UIView *)cardView withCardViewIndex:(NSInteger)index +{ + +} +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/StartZNPPTDaGangViewController.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/StartZNPPTDaGangViewController.h new file mode 100644 index 0000000..f317f5a --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/StartZNPPTDaGangViewController.h @@ -0,0 +1,16 @@ +// +// StartZNPPTDaGangViewController.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "BaseViewController.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTDaGangViewController : BaseViewController + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/StartZNPPTDaGangViewController.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/StartZNPPTDaGangViewController.m new file mode 100644 index 0000000..6293ad4 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/StartZNPPTDaGangViewController.m @@ -0,0 +1,41 @@ +// +// StartZNPPTDaGangViewController.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartZNPPTDaGangViewController.h" +#import "StartZNPPTDaGangView.h" + + +@interface StartZNPPTDaGangViewController () + +@end + +@implementation StartZNPPTDaGangViewController +- (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(246, 249, 250)]; + + + StartZNPPTDaGangView *view =[[StartZNPPTDaGangView alloc] init]; + [self.view addSubview:view]; + [view mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.bottom.equalTo(self.view); + make.top.offset(NavHeight); + }]; + +} + +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterLoadView.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterLoadView.h new file mode 100644 index 0000000..bffde74 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterLoadView.h @@ -0,0 +1,17 @@ +// +// DownLoadAlterLoadView.h +// ProductApp +// +// Created by 工作 on 2024/6/20. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTDaGangAlterLoadView : UIView +///范围0.0-1.0 +@property (nonatomic , assign) float fblv; +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterLoadView.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterLoadView.m new file mode 100644 index 0000000..ad1be01 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterLoadView.m @@ -0,0 +1,105 @@ +// +// DownLoadAlterLoadView.m +// ProductApp +// +// Created by 工作 on 2024/6/20. +// + +#import "StartZNPPTDaGangAlterLoadView.h" + + +@interface StartZNPPTDaGangAlterLoadView () +@property (nonatomic , strong) UIView *viewline; +/// +@property (nonatomic , strong) UIView *viewline1; +@property (nonatomic , strong) UILabel *lbnumber; + +@end + +@implementation StartZNPPTDaGangAlterLoadView + +-(id)initWithFrame:(CGRect)frame +{ + if(self = [super initWithFrame:frame]) + { + [self setClipsToBounds:NO]; + UIView *viewline = [[UIView alloc] init]; + [viewline setBackgroundColor:RGBCOLOR(255, 236, 230)]; + [viewline.layer setMasksToBounds:YES]; + [viewline.layer setCornerRadius:7]; + [self addSubview:viewline]; + [viewline mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.equalTo(self); + make.centerY.equalTo(self); + make.height.offset(14); + }]; + _viewline = viewline; + + UIView *viewline1 = [[UIView alloc] init]; + [viewline1 setBackgroundColor:RGBCOLOR(241, 241, 241)]; + [viewline1.layer setMasksToBounds:YES]; + [viewline1.layer setCornerRadius:7]; + [viewline addSubview:viewline1]; + [viewline1 mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.top.height.equalTo(viewline); + make.width.offset(0); + }]; + _viewline1 = viewline1; + + UIView *viewnumber = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 44, 22)]; + [viewnumber setBackgroundColor:[UIColor whiteColor]]; + [self addSubview:viewnumber]; + [viewnumber.layer setBorderWidth:1]; + [viewnumber.layer setBorderColor:[UIColor whiteColor].CGColor]; + [viewnumber.layer setMasksToBounds:YES]; + [viewnumber.layer setCornerRadius:11]; + [Tools changedView:viewnumber colors:@[(id)RGBCOLOR(255, 113, 110).CGColor,(id)RGBCOLOR(242, 61, 79).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)]; + + UILabel *lbnumber = [[UILabel alloc] init]; + [lbnumber setText:@" 0% "]; + [lbnumber setTextColor:[UIColor whiteColor]]; + [lbnumber setTextAlignment:NSTextAlignmentCenter]; + [lbnumber setFont:[UIFont systemFontOfSize:12]]; + [self addSubview:lbnumber]; + [lbnumber mas_makeConstraints:^(MASConstraintMaker *make) { + make.centerY.equalTo(self); + make.centerX.equalTo(viewline1.mas_right); + }]; + _lbnumber = lbnumber; + + [viewnumber mas_makeConstraints:^(MASConstraintMaker *make) { + make.centerY.equalTo(self); + make.centerX.equalTo(viewline1.mas_right); + make.height.offset(22); +// make.width.equalTo(lbnumber).offset(10); + make.width.offset(44); + }]; + } + return self; +} + +-(void)setFblv:(float)fblv +{ + if(fblv>1.0)fblv=1.0; + NSString *strb = @"%"; + self.lbnumber.text = [NSString stringWithFormat:@" %.2lf%@ ",fblv*100,strb]; + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.01 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + [self.viewline1 mas_updateConstraints:^(MASConstraintMaker *make) { + make.width.offset(self.viewline.width*fblv); + }]; + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.01 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + @try { + [self.viewline1.layer.sublayers.firstObject removeFromSuperlayer]; + } @catch (NSException *exception) { + + } @finally { + + } + [Tools changedView:self.viewline1 colors:@[(id)RGBCOLOR(255, 113, 110).CGColor,(id)RGBCOLOR(242, 61, 79).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)]; + }); + }); + +} + + +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterView.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterView.h new file mode 100644 index 0000000..1607ccc --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterView.h @@ -0,0 +1,17 @@ +// +// StartZNPPTDaGangAlterView.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTDaGangAlterView : UIView ++(void)show; ++(void)dismis; +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterView.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterView.m new file mode 100644 index 0000000..8c287a6 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangAlterView.m @@ -0,0 +1,107 @@ +// +// StartZNPPTDaGangAlterView.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartZNPPTDaGangAlterView.h" +#import "StartZNPPTDaGangAlterLoadView.h" +#import "AppDelegate.h" + +static StartZNPPTDaGangAlterView *viewShow; + +@interface StartZNPPTDaGangAlterView () +/// +@property (nonatomic , strong) StartZNPPTDaGangAlterLoadView *viewjd; + +@end + +@implementation StartZNPPTDaGangAlterView + +-(id)initWithFrame:(CGRect)frame +{ + if(self = [super initWithFrame:frame]) + { + [self setBackgroundColor:RGBACOLOR(0, 0, 0, 0.4)]; + + UIView *viewback = [[UIView alloc] init]; + [viewback setBackgroundColor:[UIColor whiteColor]]; + [self addSubview:viewback]; + [viewback mas_makeConstraints:^(MASConstraintMaker *make) { + make.center.equalTo(self); + make.left.offset(32); + make.right.equalTo(self).offset(-32); + }]; + [viewback.layer setMasksToBounds:YES]; + [viewback.layer setCornerRadius:10]; + + UILabel *lbname = [[UILabel alloc] init]; + [lbname setText:@"加载中"]; + [lbname setTextColor:RGBCOLOR(26, 26, 26)]; + [lbname setTextAlignment:NSTextAlignmentLeft]; + [lbname setFont:[UIFont systemFontOfSize:15]]; + [viewback addSubview:lbname]; + [lbname mas_makeConstraints:^(MASConstraintMaker *make) { + make.top.offset(24); + make.centerX.equalTo(viewback); + }]; + + UIImageView *imgvlog = [[UIImageView alloc] init]; + [imgvlog setImage:[UIImage imageNamed:@"yd_hudppt"]]; + [viewback addSubview:imgvlog]; + [imgvlog mas_makeConstraints:^(MASConstraintMaker *make) { + make.width.height.offset(90); + make.top.equalTo(lbname.mas_bottom).offset(39); + make.centerX.equalTo(viewback); + }]; + + UIImageView *viewline = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 70, 9)]; + [viewline setImage:[UIImage imageNamed:@"tuoyuan"]]; + [viewback addSubview:viewline]; + [viewline mas_makeConstraints:^(MASConstraintMaker *make) { + make.size.sizeOffset(CGSizeMake(70, 9)); + make.top.equalTo(imgvlog.mas_bottom).offset(22); + make.centerX.equalTo(viewback); + }]; + + + + StartZNPPTDaGangAlterLoadView *viewjd = [StartZNPPTDaGangAlterLoadView new]; + [viewback addSubview:viewjd]; + [viewjd mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.offset(22); + make.right.equalTo(viewback).offset(-22); + make.height.offset(22); + make.top.equalTo(viewline.mas_bottom).offset(44); + }]; + viewjd.fblv = 0.5; + _viewjd = viewjd; + + [viewback mas_makeConstraints:^(MASConstraintMaker *make) { + make.bottom.equalTo(viewjd).offset(32); + }]; + + } + return self; +} ++(void)show +{ + if(viewShow) + { + [StartZNPPTDaGangAlterView dismis]; + } + StartZNPPTDaGangAlterView *view = [[StartZNPPTDaGangAlterView alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH, UISCREEN_HEIGHT)]; + AppDelegate *appde = (AppDelegate *)[UIApplication sharedApplication].delegate; + [appde.window addSubview:view]; + viewShow = view; +} ++(void)dismis +{ + if(viewShow) + { + [viewShow removeFromSuperview]; + viewShow = nil; + } +} +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangView.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangView.h new file mode 100644 index 0000000..c83d2eb --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangView.h @@ -0,0 +1,16 @@ +// +// StartZNPPTDaGangView.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTDaGangView : UIView + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangView.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangView.m new file mode 100644 index 0000000..23a6787 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/大纲/view/StartZNPPTDaGangView.m @@ -0,0 +1,64 @@ +// +// StartZNPPTDaGangView.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartZNPPTDaGangView.h" +#import "StartZNPPTDaGangAlterView.h" +#import "StartZNPPTYuLanViewController.h" + +@interface StartZNPPTDaGangView () + +@end + + +@implementation StartZNPPTDaGangView + +-(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-20); + }]; + + + + UIButton *btnext = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 144, 46)]; + [btnext setTitle:@"下一步" forState:UIControlStateNormal]; + [btnext setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; + [btnext.titleLabel setFont:[UIFont systemFontOfSize:16]]; + [btnext.layer setMasksToBounds:YES]; + [btnext.layer setCornerRadius:23]; + [self addSubview:btnext]; + [btnext mas_makeConstraints:^(MASConstraintMaker *make) { + make.size.sizeOffset(CGSizeMake(144, 46)); + make.centerX.equalTo(self); + make.top.equalTo(scvback.mas_bottom).offset(10); + }]; + [btnext addTarget:self action:@selector(nextAction) forControlEvents:UIControlEventTouchUpInside]; + [Tools changedView:btnext colors:MainJBColors startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)]; + + } + return self; +} + +-(void)nextAction +{ + + [StartZNPPTDaGangAlterView show]; + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + [StartZNPPTDaGangAlterView dismis]; + StartZNPPTYuLanViewController *vc = [StartZNPPTYuLanViewController new]; + [self.viewController.navigationController pushViewController:vc animated:YES]; + }); +} + +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/StartZNPPTYuLanViewController.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/StartZNPPTYuLanViewController.h new file mode 100644 index 0000000..b1909f7 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/StartZNPPTYuLanViewController.h @@ -0,0 +1,16 @@ +// +// StartZNPPTYuLanViewController.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "BaseViewController.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTYuLanViewController : BaseViewController + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/StartZNPPTYuLanViewController.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/StartZNPPTYuLanViewController.m new file mode 100644 index 0000000..543aff1 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/StartZNPPTYuLanViewController.m @@ -0,0 +1,126 @@ +// +// StartZNPPTYuLanViewController.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartZNPPTYuLanViewController.h" +#import "StartZNPPTYuLanTableViewCell.h" +#import "StartPayViewController.h" + +@interface StartZNPPTYuLanViewController () +/// +@property (nonatomic , strong) UITableView *tableView; + +@end + +@implementation StartZNPPTYuLanViewController +- (UIStatusBarStyle)preferredStatusBarStyle { + return UIStatusBarStyleDefault; +} +- (void)viewWillAppear:(BOOL)animated { + [super viewWillAppear:animated]; + [self.navigationController setNavigationBarHidden:YES animated:animated]; + [self showNaviGationView:YES]; + [self.navigationView setBackgroundColor:[UIColor whiteColor]]; +} +- (void)viewDidLoad { + [super viewDidLoad]; + [self.view setBackgroundColor:RGBCOLOR(246, 249, 250)]; + [self.navigationView.backButton setHidden:YES]; + [self drawTopView]; + + UITableView *tableView = [[UITableView alloc] init]; + [tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone]; + [tableView setBackgroundColor:[UIColor clearColor]]; + [tableView setDelegate:self]; + [tableView setDataSource:self]; + [self.view addSubview:tableView]; + [tableView mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.right.bottom.equalTo(self.view); + make.top.offset(NavHeight); + }]; + _tableView = tableView; + + +} +-(void)drawTopView +{ + UILabel *lbname = [[UILabel alloc] init]; + [lbname setText:@"演讲文稿 31页"]; + [lbname setTextColor:RGBCOLOR(51, 51, 51)]; + [lbname setTextAlignment:NSTextAlignmentLeft]; + [lbname setFont:[UIFont systemFontOfSize:14]]; + [self.navigationView addSubview:lbname]; + [lbname mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.offset(16); + make.bottom.equalTo(self.navigationView).offset(-12); + }]; + + UIButton *btcreate = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 121, 34)]; + [btcreate setTitle:@"生成自己的PPT" forState:UIControlStateNormal]; + [btcreate setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; + [btcreate.titleLabel setFont:[UIFont systemFontOfSize:14]]; + [btcreate.layer setMasksToBounds:YES]; + [btcreate.layer setCornerRadius:17]; + [self.navigationView addSubview:btcreate]; + [btcreate mas_makeConstraints:^(MASConstraintMaker *make) { + make.right.equalTo(self.navigationView).offset(-17); + make.centerY.equalTo(lbname); + make.size.sizeOffset(CGSizeMake(121, 34)); + }]; + [btcreate addTarget:self action:@selector(createAction) forControlEvents:UIControlEventTouchUpInside]; + [Tools changedView:btcreate colors:MainJBColors startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)]; +} + +-(void)createAction +{ + StartPayViewController *vc = [StartPayViewController new]; + [self.navigationController pushViewController:vc animated:YES]; +} + +#pragma mark - UITableView +-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section +{ + return 10; +} +-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath +{ + static NSString *strcell = @"StartZNPPTYuLanTableViewCell"; + StartZNPPTYuLanTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:strcell]; + if(!cell) + { + cell = [[StartZNPPTYuLanTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:strcell]; + [cell setSelectionStyle:UITableViewCellSelectionStyleNone]; + [cell setBackgroundColor:[UIColor clearColor]]; + } + + return cell; +} +-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section +{ + return 12; +} +-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section +{ + return 0.01; +} +-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath +{ + return 284; +} +-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section +{ + return [UIView new]; +} +-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section +{ + return [UIView new]; +} +-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath +{ + +} + +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/cell/StartZNPPTYuLanTableViewCell.h b/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/cell/StartZNPPTYuLanTableViewCell.h new file mode 100644 index 0000000..f5149d9 --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/cell/StartZNPPTYuLanTableViewCell.h @@ -0,0 +1,16 @@ +// +// StartZNPPTYuLanTableViewCell.h +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface StartZNPPTYuLanTableViewCell : UITableViewCell + +@end + +NS_ASSUME_NONNULL_END diff --git a/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/cell/StartZNPPTYuLanTableViewCell.m b/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/cell/StartZNPPTYuLanTableViewCell.m new file mode 100644 index 0000000..aa7ecab --- /dev/null +++ b/ProductApp/ProductApp/ProductMain/引导/智能PPT/预览PPT/cell/StartZNPPTYuLanTableViewCell.m @@ -0,0 +1,91 @@ +// +// StartZNPPTYuLanTableViewCell.m +// ProductApp +// +// Created by 工作 on 2024/9/24. +// + +#import "StartZNPPTYuLanTableViewCell.h" + + +@interface StartZNPPTYuLanTableViewCell () +/// +@property (nonatomic , strong) UIImageView *imgvback; +/// +@property (nonatomic , strong) UILabel *lbpage; +@property (nonatomic , strong) UILabel *lbcontent; + +@end + +@implementation StartZNPPTYuLanTableViewCell + +-(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.left.offset(16); + make.right.equalTo(self).offset(-16); + make.top.offset(0); + make.bottom.equalTo(self).offset(-10); + }]; + [viewback.layer setMasksToBounds:YES]; + [viewback.layer setCornerRadius:6]; + + UIImageView *imgvback = [[UIImageView alloc] init]; + [imgvback setContentMode:UIViewContentModeScaleAspectFill]; + [imgvback setImage:[UIImage imageNamed:@"yd_zy_0"]]; + [viewback addSubview:imgvback]; + [imgvback mas_makeConstraints:^(MASConstraintMaker *make) { + make.left.top.right.equalTo(viewback); + make.height.offset(160); + }]; + [imgvback.layer setMasksToBounds:YES]; + [imgvback.layer setCornerRadius:6]; + _imgvback = imgvback; + + UILabel *lbpage = [[UILabel alloc] init]; + [lbpage setText:@"01"]; + [lbpage setTextColor:[UIColor whiteColor]]; + [lbpage setTextAlignment:NSTextAlignmentCenter]; + [lbpage setFont:[UIFont systemFontOfSize:14]]; + [viewback addSubview:lbpage]; + [lbpage mas_makeConstraints:^(MASConstraintMaker *make) { + make.width.height.offset(24); + make.top.left.offset(6); + }]; + [lbpage setBackgroundColor:RGBACOLOR(0, 0, 0, 0.3)]; + [lbpage.layer setMasksToBounds:YES]; + [lbpage.layer setCornerRadius:12]; + _lbpage = lbpage; + + UILabel *lbcontent = [[UILabel alloc] init]; + [lbcontent setNumberOfLines:0]; + [lbcontent setTextColor:RGBCOLOR(102, 102, 102)]; + [lbcontent setTextAlignment:NSTextAlignmentCenter]; + [lbcontent setFont:[UIFont systemFontOfSize:12]]; + [viewback addSubview:lbcontent]; + [lbcontent mas_makeConstraints:^(MASConstraintMaker *make) { + make.top.equalTo(imgvback.mas_bottom).offset(12); + make.left.offset(10); + make.right.equalTo(viewback).offset(-10); + }]; + _lbcontent = lbcontent; + + NSString *str = @"尊敬的各位同事,随着年末的临近,我们共同走过了又一季的历程。今天,我们将以“年终总结”为主题,回顾这一年来的辛勤耕耘与辉煌成就。让我们共同聚焦于过去的成就、未来的规划,以及持续的进步。接下来,请各位与我一同翻开这一页,开启我们的年度回顾之旅。"; + ///行间距 + NSMutableParagraphStyle *style = [NSMutableParagraphStyle new]; + style.lineSpacing = 5; + style.lineBreakMode = NSLineBreakByWordWrapping; + style.alignment = NSTextAlignmentCenter; + + NSMutableAttributedString *attrString = [[NSMutableAttributedString alloc] initWithString:str]; + [attrString addAttribute:NSParagraphStyleAttributeName value:style range:NSMakeRange(0, str.length)]; + lbcontent.attributedText = attrString; + } + return self; +} +@end diff --git a/ProductApp/ProductApp/ProductMain/引导/智能写作/思路/view/StartZNXZSiLuView.m b/ProductApp/ProductApp/ProductMain/引导/智能写作/思路/view/StartZNXZSiLuView.m index 36ef498..7cb4d50 100644 --- a/ProductApp/ProductApp/ProductMain/引导/智能写作/思路/view/StartZNXZSiLuView.m +++ b/ProductApp/ProductApp/ProductMain/引导/智能写作/思路/view/StartZNXZSiLuView.m @@ -6,6 +6,7 @@ // #import "StartZNXZSiLuView.h" +#import "StartPayViewController.h" typedef void(^StartZNXZSiLuViewDrawEndBack)(UIView *viewlast); @interface StartZNXZSiLuView () @@ -289,7 +290,8 @@ typedef void(^StartZNXZSiLuViewDrawEndBack)(UIView *viewlast); else {///(45*1.028+7)*x 53 61 69 77 86 95 104 113 123 133 143 154 165 176 ///3 1 1 - + StartPayViewController *vc = [StartPayViewController new]; + [self.viewController.navigationController pushViewController:vc animated:YES]; } } diff --git a/ProductApp/ProductApp/ProductMain/引导/课堂写作/批改信息/view/StartKTXZPGDetailView.m b/ProductApp/ProductApp/ProductMain/引导/课堂写作/批改信息/view/StartKTXZPGDetailView.m index 8cee7d4..4a5c348 100644 --- a/ProductApp/ProductApp/ProductMain/引导/课堂写作/批改信息/view/StartKTXZPGDetailView.m +++ b/ProductApp/ProductApp/ProductMain/引导/课堂写作/批改信息/view/StartKTXZPGDetailView.m @@ -10,6 +10,7 @@ #import "StartKTXZPGDetailZHView.h" #import "StartKTXZPGDetailFJView.h" #import "StartKTXZPGDetailXZView.h" +#import "StartPayViewController.h" @interface StartKTXZPGDetailView () /// @@ -185,7 +186,8 @@ } -(void)tiyanAction { - + StartPayViewController *vc = [StartPayViewController new]; + [self.viewController.navigationController pushViewController:vc animated:YES]; } -(void)showVC:(NSInteger)page {