Procházet zdrojové kódy

创建风采修改

Steven před 2 roky
rodič
revize
4f6701ea7c
68 změnil soubory, kde provedl 2246 přidání a 616 odebrání
  1. 103 33
      KulexiuForTeacher/KulexiuForTeacher.xcodeproj/project.pbxproj
  2. binární
      KulexiuForTeacher/KulexiuForTeacher.xcworkspace/xcuserdata/wangzhi.xcuserdatad/UserInterfaceState.xcuserstate
  3. 0 32
      KulexiuForTeacher/KulexiuForTeacher.xcworkspace/xcuserdata/wangzhi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  4. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/eidt_icon.imageset/Contents.json
  5. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/eidt_icon.imageset/eidt_icon@2x.png
  6. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/eidt_icon.imageset/eidt_icon@3x.png
  7. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/instrument_delete.imageset/Contents.json
  8. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/instrument_delete.imageset/instrument_delete@2x.png
  9. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/instrument_delete.imageset/instrument_delete@3x.png
  10. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_choosed.imageset/Contents.json
  11. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_choosed.imageset/sex_choosed@2x.png
  12. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_choosed.imageset/sex_choosed@3x.png
  13. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_unchoose.imageset/Contents.json
  14. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_unchoose.imageset/sex_unchoose@2x.png
  15. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_unchoose.imageset/sex_unchoose@3x.png
  16. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleEdit_next.imageset/Contents.json
  17. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleEdit_next.imageset/styleEdit_next@2x.png
  18. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleEdit_next.imageset/styleEdit_next@3x.png
  19. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_add.imageset/Contents.json
  20. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_add.imageset/styleVideo_add@2x.png
  21. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_add.imageset/styleVideo_add@3x.png
  22. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_delete.imageset/Contents.json
  23. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_delete.imageset/styleVideo_delete@2x.png
  24. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_delete.imageset/styleVideo_delete@3x.png
  25. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_camera.imageset/Contents.json
  26. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_camera.imageset/style_camera@2x.png
  27. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_camera.imageset/style_camera@3x.png
  28. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_edit.imageset/Contents.json
  29. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_edit.imageset/style_edit@2x.png
  30. binární
      KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_edit.imageset/style_edit@3x.png
  31. 4 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Chat/Controller/CreateFansGroupViewController.h
  32. 11 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Chat/Controller/CreateFansGroupViewController.m
  33. 289 38
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/Controller/MyStyleViewController.m
  34. 16 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/Controller/StyleEditViewController.h
  35. 31 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/Controller/StyleEditViewController.m
  36. 20 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupBottomView.h
  37. 45 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupBottomView.m
  38. 54 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupBottomView.xib
  39. 24 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupHeadView.h
  40. 58 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupHeadView.m
  41. 88 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupHeadView.xib
  42. 0 20
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleBottomView.h
  43. 0 43
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleBottomView.m
  44. 0 47
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleBottomView.xib
  45. 39 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleEditHeadView.h
  46. 109 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleEditHeadView.m
  47. 360 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleEditHeadView.xib
  48. 3 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleIntroduceCell.m
  49. 57 34
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleIntroduceCell.xib
  50. 22 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleNavView.h
  51. 49 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleNavView.m
  52. 92 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleNavView.xib
  53. 0 192
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleVideoView.xib
  54. 0 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoCell.h
  55. 12 21
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoCell.m
  56. 44 20
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoCell.xib
  57. 1 3
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoView.h
  58. 24 38
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoView.m
  59. 243 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoView.xib
  60. 0 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/MyStyleInstrumentCell.h
  61. 20 34
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/MyStyleInstrumentCell.m
  62. 70 48
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/MyStyleInstrumentCell.xib
  63. 26 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/StyleInstrumentView.h
  64. 50 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/StyleInstrumentView.m
  65. 72 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/StyleInstrumentView.xib
  66. 2 2
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineFansGroupCell.xib
  67. 7 7
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineVideoCell.m
  68. 3 3
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineVideoCell.xib

+ 103 - 33
KulexiuForTeacher/KulexiuForTeacher.xcodeproj/project.pbxproj

@@ -493,6 +493,14 @@
 		BC14A61E28A0B5CE0086395C /* MineActionView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC14A61D28A0B5CE0086395C /* MineActionView.xib */; };
 		BC14A62428A212C50086395C /* HomeHotMusicView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC14A62328A212C50086395C /* HomeHotMusicView.m */; };
 		BC14A62628A212CC0086395C /* HomeHotMusicView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC14A62528A212CC0086395C /* HomeHotMusicView.xib */; };
+		BC221FA128C72B9500F99802 /* MyStyleVideoView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC221F9D28C72B9500F99802 /* MyStyleVideoView.xib */; };
+		BC221FA228C72B9500F99802 /* MyStyleVideoCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC221F9E28C72B9500F99802 /* MyStyleVideoCell.xib */; };
+		BC221FA328C72B9500F99802 /* MyStyleVideoView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC221F9F28C72B9500F99802 /* MyStyleVideoView.m */; };
+		BC221FA428C72B9500F99802 /* MyStyleVideoCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BC221FA028C72B9500F99802 /* MyStyleVideoCell.m */; };
+		BC221FA828C72FB900F99802 /* StyleInstrumentView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC221FA728C72FB900F99802 /* StyleInstrumentView.m */; };
+		BC221FAA28C72FC100F99802 /* StyleInstrumentView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC221FA928C72FC100F99802 /* StyleInstrumentView.xib */; };
+		BC221FAD28C736BD00F99802 /* MyCreateGroupBottomView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC221FAC28C736BD00F99802 /* MyCreateGroupBottomView.m */; };
+		BC221FAF28C736C300F99802 /* MyCreateGroupBottomView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC221FAE28C736C300F99802 /* MyCreateGroupBottomView.xib */; };
 		BC2456E3286BE85A00D1F7C0 /* MineStyleEmptyView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC2456E2286BE85A00D1F7C0 /* MineStyleEmptyView.m */; };
 		BC2456E5286BE86600D1F7C0 /* MineStyleEmptyView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC2456E4286BE86600D1F7C0 /* MineStyleEmptyView.xib */; };
 		BC2456E9286BEF8000D1F7C0 /* MineEmptyGroupCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BC2456E7286BEF8000D1F7C0 /* MineEmptyGroupCell.m */; };
@@ -591,10 +599,6 @@
 		BC5EB5B7280402CB00B4A3B0 /* MyStyleInstrumentCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5EB5B5280402CB00B4A3B0 /* MyStyleInstrumentCell.xib */; };
 		BC5EB5BB2804083800B4A3B0 /* MyStyleIntroduceCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5EB5B92804083800B4A3B0 /* MyStyleIntroduceCell.m */; };
 		BC5EB5BC2804083800B4A3B0 /* MyStyleIntroduceCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5EB5BA2804083800B4A3B0 /* MyStyleIntroduceCell.xib */; };
-		BC5EB5C02804085500B4A3B0 /* MyStyleVideoCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5EB5BE2804085500B4A3B0 /* MyStyleVideoCell.m */; };
-		BC5EB5C12804085500B4A3B0 /* MyStyleVideoCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5EB5BF2804085500B4A3B0 /* MyStyleVideoCell.xib */; };
-		BC5EB5C42804087000B4A3B0 /* MyStyleBottomView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5EB5C32804087000B4A3B0 /* MyStyleBottomView.m */; };
-		BC5EB5C62804087700B4A3B0 /* MyStyleBottomView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5EB5C52804087700B4A3B0 /* MyStyleBottomView.xib */; };
 		BC5FF91728293C5600854D37 /* ReceiveListModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5FF91628293C5600854D37 /* ReceiveListModel.m */; };
 		BC60E3BD287D294C00B05441 /* AccountDeleteViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = BC60E3BC287D294C00B05441 /* AccountDeleteViewController.m */; };
 		BC60E3C0287D447F00B05441 /* DeleteAccountBodyView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC60E3BF287D447F00B05441 /* DeleteAccountBodyView.m */; };
@@ -714,6 +718,10 @@
 		BC8C2C642824EB9000FBA5D5 /* NotiferHeadView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC8C2C632824EB9000FBA5D5 /* NotiferHeadView.m */; };
 		BC8C2C662824EB9800FBA5D5 /* NotiferHeadView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC8C2C652824EB9800FBA5D5 /* NotiferHeadView.xib */; };
 		BC8C2C7A28264CF400FBA5D5 /* ReceiveEvaluateListController.m in Sources */ = {isa = PBXBuildFile; fileRef = BC8C2C7928264CF400FBA5D5 /* ReceiveEvaluateListController.m */; };
+		BC9070A228C7159800237958 /* MyStyleNavView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC9070A128C7159800237958 /* MyStyleNavView.m */; };
+		BC9070A428C7159F00237958 /* MyStyleNavView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC9070A328C7159F00237958 /* MyStyleNavView.xib */; };
+		BC9070A728C71C8700237958 /* MyCreateGroupHeadView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC9070A628C71C8700237958 /* MyCreateGroupHeadView.m */; };
+		BC9070A928C71C8E00237958 /* MyCreateGroupHeadView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC9070A828C71C8E00237958 /* MyCreateGroupHeadView.xib */; };
 		BC9473FD282A5E71004B3B27 /* NoticeSourceModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BC9473FB282A5E71004B3B27 /* NoticeSourceModel.m */; };
 		BCA1134828A22A66007FAFB9 /* HomeHotMusicCollectionCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BCA1134628A22A66007FAFB9 /* HomeHotMusicCollectionCell.m */; };
 		BCA1134928A22A66007FAFB9 /* HomeHotMusicCollectionCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCA1134728A22A66007FAFB9 /* HomeHotMusicCollectionCell.xib */; };
@@ -970,6 +978,9 @@
 		BCE6A0A527F8517900C97704 /* MineVideoCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCE6A0A327F8517900C97704 /* MineVideoCell.xib */; };
 		BCE6A0A927F852CD00C97704 /* MineFansGroupCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BCE6A0A727F852CD00C97704 /* MineFansGroupCell.m */; };
 		BCE6A0AA27F852CD00C97704 /* MineFansGroupCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCE6A0A827F852CD00C97704 /* MineFansGroupCell.xib */; };
+		BCE70D3328C6DA4B00DE7A69 /* StyleEditViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = BCE70D3228C6DA4B00DE7A69 /* StyleEditViewController.m */; };
+		BCE70D3628C6DA8B00DE7A69 /* MyStyleEditHeadView.m in Sources */ = {isa = PBXBuildFile; fileRef = BCE70D3528C6DA8B00DE7A69 /* MyStyleEditHeadView.m */; };
+		BCE70D3828C6DA9300DE7A69 /* MyStyleEditHeadView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCE70D3728C6DA9300DE7A69 /* MyStyleEditHeadView.xib */; };
 		BCEA751A2818D59300886A86 /* BankNameModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BCEA75192818D59300886A86 /* BankNameModel.m */; };
 		BCEA751D2818F6C900886A86 /* MyCardModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BCEA751C2818F6C900886A86 /* MyCardModel.m */; };
 		BCEA752028190CEB00886A86 /* CardBandResultViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = BCEA751F28190CEB00886A86 /* CardBandResultViewController.m */; };
@@ -995,8 +1006,6 @@
 		BCF1BA5627F5CBA100FA36C4 /* LiveSeatApplyView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCF1BA5527F5CBA100FA36C4 /* LiveSeatApplyView.xib */; };
 		BCF1BA5A27F5CF3C00FA36C4 /* LiveSeatApplyCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BCF1BA5827F5CF3C00FA36C4 /* LiveSeatApplyCell.m */; };
 		BCF1BA5B27F5CF3C00FA36C4 /* LiveSeatApplyCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCF1BA5927F5CF3C00FA36C4 /* LiveSeatApplyCell.xib */; };
-		BCF61BDC280417100000ACFE /* MyStyleVideoView.m in Sources */ = {isa = PBXBuildFile; fileRef = BCF61BDB280417100000ACFE /* MyStyleVideoView.m */; };
-		BCF61BDE280417190000ACFE /* MyStyleVideoView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCF61BDD280417190000ACFE /* MyStyleVideoView.xib */; };
 		BCF61BE128041FC90000ACFE /* UIView+ExtensionForDotLine.m in Sources */ = {isa = PBXBuildFile; fileRef = BCF61BE028041FC90000ACFE /* UIView+ExtensionForDotLine.m */; };
 		BCF61BE42804248F0000ACFE /* InstrumentChooseViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = BCF61BE32804248F0000ACFE /* InstrumentChooseViewController.m */; };
 		BCF61BE8280425DA0000ACFE /* InstrumentChooseCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BCF61BE6280425DA0000ACFE /* InstrumentChooseCell.m */; };
@@ -1919,6 +1928,18 @@
 		BC14A62228A212C40086395C /* HomeHotMusicView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HomeHotMusicView.h; sourceTree = "<group>"; };
 		BC14A62328A212C50086395C /* HomeHotMusicView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HomeHotMusicView.m; sourceTree = "<group>"; };
 		BC14A62528A212CC0086395C /* HomeHotMusicView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = HomeHotMusicView.xib; sourceTree = "<group>"; };
+		BC221F9B28C72B9500F99802 /* MyStyleVideoView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyStyleVideoView.h; sourceTree = "<group>"; };
+		BC221F9C28C72B9500F99802 /* MyStyleVideoCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyStyleVideoCell.h; sourceTree = "<group>"; };
+		BC221F9D28C72B9500F99802 /* MyStyleVideoView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MyStyleVideoView.xib; sourceTree = "<group>"; };
+		BC221F9E28C72B9500F99802 /* MyStyleVideoCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MyStyleVideoCell.xib; sourceTree = "<group>"; };
+		BC221F9F28C72B9500F99802 /* MyStyleVideoView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyStyleVideoView.m; sourceTree = "<group>"; };
+		BC221FA028C72B9500F99802 /* MyStyleVideoCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyStyleVideoCell.m; sourceTree = "<group>"; };
+		BC221FA628C72FB900F99802 /* StyleInstrumentView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StyleInstrumentView.h; sourceTree = "<group>"; };
+		BC221FA728C72FB900F99802 /* StyleInstrumentView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StyleInstrumentView.m; sourceTree = "<group>"; };
+		BC221FA928C72FC100F99802 /* StyleInstrumentView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = StyleInstrumentView.xib; sourceTree = "<group>"; };
+		BC221FAB28C736BD00F99802 /* MyCreateGroupBottomView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyCreateGroupBottomView.h; sourceTree = "<group>"; };
+		BC221FAC28C736BD00F99802 /* MyCreateGroupBottomView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyCreateGroupBottomView.m; sourceTree = "<group>"; };
+		BC221FAE28C736C300F99802 /* MyCreateGroupBottomView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyCreateGroupBottomView.xib; sourceTree = "<group>"; };
 		BC2456E1286BE85A00D1F7C0 /* MineStyleEmptyView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MineStyleEmptyView.h; sourceTree = "<group>"; };
 		BC2456E2286BE85A00D1F7C0 /* MineStyleEmptyView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MineStyleEmptyView.m; sourceTree = "<group>"; };
 		BC2456E4286BE86600D1F7C0 /* MineStyleEmptyView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MineStyleEmptyView.xib; sourceTree = "<group>"; };
@@ -2069,12 +2090,6 @@
 		BC5EB5B82804083800B4A3B0 /* MyStyleIntroduceCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyStyleIntroduceCell.h; sourceTree = "<group>"; };
 		BC5EB5B92804083800B4A3B0 /* MyStyleIntroduceCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyStyleIntroduceCell.m; sourceTree = "<group>"; };
 		BC5EB5BA2804083800B4A3B0 /* MyStyleIntroduceCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyStyleIntroduceCell.xib; sourceTree = "<group>"; };
-		BC5EB5BD2804085500B4A3B0 /* MyStyleVideoCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyStyleVideoCell.h; sourceTree = "<group>"; };
-		BC5EB5BE2804085500B4A3B0 /* MyStyleVideoCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyStyleVideoCell.m; sourceTree = "<group>"; };
-		BC5EB5BF2804085500B4A3B0 /* MyStyleVideoCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyStyleVideoCell.xib; sourceTree = "<group>"; };
-		BC5EB5C22804087000B4A3B0 /* MyStyleBottomView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyStyleBottomView.h; sourceTree = "<group>"; };
-		BC5EB5C32804087000B4A3B0 /* MyStyleBottomView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyStyleBottomView.m; sourceTree = "<group>"; };
-		BC5EB5C52804087700B4A3B0 /* MyStyleBottomView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyStyleBottomView.xib; sourceTree = "<group>"; };
 		BC5FF91528293C5600854D37 /* ReceiveListModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReceiveListModel.h; sourceTree = "<group>"; };
 		BC5FF91628293C5600854D37 /* ReceiveListModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReceiveListModel.m; sourceTree = "<group>"; };
 		BC60E3BB287D294C00B05441 /* AccountDeleteViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AccountDeleteViewController.h; sourceTree = "<group>"; };
@@ -2242,6 +2257,12 @@
 		BC8C2C652824EB9800FBA5D5 /* NotiferHeadView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = NotiferHeadView.xib; sourceTree = "<group>"; };
 		BC8C2C7828264CF400FBA5D5 /* ReceiveEvaluateListController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ReceiveEvaluateListController.h; sourceTree = "<group>"; };
 		BC8C2C7928264CF400FBA5D5 /* ReceiveEvaluateListController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReceiveEvaluateListController.m; sourceTree = "<group>"; };
+		BC9070A028C7159800237958 /* MyStyleNavView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyStyleNavView.h; sourceTree = "<group>"; };
+		BC9070A128C7159800237958 /* MyStyleNavView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyStyleNavView.m; sourceTree = "<group>"; };
+		BC9070A328C7159F00237958 /* MyStyleNavView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyStyleNavView.xib; sourceTree = "<group>"; };
+		BC9070A528C71C8700237958 /* MyCreateGroupHeadView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyCreateGroupHeadView.h; sourceTree = "<group>"; };
+		BC9070A628C71C8700237958 /* MyCreateGroupHeadView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyCreateGroupHeadView.m; sourceTree = "<group>"; };
+		BC9070A828C71C8E00237958 /* MyCreateGroupHeadView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyCreateGroupHeadView.xib; sourceTree = "<group>"; };
 		BC9473FB282A5E71004B3B27 /* NoticeSourceModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NoticeSourceModel.m; sourceTree = "<group>"; };
 		BC9473FC282A5E71004B3B27 /* NoticeSourceModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NoticeSourceModel.h; sourceTree = "<group>"; };
 		BCA1134528A22A66007FAFB9 /* HomeHotMusicCollectionCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HomeHotMusicCollectionCell.h; sourceTree = "<group>"; };
@@ -2671,6 +2692,11 @@
 		BCE6A0A627F852CD00C97704 /* MineFansGroupCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MineFansGroupCell.h; sourceTree = "<group>"; };
 		BCE6A0A727F852CD00C97704 /* MineFansGroupCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MineFansGroupCell.m; sourceTree = "<group>"; };
 		BCE6A0A827F852CD00C97704 /* MineFansGroupCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MineFansGroupCell.xib; sourceTree = "<group>"; };
+		BCE70D3128C6DA4B00DE7A69 /* StyleEditViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StyleEditViewController.h; sourceTree = "<group>"; };
+		BCE70D3228C6DA4B00DE7A69 /* StyleEditViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StyleEditViewController.m; sourceTree = "<group>"; };
+		BCE70D3428C6DA8B00DE7A69 /* MyStyleEditHeadView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyStyleEditHeadView.h; sourceTree = "<group>"; };
+		BCE70D3528C6DA8B00DE7A69 /* MyStyleEditHeadView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyStyleEditHeadView.m; sourceTree = "<group>"; };
+		BCE70D3728C6DA9300DE7A69 /* MyStyleEditHeadView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyStyleEditHeadView.xib; sourceTree = "<group>"; };
 		BCEA75182818D59300886A86 /* BankNameModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BankNameModel.h; sourceTree = "<group>"; };
 		BCEA75192818D59300886A86 /* BankNameModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BankNameModel.m; sourceTree = "<group>"; };
 		BCEA751B2818F6C900886A86 /* MyCardModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyCardModel.h; sourceTree = "<group>"; };
@@ -2714,9 +2740,6 @@
 		BCF1BA5727F5CF3C00FA36C4 /* LiveSeatApplyCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LiveSeatApplyCell.h; sourceTree = "<group>"; };
 		BCF1BA5827F5CF3C00FA36C4 /* LiveSeatApplyCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LiveSeatApplyCell.m; sourceTree = "<group>"; };
 		BCF1BA5927F5CF3C00FA36C4 /* LiveSeatApplyCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = LiveSeatApplyCell.xib; sourceTree = "<group>"; };
-		BCF61BDA280417100000ACFE /* MyStyleVideoView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyStyleVideoView.h; sourceTree = "<group>"; };
-		BCF61BDB280417100000ACFE /* MyStyleVideoView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyStyleVideoView.m; sourceTree = "<group>"; };
-		BCF61BDD280417190000ACFE /* MyStyleVideoView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyStyleVideoView.xib; sourceTree = "<group>"; };
 		BCF61BDF28041FC90000ACFE /* UIView+ExtensionForDotLine.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIView+ExtensionForDotLine.h"; sourceTree = "<group>"; };
 		BCF61BE028041FC90000ACFE /* UIView+ExtensionForDotLine.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIView+ExtensionForDotLine.m"; sourceTree = "<group>"; };
 		BCF61BE22804248F0000ACFE /* InstrumentChooseViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InstrumentChooseViewController.h; sourceTree = "<group>"; };
@@ -4959,6 +4982,45 @@
 			path = View;
 			sourceTree = "<group>";
 		};
+		BC221F9828C72B2B00F99802 /* Group */ = {
+			isa = PBXGroup;
+			children = (
+				BC9070A528C71C8700237958 /* MyCreateGroupHeadView.h */,
+				BC9070A628C71C8700237958 /* MyCreateGroupHeadView.m */,
+				BC9070A828C71C8E00237958 /* MyCreateGroupHeadView.xib */,
+				BC221FAB28C736BD00F99802 /* MyCreateGroupBottomView.h */,
+				BC221FAC28C736BD00F99802 /* MyCreateGroupBottomView.m */,
+				BC221FAE28C736C300F99802 /* MyCreateGroupBottomView.xib */,
+			);
+			path = Group;
+			sourceTree = "<group>";
+		};
+		BC221F9A28C72B9500F99802 /* StyleVideo */ = {
+			isa = PBXGroup;
+			children = (
+				BC221F9C28C72B9500F99802 /* MyStyleVideoCell.h */,
+				BC221FA028C72B9500F99802 /* MyStyleVideoCell.m */,
+				BC221F9E28C72B9500F99802 /* MyStyleVideoCell.xib */,
+				BC221F9B28C72B9500F99802 /* MyStyleVideoView.h */,
+				BC221F9F28C72B9500F99802 /* MyStyleVideoView.m */,
+				BC221F9D28C72B9500F99802 /* MyStyleVideoView.xib */,
+			);
+			path = StyleVideo;
+			sourceTree = "<group>";
+		};
+		BC221FA528C72BB700F99802 /* instrument */ = {
+			isa = PBXGroup;
+			children = (
+				BC5EB5B3280402CB00B4A3B0 /* MyStyleInstrumentCell.h */,
+				BC5EB5B4280402CB00B4A3B0 /* MyStyleInstrumentCell.m */,
+				BC5EB5B5280402CB00B4A3B0 /* MyStyleInstrumentCell.xib */,
+				BC221FA628C72FB900F99802 /* StyleInstrumentView.h */,
+				BC221FA728C72FB900F99802 /* StyleInstrumentView.m */,
+				BC221FA928C72FC100F99802 /* StyleInstrumentView.xib */,
+			);
+			path = instrument;
+			sourceTree = "<group>";
+		};
 		BC2456FB286C434800D1F7C0 /* MidiPlayer */ = {
 			isa = PBXGroup;
 			children = (
@@ -5180,6 +5242,8 @@
 				BC5EB5B12804027500B4A3B0 /* MyStyleViewController.m */,
 				BCF61BE22804248F0000ACFE /* InstrumentChooseViewController.h */,
 				BCF61BE32804248F0000ACFE /* InstrumentChooseViewController.m */,
+				BCE70D3128C6DA4B00DE7A69 /* StyleEditViewController.h */,
+				BCE70D3228C6DA4B00DE7A69 /* StyleEditViewController.m */,
 			);
 			path = Controller;
 			sourceTree = "<group>";
@@ -5200,21 +5264,15 @@
 		BC5EB5AF2804016200B4A3B0 /* View */ = {
 			isa = PBXGroup;
 			children = (
-				BC5EB5B3280402CB00B4A3B0 /* MyStyleInstrumentCell.h */,
-				BC5EB5B4280402CB00B4A3B0 /* MyStyleInstrumentCell.m */,
-				BC5EB5B5280402CB00B4A3B0 /* MyStyleInstrumentCell.xib */,
+				BC221FA528C72BB700F99802 /* instrument */,
+				BC221F9A28C72B9500F99802 /* StyleVideo */,
+				BC221F9828C72B2B00F99802 /* Group */,
+				BC9070A028C7159800237958 /* MyStyleNavView.h */,
+				BC9070A128C7159800237958 /* MyStyleNavView.m */,
+				BC9070A328C7159F00237958 /* MyStyleNavView.xib */,
 				BC5EB5B82804083800B4A3B0 /* MyStyleIntroduceCell.h */,
 				BC5EB5B92804083800B4A3B0 /* MyStyleIntroduceCell.m */,
 				BC5EB5BA2804083800B4A3B0 /* MyStyleIntroduceCell.xib */,
-				BC5EB5BD2804085500B4A3B0 /* MyStyleVideoCell.h */,
-				BC5EB5BE2804085500B4A3B0 /* MyStyleVideoCell.m */,
-				BC5EB5BF2804085500B4A3B0 /* MyStyleVideoCell.xib */,
-				BC5EB5C22804087000B4A3B0 /* MyStyleBottomView.h */,
-				BC5EB5C32804087000B4A3B0 /* MyStyleBottomView.m */,
-				BC5EB5C52804087700B4A3B0 /* MyStyleBottomView.xib */,
-				BCF61BDA280417100000ACFE /* MyStyleVideoView.h */,
-				BCF61BDB280417100000ACFE /* MyStyleVideoView.m */,
-				BCF61BDD280417190000ACFE /* MyStyleVideoView.xib */,
 				BCC03F8A280526B300461B7C /* MyStyleVideoChooseView.h */,
 				BCC03F8B280526B300461B7C /* MyStyleVideoChooseView.m */,
 				BCF61BE5280425DA0000ACFE /* InstrumentChooseCell.h */,
@@ -5226,6 +5284,9 @@
 				BCF61BED28042F9B0000ACFE /* InstrumentChooseBottonView.h */,
 				BCF61BEE28042F9B0000ACFE /* InstrumentChooseBottonView.m */,
 				BCF61BF028042FA90000ACFE /* InstrumentChooseBottonView.xib */,
+				BCE70D3428C6DA8B00DE7A69 /* MyStyleEditHeadView.h */,
+				BCE70D3528C6DA8B00DE7A69 /* MyStyleEditHeadView.m */,
+				BCE70D3728C6DA9300DE7A69 /* MyStyleEditHeadView.xib */,
 			);
 			path = View;
 			sourceTree = "<group>";
@@ -6813,12 +6874,14 @@
 				BCD457B62865651A0010B493 /* LiveMoreDisplayView.xib in Resources */,
 				BCC583FC28A9FA8100BAB4CF /* cloud_animation_19.png in Resources */,
 				BCB908FD2850C9CB00F5FF69 /* MusicChooseSearchView.xib in Resources */,
+				BC221FA228C72B9500F99802 /* MyStyleVideoCell.xib in Resources */,
 				275E8A7227E18F2300DD3F6E /* Main.storyboard in Resources */,
 				BC3673DE28A606A500059721 /* musicRoom_animation_1.png in Resources */,
 				2780C92927E490CA00A95A4F /* VefiBodyView.xib in Resources */,
 				BCC5840828A9FA8100BAB4CF /* cloud_animation_10.png in Resources */,
 				BCA9CE4427FD947C00D558C6 /* AccompanyArrangeCell.xib in Resources */,
 				BCF61BF128042FA90000ACFE /* InstrumentChooseBottonView.xib in Resources */,
+				BC221FAA28C72FC100F99802 /* StyleInstrumentView.xib in Resources */,
 				BC6BEAAC288E3D7B00022109 /* HomeNewHeadView.xib in Resources */,
 				277D433027E9A50800107DB7 /* PhoneChangeBodyView.xib in Resources */,
 				BCC583F928A9FA8100BAB4CF /* cloud_animation_22.png in Resources */,
@@ -6827,6 +6890,7 @@
 				BC71D2052887FDD40010F14B /* img_27.png in Resources */,
 				BC542E3828406F8000633781 /* UserAuthBodyView.xib in Resources */,
 				27A54CEE27E9B986007309A3 /* ModifyNameBodyView.xib in Resources */,
+				BC221FA128C72B9500F99802 /* MyStyleVideoView.xib in Resources */,
 				BCC583FA28A9FA8100BAB4CF /* cloud_animation_26.png in Resources */,
 				2708565E27EDA83100EC8E72 /* GroupMemberListCell.xib in Resources */,
 				BCDE359A289BC02200A9A560 /* HomeHotAlbumCell.xib in Resources */,
@@ -6862,7 +6926,6 @@
 				BC71D20A2887FDD40010F14B /* launchAni.json in Resources */,
 				BC0A22A5284751F80065C1AB /* AccompanySongCell.xib in Resources */,
 				2723B68E27F1686100E0B90B /* HomeNavView.xib in Resources */,
-				BC5EB5C62804087700B4A3B0 /* MyStyleBottomView.xib in Resources */,
 				BC71D1F22887FDD40010F14B /* img_16.png in Resources */,
 				BCDB093F2805C0EF00D0BDAD /* NewClassPopCell.xib in Resources */,
 				BCAD01C22872F5560002CC40 /* LiveVideoListView.xib in Resources */,
@@ -6890,7 +6953,6 @@
 				BC71D2082887FDD40010F14B /* img_20.png in Resources */,
 				BC7705FF287676DC003EFA7F /* HomeActionView.xib in Resources */,
 				BCC5840028A9FA8100BAB4CF /* cloud_animation_15.png in Resources */,
-				BC5EB5C12804085500B4A3B0 /* MyStyleVideoCell.xib in Resources */,
 				BC4BCE772823AA3F00522C8B /* areainfo.json in Resources */,
 				BC71D1F62887FDD40010F14B /* img_29.png in Resources */,
 				BCF1BA5627F5CBA100FA36C4 /* LiveSeatApplyView.xib in Resources */,
@@ -6922,6 +6984,7 @@
 				27D83F5927F4225D00062476 /* LivePreviewBodyView.xib in Resources */,
 				BC41104A2806706800800BD9 /* HomeworkListCell.xib in Resources */,
 				BCD457A72863196F0010B493 /* CourseTimeSegView.xib in Resources */,
+				BC9070A428C7159F00237958 /* MyStyleNavView.xib in Resources */,
 				2779362E27E33C360010E277 /* LoginBodyView.xib in Resources */,
 				BC8B6E6E285836B600866917 /* low_staff.png in Resources */,
 				BCB399BD27F9831D00AFF376 /* CourseForLiveCell.xib in Resources */,
@@ -6970,6 +7033,7 @@
 				BCF1BA5B27F5CF3C00FA36C4 /* LiveSeatApplyCell.xib in Resources */,
 				2780C92427E4903500A95A4F /* PasswordBodyView.xib in Resources */,
 				27F902FF27E864AE00C08A19 /* KSNetworkAlert.xib in Resources */,
+				BCE70D3828C6DA9300DE7A69 /* MyStyleEditHeadView.xib in Resources */,
 				BC71D2092887FDD40010F14B /* img_21.png in Resources */,
 				BC60E3C2287D448600B05441 /* DeleteAccountBodyView.xib in Resources */,
 				BCC5841028A9FA8100BAB4CF /* cloud_animation_3.png in Resources */,
@@ -6999,6 +7063,7 @@
 				BCA724052806AFF100DA0D0D /* AccompanyCourseInfoCell.xib in Resources */,
 				BC2456EF286BEFC600D1F7C0 /* MineEmptyIntroduceCell.xib in Resources */,
 				BC3673DF28A606A500059721 /* musicRoom_animation_2.png in Resources */,
+				BC9070A928C71C8E00237958 /* MyCreateGroupHeadView.xib in Resources */,
 				BCC583F828A9FA8100BAB4CF /* cloud_animation_23.png in Resources */,
 				2779329827E30FEB0010E277 /* mss_browseLoading@3x.png in Resources */,
 				BC8B6E632856ED0700866917 /* TencentOpenApi_IOS_Bundle.bundle in Resources */,
@@ -7020,6 +7085,7 @@
 				27D5D5D227EDBA9400B4720C /* NoticeEditBodyView.xib in Resources */,
 				BC7CFFD7281801B700CAEB21 /* CardBandBodyView.xib in Resources */,
 				BC71D1F02887FDD40010F14B /* img_3.png in Resources */,
+				BC221FAF28C736C300F99802 /* MyCreateGroupBottomView.xib in Resources */,
 				BCC5841128A9FA8100BAB4CF /* cloud_animation_2.png in Resources */,
 				275E3DE327F467410010EC30 /* BaseEmoji.plist in Resources */,
 				BCC5842028AA559700BAB4CF /* cloud_animation_29.png in Resources */,
@@ -7036,7 +7102,6 @@
 				BC71D1F52887FDD40010F14B /* img_17.png in Resources */,
 				BCA9CE5127FD954800D558C6 /* AccompanyRemarkCell.xib in Resources */,
 				BCB9FA682872C8F0005D766B /* FinishedLiveCell.xib in Resources */,
-				BCF61BDE280417190000ACFE /* MyStyleVideoView.xib in Resources */,
 				BC513E7C28A4D868003F58C4 /* musicRoom_animation.json in Resources */,
 				BCC03F89280460C000461B7C /* InstrumentHeaderView.xib in Resources */,
 				BC02BCE728B324C9005CB483 /* LiveDownSeatView.xib in Resources */,
@@ -7142,7 +7207,6 @@
 				2779324027E30FC30010E277 /* VoNetworking+RequestManager.m in Sources */,
 				2723B68C27F1685600E0B90B /* HomeNavView.m in Sources */,
 				BCB633FB27F6A18200ACFDCF /* ClassVideoListCell.m in Sources */,
-				BCF61BDC280417100000ACFE /* MyStyleVideoView.m in Sources */,
 				27BC3B2927F2DB8600D81E30 /* MusicUploadView.m in Sources */,
 				277931F327E30FC20010E277 /* UIView+Hints.m in Sources */,
 				2779321927E30FC30010E277 /* UITextView_Toolbar.m in Sources */,
@@ -7152,6 +7216,7 @@
 				BCD6D16528195A91009A773E /* WithdrawApplyBodyView.m in Sources */,
 				BC0A2286284751DF0065C1AB /* KSTrackingSlider.m in Sources */,
 				27A54CE427E9B144007309A3 /* ModifyNameViewController.m in Sources */,
+				BC221FA328C72B9500F99802 /* MyStyleVideoView.m in Sources */,
 				BCC9F40C27F69BD200647449 /* InputBarControl.m in Sources */,
 				BCC9F40D27F69BD200647449 /* EmojiBoardView.m in Sources */,
 				2708565D27EDA83100EC8E72 /* GroupMemberListCell.m in Sources */,
@@ -7210,6 +7275,7 @@
 				275B16FD27EB083C0081FDEF /* ChatAddressViewController.m in Sources */,
 				BC41104228066E5500800BD9 /* EvaluateCourseListViewController.m in Sources */,
 				BC41103B28066D2E00800BD9 /* HomeworkBodyView.m in Sources */,
+				BC9070A228C7159800237958 /* MyStyleNavView.m in Sources */,
 				275E8A6F27E18F2300DD3F6E /* ViewController.m in Sources */,
 				BC8B6E7928585C2400866917 /* KSUMShareManager.m in Sources */,
 				BCC03F9228054DC300461B7C /* KSVideoHelper.m in Sources */,
@@ -7246,6 +7312,7 @@
 				BC4BCE752823A1AE00522C8B /* AddressDetailViewController.m in Sources */,
 				BCDB093E2805C0EF00D0BDAD /* NewClassPopCell.m in Sources */,
 				BC02BCDD28B324A5005CB483 /* SeatBodyView.m in Sources */,
+				BC221FA428C72B9500F99802 /* MyStyleVideoCell.m in Sources */,
 				BCC9F41B27F69BD200647449 /* RecentSharedWhiteboardCell.m in Sources */,
 				BCB635B627F6FB0A00ACFDCF /* SeatTipsView.m in Sources */,
 				BCB9FA672872C8F0005D766B /* FinishedLiveCell.m in Sources */,
@@ -7435,6 +7502,7 @@
 				27BC3B2127F2B70300D81E30 /* MusicMessageModel.m in Sources */,
 				BC5756B128B60096002302D8 /* HomeAuthAlertView.m in Sources */,
 				27A54D0427EAC891007309A3 /* TeacherInfo.m in Sources */,
+				BC221FAD28C736BD00F99802 /* MyCreateGroupBottomView.m in Sources */,
 				2780C91F27E48A2100A95A4F /* VefiCodeLoginController.m in Sources */,
 				27F9CAF527EC1A16003E0FE4 /* SCIndexViewConfiguration.m in Sources */,
 				27D83F3C27F3EA5800062476 /* MinePageMienBodyView.m in Sources */,
@@ -7493,9 +7561,9 @@
 				BC7663092827C95200C91A1D /* KSUploadManager.m in Sources */,
 				BC3ACD972890D61400060E97 /* NoRecordViewController.m in Sources */,
 				BC4BCE7A2823AB6500522C8B /* KSAddressPickerView.m in Sources */,
+				BCE70D3328C6DA4B00DE7A69 /* StyleEditViewController.m in Sources */,
 				BCC9F42727F69BD200647449 /* KSWhiteboardControl.m in Sources */,
 				277935E527E328C00010E277 /* CustomNavViewController.m in Sources */,
-				BC5EB5C42804087000B4A3B0 /* MyStyleBottomView.m in Sources */,
 				275E3DE027F467410010EC30 /* KSChatEmojiBoardView.m in Sources */,
 				BC542E4628407B3D00633781 /* UseBodyView.m in Sources */,
 				BC3ACD942890D60800060E97 /* FreezeListViewController.m in Sources */,
@@ -7638,7 +7706,7 @@
 				27F902F427E863B600C08A19 /* NetworkingCheckController.m in Sources */,
 				BCD457A5286319660010B493 /* CourseTimeSegView.m in Sources */,
 				2779362327E334470010E277 /* KSUpdateAlert.m in Sources */,
-				BC5EB5C02804085500B4A3B0 /* MyStyleVideoCell.m in Sources */,
+				BCE70D3628C6DA8B00DE7A69 /* MyStyleEditHeadView.m in Sources */,
 				BCC9F44A27F69BD200647449 /* RTCService.m in Sources */,
 				BC8C2C7A28264CF400FBA5D5 /* ReceiveEvaluateListController.m in Sources */,
 				BC8B6DB8285327DD00866917 /* MusicShareDisplayView.m in Sources */,
@@ -7699,6 +7767,7 @@
 				277935DF27E326DA0010E277 /* KSNetTypeManager.m in Sources */,
 				2755C08527ED5770007D9070 /* GroupApplyMemberCell.m in Sources */,
 				27A54CEC27E9B96F007309A3 /* ModifyNameBodyView.m in Sources */,
+				BC9070A728C71C8700237958 /* MyCreateGroupHeadView.m in Sources */,
 				27F9030B27E875C500C08A19 /* AudioRecordManager.m in Sources */,
 				27A2F62D27E70D0A009E2380 /* UserInfoManager.m in Sources */,
 				BC3DE088280D89E90027DC0E /* EvaluateDetailViewController.m in Sources */,
@@ -7754,6 +7823,7 @@
 				277935E827E32A450010E277 /* KSBaseViewController.m in Sources */,
 				BC7CFFA52817E37300CAEB21 /* IncomeCountViewController.m in Sources */,
 				2755C08127ED54EF007D9070 /* GroupApplyViewController.m in Sources */,
+				BC221FA828C72FB900F99802 /* StyleInstrumentView.m in Sources */,
 				BC0A2284284751DF0065C1AB /* KSSliderView.m in Sources */,
 				BCC9F42A27F69BD200647449 /* LoginHelper.m in Sources */,
 				2779329327E30FEB0010E277 /* MSSBrowseNetworkViewController.m in Sources */,

binární
KulexiuForTeacher/KulexiuForTeacher.xcworkspace/xcuserdata/wangzhi.xcuserdatad/UserInterfaceState.xcuserstate


+ 0 - 32
KulexiuForTeacher/KulexiuForTeacher.xcworkspace/xcuserdata/wangzhi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -151,38 +151,6 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "709E79F0-19C9-4375-837F-CAE13043A89B"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KulexiuForTeacher/Common/Tools/Custom/KeyChainTools.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "40"
-            endingLineNumber = "40"
-            landmarkName = "+getUUID"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "AF1AC824-8B9B-4A40-87E7-F683CF4A76F0"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KulexiuForTeacher/Common/Tools/Custom/KeyChainTools.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "30"
-            endingLineNumber = "30"
-            landmarkName = "+getUUID"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
             uuid = "2B6124D7-B34B-4117-9E4D-5F25E9D8E541"
             shouldBeEnabled = "No"
             ignoreCount = "0"

+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/eidt_icon.imageset/Contents.json

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

binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/eidt_icon.imageset/eidt_icon@2x.png


binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/eidt_icon.imageset/eidt_icon@3x.png


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/instrument_delete.imageset/Contents.json

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

binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/instrument_delete.imageset/instrument_delete@2x.png


binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/instrument_delete.imageset/instrument_delete@3x.png


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_choosed.imageset/Contents.json

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

binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_choosed.imageset/sex_choosed@2x.png


binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_choosed.imageset/sex_choosed@3x.png


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_unchoose.imageset/Contents.json

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

binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_unchoose.imageset/sex_unchoose@2x.png


binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/sex_unchoose.imageset/sex_unchoose@3x.png


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleEdit_next.imageset/Contents.json

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

binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleEdit_next.imageset/styleEdit_next@2x.png


binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleEdit_next.imageset/styleEdit_next@3x.png


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_add.imageset/Contents.json

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

binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_add.imageset/styleVideo_add@2x.png


binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_add.imageset/styleVideo_add@3x.png


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_delete.imageset/Contents.json

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

binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_delete.imageset/styleVideo_delete@2x.png


binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/styleVideo_delete.imageset/styleVideo_delete@3x.png


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_camera.imageset/Contents.json

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

binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_camera.imageset/style_camera@2x.png


binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_camera.imageset/style_camera@3x.png


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_edit.imageset/Contents.json

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

binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_edit.imageset/style_edit@2x.png


binární
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Mine/Style/style_edit.imageset/style_edit@3x.png


+ 4 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Chat/Controller/CreateFansGroupViewController.h

@@ -7,10 +7,14 @@
 
 #import "KSBaseViewController.h"
 
+typedef void(^CreateFansGroupCallback)(void);
+
 NS_ASSUME_NONNULL_BEGIN
 
 @interface CreateFansGroupViewController : KSBaseViewController
 
+- (void)successCallback:(CreateFansGroupCallback)callback;
+
 @end
 
 NS_ASSUME_NONNULL_END

+ 11 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Chat/Controller/CreateFansGroupViewController.m

@@ -12,10 +12,16 @@
 
 @property (nonatomic, strong) GroupCreateView *bodyView;
 
+@property (nonatomic, copy) CreateFansGroupCallback callback;
+
 @end
 
 @implementation CreateFansGroupViewController
-
+- (void)successCallback:(CreateFansGroupCallback)callback {
+    if (callback) {
+        self.callback = callback;
+    }
+}
 - (void)viewDidLoad {
     [super viewDidLoad];
     // Do any additional setup after loading the view.
@@ -45,6 +51,9 @@
     [KSNetworkingManager imGroupCreate:KS_POST name:groupName introduce:desc success:^(NSDictionary * _Nonnull dic) {
         [self removehub];
         if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
+            if (self.callback) {
+                self.callback();
+            }
             MJWeakSelf;
             [self KSShowMsg:@"创建成功" promptCompletion:^{
                 [weakSelf backAction];
@@ -58,6 +67,7 @@
     }];
 }
 
+
 /*
 #pragma mark - Navigation
 

+ 289 - 38
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/Controller/MyStyleViewController.m

@@ -9,7 +9,6 @@
 #import "MyStyleInstrumentCell.h"
 #import "MyStyleIntroduceCell.h"
 #import "MyStyleVideoCell.h"
-#import "MyStyleBottomView.h"
 #import "InstrumentChooseViewController.h"
 #import "KSMediaManager.h"
 #import "StyleVideoModel.h"
@@ -17,12 +16,25 @@
 #import "KSVideoHelper.h"
 #import <RSKImageCropper/RSKImageCropper.h>
 #import "CustomNavViewController.h"
-
+#import "MinePageGroupModel.h"
+#import "MyStyleNavView.h"
+#import "UserInfoManager.h"
+#import "MyCreateGroupHeadView.h"
+#import "MyStyleEditHeadView.h"
+#import "CreateFansGroupViewController.h"
+#import "ModifyPhoneCheckController.h"
+#import "UserAuthViewController.h"
+#import "ModifyNameViewController.h"
+#import "MyCreateGroupBottomView.h"
+#import "MineFansGroupCell.h"
 @interface MyStyleViewController ()<UITableViewDelegate,UITableViewDataSource,WMPlayerDelegate,RSKImageCropViewControllerDelegate,RSKImageCropViewControllerDataSource>
 {
     WMPlayer *_wmPlayer;
     CGRect _playerFrame;
 }
+
+@property (nonatomic, strong) MyStyleNavView *navView;
+
 @property (nonatomic, strong) UIView *bgView;
 
 @property (nonatomic, assign) BOOL isRatation;
@@ -37,8 +49,6 @@
 
 @property (nonatomic, strong) UITableView *tableView;
 
-@property (nonatomic, strong) MyStyleBottomView *bottomView;
-
 @property (nonatomic, strong) KSMediaManager *mediaManager;
 
 @property (strong, nonatomic) MBProgressHUD *HUD;
@@ -47,6 +57,13 @@
 
 @property (nonatomic, assign) BOOL hasModifyVideoImage;
 
+@property (nonatomic, strong) NSMutableArray *fansGroupArray;
+
+@property (nonatomic, strong) UserInfo *mineInfo;
+
+@property (nonatomic, strong) MyStyleEditHeadView *infoHeadView;
+
+@property (nonatomic, strong) MyCreateGroupHeadView *groupHeadView;
 
 @end
 
@@ -55,27 +72,45 @@
 - (void)viewDidLoad {
     [super viewDidLoad];
     // Do any additional setup after loading the view.
-    [self allocTitle:@"个人风采"];
+    self.ks_prefersNavigationBarHidden = YES;
     [self configUI];
     [self requestMyStyle];
+    [self requestTeacherGroup];
+}
+
+- (void)viewWillAppear:(BOOL)animated {
+    [super viewWillAppear:animated];
+    [self requestUserMessage];
 }
 
 - (void)configUI {
     [self.scrollView removeFromSuperview];
+    [self.view addSubview:self.navView];
+    [self.navView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.right.top.mas_equalTo(self.view);
+        make.height.mas_equalTo(kNaviBarHeight);
+    }];
+    
     [self.view addSubview:self.tableView];
+    
     [self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.top.right.mas_equalTo(self.view);
+        make.top.mas_equalTo(self.navView.mas_bottom);
+        make.left.right.mas_equalTo(self.view);
         make.bottom.mas_equalTo(self.view.mas_bottom).offset(-iPhoneXSafeBottomMargin);
     }];
-    MJWeakSelf;
-    _bottomView = [MyStyleBottomView shareInstance];
-    _bottomView.frame = CGRectMake(0, 0, kScreen_Width, 60);
-    self.tableView.tableFooterView = self.bottomView;
-    [_bottomView saveStyleCallback:^{
-        [weakSelf submitMyStyle];
+}
+
+
+- (void)requestUserMessage {
+    [USER_MANAGER queryUserInfoCallback:^(UserInfo * _Nonnull userInfo) {
+        self.mineInfo = userInfo;
+        [self refreshMineInfo];
     }];
 }
 
+- (void)refreshMineInfo {
+    [self.infoHeadView configUserMessage:self.mineInfo];
+}
 
 - (void)requestMyStyle {
     [self showhud];
@@ -104,6 +139,26 @@
     }];
 }
 
+- (void)requestTeacherGroup {
+    [KSNetworkingManager queryTeacherGroupRequest:KS_POST success:^(NSDictionary * _Nonnull dic) {
+        if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
+            NSArray *sourceArray = [dic arrayValueForKey:@"data"];
+            NSMutableArray *groupArray = [NSMutableArray array];
+            for (NSDictionary *parm in sourceArray) {
+                MinePageGroupModel *model = [[MinePageGroupModel alloc] initWithDictionary:parm];
+                [groupArray addObject:model];
+            }
+            self.fansGroupArray = [NSMutableArray arrayWithArray:groupArray];
+        }
+        else {
+            [self MBPShow:MESSAGEKEY];
+        }
+        [self.tableView reloadData];
+    } faliure:^(NSError * _Nonnull error) {
+        
+    }];
+}
+
 - (void)configWithSubjectMessage:(NSString *)subjectId subjectName:(NSString *)subjectName {
     if (![NSString isEmptyString:subjectId] && ![NSString isEmptyString:subjectName]) {
         NSArray *subjectIdArray = [subjectId componentsSeparatedByString:@","];
@@ -184,41 +239,91 @@
 
 
 #pragma mark ---- table data source
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
+    return 2;
+}
+
 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
+    if (section == 1) {
+        return self.fansGroupArray.count;
+    }
     return 3;
 }
 
-- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
-    if (indexPath.row == 0) {
-        MyStyleInstrumentCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyStyleInstrumentCell"];
-        MJWeakSelf;
-        [cell configWithSource:self.instrumentArray callback:^(STYLE_INSTRUMENT type, NSMutableArray * _Nullable sourceArray) {
-            if (type == STYLE_INSTRUMENT_CHOOSE) {
-                [weakSelf chooseInstrumentWithArray:sourceArray];
-            }
-            else { // 刷新
-                [weakSelf refreshInstrumentPart:sourceArray];
-            }
-        }];
-        return cell;
+- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
+    if (section == 0) {
+        return [MyStyleEditHeadView getViewHeight];
     }
-    else if (indexPath.row == 1) {
-        MyStyleIntroduceCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyStyleIntroduceCell"];
-        MJWeakSelf;
-        [cell configWithIntroduceMessage:self.content modifyCallback:^(NSString * _Nullable content) {
-            weakSelf.content = content;
-        }];
-        return cell;
+    else {
+        return [MyCreateGroupHeadView getViewHeight];
+    }
+}
+
+- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
+    if (section == 0) {
+        return CGFLOAT_MIN;
     }
     else {
-        MyStyleVideoCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyStyleVideoCell"];
-        [cell configWithSource:self.videoArray];
-        MJWeakSelf;
-        [cell opreationCallback:^(STYLEVIDEO type, UIView * _Nullable containerView) {
-            [weakSelf opreationVideoCell:type container:containerView];
+        return [MyCreateGroupBottomView getViewHeight];
+    }
+}
+
+- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
+    if (section == 0) {
+        return self.infoHeadView;
+    }
+    return self.groupHeadView;
+}
+
+- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
+    if (section == 0) {
+        return [UIView new];
+    }
+    return [MyCreateGroupBottomView shareInstance];
+}
+
+- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
+    if (indexPath.section == 0) {
+        if (indexPath.row == 0) {
+            MyStyleInstrumentCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyStyleInstrumentCell"];
+            MJWeakSelf;
+            [cell configWithSource:self.instrumentArray callback:^(STYLE_INSTRUMENT type, NSMutableArray * _Nullable sourceArray) {
+                if (type == STYLE_INSTRUMENT_CHOOSE) {
+                    [weakSelf chooseInstrumentWithArray:sourceArray];
+                }
+                else { // 刷新
+                    [weakSelf refreshInstrumentPart:sourceArray];
+                }
+            }];
+            return cell;
+        }
+        else if (indexPath.row == 1) {
+            MyStyleIntroduceCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyStyleIntroduceCell"];
+            MJWeakSelf;
+            [cell configWithIntroduceMessage:self.content modifyCallback:^(NSString * _Nullable content) {
+                weakSelf.content = content;
+            }];
+            return cell;
+        }
+        else {
+            MyStyleVideoCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyStyleVideoCell"];
+            [cell configWithSource:self.videoArray];
+            MJWeakSelf;
+            [cell opreationCallback:^(STYLEVIDEO type, UIView * _Nullable containerView) {
+                [weakSelf opreationVideoCell:type container:containerView];
+            }];
+            return cell;
+        }
+    }
+    else {
+        MinePageGroupModel *model = self.fansGroupArray[indexPath.row];
+        MineFansGroupCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MineFansGroupCell"];
+        
+        [cell configWithSource:model chatAction:^(NSString *groupName, NSString *groupId) {
         }];
         return cell;
     }
+    
 }
 
 - (void)opreationVideoCell:(STYLEVIDEO)type container:(UIView *)container {
@@ -483,9 +588,26 @@
 
 
 #pragma mark ---- lazying
+- (MyStyleNavView *)navView {
+    if (!_navView) {
+        _navView = [MyStyleNavView shareInstance];
+        MJWeakSelf;
+        [_navView saveStyleAction:^(BOOL isBack) {
+            if (isBack) {
+                [weakSelf backAction];
+            }
+            else {
+                [weakSelf submitMyStyle];
+            }
+        }];
+    }
+    return _navView;
+}
+
+
 - (UITableView *)tableView {
     if (!_tableView) {
-        _tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStylePlain];
+        _tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped];
         _tableView.delegate = self;
         _tableView.dataSource = self;
         _tableView.backgroundColor = [UIColor clearColor];
@@ -497,6 +619,8 @@
         [_tableView registerNib:[UINib nibWithNibName:@"MyStyleInstrumentCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"MyStyleInstrumentCell"];
         [_tableView registerNib:[UINib nibWithNibName:@"MyStyleIntroduceCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"MyStyleIntroduceCell"];
         [_tableView registerNib:[UINib nibWithNibName:@"MyStyleVideoCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"MyStyleVideoCell"];
+        [_tableView registerNib:[UINib nibWithNibName:@"MineFansGroupCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"MineFansGroupCell"];
+        
     }
     return _tableView;
 }
@@ -545,6 +669,133 @@
 }
 
 
+- (MyStyleEditHeadView *)infoHeadView {
+    if (!_infoHeadView) {
+        _infoHeadView = [MyStyleEditHeadView shareInstance];
+        MJWeakSelf;
+        [_infoHeadView modifyCallback:^(MODIFY_TYPE type, NSString * _Nullable sexType) {
+            [weakSelf modifyUserAction:type sexType:sexType];
+        }];
+    }
+    return _infoHeadView;
+}
+
+- (void)modifyUserAction:(MODIFY_TYPE)type sexType:(NSString *)sexType {
+    switch (type) {
+        case MODIFY_TYPE_AVATAR:
+        {
+            // 调用相册
+            self.mediaManager = [[KSMediaManager alloc] init];
+            self.mediaManager.mediaType = MEDIATYPE_PHOTO;
+            self.mediaManager.maxPhotoNumber = 1;
+            self.mediaManager.baseCtrl = self;
+            self.mediaManager.needCropImage = YES;
+            MJWeakSelf;
+            [self.mediaManager noAlertCallback:^(NSString * _Nullable videoUrl, NSMutableArray * _Nullable imageArray, NSMutableArray * _Nullable imageAsset) {
+                UIImage *sendImg = [imageArray lastObject];
+                [weakSelf updateWithUserLogo:sendImg];
+            }];
+            [self.mediaManager pushImagePickerController];
+        }
+            break;
+        case MODIFY_TYPE_NICKNAME:
+        {
+            ModifyNameViewController *nameCtrl = [[ModifyNameViewController alloc] init];
+            nameCtrl.preNickName = self.mineInfo.username;
+            [self.navigationController pushViewController:nameCtrl animated:YES];
+        }
+            break;
+        case MODIFY_TYPE_AUTH:
+        {
+            if (USER_MANAGER.hasAuth == NO) {
+                UserAuthViewController *ctrl = [[UserAuthViewController alloc] init];
+                [self.navigationController pushViewController:ctrl animated:YES];
+            }
+        }
+            break;
+        case MODIFY_TYPE_PHONE:
+        {
+            ModifyPhoneCheckController *checkCtrl = [[ModifyPhoneCheckController alloc] init];
+            [self.navigationController pushViewController:checkCtrl animated:YES];
+        }
+            break;
+        case MODIFY_TYPE_SEX:
+        {
+            if ([sexType isEqual:self.mineInfo.gender] || sexType == nil) {
+                return;
+            }
+            [self modifyUserMessage:nil gender:sexType];
+        }
+            break;
+        default:
+            break;
+    }
+}
+
+- (void)updateWithUserLogo:(UIImage *)image {
+    NSData *imgData = [UIImage turnsImaegDataByImage:image];
+    NSString *fileName = @"image";
+    [[KSUploadManager shareInstance] configBucketName:@"daya"];
+    [[KSUploadManager shareInstance] uploadImage:imgData fileName:fileName successCallback:^(NSMutableArray * _Nonnull fileUrlArray) {
+        NSString *avatarUrl = [fileUrlArray lastObject];
+        [self modifyUserMessage:avatarUrl gender:nil];
+    } faliure:^(NSError * _Nullable error, NSString *descMessaeg) {
+        if ([NSString isEmptyString:descMessaeg]) {
+            [self MBPShow:descMessaeg];
+        }
+    }];
+}
+
+
+- (void)modifyUserMessage:(NSString *)imgUrl gender:(NSString *)gender {
+    NSString *userName = nil;
+    [self showhud];
+    [KSNetworkingManager modifyTeacherMessage:KS_POST avatal:imgUrl gender:gender username:userName success:^(NSDictionary * _Nonnull dic) {
+        [self removehub];
+        if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
+            [self MBPShow:@"修改成功"];
+            if (![NSString isEmptyString:imgUrl]) {
+                UserDefaultSetObjectForKey(imgUrl, AvatarUrlKey);
+                [self updateRongCloudUserInfo];
+            }
+            [self requestUserMessage];
+        }
+        else {
+            [self MBPShow:MESSAGEKEY];
+        }
+    } faliure:^(NSError * _Nonnull error) {
+        [self removehub];
+    }];
+}
+
+- (void)updateRongCloudUserInfo {
+    // 设置个人信息
+    RCUserInfo *currentUserInfo =
+    [[RCUserInfo alloc] initWithUserId:UserDefault(UIDKey) name:UserDefault(NicknameKey) portrait:UserDefault(AvatarUrlKey)];
+    [RCIM sharedRCIM].currentUserInfo = currentUserInfo;
+    [[RCIM sharedRCIM] clearGroupUserInfoCache];
+}
+
+- (MyCreateGroupHeadView *)groupHeadView {
+    if (!_groupHeadView) {
+        _groupHeadView = [MyCreateGroupHeadView shareInstance];
+        MJWeakSelf;
+        [_groupHeadView createGroupCallback:^{
+            [weakSelf createGroupAction];
+        }];
+    }
+    return _groupHeadView;
+}
+
+- (void)createGroupAction {
+    CreateFansGroupViewController *ctrl = [[CreateFansGroupViewController alloc] init];
+    MJWeakSelf;
+    [ctrl successCallback:^{
+        [weakSelf requestTeacherGroup];
+    }];
+    [self.navigationController pushViewController:ctrl animated:YES];
+}
+
 #pragma mark --- RSKImageCropViewControllerDelegate
 
 - (CGRect)imageCropViewControllerCustomMaskRect:(RSKImageCropViewController *)controller {

+ 16 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/Controller/StyleEditViewController.h

@@ -0,0 +1,16 @@
+//
+//  StyleEditViewController.h
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import "KSBaseViewController.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface StyleEditViewController : KSBaseViewController
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 31 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/Controller/StyleEditViewController.m

@@ -0,0 +1,31 @@
+//
+//  StyleEditViewController.m
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import "StyleEditViewController.h"
+
+@interface StyleEditViewController ()
+
+@end
+
+@implementation StyleEditViewController
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    // Do any additional setup after loading the view.
+}
+
+/*
+#pragma mark - Navigation
+
+// In a storyboard-based application, you will often want to do a little preparation before navigation
+- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
+    // Get the new view controller using [segue destinationViewController].
+    // Pass the selected object to the new view controller.
+}
+*/
+
+@end

+ 20 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupBottomView.h

@@ -0,0 +1,20 @@
+//
+//  MyCreateGroupBottomView.h
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MyCreateGroupBottomView : UIView
+
++ (instancetype)shareInstance;
+
++ (CGFloat)getViewHeight;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 45 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupBottomView.m

@@ -0,0 +1,45 @@
+//
+//  MyCreateGroupBottomView.m
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import "MyCreateGroupBottomView.h"
+
+@interface MyCreateGroupBottomView ()
+@property (weak, nonatomic) IBOutlet UIView *containerView;
+
+
+
+@end
+
+@implementation MyCreateGroupBottomView
+
+- (void)awakeFromNib {
+    [super awakeFromNib];
+    [self setupUI];
+}
+
+- (void)setupUI {
+    _containerView.layer.cornerRadius = 10;
+    _containerView.layer.maskedCorners = kCALayerMinXMaxYCorner | kCALayerMaxXMaxYCorner;
+}
++ (instancetype)shareInstance {
+    MyCreateGroupBottomView *view = [[[NSBundle mainBundle] loadNibNamed:@"MyCreateGroupBottomView" owner:nil options:nil] firstObject];
+    return view;
+}
+
++ (CGFloat)getViewHeight {
+    return 30.0f;
+}
+
+/*
+// Only override drawRect: if you perform custom drawing.
+// An empty implementation adversely affects performance during animation.
+- (void)drawRect:(CGRect)rect {
+    // Drawing code
+}
+*/
+
+@end

+ 54 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupBottomView.xib

@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+    <device id="retina6_1" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
+        <capability name="System colors in document resources" minToolsVersion="11.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MyCreateGroupBottomView">
+            <rect key="frame" x="0.0" y="0.0" width="414" height="32"/>
+            <autoresizingMask key="autoresizingMask"/>
+            <subviews>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vdv-Vc-cSf">
+                    <rect key="frame" x="14" y="2" width="386" height="30"/>
+                    <subviews>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="具体群操作请到聊天-群组-群设置中操作" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="05d-Wa-oGo">
+                            <rect key="frame" x="83" y="8" width="220" height="14.5"/>
+                            <fontDescription key="fontDescription" type="system" pointSize="12"/>
+                            <color key="textColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
+                            <nil key="highlightedColor"/>
+                        </label>
+                    </subviews>
+                    <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                    <constraints>
+                        <constraint firstItem="05d-Wa-oGo" firstAttribute="centerX" secondItem="vdv-Vc-cSf" secondAttribute="centerX" id="3py-ST-AOk"/>
+                        <constraint firstItem="05d-Wa-oGo" firstAttribute="centerY" secondItem="vdv-Vc-cSf" secondAttribute="centerY" id="CJM-97-hK9"/>
+                        <constraint firstAttribute="height" constant="30" id="M6D-dr-7Rw"/>
+                    </constraints>
+                </view>
+            </subviews>
+            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+            <constraints>
+                <constraint firstItem="vdv-Vc-cSf" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="X1W-ef-zus"/>
+                <constraint firstAttribute="bottom" secondItem="vdv-Vc-cSf" secondAttribute="bottom" id="avx-Op-Wed"/>
+                <constraint firstAttribute="trailing" secondItem="vdv-Vc-cSf" secondAttribute="trailing" constant="14" id="nQ1-CZ-cU8"/>
+            </constraints>
+            <nil key="simulatedBottomBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <connections>
+                <outlet property="containerView" destination="vdv-Vc-cSf" id="tr5-fa-Dzu"/>
+            </connections>
+            <point key="canvasLocation" x="131.8840579710145" y="-168.75"/>
+        </view>
+    </objects>
+    <resources>
+        <systemColor name="systemBackgroundColor">
+            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+        </systemColor>
+    </resources>
+</document>

+ 24 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupHeadView.h

@@ -0,0 +1,24 @@
+//
+//  MyCreateGroupHeadView.h
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import <UIKit/UIKit.h>
+
+typedef void(^GroupCreateCallback)(void);
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MyCreateGroupHeadView : UIView
+
++ (instancetype)shareInstance;
+
+- (void)createGroupCallback:(GroupCreateCallback)callback;
+
++ (CGFloat)getViewHeight;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 58 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupHeadView.m

@@ -0,0 +1,58 @@
+//
+//  MyCreateGroupHeadView.m
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import "MyCreateGroupHeadView.h"
+
+@interface MyCreateGroupHeadView ()
+
+@property (weak, nonatomic) IBOutlet UIView *bgView;
+
+@property (nonatomic, copy) GroupCreateCallback callback;
+
+@end
+
+@implementation MyCreateGroupHeadView
+- (void)awakeFromNib {
+    [super awakeFromNib];
+    [self setupUI];
+}
+
+- (void)setupUI {
+    _bgView.layer.cornerRadius = 10;
+    _bgView.layer.maskedCorners = kCALayerMinXMinYCorner | kCALayerMaxXMinYCorner; // 左上圆角
+}
+
++ (instancetype)shareInstance {
+    MyCreateGroupHeadView *view = [[[NSBundle mainBundle] loadNibNamed:@"MyCreateGroupHeadView" owner:nil options:nil] firstObject];
+    return view;
+}
+
+- (void)createGroupCallback:(GroupCreateCallback)callback {
+    if (callback) {
+        self.callback = callback;
+    }
+}
+
+- (IBAction)createGroup:(id)sender {
+    if (self.callback) {
+        self.callback();
+    }
+}
+
++ (CGFloat)getViewHeight {
+    return 56.0f;
+}
+
+/*
+// Only override drawRect: if you perform custom drawing.
+// An empty implementation adversely affects performance during animation.
+- (void)drawRect:(CGRect)rect {
+    // Drawing code
+}
+*/
+
+@end

+ 88 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/Group/MyCreateGroupHeadView.xib

@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+    <device id="retina6_1" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
+        <capability name="System colors in document resources" minToolsVersion="11.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MyCreateGroupHeadView">
+            <rect key="frame" x="0.0" y="0.0" width="414" height="68"/>
+            <autoresizingMask key="autoresizingMask"/>
+            <subviews>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aQ8-Xb-I6E">
+                    <rect key="frame" x="14" y="12" width="386" height="56"/>
+                    <subviews>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="粉丝群" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2yy-Tl-pll">
+                            <rect key="frame" x="16" y="18" width="56" height="22"/>
+                            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                            <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
+                            <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                            <nil key="highlightedColor"/>
+                        </label>
+                        <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="style_edit" translatesAutoresizingMaskIntoConstraints="NO" id="f4r-dS-lya">
+                            <rect key="frame" x="318" y="21" width="14" height="14"/>
+                        </imageView>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="编辑" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="n2c-7v-Uks">
+                            <rect key="frame" x="336" y="18" width="33" height="20"/>
+                            <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                            <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
+                            <nil key="highlightedColor"/>
+                        </label>
+                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rIc-qd-RJU">
+                            <rect key="frame" x="318" y="11" width="51" height="34"/>
+                            <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                            <connections>
+                                <action selector="createGroup:" destination="iN0-l3-epB" eventType="touchUpInside" id="I7L-YN-9zj"/>
+                            </connections>
+                        </button>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5XG-ut-kyK">
+                            <rect key="frame" x="15" y="55.5" width="358" height="0.5"/>
+                            <color key="backgroundColor" red="0.97254901960784312" green="0.97254901960784312" blue="0.97254901960784312" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                            <constraints>
+                                <constraint firstAttribute="height" constant="0.5" id="uVs-dV-xfg"/>
+                            </constraints>
+                        </view>
+                    </subviews>
+                    <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                    <constraints>
+                        <constraint firstAttribute="trailing" secondItem="n2c-7v-Uks" secondAttribute="trailing" constant="17" id="3ep-1V-96s"/>
+                        <constraint firstItem="5XG-ut-kyK" firstAttribute="leading" secondItem="aQ8-Xb-I6E" secondAttribute="leading" constant="15" id="9vy-TT-V4d"/>
+                        <constraint firstItem="n2c-7v-Uks" firstAttribute="trailing" secondItem="rIc-qd-RJU" secondAttribute="trailing" id="BEl-B9-Q7C"/>
+                        <constraint firstItem="n2c-7v-Uks" firstAttribute="centerY" secondItem="aQ8-Xb-I6E" secondAttribute="centerY" id="U5o-ML-oyy"/>
+                        <constraint firstItem="f4r-dS-lya" firstAttribute="centerY" secondItem="rIc-qd-RJU" secondAttribute="centerY" id="Xw0-V6-H9b"/>
+                        <constraint firstItem="rIc-qd-RJU" firstAttribute="leading" secondItem="f4r-dS-lya" secondAttribute="leading" id="e95-t4-JGp"/>
+                        <constraint firstAttribute="height" constant="56" id="fRn-fM-CJ7"/>
+                        <constraint firstAttribute="bottom" secondItem="5XG-ut-kyK" secondAttribute="bottom" id="t96-ND-Beu"/>
+                        <constraint firstItem="n2c-7v-Uks" firstAttribute="centerY" secondItem="f4r-dS-lya" secondAttribute="centerY" id="yyL-o4-WA6"/>
+                        <constraint firstAttribute="trailing" secondItem="5XG-ut-kyK" secondAttribute="trailing" constant="13" id="zU3-xW-orD"/>
+                        <constraint firstItem="n2c-7v-Uks" firstAttribute="leading" secondItem="f4r-dS-lya" secondAttribute="trailing" constant="4" id="ztd-O6-JZJ"/>
+                    </constraints>
+                </view>
+            </subviews>
+            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+            <constraints>
+                <constraint firstAttribute="bottom" secondItem="aQ8-Xb-I6E" secondAttribute="bottom" id="63X-xz-5jy"/>
+                <constraint firstAttribute="trailing" secondItem="aQ8-Xb-I6E" secondAttribute="trailing" constant="14" id="UTn-gm-vXt"/>
+                <constraint firstItem="aQ8-Xb-I6E" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="W7D-Gz-gLO"/>
+            </constraints>
+            <nil key="simulatedTopBarMetrics"/>
+            <nil key="simulatedBottomBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <connections>
+                <outlet property="bgView" destination="aQ8-Xb-I6E" id="xhd-D9-L81"/>
+            </connections>
+            <point key="canvasLocation" x="131.8840579710145" y="-182.14285714285714"/>
+        </view>
+    </objects>
+    <resources>
+        <image name="style_edit" width="14" height="14"/>
+        <systemColor name="systemBackgroundColor">
+            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+        </systemColor>
+    </resources>
+</document>

+ 0 - 20
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleBottomView.h

@@ -1,20 +0,0 @@
-//
-//  MyStyleBottomView.h
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2022/4/11.
-//
-
-#import <UIKit/UIKit.h>
-
-typedef void(^MyStyleSaveCallback)(void);
-NS_ASSUME_NONNULL_BEGIN
-
-@interface MyStyleBottomView : UIView
-
-+ (instancetype)shareInstance;
-
-- (void)saveStyleCallback:(MyStyleSaveCallback)callback;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 43
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleBottomView.m

@@ -1,43 +0,0 @@
-//
-//  MyStyleBottomView.m
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2022/4/11.
-//
-
-#import "MyStyleBottomView.h"
-
-@interface MyStyleBottomView ()
-
-@property (nonatomic, copy) MyStyleSaveCallback callback;
-
-@end
-
-@implementation MyStyleBottomView
-
-+ (instancetype)shareInstance {
-    MyStyleBottomView *view = [[[NSBundle mainBundle] loadNibNamed:@"MyStyleBottomView" owner:nil options:nil] firstObject];
-    return view;
-}
-
-- (void)saveStyleCallback:(MyStyleSaveCallback)callback {
-    if (callback) {
-        self.callback = callback;
-    }
-}
-
-- (IBAction)sureAction:(id)sender {
-    if (self.callback) {
-        self.callback();
-    }
-}
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-@end

+ 0 - 47
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleBottomView.xib

@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
-    <device id="retina6_1" orientation="portrait" appearance="light"/>
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MyStyleBottomView">
-            <rect key="frame" x="0.0" y="0.0" width="414" height="78"/>
-            <autoresizingMask key="autoresizingMask"/>
-            <subviews>
-                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Onp-oJ-PHo">
-                    <rect key="frame" x="28" y="10" width="358" height="44"/>
-                    <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
-                    <constraints>
-                        <constraint firstAttribute="height" constant="44" id="IYz-ot-SP1"/>
-                    </constraints>
-                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                    <state key="normal" title="保存"/>
-                    <userDefinedRuntimeAttributes>
-                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                            <real key="value" value="22"/>
-                        </userDefinedRuntimeAttribute>
-                    </userDefinedRuntimeAttributes>
-                    <connections>
-                        <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="WPc-xN-hgl"/>
-                    </connections>
-                </button>
-            </subviews>
-            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-            <constraints>
-                <constraint firstItem="Onp-oJ-PHo" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="10" id="YId-WS-nBB"/>
-                <constraint firstItem="Onp-oJ-PHo" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="28" id="ccI-vC-H0n"/>
-                <constraint firstAttribute="trailing" secondItem="Onp-oJ-PHo" secondAttribute="trailing" constant="28" id="lfz-Yr-B3T"/>
-            </constraints>
-            <nil key="simulatedTopBarMetrics"/>
-            <nil key="simulatedBottomBarMetrics"/>
-            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
-            <point key="canvasLocation" x="131.8840579710145" y="-39.508928571428569"/>
-        </view>
-    </objects>
-</document>

+ 39 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleEditHeadView.h

@@ -0,0 +1,39 @@
+//
+//  MyStyleEditHeadView.h
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import <UIKit/UIKit.h>
+#import "UserInfoManager.h"
+
+typedef NS_ENUM(NSInteger, MODIFY_TYPE) {
+    MODIFY_TYPE_AVATAR,  // 修改头像
+    MODIFY_TYPE_NICKNAME, // 修改昵称
+    MODIFY_TYPE_AUTH,     // 实名认证
+    MODIFY_TYPE_SEX,      // 修改性别
+    MODIFY_TYPE_PHONE,    // 修改手机号
+};
+
+typedef void(^ModifyUserInfoCallback)(MODIFY_TYPE type, NSString * _Nullable sexType);
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MyStyleEditHeadView : UIView
+
+@property (nonatomic, strong) NSString *userSex;
+
+@property (weak, nonatomic) IBOutlet UILabel *auth_status;
+
++ (instancetype)shareInstance;
+
+- (void)configUserMessage:(UserInfo *)info;
+
+- (void)modifyCallback:(ModifyUserInfoCallback)callback;
+
++ (CGFloat)getViewHeight;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 109 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleEditHeadView.m

@@ -0,0 +1,109 @@
+//
+//  MyStyleEditHeadView.m
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import "MyStyleEditHeadView.h"
+
+@interface MyStyleEditHeadView ()
+
+@property (weak, nonatomic) IBOutlet UIImageView *user_avatar;
+
+@property (weak, nonatomic) IBOutlet UILabel *user_nickname;
+
+@property (weak, nonatomic) IBOutlet UIImageView *sexImage_male;
+
+@property (weak, nonatomic) IBOutlet UIImageView *sexImage_female;
+
+@property (weak, nonatomic) IBOutlet UILabel *phoneLabel;
+
+@property (nonatomic, copy) ModifyUserInfoCallback callback;
+
+
+@end
+
+@implementation MyStyleEditHeadView
+
++ (instancetype)shareInstance {
+    MyStyleEditHeadView *view = [[[NSBundle mainBundle] loadNibNamed:@"MyStyleEditHeadView" owner:nil options:nil] firstObject];
+    return view;
+}
+
+- (void)configUserMessage:(UserInfo *)info {
+    if (![NSString isEmptyString:info.avatar]) {
+        [self.user_avatar sd_setImageWithURL:[NSURL URLWithString:[info.avatar getUrlEndcodeString]] placeholderImage:[UIImage imageNamed:USERDEFAULT_LOGO]];
+    }
+    else {
+        [self.user_avatar setImage:[UIImage imageNamed:USERDEFAULT_LOGO]];
+    }
+    self.user_nickname.text = [NSString returnNoNullStringWithString:info.username];
+    
+    if ([info.gender isEqualToString:@"1"]) {
+        [self.sexImage_male setImage:[UIImage imageNamed:@"sex_choosed"]];
+        [self.sexImage_female setImage:[UIImage imageNamed:@"sex_unchoose"]];
+        self.userSex = @"1";
+    }
+    else {
+        [self.sexImage_male setImage:[UIImage imageNamed:@"sex_unchoose"]];
+        [self.sexImage_female setImage:[UIImage imageNamed:@"sex_choosed"]];
+        self.userSex = @"0";
+    }
+    self.phoneLabel.text = [NSString returnNoNullStringWithString:info.phone];
+}
+
+- (void)modifyCallback:(ModifyUserInfoCallback)callback {
+    if (callback) {
+        self.callback = callback;
+    }
+}
+
++ (CGFloat)getViewHeight {
+    return 326.0f;
+}
+
+- (IBAction)chooseImage:(id)sender {
+    if (self.callback) {
+        self.callback(MODIFY_TYPE_AVATAR, nil);
+    }
+}
+- (IBAction)modifyNickname:(id)sender {
+    if (self.callback) {
+        self.callback(MODIFY_TYPE_NICKNAME, nil);
+    }
+}
+
+- (IBAction)authDetail:(id)sender {
+    if (self.callback) {
+        self.callback(MODIFY_TYPE_AUTH, nil);
+    }
+}
+
+- (IBAction)modifyPhone:(id)sender {
+    if (self.callback) {
+        self.callback(MODIFY_TYPE_PHONE, nil);
+    }
+}
+
+- (IBAction)chooseSexMan:(id)sender {
+    if (self.callback) {
+        self.callback(MODIFY_TYPE_SEX, @"1");
+    }
+}
+
+- (IBAction)chooseSexFemale:(id)sender {
+    if (self.callback) {
+        self.callback(MODIFY_TYPE_SEX, @"0");
+    }
+}
+
+/*
+// Only override drawRect: if you perform custom drawing.
+// An empty implementation adversely affects performance during animation.
+- (void)drawRect:(CGRect)rect {
+    // Drawing code
+}
+*/
+
+@end

+ 360 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleEditHeadView.xib

@@ -0,0 +1,360 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+    <device id="retina6_1" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
+        <capability name="System colors in document resources" minToolsVersion="11.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MyStyleEditHeadView">
+            <rect key="frame" x="0.0" y="0.0" width="414" height="326"/>
+            <autoresizingMask key="autoresizingMask"/>
+            <subviews>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6nX-dN-pAT">
+                    <rect key="frame" x="14" y="12" width="386" height="314"/>
+                    <subviews>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jhb-fM-HX1">
+                            <rect key="frame" x="0.0" y="0.0" width="386" height="90"/>
+                            <subviews>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="头像" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="70L-Im-vOP">
+                                    <rect key="frame" x="15" y="35.5" width="33" height="19.5"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="styleEdit_next" translatesAutoresizingMaskIntoConstraints="NO" id="wVd-hF-iN1">
+                                    <rect key="frame" x="367" y="41.5" width="5" height="7"/>
+                                </imageView>
+                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="user_default_avatal" translatesAutoresizingMaskIntoConstraints="NO" id="tsB-LK-3gu">
+                                    <rect key="frame" x="289" y="17" width="56" height="56"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="56" id="oKS-fT-JBW"/>
+                                        <constraint firstAttribute="width" constant="56" id="ydd-NT-0Ye"/>
+                                    </constraints>
+                                    <userDefinedRuntimeAttributes>
+                                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                            <real key="value" value="28"/>
+                                        </userDefinedRuntimeAttribute>
+                                    </userDefinedRuntimeAttributes>
+                                </imageView>
+                                <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8wz-kq-RPK">
+                                    <rect key="frame" x="328" y="51" width="20" height="22"/>
+                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                    <state key="normal" image="style_camera"/>
+                                </button>
+                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WJj-04-MFZ">
+                                    <rect key="frame" x="14" y="89.5" width="358" height="0.5"/>
+                                    <color key="backgroundColor" red="0.97254901960784312" green="0.97254901960784312" blue="0.97254901960784312" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="0.5" id="xL2-47-lVx"/>
+                                    </constraints>
+                                </view>
+                            </subviews>
+                            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                            <gestureRecognizers/>
+                            <constraints>
+                                <constraint firstAttribute="trailing" secondItem="wVd-hF-iN1" secondAttribute="trailing" constant="14" id="0f6-6b-z8S"/>
+                                <constraint firstItem="tsB-LK-3gu" firstAttribute="centerY" secondItem="jhb-fM-HX1" secondAttribute="centerY" id="3Vg-mn-AbH"/>
+                                <constraint firstItem="70L-Im-vOP" firstAttribute="centerY" secondItem="jhb-fM-HX1" secondAttribute="centerY" id="84y-JR-97H"/>
+                                <constraint firstItem="WJj-04-MFZ" firstAttribute="leading" secondItem="jhb-fM-HX1" secondAttribute="leading" constant="14" id="9fQ-wM-Tl8"/>
+                                <constraint firstItem="wVd-hF-iN1" firstAttribute="leading" secondItem="tsB-LK-3gu" secondAttribute="trailing" constant="22" id="ANF-IP-2jh"/>
+                                <constraint firstAttribute="height" constant="90" id="Glm-mi-WD4"/>
+                                <constraint firstAttribute="trailing" secondItem="WJj-04-MFZ" secondAttribute="trailing" constant="14" id="Tzf-oX-1MU"/>
+                                <constraint firstItem="tsB-LK-3gu" firstAttribute="bottom" secondItem="8wz-kq-RPK" secondAttribute="bottom" id="aZ1-io-mBG"/>
+                                <constraint firstAttribute="bottom" secondItem="WJj-04-MFZ" secondAttribute="bottom" id="lvm-cg-CkM"/>
+                                <constraint firstItem="tsB-LK-3gu" firstAttribute="trailing" secondItem="8wz-kq-RPK" secondAttribute="trailing" constant="-3" id="rl2-dh-8bn"/>
+                                <constraint firstItem="wVd-hF-iN1" firstAttribute="centerY" secondItem="jhb-fM-HX1" secondAttribute="centerY" id="u2z-Cp-QJB"/>
+                                <constraint firstItem="70L-Im-vOP" firstAttribute="leading" secondItem="jhb-fM-HX1" secondAttribute="leading" constant="15" id="w0t-m2-aYZ"/>
+                            </constraints>
+                            <connections>
+                                <outletCollection property="gestureRecognizers" destination="mbn-6K-OQj" appends="YES" id="ShY-di-ev4"/>
+                            </connections>
+                        </view>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rk3-Zp-FsL">
+                            <rect key="frame" x="0.0" y="90" width="386" height="56"/>
+                            <subviews>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="昵称" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yrX-fL-tRb">
+                                    <rect key="frame" x="15" y="18.5" width="33" height="19.5"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="李老师" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6p0-f0-nle">
+                                    <rect key="frame" x="295" y="18" width="49" height="20"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9ZN-Wb-u8G">
+                                    <rect key="frame" x="357" y="17" width="17" height="22"/>
+                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                    <state key="normal" image="eidt_icon"/>
+                                </button>
+                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="81f-Kd-Zsv">
+                                    <rect key="frame" x="14" y="55.5" width="358" height="0.5"/>
+                                    <color key="backgroundColor" red="0.97254901959999995" green="0.97254901959999995" blue="0.97254901959999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="0.5" id="2uR-Xo-ckc"/>
+                                    </constraints>
+                                </view>
+                            </subviews>
+                            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                            <gestureRecognizers/>
+                            <constraints>
+                                <constraint firstItem="9ZN-Wb-u8G" firstAttribute="leading" secondItem="6p0-f0-nle" secondAttribute="trailing" constant="13" id="AsW-51-qsL"/>
+                                <constraint firstAttribute="height" constant="56" id="DJi-Oa-NbF"/>
+                                <constraint firstAttribute="trailing" secondItem="9ZN-Wb-u8G" secondAttribute="trailing" constant="12" id="IW3-eb-6hf"/>
+                                <constraint firstItem="9ZN-Wb-u8G" firstAttribute="centerY" secondItem="Rk3-Zp-FsL" secondAttribute="centerY" id="P18-Op-LBe"/>
+                                <constraint firstItem="yrX-fL-tRb" firstAttribute="leading" secondItem="Rk3-Zp-FsL" secondAttribute="leading" constant="15" id="PGm-4H-5Kb"/>
+                                <constraint firstAttribute="trailing" secondItem="81f-Kd-Zsv" secondAttribute="trailing" constant="14" id="R4K-VA-UhY"/>
+                                <constraint firstItem="81f-Kd-Zsv" firstAttribute="leading" secondItem="Rk3-Zp-FsL" secondAttribute="leading" constant="14" id="RuH-CX-VWL"/>
+                                <constraint firstAttribute="bottom" secondItem="81f-Kd-Zsv" secondAttribute="bottom" id="S1K-ow-kCP"/>
+                                <constraint firstItem="6p0-f0-nle" firstAttribute="centerY" secondItem="Rk3-Zp-FsL" secondAttribute="centerY" id="qku-g6-NKl"/>
+                                <constraint firstItem="yrX-fL-tRb" firstAttribute="centerY" secondItem="Rk3-Zp-FsL" secondAttribute="centerY" id="wcV-R8-rJ7"/>
+                            </constraints>
+                            <connections>
+                                <outletCollection property="gestureRecognizers" destination="UhQ-3c-kyY" appends="YES" id="4r0-84-apl"/>
+                            </connections>
+                        </view>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="erx-Lf-TBX">
+                            <rect key="frame" x="0.0" y="146" width="386" height="56"/>
+                            <subviews>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="实名认证" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4us-Mp-dRF">
+                                    <rect key="frame" x="15" y="18.5" width="65.5" height="19.5"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Dwj-Cl-21q">
+                                    <rect key="frame" x="14" y="55.5" width="358" height="0.5"/>
+                                    <color key="backgroundColor" red="0.97254901959999995" green="0.97254901959999995" blue="0.97254901959999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="0.5" id="a8a-Tj-iTg"/>
+                                    </constraints>
+                                </view>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已认证" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cWO-oZ-Nzf">
+                                    <rect key="frame" x="295" y="18" width="49" height="20"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="styleEdit_next" translatesAutoresizingMaskIntoConstraints="NO" id="RgF-hX-pTf">
+                                    <rect key="frame" x="367" y="24.5" width="5" height="7"/>
+                                </imageView>
+                            </subviews>
+                            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                            <gestureRecognizers/>
+                            <constraints>
+                                <constraint firstItem="cWO-oZ-Nzf" firstAttribute="centerY" secondItem="erx-Lf-TBX" secondAttribute="centerY" id="FgP-V8-jjc"/>
+                                <constraint firstItem="Dwj-Cl-21q" firstAttribute="leading" secondItem="erx-Lf-TBX" secondAttribute="leading" constant="14" id="Iu7-1U-Kfg"/>
+                                <constraint firstAttribute="bottom" secondItem="Dwj-Cl-21q" secondAttribute="bottom" id="OhX-63-KTl"/>
+                                <constraint firstAttribute="trailing" secondItem="RgF-hX-pTf" secondAttribute="trailing" constant="14" id="WET-99-ryB"/>
+                                <constraint firstItem="4us-Mp-dRF" firstAttribute="centerY" secondItem="erx-Lf-TBX" secondAttribute="centerY" id="cg0-Uk-4n4"/>
+                                <constraint firstItem="RgF-hX-pTf" firstAttribute="leading" secondItem="cWO-oZ-Nzf" secondAttribute="trailing" constant="23" id="cqa-47-mrd"/>
+                                <constraint firstItem="RgF-hX-pTf" firstAttribute="centerY" secondItem="erx-Lf-TBX" secondAttribute="centerY" id="iTP-7D-lUT"/>
+                                <constraint firstAttribute="height" constant="56" id="m76-47-IrT"/>
+                                <constraint firstAttribute="trailing" secondItem="Dwj-Cl-21q" secondAttribute="trailing" constant="14" id="vEK-zO-7r4"/>
+                                <constraint firstItem="4us-Mp-dRF" firstAttribute="leading" secondItem="erx-Lf-TBX" secondAttribute="leading" constant="15" id="xnz-6d-lT8"/>
+                            </constraints>
+                            <connections>
+                                <outletCollection property="gestureRecognizers" destination="vSw-jg-TBu" appends="YES" id="aua-61-1aM"/>
+                            </connections>
+                        </view>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ky7-L1-IYi">
+                            <rect key="frame" x="0.0" y="202" width="386" height="56"/>
+                            <subviews>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="性别" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1jm-Ww-vTJ">
+                                    <rect key="frame" x="15" y="18.5" width="33" height="19.5"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8AL-Rb-Qs6">
+                                    <rect key="frame" x="14" y="55.5" width="358" height="0.5"/>
+                                    <color key="backgroundColor" red="0.97254901959999995" green="0.97254901959999995" blue="0.97254901959999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="0.5" id="iRe-AL-cer"/>
+                                    </constraints>
+                                </view>
+                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sex_unchoose" translatesAutoresizingMaskIntoConstraints="NO" id="5yU-2N-wmZ">
+                                    <rect key="frame" x="254" y="18" width="20" height="20"/>
+                                </imageView>
+                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sex_unchoose" translatesAutoresizingMaskIntoConstraints="NO" id="xGp-SR-qgR">
+                                    <rect key="frame" x="328" y="18" width="20" height="20"/>
+                                </imageView>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="女" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tdq-nC-MJQ">
+                                    <rect key="frame" x="355" y="18" width="17" height="20"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hdH-1x-oKq">
+                                    <rect key="frame" x="328" y="6" width="44" height="44"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="44" id="opP-vg-Wft"/>
+                                    </constraints>
+                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                    <connections>
+                                        <action selector="chooseSexFemale:" destination="iN0-l3-epB" eventType="touchUpInside" id="IjU-5L-PDp"/>
+                                    </connections>
+                                </button>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="男" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="udU-zu-rHW">
+                                    <rect key="frame" x="281" y="18" width="17" height="20"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bST-eC-P0v">
+                                    <rect key="frame" x="254" y="6" width="44" height="44"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="44" id="oM8-GF-rqb"/>
+                                    </constraints>
+                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                    <connections>
+                                        <action selector="chooseSexMan:" destination="iN0-l3-epB" eventType="touchUpInside" id="gfY-7W-fyX"/>
+                                    </connections>
+                                </button>
+                            </subviews>
+                            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                            <constraints>
+                                <constraint firstItem="1jm-Ww-vTJ" firstAttribute="leading" secondItem="Ky7-L1-IYi" secondAttribute="leading" constant="15" id="4yn-Nf-BIF"/>
+                                <constraint firstItem="bST-eC-P0v" firstAttribute="leading" secondItem="5yU-2N-wmZ" secondAttribute="leading" id="6RP-dD-zpQ"/>
+                                <constraint firstItem="xGp-SR-qgR" firstAttribute="centerY" secondItem="Ky7-L1-IYi" secondAttribute="centerY" id="8E6-uV-8qW"/>
+                                <constraint firstAttribute="height" constant="56" id="DbS-TZ-FCt"/>
+                                <constraint firstItem="xGp-SR-qgR" firstAttribute="leading" secondItem="udU-zu-rHW" secondAttribute="trailing" constant="30" id="F4S-Rx-CQj"/>
+                                <constraint firstItem="tdq-nC-MJQ" firstAttribute="centerY" secondItem="Ky7-L1-IYi" secondAttribute="centerY" id="JLI-Hk-UfI"/>
+                                <constraint firstItem="udU-zu-rHW" firstAttribute="leading" secondItem="5yU-2N-wmZ" secondAttribute="trailing" constant="7" id="LiB-rS-duE"/>
+                                <constraint firstAttribute="bottom" secondItem="8AL-Rb-Qs6" secondAttribute="bottom" id="Qwp-dZ-6mI"/>
+                                <constraint firstAttribute="trailing" secondItem="tdq-nC-MJQ" secondAttribute="trailing" constant="14" id="T5R-Hf-iQ7"/>
+                                <constraint firstItem="tdq-nC-MJQ" firstAttribute="centerY" secondItem="hdH-1x-oKq" secondAttribute="centerY" id="W87-QZ-KBa"/>
+                                <constraint firstAttribute="trailing" secondItem="8AL-Rb-Qs6" secondAttribute="trailing" constant="14" id="WqD-c0-ucM"/>
+                                <constraint firstItem="udU-zu-rHW" firstAttribute="centerY" secondItem="5yU-2N-wmZ" secondAttribute="centerY" id="Yf2-mr-kS8"/>
+                                <constraint firstItem="udU-zu-rHW" firstAttribute="centerY" secondItem="bST-eC-P0v" secondAttribute="centerY" id="Z8m-0f-nbj"/>
+                                <constraint firstItem="hdH-1x-oKq" firstAttribute="leading" secondItem="xGp-SR-qgR" secondAttribute="leading" id="a4i-a6-pPO"/>
+                                <constraint firstItem="1jm-Ww-vTJ" firstAttribute="centerY" secondItem="Ky7-L1-IYi" secondAttribute="centerY" id="dsZ-MJ-bZA"/>
+                                <constraint firstItem="8AL-Rb-Qs6" firstAttribute="leading" secondItem="Ky7-L1-IYi" secondAttribute="leading" constant="14" id="nxz-MO-IRi"/>
+                                <constraint firstItem="tdq-nC-MJQ" firstAttribute="centerY" secondItem="Ky7-L1-IYi" secondAttribute="centerY" id="ofn-lQ-wSA"/>
+                                <constraint firstItem="tdq-nC-MJQ" firstAttribute="trailing" secondItem="hdH-1x-oKq" secondAttribute="trailing" id="uc5-PJ-jeK"/>
+                                <constraint firstItem="tdq-nC-MJQ" firstAttribute="leading" secondItem="xGp-SR-qgR" secondAttribute="trailing" constant="7" id="wSf-48-N12"/>
+                                <constraint firstItem="udU-zu-rHW" firstAttribute="trailing" secondItem="bST-eC-P0v" secondAttribute="trailing" id="xug-0J-9YT"/>
+                                <constraint firstItem="tdq-nC-MJQ" firstAttribute="centerY" secondItem="5yU-2N-wmZ" secondAttribute="centerY" id="zi7-Du-QKh"/>
+                            </constraints>
+                        </view>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DcE-3r-3Mi">
+                            <rect key="frame" x="0.0" y="258" width="386" height="56"/>
+                            <subviews>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="手机号" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RIz-Tq-91p">
+                                    <rect key="frame" x="15" y="18.5" width="49" height="19.5"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="138 1095 2948" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PzI-8k-p0n">
+                                    <rect key="frame" x="235" y="18" width="111" height="20"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                    <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vcH-5I-sfc">
+                                    <rect key="frame" x="357" y="17" width="17" height="22"/>
+                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                    <state key="normal" image="eidt_icon"/>
+                                </button>
+                            </subviews>
+                            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                            <gestureRecognizers/>
+                            <constraints>
+                                <constraint firstItem="vcH-5I-sfc" firstAttribute="centerY" secondItem="DcE-3r-3Mi" secondAttribute="centerY" id="1Dm-25-sWG"/>
+                                <constraint firstItem="RIz-Tq-91p" firstAttribute="leading" secondItem="DcE-3r-3Mi" secondAttribute="leading" constant="15" id="8vu-zd-J61"/>
+                                <constraint firstItem="PzI-8k-p0n" firstAttribute="centerY" secondItem="DcE-3r-3Mi" secondAttribute="centerY" id="Fi9-hA-3lW"/>
+                                <constraint firstItem="RIz-Tq-91p" firstAttribute="centerY" secondItem="DcE-3r-3Mi" secondAttribute="centerY" id="fVf-iZ-2jl"/>
+                                <constraint firstAttribute="trailing" secondItem="vcH-5I-sfc" secondAttribute="trailing" constant="12" id="muW-aV-746"/>
+                                <constraint firstItem="vcH-5I-sfc" firstAttribute="leading" secondItem="PzI-8k-p0n" secondAttribute="trailing" constant="11" id="wUr-bL-2pC"/>
+                                <constraint firstAttribute="height" constant="56" id="yW2-Gz-Jjn"/>
+                            </constraints>
+                            <connections>
+                                <outletCollection property="gestureRecognizers" destination="TVu-qe-Ssh" appends="YES" id="558-Su-zVM"/>
+                            </connections>
+                        </view>
+                    </subviews>
+                    <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                    <constraints>
+                        <constraint firstItem="Ky7-L1-IYi" firstAttribute="leading" secondItem="6nX-dN-pAT" secondAttribute="leading" id="66n-MC-pxN"/>
+                        <constraint firstItem="erx-Lf-TBX" firstAttribute="leading" secondItem="6nX-dN-pAT" secondAttribute="leading" id="9b2-vG-onz"/>
+                        <constraint firstItem="Ky7-L1-IYi" firstAttribute="top" secondItem="erx-Lf-TBX" secondAttribute="bottom" id="HhF-yA-NLI"/>
+                        <constraint firstItem="jhb-fM-HX1" firstAttribute="leading" secondItem="6nX-dN-pAT" secondAttribute="leading" id="KpC-RQ-gOq"/>
+                        <constraint firstItem="DcE-3r-3Mi" firstAttribute="top" secondItem="Ky7-L1-IYi" secondAttribute="bottom" id="Lfy-bb-h1J"/>
+                        <constraint firstItem="jhb-fM-HX1" firstAttribute="top" secondItem="6nX-dN-pAT" secondAttribute="top" id="QD2-s8-gMH"/>
+                        <constraint firstAttribute="trailing" secondItem="Ky7-L1-IYi" secondAttribute="trailing" id="TRe-dG-31q"/>
+                        <constraint firstItem="Rk3-Zp-FsL" firstAttribute="top" secondItem="jhb-fM-HX1" secondAttribute="bottom" id="VUl-fo-wvU"/>
+                        <constraint firstAttribute="trailing" secondItem="jhb-fM-HX1" secondAttribute="trailing" id="cBq-1x-CUj"/>
+                        <constraint firstAttribute="trailing" secondItem="DcE-3r-3Mi" secondAttribute="trailing" id="fBG-Iq-2lH"/>
+                        <constraint firstAttribute="bottom" secondItem="DcE-3r-3Mi" secondAttribute="bottom" id="fZ9-ut-Qoc"/>
+                        <constraint firstItem="erx-Lf-TBX" firstAttribute="top" secondItem="Rk3-Zp-FsL" secondAttribute="bottom" id="pXC-Ar-Hpv"/>
+                        <constraint firstAttribute="trailing" secondItem="erx-Lf-TBX" secondAttribute="trailing" id="vNw-aa-bNc"/>
+                        <constraint firstAttribute="trailing" secondItem="Rk3-Zp-FsL" secondAttribute="trailing" id="wg8-DV-RGT"/>
+                        <constraint firstItem="DcE-3r-3Mi" firstAttribute="leading" secondItem="6nX-dN-pAT" secondAttribute="leading" id="xLz-4Q-9Fl"/>
+                        <constraint firstItem="Rk3-Zp-FsL" firstAttribute="leading" secondItem="6nX-dN-pAT" secondAttribute="leading" id="xOM-9U-ewE"/>
+                    </constraints>
+                    <userDefinedRuntimeAttributes>
+                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                            <real key="value" value="10"/>
+                        </userDefinedRuntimeAttribute>
+                    </userDefinedRuntimeAttributes>
+                </view>
+            </subviews>
+            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+            <constraints>
+                <constraint firstItem="6nX-dN-pAT" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="ds2-K8-ljy"/>
+                <constraint firstAttribute="trailing" secondItem="6nX-dN-pAT" secondAttribute="trailing" constant="14" id="rK1-mR-QOL"/>
+                <constraint firstItem="6nX-dN-pAT" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="12" id="xxi-v7-tg1"/>
+            </constraints>
+            <nil key="simulatedTopBarMetrics"/>
+            <nil key="simulatedBottomBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <connections>
+                <outlet property="auth_status" destination="cWO-oZ-Nzf" id="AhC-K2-YyJ"/>
+                <outlet property="phoneLabel" destination="PzI-8k-p0n" id="U2i-e5-7R8"/>
+                <outlet property="sexImage_female" destination="xGp-SR-qgR" id="ZXG-ke-al8"/>
+                <outlet property="sexImage_male" destination="5yU-2N-wmZ" id="31e-Ew-Crx"/>
+                <outlet property="user_avatar" destination="tsB-LK-3gu" id="jss-aU-nej"/>
+                <outlet property="user_nickname" destination="6p0-f0-nle" id="HXz-sF-rzQ"/>
+            </connections>
+            <point key="canvasLocation" x="131.8840579710145" y="-113.16964285714285"/>
+        </view>
+        <tapGestureRecognizer id="mbn-6K-OQj">
+            <connections>
+                <action selector="chooseImage:" destination="iN0-l3-epB" id="pt6-g2-4PX"/>
+            </connections>
+        </tapGestureRecognizer>
+        <tapGestureRecognizer id="UhQ-3c-kyY">
+            <connections>
+                <action selector="modifyNickname:" destination="iN0-l3-epB" id="xrc-CP-4L0"/>
+            </connections>
+        </tapGestureRecognizer>
+        <tapGestureRecognizer id="vSw-jg-TBu">
+            <connections>
+                <action selector="authDetail:" destination="iN0-l3-epB" id="LhM-iR-1b6"/>
+            </connections>
+        </tapGestureRecognizer>
+        <tapGestureRecognizer id="TVu-qe-Ssh">
+            <connections>
+                <action selector="modifyPhone:" destination="iN0-l3-epB" id="fb7-65-6B6"/>
+            </connections>
+        </tapGestureRecognizer>
+    </objects>
+    <resources>
+        <image name="eidt_icon" width="17" height="18"/>
+        <image name="sex_unchoose" width="20" height="20"/>
+        <image name="styleEdit_next" width="5" height="7"/>
+        <image name="style_camera" width="20" height="20"/>
+        <image name="user_default_avatal" width="52" height="52"/>
+        <systemColor name="systemBackgroundColor">
+            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+        </systemColor>
+    </resources>
+</document>

+ 3 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleIntroduceCell.m

@@ -45,6 +45,9 @@
 
     // Configure the view for the selected state
 }
+- (IBAction)editAction:(id)sender {
+    [self.inputView becomeFirstResponder];
+}
 
 #pragma mark   ---- delegate
 - (void)textViewDidBeginEditing:(UITextView *)textView {

+ 57 - 34
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleIntroduceCell.xib

@@ -11,46 +11,37 @@
     <objects>
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
         <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="135" id="KGk-i7-Jjw" customClass="MyStyleIntroduceCell">
-            <rect key="frame" x="0.0" y="0.0" width="370" height="130"/>
+        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="214" id="KGk-i7-Jjw" customClass="MyStyleIntroduceCell">
+            <rect key="frame" x="0.0" y="0.0" width="370" height="209"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
             <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
-                <rect key="frame" x="0.0" y="0.0" width="370" height="130"/>
+                <rect key="frame" x="0.0" y="0.0" width="370" height="209"/>
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qS1-BZ-o8g">
-                        <rect key="frame" x="14" y="0.0" width="342" height="118"/>
+                        <rect key="frame" x="14" y="0.0" width="342" height="197"/>
                         <subviews>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="myStyle_introduce" translatesAutoresizingMaskIntoConstraints="NO" id="DZt-bj-xrs">
-                                <rect key="frame" x="11" y="16" width="24" height="24"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="24" id="24y-Cq-3jT"/>
-                                    <constraint firstAttribute="height" constant="24" id="P95-j1-GvM"/>
-                                </constraints>
-                            </imageView>
                             <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="个人介绍" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="p2J-Pm-8GE">
-                                <rect key="frame" x="39" y="13" width="66" height="30"/>
+                                <rect key="frame" x="14" y="16" width="73.5" height="25"/>
                                 <constraints>
-                                    <constraint firstAttribute="height" constant="30" id="Jol-SP-RJE"/>
+                                    <constraint firstAttribute="height" constant="25" id="Jol-SP-RJE"/>
                                 </constraints>
-                                <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
+                                <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
                                 <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
                                 <nil key="highlightedColor"/>
                             </label>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0/200" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OFX-4u-Tl4">
-                                <rect key="frame" x="297" y="21" width="34" height="17"/>
+                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f0d-b8-bX7">
+                                <rect key="frame" x="15" y="56" width="314" height="0.5"/>
+                                <color key="backgroundColor" red="0.97254901959999995" green="0.97254901959999995" blue="0.97254901959999995" alpha="1" colorSpace="calibratedRGB"/>
                                 <constraints>
-                                    <constraint firstAttribute="height" constant="17" id="fbs-Gx-EXl"/>
+                                    <constraint firstAttribute="height" constant="0.5" id="Crh-qf-cxx"/>
                                 </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="12"/>
-                                <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
+                            </view>
                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nVp-UN-qho">
-                                <rect key="frame" x="15" y="56" width="312" height="37"/>
+                                <rect key="frame" x="15" y="68.5" width="312" height="82.5"/>
                                 <subviews>
                                     <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" bounces="NO" scrollEnabled="NO" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" bouncesZoom="NO" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="jYT-Z6-r6L">
-                                        <rect key="frame" x="0.0" y="0.0" width="312" height="37"/>
+                                        <rect key="frame" x="0.0" y="0.0" width="312" height="82.5"/>
                                         <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                                         <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
                                         <fontDescription key="fontDescription" type="system" pointSize="13"/>
@@ -74,19 +65,52 @@
                                     <constraint firstItem="kwG-fk-hq1" firstAttribute="top" secondItem="nVp-UN-qho" secondAttribute="top" constant="2" id="zeE-Pu-nWg"/>
                                 </constraints>
                             </view>
+                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="style_edit" translatesAutoresizingMaskIntoConstraints="NO" id="gkn-zm-0Lx">
+                                <rect key="frame" x="274" y="21.5" width="14" height="14"/>
+                            </imageView>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="编辑" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4pk-NC-BqN">
+                                <rect key="frame" x="292" y="18.5" width="33" height="20"/>
+                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
+                                <nil key="highlightedColor"/>
+                            </label>
+                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kTd-Gw-mJs">
+                                <rect key="frame" x="274" y="11.5" width="51" height="34"/>
+                                <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                <connections>
+                                    <action selector="editAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="Odh-qb-MvG"/>
+                                </connections>
+                            </button>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="最多200字介绍" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cHx-iD-juV">
+                                <rect key="frame" x="244" y="168" width="84" height="17"/>
+                                <constraints>
+                                    <constraint firstAttribute="height" constant="17" id="NMq-3A-B4A"/>
+                                </constraints>
+                                <fontDescription key="fontDescription" type="system" pointSize="12"/>
+                                <color key="textColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
+                                <nil key="highlightedColor"/>
+                            </label>
                         </subviews>
                         <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                         <constraints>
+                            <constraint firstItem="f0d-b8-bX7" firstAttribute="top" secondItem="p2J-Pm-8GE" secondAttribute="bottom" constant="15" id="0tw-zZ-q7H"/>
+                            <constraint firstAttribute="trailing" secondItem="cHx-iD-juV" secondAttribute="trailing" constant="14" id="21o-Vk-cC3"/>
                             <constraint firstItem="nVp-UN-qho" firstAttribute="leading" secondItem="qS1-BZ-o8g" secondAttribute="leading" constant="15" id="3mX-aH-Qnk"/>
-                            <constraint firstItem="nVp-UN-qho" firstAttribute="top" secondItem="p2J-Pm-8GE" secondAttribute="bottom" constant="13" id="5Sh-ub-LjC"/>
-                            <constraint firstItem="OFX-4u-Tl4" firstAttribute="top" secondItem="qS1-BZ-o8g" secondAttribute="top" constant="21" id="5mL-B9-ADl"/>
-                            <constraint firstAttribute="trailing" secondItem="OFX-4u-Tl4" secondAttribute="trailing" constant="11" id="Bbq-gc-Whn"/>
-                            <constraint firstItem="p2J-Pm-8GE" firstAttribute="leading" secondItem="DZt-bj-xrs" secondAttribute="trailing" constant="4" id="Ese-zf-KhB"/>
+                            <constraint firstAttribute="trailing" secondItem="4pk-NC-BqN" secondAttribute="trailing" constant="17" id="7NJ-rx-n1V"/>
+                            <constraint firstItem="4pk-NC-BqN" firstAttribute="centerY" secondItem="gkn-zm-0Lx" secondAttribute="centerY" id="N3T-cv-KOJ"/>
                             <constraint firstAttribute="trailing" secondItem="nVp-UN-qho" secondAttribute="trailing" constant="15" id="OVH-Ap-N2b"/>
-                            <constraint firstItem="p2J-Pm-8GE" firstAttribute="centerY" secondItem="DZt-bj-xrs" secondAttribute="centerY" id="hVT-pp-bFr"/>
-                            <constraint firstAttribute="bottom" secondItem="nVp-UN-qho" secondAttribute="bottom" constant="25" id="ktN-zw-WRZ"/>
-                            <constraint firstItem="DZt-bj-xrs" firstAttribute="leading" secondItem="qS1-BZ-o8g" secondAttribute="leading" constant="11" id="miM-MG-mwz"/>
-                            <constraint firstItem="DZt-bj-xrs" firstAttribute="top" secondItem="qS1-BZ-o8g" secondAttribute="top" constant="16" id="vKC-tU-lVm"/>
+                            <constraint firstItem="gkn-zm-0Lx" firstAttribute="centerY" secondItem="kTd-Gw-mJs" secondAttribute="centerY" id="RdC-pV-6pp"/>
+                            <constraint firstItem="4pk-NC-BqN" firstAttribute="centerY" secondItem="p2J-Pm-8GE" secondAttribute="centerY" id="T2x-9B-49K"/>
+                            <constraint firstItem="4pk-NC-BqN" firstAttribute="leading" secondItem="gkn-zm-0Lx" secondAttribute="trailing" constant="4" id="W7J-vm-k1B"/>
+                            <constraint firstItem="nVp-UN-qho" firstAttribute="top" secondItem="f0d-b8-bX7" secondAttribute="bottom" constant="12" id="b92-8g-kCV"/>
+                            <constraint firstItem="p2J-Pm-8GE" firstAttribute="leading" secondItem="qS1-BZ-o8g" secondAttribute="leading" constant="14" id="bR3-Ml-2dV"/>
+                            <constraint firstItem="kTd-Gw-mJs" firstAttribute="leading" secondItem="gkn-zm-0Lx" secondAttribute="leading" id="cBW-TT-dAV"/>
+                            <constraint firstItem="f0d-b8-bX7" firstAttribute="leading" secondItem="qS1-BZ-o8g" secondAttribute="leading" constant="15" id="cst-wf-hGS"/>
+                            <constraint firstItem="p2J-Pm-8GE" firstAttribute="top" secondItem="qS1-BZ-o8g" secondAttribute="top" constant="16" id="fzV-H5-Wmw"/>
+                            <constraint firstAttribute="bottom" secondItem="cHx-iD-juV" secondAttribute="bottom" constant="12" id="oJ1-y6-gKD"/>
+                            <constraint firstItem="cHx-iD-juV" firstAttribute="top" secondItem="nVp-UN-qho" secondAttribute="bottom" constant="17" id="tGt-zT-cfS"/>
+                            <constraint firstItem="4pk-NC-BqN" firstAttribute="trailing" secondItem="kTd-Gw-mJs" secondAttribute="trailing" id="tyC-6W-JCf"/>
+                            <constraint firstAttribute="trailing" secondItem="f0d-b8-bX7" secondAttribute="trailing" constant="13" id="z61-VW-f6j"/>
                         </constraints>
                         <userDefinedRuntimeAttributes>
                             <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
@@ -105,15 +129,14 @@
             <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
             <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
             <connections>
-                <outlet property="countLabel" destination="OFX-4u-Tl4" id="BAv-gK-yuS"/>
                 <outlet property="inputView" destination="jYT-Z6-r6L" id="rgb-Tc-Aer"/>
                 <outlet property="tipsLabel" destination="kwG-fk-hq1" id="bId-HU-WW4"/>
             </connections>
-            <point key="canvasLocation" x="166.66666666666669" y="110.49107142857143"/>
+            <point key="canvasLocation" x="166.66666666666669" y="136.94196428571428"/>
         </tableViewCell>
     </objects>
     <resources>
-        <image name="myStyle_introduce" width="24" height="24"/>
+        <image name="style_edit" width="14" height="14"/>
         <systemColor name="systemBackgroundColor">
             <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
         </systemColor>

+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleNavView.h

@@ -0,0 +1,22 @@
+//
+//  MyStyleNavView.h
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import <UIKit/UIKit.h>
+
+typedef void(^MyStyleSaveCallback)(BOOL isBack);
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MyStyleNavView : UIView
+
++ (instancetype)shareInstance;
+
+- (void)saveStyleAction:(MyStyleSaveCallback)callback;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 49 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleNavView.m

@@ -0,0 +1,49 @@
+//
+//  MyStyleNavView.m
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import "MyStyleNavView.h"
+
+@interface MyStyleNavView ()
+
+@property (nonatomic, copy) MyStyleSaveCallback callback;
+
+@end
+
+@implementation MyStyleNavView
+
+
++ (instancetype)shareInstance {
+    MyStyleNavView *view = [[[NSBundle mainBundle] loadNibNamed:@"MyStyleNavView" owner:nil options:nil] firstObject];
+    return view;
+}
+
+- (void)saveStyleAction:(MyStyleSaveCallback)callback {
+    if (callback) {
+        self.callback = callback;
+    }
+}
+
+- (IBAction)saveAction:(id)sender {
+    if (self.callback) {
+        self.callback(NO);
+    }
+}
+- (IBAction)backAction:(id)sender {
+    if (self.callback) {
+        self.callback(YES);
+    }
+}
+
+/*
+// Only override drawRect: if you perform custom drawing.
+// An empty implementation adversely affects performance during animation.
+- (void)drawRect:(CGRect)rect {
+    // Drawing code
+}
+*/
+
+@end

+ 92 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleNavView.xib

@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+    <device id="retina6_1" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MyStyleNavView">
+            <rect key="frame" x="0.0" y="0.0" width="414" height="121"/>
+            <autoresizingMask key="autoresizingMask"/>
+            <subviews>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YGr-sJ-ASe">
+                    <rect key="frame" x="0.0" y="77" width="414" height="44"/>
+                    <subviews>
+                        <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="back_black" translatesAutoresizingMaskIntoConstraints="NO" id="J1N-dM-6xR">
+                            <rect key="frame" x="14" y="12" width="12" height="20"/>
+                            <constraints>
+                                <constraint firstAttribute="height" constant="20" id="X5y-jT-hQB"/>
+                                <constraint firstAttribute="width" constant="12" id="tn4-w7-Qfc"/>
+                            </constraints>
+                        </imageView>
+                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hbY-7a-Gfd">
+                            <rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
+                            <constraints>
+                                <constraint firstAttribute="width" constant="44" id="dOr-9J-DWw"/>
+                            </constraints>
+                            <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                            <connections>
+                                <action selector="backAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="mtf-XP-BqQ"/>
+                            </connections>
+                        </button>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="我的风采编辑" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bU6-BQ-iXc">
+                            <rect key="frame" x="151.5" y="11" width="111" height="22"/>
+                            <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
+                            <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                            <nil key="highlightedColor"/>
+                        </label>
+                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XzJ-wE-EDk">
+                            <rect key="frame" x="347" y="8" width="53" height="28"/>
+                            <color key="backgroundColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                            <constraints>
+                                <constraint firstAttribute="height" constant="28" id="Cgo-4t-ItZ"/>
+                                <constraint firstAttribute="width" constant="53" id="iqy-wD-GVj"/>
+                            </constraints>
+                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                            <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                            <state key="normal" title="保存"/>
+                            <userDefinedRuntimeAttributes>
+                                <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                    <real key="value" value="14"/>
+                                </userDefinedRuntimeAttribute>
+                            </userDefinedRuntimeAttributes>
+                            <connections>
+                                <action selector="saveAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="9GI-Zd-buk"/>
+                            </connections>
+                        </button>
+                    </subviews>
+                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                    <constraints>
+                        <constraint firstItem="bU6-BQ-iXc" firstAttribute="centerY" secondItem="YGr-sJ-ASe" secondAttribute="centerY" id="7Bv-r4-lav"/>
+                        <constraint firstItem="J1N-dM-6xR" firstAttribute="centerY" secondItem="YGr-sJ-ASe" secondAttribute="centerY" id="DMn-4E-5g3"/>
+                        <constraint firstItem="XzJ-wE-EDk" firstAttribute="centerY" secondItem="YGr-sJ-ASe" secondAttribute="centerY" id="DzF-8w-F6S"/>
+                        <constraint firstItem="hbY-7a-Gfd" firstAttribute="top" secondItem="YGr-sJ-ASe" secondAttribute="top" id="MRf-Wb-8uc"/>
+                        <constraint firstAttribute="height" constant="44" id="Q5j-4J-ZnN"/>
+                        <constraint firstAttribute="bottom" secondItem="hbY-7a-Gfd" secondAttribute="bottom" id="YjW-e7-jqf"/>
+                        <constraint firstItem="J1N-dM-6xR" firstAttribute="leading" secondItem="YGr-sJ-ASe" secondAttribute="leading" constant="14" id="mVq-iC-x9s"/>
+                        <constraint firstAttribute="trailing" secondItem="XzJ-wE-EDk" secondAttribute="trailing" constant="14" id="nbe-Qg-XWl"/>
+                        <constraint firstItem="bU6-BQ-iXc" firstAttribute="centerX" secondItem="YGr-sJ-ASe" secondAttribute="centerX" id="rhU-qn-C0s"/>
+                        <constraint firstItem="hbY-7a-Gfd" firstAttribute="leading" secondItem="YGr-sJ-ASe" secondAttribute="leading" id="zij-W3-FBg"/>
+                    </constraints>
+                </view>
+            </subviews>
+            <color key="backgroundColor" red="0.97254901960784312" green="0.97647058823529409" blue="0.9882352941176471" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+            <constraints>
+                <constraint firstAttribute="bottom" secondItem="YGr-sJ-ASe" secondAttribute="bottom" id="BGf-d0-hw6"/>
+                <constraint firstAttribute="trailing" secondItem="YGr-sJ-ASe" secondAttribute="trailing" id="VgT-5T-U8W"/>
+                <constraint firstItem="YGr-sJ-ASe" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="yk1-RQ-EOw"/>
+            </constraints>
+            <nil key="simulatedTopBarMetrics"/>
+            <nil key="simulatedBottomBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <point key="canvasLocation" x="131.8840579710145" y="-57.924107142857139"/>
+        </view>
+    </objects>
+    <resources>
+        <image name="back_black" width="12" height="20"/>
+    </resources>
+</document>

+ 0 - 192
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleVideoView.xib

@@ -1,192 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
-    <device id="retina6_1" orientation="portrait" appearance="light"/>
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MyStyleVideoView">
-            <rect key="frame" x="0.0" y="0.0" width="189" height="149"/>
-            <autoresizingMask key="autoresizingMask"/>
-            <subviews>
-                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WuF-SO-sA0">
-                    <rect key="frame" x="11" y="11" width="167" height="89"/>
-                    <subviews>
-                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yW1-Ft-tPa">
-                            <rect key="frame" x="0.0" y="0.0" width="167" height="89"/>
-                            <subviews>
-                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="video_placeholder" translatesAutoresizingMaskIntoConstraints="NO" id="BIR-6B-TMy">
-                                    <rect key="frame" x="0.0" y="0.0" width="167" height="89"/>
-                                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                                </imageView>
-                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="OZG-D1-yjf">
-                                    <rect key="frame" x="61.5" y="22.5" width="44" height="44"/>
-                                    <constraints>
-                                        <constraint firstAttribute="width" constant="44" id="53z-Tr-lxo"/>
-                                        <constraint firstAttribute="height" constant="44" id="lwS-lm-DZF"/>
-                                    </constraints>
-                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                                    <state key="normal" image="playVideo_image"/>
-                                    <connections>
-                                        <action selector="playAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="XHr-TW-yDL"/>
-                                    </connections>
-                                </button>
-                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="72W-xH-t4Q">
-                                    <rect key="frame" x="7" y="6" width="37" height="16"/>
-                                    <subviews>
-                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="审核中" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KqJ-Gg-WIi">
-                                            <rect key="frame" x="3" y="0.0" width="31" height="16"/>
-                                            <fontDescription key="fontDescription" type="system" pointSize="10"/>
-                                            <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                                            <nil key="highlightedColor"/>
-                                        </label>
-                                    </subviews>
-                                    <color key="backgroundColor" red="0.99215686274509807" green="0.38039215686274508" blue="0.38039215686274508" alpha="1" colorSpace="calibratedRGB"/>
-                                    <constraints>
-                                        <constraint firstAttribute="height" constant="16" id="JUj-t1-37C"/>
-                                        <constraint firstItem="KqJ-Gg-WIi" firstAttribute="top" secondItem="72W-xH-t4Q" secondAttribute="top" id="QPX-SE-mNw"/>
-                                        <constraint firstAttribute="bottom" secondItem="KqJ-Gg-WIi" secondAttribute="bottom" id="Tpy-zX-c4N"/>
-                                        <constraint firstItem="KqJ-Gg-WIi" firstAttribute="leading" secondItem="72W-xH-t4Q" secondAttribute="leading" constant="3" id="j6Q-Kj-lNp"/>
-                                        <constraint firstAttribute="trailing" secondItem="KqJ-Gg-WIi" secondAttribute="trailing" constant="3" id="yk1-u8-VW6"/>
-                                    </constraints>
-                                    <userDefinedRuntimeAttributes>
-                                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                            <real key="value" value="3"/>
-                                        </userDefinedRuntimeAttribute>
-                                    </userDefinedRuntimeAttributes>
-                                </view>
-                            </subviews>
-                            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                            <constraints>
-                                <constraint firstItem="OZG-D1-yjf" firstAttribute="centerY" secondItem="yW1-Ft-tPa" secondAttribute="centerY" id="2tI-bB-hqQ"/>
-                                <constraint firstAttribute="bottom" secondItem="BIR-6B-TMy" secondAttribute="bottom" id="Ccy-1N-ZoF"/>
-                                <constraint firstItem="72W-xH-t4Q" firstAttribute="leading" secondItem="yW1-Ft-tPa" secondAttribute="leading" constant="7" id="Ph5-n7-JaT"/>
-                                <constraint firstItem="BIR-6B-TMy" firstAttribute="top" secondItem="yW1-Ft-tPa" secondAttribute="top" id="UKh-xX-eOM"/>
-                                <constraint firstItem="OZG-D1-yjf" firstAttribute="centerX" secondItem="yW1-Ft-tPa" secondAttribute="centerX" id="dF4-i4-gfe"/>
-                                <constraint firstAttribute="trailing" secondItem="BIR-6B-TMy" secondAttribute="trailing" id="g1w-vJ-Pko"/>
-                                <constraint firstItem="72W-xH-t4Q" firstAttribute="top" secondItem="yW1-Ft-tPa" secondAttribute="top" constant="6" id="gMR-At-n6w"/>
-                                <constraint firstItem="BIR-6B-TMy" firstAttribute="leading" secondItem="yW1-Ft-tPa" secondAttribute="leading" id="wnO-Lh-PDe"/>
-                            </constraints>
-                            <userDefinedRuntimeAttributes>
-                                <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                    <real key="value" value="10"/>
-                                </userDefinedRuntimeAttribute>
-                            </userDefinedRuntimeAttributes>
-                        </view>
-                    </subviews>
-                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                    <constraints>
-                        <constraint firstAttribute="bottom" secondItem="yW1-Ft-tPa" secondAttribute="bottom" id="KaP-9q-TvT"/>
-                        <constraint firstAttribute="trailing" secondItem="yW1-Ft-tPa" secondAttribute="trailing" id="LAZ-lo-IGi"/>
-                        <constraint firstItem="yW1-Ft-tPa" firstAttribute="leading" secondItem="WuF-SO-sA0" secondAttribute="leading" id="kjg-Nj-f4K"/>
-                        <constraint firstItem="yW1-Ft-tPa" firstAttribute="top" secondItem="WuF-SO-sA0" secondAttribute="top" id="xlC-QY-yW3"/>
-                    </constraints>
-                    <userDefinedRuntimeAttributes>
-                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                            <real key="value" value="10"/>
-                        </userDefinedRuntimeAttribute>
-                    </userDefinedRuntimeAttributes>
-                </view>
-                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eDd-Nb-XT6">
-                    <rect key="frame" x="167" y="0.0" width="22" height="22"/>
-                    <constraints>
-                        <constraint firstAttribute="width" constant="22" id="6gD-Kf-v5S"/>
-                        <constraint firstAttribute="height" constant="22" id="JAm-IO-VOs"/>
-                    </constraints>
-                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                    <state key="normal" image="video_delete"/>
-                    <connections>
-                        <action selector="deleteAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="OVn-Fy-Ykx"/>
-                    </connections>
-                </button>
-                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mPZ-JU-Dlk">
-                    <rect key="frame" x="11" y="110" width="167" height="28"/>
-                    <subviews>
-                        <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="upload_coverImage" translatesAutoresizingMaskIntoConstraints="NO" id="kqO-3x-9tV">
-                            <rect key="frame" x="14" y="8" width="16" height="12"/>
-                            <constraints>
-                                <constraint firstAttribute="width" constant="16" id="7LP-zn-1DR"/>
-                                <constraint firstAttribute="height" constant="12" id="jDY-gY-moJ"/>
-                            </constraints>
-                        </imageView>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请上传视频封面" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="9vj-4a-9OQ">
-                            <rect key="frame" x="38" y="5.5" width="124" height="17"/>
-                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                            <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                            <nil key="highlightedColor"/>
-                        </label>
-                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4c9-tO-NV2">
-                            <rect key="frame" x="0.0" y="0.0" width="167" height="28"/>
-                            <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                            <connections>
-                                <action selector="uploadImage:" destination="iN0-l3-epB" eventType="touchUpInside" id="1Sc-Ev-Ajk"/>
-                            </connections>
-                        </button>
-                    </subviews>
-                    <color key="backgroundColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
-                    <constraints>
-                        <constraint firstItem="4c9-tO-NV2" firstAttribute="top" secondItem="mPZ-JU-Dlk" secondAttribute="top" id="5Fl-9h-YeH"/>
-                        <constraint firstItem="4c9-tO-NV2" firstAttribute="leading" secondItem="mPZ-JU-Dlk" secondAttribute="leading" id="8p0-vb-uE8"/>
-                        <constraint firstAttribute="trailing" secondItem="9vj-4a-9OQ" secondAttribute="trailing" constant="5" id="Peg-g3-lg2"/>
-                        <constraint firstItem="kqO-3x-9tV" firstAttribute="centerY" secondItem="mPZ-JU-Dlk" secondAttribute="centerY" id="T86-on-B91"/>
-                        <constraint firstAttribute="bottom" secondItem="4c9-tO-NV2" secondAttribute="bottom" id="UCn-T3-W0v"/>
-                        <constraint firstItem="9vj-4a-9OQ" firstAttribute="centerY" secondItem="kqO-3x-9tV" secondAttribute="centerY" id="W1a-xE-pkD"/>
-                        <constraint firstAttribute="trailing" secondItem="4c9-tO-NV2" secondAttribute="trailing" id="XAh-Lw-JNU"/>
-                        <constraint firstItem="9vj-4a-9OQ" firstAttribute="leading" secondItem="kqO-3x-9tV" secondAttribute="trailing" constant="8" id="iAH-l2-7b1"/>
-                        <constraint firstItem="kqO-3x-9tV" firstAttribute="leading" secondItem="mPZ-JU-Dlk" secondAttribute="leading" constant="14" id="tto-p4-mwi"/>
-                        <constraint firstAttribute="height" constant="28" id="uHe-se-oaq"/>
-                    </constraints>
-                    <userDefinedRuntimeAttributes>
-                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                            <real key="value" value="14"/>
-                        </userDefinedRuntimeAttribute>
-                        <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
-                            <real key="value" value="1"/>
-                        </userDefinedRuntimeAttribute>
-                        <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
-                            <color key="value" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
-                        </userDefinedRuntimeAttribute>
-                    </userDefinedRuntimeAttributes>
-                </view>
-            </subviews>
-            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-            <constraints>
-                <constraint firstItem="mPZ-JU-Dlk" firstAttribute="top" secondItem="WuF-SO-sA0" secondAttribute="bottom" constant="10" id="4L5-bL-p8e"/>
-                <constraint firstItem="WuF-SO-sA0" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="11" id="Awj-xd-HkT"/>
-                <constraint firstItem="WuF-SO-sA0" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="11" id="Gpz-wO-fyq"/>
-                <constraint firstAttribute="trailing" secondItem="mPZ-JU-Dlk" secondAttribute="trailing" constant="11" id="Oig-1g-Xw8"/>
-                <constraint firstItem="eDd-Nb-XT6" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="Zov-67-BYN"/>
-                <constraint firstAttribute="trailing" secondItem="WuF-SO-sA0" secondAttribute="trailing" constant="11" id="l2u-1T-svm"/>
-                <constraint firstAttribute="bottom" secondItem="mPZ-JU-Dlk" secondAttribute="bottom" constant="11" id="sBK-4A-ko5"/>
-                <constraint firstAttribute="trailing" secondItem="eDd-Nb-XT6" secondAttribute="trailing" id="w36-R4-n8C"/>
-                <constraint firstItem="mPZ-JU-Dlk" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="11" id="w6P-bO-UCc"/>
-            </constraints>
-            <nil key="simulatedTopBarMetrics"/>
-            <nil key="simulatedBottomBarMetrics"/>
-            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
-            <connections>
-                <outlet property="bottomViewLeading" destination="sBK-4A-ko5" id="LNG-Rn-aee"/>
-                <outlet property="deleteButton" destination="eDd-Nb-XT6" id="BRf-MY-RoT"/>
-                <outlet property="imageView" destination="BIR-6B-TMy" id="c3X-du-xBM"/>
-                <outlet property="playButton" destination="OZG-D1-yjf" id="gCd-ZW-DMs"/>
-                <outlet property="statusLabel" destination="KqJ-Gg-WIi" id="8LE-in-UaC"/>
-                <outlet property="statusView" destination="72W-xH-t4Q" id="mst-yv-eoz"/>
-                <outlet property="uploadImageIcon" destination="kqO-3x-9tV" id="cul-5S-pgc"/>
-                <outlet property="uploadImageTitle" destination="9vj-4a-9OQ" id="Wld-9e-2ZY"/>
-                <outlet property="uploadImageView" destination="mPZ-JU-Dlk" id="cTC-N3-eut"/>
-                <outlet property="uploadImageViewHeight" destination="uHe-se-oaq" id="76h-OQ-qFQ"/>
-            </connections>
-            <point key="canvasLocation" x="119.56521739130436" y="-179.12946428571428"/>
-        </view>
-    </objects>
-    <resources>
-        <image name="playVideo_image" width="26" height="26"/>
-        <image name="upload_coverImage" width="16" height="12"/>
-        <image name="video_delete" width="22" height="22"/>
-        <image name="video_placeholder" width="103" height="72"/>
-    </resources>
-</document>

+ 0 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleVideoCell.h → KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoCell.h


+ 12 - 21
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleVideoCell.m → KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoCell.m

@@ -38,46 +38,38 @@
 - (void)configWithSource:(NSMutableArray *)videoArray {
     [self.videoContainer removeAllSubViews];
     self.videoArray = videoArray;
-    
-    CGFloat viewWidth = (kScreenWidth - 14 * 2) / 2.0f;
-    CGFloat height = 128.0f + 39;
+    CGFloat leftSpace = 14.0f;
+    CGFloat space = 7.0f;
+    CGFloat viewWidth = (kScreenWidth -  leftSpace * 4 - space) / 2.0f;
+    CGFloat height = 210.0f;
     CGFloat xPosition = 0.0f;
     CGFloat yPosition = 0.0f;
     for (NSInteger i = 0; i < videoArray.count; i++) {
         StyleVideoModel *model = self.videoArray[i];
         if (i % 2 == 0 && i != 0) {
-            yPosition += height;
+            yPosition += (height + space);
             xPosition = 0.0f;
         }
         MyStyleVideoView *videoView = [MyStyleVideoView shareInstance];
         videoView.frame = CGRectMake(xPosition, yPosition, viewWidth, height);
         videoView.tag = i + 1000;
-        videoView.showUploadImageView = YES;
+        videoView.showUploadView = YES;
         [self.videoContainer addSubview:videoView];
         [videoView configWithSource:model];
         MJWeakSelf;
         [videoView videoOperationAcion:^(STYLEVIDEO type, MyStyleVideoView * _Nonnull videoView) {
             [weakSelf previewVideoAction:type inView:videoView];
         }];
-        xPosition += viewWidth;
+        xPosition += (viewWidth + space);
     }
     
-    if (videoArray.count < 5) {
-        if (videoArray.count % 2 == 0 && videoArray.count != 0) {
-            yPosition += height;
-            xPosition = 0.0f;
-        }
-        MyStyleVideoChooseView *view = [[MyStyleVideoChooseView alloc] initWithFrame:CGRectMake(xPosition, yPosition, viewWidth, 128)];
-        MJWeakSelf;
-        [view chooseCallback:^{
-            [weakSelf chooseVideo];
-        }];
-        [self.videoContainer addSubview:view];
-        CGFloat viewheight = xPosition == 0 ? 128 : height;
+    
+    if (videoArray.count > 0) {
+        CGFloat viewheight = xPosition == 0 ? 210.0f : height;
         self.containerHeight.constant = yPosition + viewheight;
     }
     else {
-        self.containerHeight.constant = yPosition + height;
+        self.containerHeight.constant = 0.0f;
     }
 }
 
@@ -87,13 +79,12 @@
     }
 }
 
-- (void)chooseVideo {
+- (IBAction)chooseVideoAction:(id)sender {
     if (self.callback) {
         self.callback(STYLEVIDEO_CHOOSEFILE, nil);
     }
 }
 
-
 - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
     [super setSelected:selected animated:animated];
 

+ 44 - 20
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleVideoCell.xib → KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoCell.xib

@@ -21,40 +21,64 @@
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Hma-vR-10P">
                         <rect key="frame" x="14" y="0.0" width="292" height="252"/>
                         <subviews>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="myStyle_video" translatesAutoresizingMaskIntoConstraints="NO" id="h8L-9t-fxP">
-                                <rect key="frame" x="12" y="17" width="24" height="24"/>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="达人风采" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vsk-ct-XNk">
+                                <rect key="frame" x="14" y="16" width="66" height="25"/>
                                 <constraints>
-                                    <constraint firstAttribute="height" constant="24" id="44c-uB-iFM"/>
-                                    <constraint firstAttribute="width" constant="24" id="pNy-7X-Hgz"/>
-                                </constraints>
-                            </imageView>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="老师风采" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vsk-ct-XNk">
-                                <rect key="frame" x="40" y="14" width="66" height="30"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="30" id="ZtD-S1-QNK"/>
+                                    <constraint firstAttribute="height" constant="25" id="ZtD-S1-QNK"/>
                                 </constraints>
                                 <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
                                 <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
                                 <nil key="highlightedColor"/>
                             </label>
+                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CYy-9L-8yV">
+                                <rect key="frame" x="15" y="56" width="264" height="0.5"/>
+                                <color key="backgroundColor" red="0.97254901959999995" green="0.97254901959999995" blue="0.97254901959999995" alpha="1" colorSpace="calibratedRGB"/>
+                                <constraints>
+                                    <constraint firstAttribute="height" constant="0.5" id="4J0-gw-qy5"/>
+                                </constraints>
+                            </view>
                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uSh-fN-7mG">
-                                <rect key="frame" x="0.0" y="62" width="292" height="172"/>
+                                <rect key="frame" x="14" y="59" width="264" height="175"/>
                                 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                                 <constraints>
-                                    <constraint firstAttribute="height" constant="172" id="c88-mj-nEn"/>
+                                    <constraint firstAttribute="height" constant="175" id="Z3h-Rz-k2P"/>
                                 </constraints>
                             </view>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="添加" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jEI-Zs-HdO">
+                                <rect key="frame" x="242" y="18.5" width="33" height="20"/>
+                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
+                                <nil key="highlightedColor"/>
+                            </label>
+                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="styleVideo_add" translatesAutoresizingMaskIntoConstraints="NO" id="6um-Mr-tcw">
+                                <rect key="frame" x="222" y="21.5" width="14" height="14"/>
+                            </imageView>
+                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Npg-OK-mig">
+                                <rect key="frame" x="222" y="11.5" width="53" height="34"/>
+                                <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                <connections>
+                                    <action selector="chooseVideoAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="MC8-rp-vLj"/>
+                                </connections>
+                            </button>
                         </subviews>
                         <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                         <constraints>
-                            <constraint firstItem="vsk-ct-XNk" firstAttribute="centerY" secondItem="h8L-9t-fxP" secondAttribute="centerY" id="02c-ZC-p3Q"/>
-                            <constraint firstItem="h8L-9t-fxP" firstAttribute="top" secondItem="Hma-vR-10P" secondAttribute="top" constant="17" id="2hA-HO-ltI"/>
-                            <constraint firstAttribute="trailing" secondItem="uSh-fN-7mG" secondAttribute="trailing" id="EJe-zh-u6C"/>
-                            <constraint firstItem="vsk-ct-XNk" firstAttribute="leading" secondItem="h8L-9t-fxP" secondAttribute="trailing" constant="4" id="NTy-4b-UdN"/>
+                            <constraint firstItem="Npg-OK-mig" firstAttribute="leading" secondItem="6um-Mr-tcw" secondAttribute="leading" id="5ni-vL-Urv"/>
+                            <constraint firstItem="jEI-Zs-HdO" firstAttribute="centerY" secondItem="vsk-ct-XNk" secondAttribute="centerY" id="8lp-Nc-Ly0"/>
+                            <constraint firstAttribute="trailing" secondItem="uSh-fN-7mG" secondAttribute="trailing" constant="14" id="EJe-zh-u6C"/>
+                            <constraint firstAttribute="trailing" secondItem="jEI-Zs-HdO" secondAttribute="trailing" constant="17" id="Elb-o6-wqf"/>
+                            <constraint firstItem="6um-Mr-tcw" firstAttribute="centerY" secondItem="Npg-OK-mig" secondAttribute="centerY" id="HHZ-Gk-D0a"/>
+                            <constraint firstItem="vsk-ct-XNk" firstAttribute="leading" secondItem="Hma-vR-10P" secondAttribute="leading" constant="14" id="J2f-Jn-yXd"/>
                             <constraint firstItem="uSh-fN-7mG" firstAttribute="top" secondItem="vsk-ct-XNk" secondAttribute="bottom" constant="18" id="QxL-bD-SSH"/>
-                            <constraint firstItem="h8L-9t-fxP" firstAttribute="leading" secondItem="Hma-vR-10P" secondAttribute="leading" constant="12" id="XSs-yL-FXo"/>
-                            <constraint firstItem="uSh-fN-7mG" firstAttribute="leading" secondItem="Hma-vR-10P" secondAttribute="leading" id="Zcd-xo-xUi"/>
+                            <constraint firstItem="jEI-Zs-HdO" firstAttribute="leading" secondItem="6um-Mr-tcw" secondAttribute="trailing" constant="6" id="WYj-OY-yrD"/>
+                            <constraint firstItem="uSh-fN-7mG" firstAttribute="leading" secondItem="Hma-vR-10P" secondAttribute="leading" constant="14" id="Zcd-xo-xUi"/>
+                            <constraint firstItem="CYy-9L-8yV" firstAttribute="top" secondItem="vsk-ct-XNk" secondAttribute="bottom" constant="15" id="Zim-vy-S2l"/>
+                            <constraint firstItem="CYy-9L-8yV" firstAttribute="leading" secondItem="Hma-vR-10P" secondAttribute="leading" constant="15" id="blp-mx-XSD"/>
+                            <constraint firstAttribute="trailing" secondItem="CYy-9L-8yV" secondAttribute="trailing" constant="13" id="c7A-1b-VJf"/>
+                            <constraint firstItem="jEI-Zs-HdO" firstAttribute="centerY" secondItem="6um-Mr-tcw" secondAttribute="centerY" id="gNu-mz-Qp3"/>
+                            <constraint firstItem="jEI-Zs-HdO" firstAttribute="trailing" secondItem="Npg-OK-mig" secondAttribute="trailing" id="nCz-ok-k1K"/>
                             <constraint firstAttribute="bottom" secondItem="uSh-fN-7mG" secondAttribute="bottom" constant="18" id="nqW-i7-Buy"/>
+                            <constraint firstItem="vsk-ct-XNk" firstAttribute="top" secondItem="Hma-vR-10P" secondAttribute="top" constant="16" id="tbs-tc-AhM"/>
                         </constraints>
                         <userDefinedRuntimeAttributes>
                             <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
@@ -73,14 +97,14 @@
             <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
             <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
             <connections>
-                <outlet property="containerHeight" destination="c88-mj-nEn" id="FOe-z1-QeT"/>
+                <outlet property="containerHeight" destination="Z3h-Rz-k2P" id="QeX-C7-oZE"/>
                 <outlet property="videoContainer" destination="uSh-fN-7mG" id="l7N-7e-Gcj"/>
             </connections>
             <point key="canvasLocation" x="131.8840579710145" y="141.29464285714286"/>
         </tableViewCell>
     </objects>
     <resources>
-        <image name="myStyle_video" width="24" height="24"/>
+        <image name="styleVideo_add" width="14" height="14"/>
         <systemColor name="systemBackgroundColor">
             <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
         </systemColor>

+ 1 - 3
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleVideoView.h → KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoView.h

@@ -16,9 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
 
 @interface MyStyleVideoView : UIView
 
-@property (nonatomic, assign) BOOL hideDeleteButton;
-
-@property (nonatomic, assign) BOOL showUploadImageView;
+@property (nonatomic, assign) BOOL showUploadView;
 
 + (instancetype)shareInstance;
 

+ 24 - 38
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleVideoView.m → KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoView.m

@@ -12,7 +12,7 @@
 
 @property (weak, nonatomic) IBOutlet UIButton *playButton;
 
-@property (weak, nonatomic) IBOutlet UIButton *deleteButton;
+@property (weak, nonatomic) IBOutlet UIView *descView;
 
 @property (weak, nonatomic) IBOutlet UIImageView *imageView;
 
@@ -21,13 +21,13 @@
 @property (weak, nonatomic) IBOutlet UIView *statusView;
 @property (weak, nonatomic) IBOutlet UILabel *statusLabel;
 
-@property (weak, nonatomic) IBOutlet UIView *uploadImageView;
-@property (weak, nonatomic) IBOutlet UIImageView *uploadImageIcon;
 @property (weak, nonatomic) IBOutlet UILabel *uploadImageTitle;
 
-@property (weak, nonatomic) IBOutlet NSLayoutConstraint *uploadImageViewHeight;
-@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomViewLeading;
+@property (weak, nonatomic) IBOutlet UIView *uploadView;
 
+@property (weak, nonatomic) IBOutlet NSLayoutConstraint *uploadViewHeight;
+
+@property (weak, nonatomic) IBOutlet NSLayoutConstraint *uploadViewTop;
 
 @end
 
@@ -52,21 +52,21 @@
 - (void)configWithSource:(StyleVideoModel *)source {
     if ([NSString isEmptyString:source.cover]) {
         [KSVideoHelper getVideoPreviewImageUrl:source.videoUrl forImageView:self.imageView placeholder:[UIImage imageNamed:@"video_placeholder"]];
-        if (self.showUploadImageView) {
-            self.uploadImageView.backgroundColor = THEMECOLOR;
-            [self.uploadImageIcon setImage:[UIImage imageNamed:@"upload_coverImage"]];
-            [self.uploadImageTitle setText:@"请上传视频封面"];
-            [self.uploadImageTitle setTextColor:[UIColor whiteColor]];
+        if (self.showUploadView) {
+            [self.uploadImageTitle setText:@"上传封面"];
+            self.playButton.hidden = YES;
+            self.descView.hidden = NO;
+        }
+        else {
+            self.playButton.hidden = NO;
+            self.descView.hidden = YES;
         }
     }
     else {
         [self.imageView sd_setImageWithURL:[NSURL URLWithString:[source.cover getUrlEndcodeString]] placeholderImage:[UIImage imageNamed:@"video_placeholder"]];
-        if (self.showUploadImageView) {
-            self.uploadImageView.backgroundColor = HexRGB(0xe9fff8);
-            [self.uploadImageIcon setImage:[UIImage imageNamed:@"change_videoCover"]];
-            [self.uploadImageTitle setText:@"更换视频封面"];
-            [self.uploadImageTitle setTextColor:THEMECOLOR];
-        }
+        [self.uploadImageTitle setText:@"更换封面"];
+        self.playButton.hidden = NO;
+        self.descView.hidden = YES;
     }
     
     if ([source.authStatus isEqualToString:@"DOING"]) {
@@ -93,38 +93,24 @@
         self.callback(STYLEVIDEO_DELETE, self);
     }
 }
+
 - (IBAction)uploadImage:(id)sender {
     if (self.callback) {
         self.callback(STYLEVIDEO_CHOOSEIMAGE, self);
     }
 }
 
-- (void)setHideDeleteButton:(BOOL)hideDeleteButton {
-    _hideDeleteButton = hideDeleteButton;
-    if (hideDeleteButton) {
-        self.deleteButton.hidden = YES;
-        self.deleteButton.userInteractionEnabled = NO;
-    }
-    else {
-        self.deleteButton.hidden = NO;
-        self.deleteButton.userInteractionEnabled = YES;
-    }
-}
-
-- (void)setShowUploadImageView:(BOOL)showUploadImageView {
-    _showUploadImageView = showUploadImageView;
-    if (showUploadImageView) {
-        self.uploadImageView.hidden = NO;
-        self.uploadImageViewHeight.constant = 28.0f;
-        self.bottomViewLeading.constant = 11.0f;
+- (void)setShowUploadView:(BOOL)showUploadView {
+    _showUploadView = showUploadView;
+    if (showUploadView) {
+        self.uploadView.hidden = NO;
+        self.uploadViewTop.constant = 10.0f;
     }
     else {
-        self.uploadImageView.hidden = YES;
-        self.uploadImageViewHeight.constant = 0.0f;
-        self.bottomViewLeading.constant = 1.0f;
+        self.uploadView.hidden = YES;
+        self.uploadViewTop.constant = 0.0f;
     }
 }
-
 /*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.

+ 243 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoView.xib

@@ -0,0 +1,243 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+    <device id="retina6_1" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MyStyleVideoView">
+            <rect key="frame" x="0.0" y="0.0" width="225" height="210"/>
+            <autoresizingMask key="autoresizingMask"/>
+            <subviews>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WuF-SO-sA0">
+                    <rect key="frame" x="0.0" y="0.0" width="225" height="156"/>
+                    <subviews>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yW1-Ft-tPa">
+                            <rect key="frame" x="0.0" y="0.0" width="225" height="156"/>
+                            <subviews>
+                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="AYk-9M-MfH">
+                                    <rect key="frame" x="0.0" y="0.0" width="225" height="156"/>
+                                </imageView>
+                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yWv-Af-dhq">
+                                    <rect key="frame" x="0.0" y="0.0" width="225" height="156"/>
+                                    <subviews>
+                                        <view alpha="0.40000000000000002" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Jgh-Gq-mm7">
+                                            <rect key="frame" x="0.0" y="0.0" width="225" height="156"/>
+                                            <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                        </view>
+                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请上传视频封面" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9cj-2d-O7h">
+                                            <rect key="frame" x="62.5" y="69.5" width="100" height="17"/>
+                                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                            <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                                            <nil key="highlightedColor"/>
+                                        </label>
+                                    </subviews>
+                                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                                    <constraints>
+                                        <constraint firstAttribute="bottom" secondItem="Jgh-Gq-mm7" secondAttribute="bottom" id="4nk-EL-x3x"/>
+                                        <constraint firstItem="9cj-2d-O7h" firstAttribute="centerX" secondItem="yWv-Af-dhq" secondAttribute="centerX" id="4zn-iw-sEP"/>
+                                        <constraint firstItem="Jgh-Gq-mm7" firstAttribute="leading" secondItem="yWv-Af-dhq" secondAttribute="leading" id="7UF-C0-fq3"/>
+                                        <constraint firstAttribute="trailing" secondItem="Jgh-Gq-mm7" secondAttribute="trailing" id="VbW-fI-hWp"/>
+                                        <constraint firstItem="9cj-2d-O7h" firstAttribute="centerY" secondItem="yWv-Af-dhq" secondAttribute="centerY" id="k3d-Kk-cZz"/>
+                                        <constraint firstItem="Jgh-Gq-mm7" firstAttribute="top" secondItem="yWv-Af-dhq" secondAttribute="top" id="wN2-Cg-vmX"/>
+                                    </constraints>
+                                </view>
+                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="OZG-D1-yjf">
+                                    <rect key="frame" x="90.5" y="56" width="44" height="44"/>
+                                    <constraints>
+                                        <constraint firstAttribute="width" constant="44" id="53z-Tr-lxo"/>
+                                        <constraint firstAttribute="height" constant="44" id="lwS-lm-DZF"/>
+                                    </constraints>
+                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                    <state key="normal" image="playVideo_image"/>
+                                    <connections>
+                                        <action selector="playAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="XHr-TW-yDL"/>
+                                    </connections>
+                                </button>
+                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="72W-xH-t4Q">
+                                    <rect key="frame" x="7" y="6" width="37" height="16"/>
+                                    <subviews>
+                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="审核中" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KqJ-Gg-WIi">
+                                            <rect key="frame" x="3" y="0.0" width="31" height="16"/>
+                                            <fontDescription key="fontDescription" type="system" pointSize="10"/>
+                                            <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                                            <nil key="highlightedColor"/>
+                                        </label>
+                                    </subviews>
+                                    <color key="backgroundColor" red="0.99215686274509807" green="0.38039215686274508" blue="0.38039215686274508" alpha="1" colorSpace="calibratedRGB"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="16" id="JUj-t1-37C"/>
+                                        <constraint firstItem="KqJ-Gg-WIi" firstAttribute="top" secondItem="72W-xH-t4Q" secondAttribute="top" id="QPX-SE-mNw"/>
+                                        <constraint firstAttribute="bottom" secondItem="KqJ-Gg-WIi" secondAttribute="bottom" id="Tpy-zX-c4N"/>
+                                        <constraint firstItem="KqJ-Gg-WIi" firstAttribute="leading" secondItem="72W-xH-t4Q" secondAttribute="leading" constant="3" id="j6Q-Kj-lNp"/>
+                                        <constraint firstAttribute="trailing" secondItem="KqJ-Gg-WIi" secondAttribute="trailing" constant="3" id="yk1-u8-VW6"/>
+                                    </constraints>
+                                    <userDefinedRuntimeAttributes>
+                                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                            <real key="value" value="3"/>
+                                        </userDefinedRuntimeAttribute>
+                                    </userDefinedRuntimeAttributes>
+                                </view>
+                            </subviews>
+                            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                            <constraints>
+                                <constraint firstItem="OZG-D1-yjf" firstAttribute="centerY" secondItem="yW1-Ft-tPa" secondAttribute="centerY" id="2tI-bB-hqQ"/>
+                                <constraint firstAttribute="trailing" secondItem="AYk-9M-MfH" secondAttribute="trailing" id="56c-TW-kRU"/>
+                                <constraint firstAttribute="bottom" secondItem="yWv-Af-dhq" secondAttribute="bottom" id="EVK-rk-QJi"/>
+                                <constraint firstItem="AYk-9M-MfH" firstAttribute="top" secondItem="yW1-Ft-tPa" secondAttribute="top" id="Fac-iH-k2H"/>
+                                <constraint firstItem="yWv-Af-dhq" firstAttribute="top" secondItem="yW1-Ft-tPa" secondAttribute="top" id="KKJ-Q4-BY5"/>
+                                <constraint firstAttribute="bottom" secondItem="AYk-9M-MfH" secondAttribute="bottom" id="LAq-hR-CE4"/>
+                                <constraint firstItem="72W-xH-t4Q" firstAttribute="leading" secondItem="yW1-Ft-tPa" secondAttribute="leading" constant="7" id="Ph5-n7-JaT"/>
+                                <constraint firstAttribute="height" constant="156" id="Q5o-gI-zH0"/>
+                                <constraint firstItem="yWv-Af-dhq" firstAttribute="leading" secondItem="yW1-Ft-tPa" secondAttribute="leading" id="YXI-Lf-5Ff"/>
+                                <constraint firstAttribute="trailing" secondItem="yWv-Af-dhq" secondAttribute="trailing" id="aRJ-VJ-jfu"/>
+                                <constraint firstItem="OZG-D1-yjf" firstAttribute="centerX" secondItem="yW1-Ft-tPa" secondAttribute="centerX" id="dF4-i4-gfe"/>
+                                <constraint firstItem="72W-xH-t4Q" firstAttribute="top" secondItem="yW1-Ft-tPa" secondAttribute="top" constant="6" id="gMR-At-n6w"/>
+                                <constraint firstItem="AYk-9M-MfH" firstAttribute="leading" secondItem="yW1-Ft-tPa" secondAttribute="leading" id="mt7-ob-850"/>
+                            </constraints>
+                            <userDefinedRuntimeAttributes>
+                                <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                    <real key="value" value="10"/>
+                                </userDefinedRuntimeAttribute>
+                            </userDefinedRuntimeAttributes>
+                        </view>
+                    </subviews>
+                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                    <constraints>
+                        <constraint firstAttribute="bottom" secondItem="yW1-Ft-tPa" secondAttribute="bottom" id="KaP-9q-TvT"/>
+                        <constraint firstAttribute="trailing" secondItem="yW1-Ft-tPa" secondAttribute="trailing" id="LAZ-lo-IGi"/>
+                        <constraint firstItem="yW1-Ft-tPa" firstAttribute="leading" secondItem="WuF-SO-sA0" secondAttribute="leading" id="kjg-Nj-f4K"/>
+                        <constraint firstItem="yW1-Ft-tPa" firstAttribute="top" secondItem="WuF-SO-sA0" secondAttribute="top" id="xlC-QY-yW3"/>
+                    </constraints>
+                    <userDefinedRuntimeAttributes>
+                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                            <real key="value" value="10"/>
+                        </userDefinedRuntimeAttribute>
+                    </userDefinedRuntimeAttributes>
+                </view>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GWr-Dl-BgP">
+                    <rect key="frame" x="0.0" y="166" width="225" height="24"/>
+                    <subviews>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pVa-94-alL">
+                            <rect key="frame" x="4" y="0.0" width="106.5" height="24"/>
+                            <subviews>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="上传封面" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NeD-SW-sgb">
+                                    <rect key="frame" x="28.5" y="4.5" width="50" height="15"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="12"/>
+                                    <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="v2c-ZK-Ht6">
+                                    <rect key="frame" x="0.0" y="0.0" width="106.5" height="24"/>
+                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                    <connections>
+                                        <action selector="uploadImage:" destination="iN0-l3-epB" eventType="touchUpInside" id="pbp-Bu-DwK"/>
+                                    </connections>
+                                </button>
+                            </subviews>
+                            <color key="backgroundColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
+                            <constraints>
+                                <constraint firstAttribute="height" constant="24" id="Gwh-dI-sqB"/>
+                                <constraint firstAttribute="bottom" secondItem="v2c-ZK-Ht6" secondAttribute="bottom" id="Oqy-wW-rny"/>
+                                <constraint firstItem="v2c-ZK-Ht6" firstAttribute="top" secondItem="pVa-94-alL" secondAttribute="top" id="eQk-O5-zzk"/>
+                                <constraint firstItem="NeD-SW-sgb" firstAttribute="centerX" secondItem="pVa-94-alL" secondAttribute="centerX" id="mM5-p6-CES"/>
+                                <constraint firstAttribute="trailing" secondItem="v2c-ZK-Ht6" secondAttribute="trailing" id="nPy-uj-7ac"/>
+                                <constraint firstItem="NeD-SW-sgb" firstAttribute="centerY" secondItem="pVa-94-alL" secondAttribute="centerY" id="nmm-bR-kLO"/>
+                                <constraint firstItem="v2c-ZK-Ht6" firstAttribute="leading" secondItem="pVa-94-alL" secondAttribute="leading" id="wXY-GG-Z17"/>
+                            </constraints>
+                            <userDefinedRuntimeAttributes>
+                                <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                    <real key="value" value="12"/>
+                                </userDefinedRuntimeAttribute>
+                            </userDefinedRuntimeAttributes>
+                        </view>
+                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ghM-xF-q0w">
+                            <rect key="frame" x="114.5" y="0.0" width="106.5" height="24"/>
+                            <subviews>
+                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="styleVideo_delete" translatesAutoresizingMaskIntoConstraints="NO" id="4KS-h1-s0E">
+                                    <rect key="frame" x="32" y="6" width="12" height="12"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="12" id="acr-UQ-5A1"/>
+                                        <constraint firstAttribute="width" constant="12" id="siz-ft-BVu"/>
+                                    </constraints>
+                                </imageView>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="删除" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cE9-vZ-ozO">
+                                    <rect key="frame" x="50" y="4.5" width="25" height="15"/>
+                                    <fontDescription key="fontDescription" type="system" pointSize="12"/>
+                                    <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                                    <nil key="highlightedColor"/>
+                                </label>
+                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9gW-Cy-ZgW">
+                                    <rect key="frame" x="0.0" y="0.0" width="106.5" height="24"/>
+                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                    <connections>
+                                        <action selector="deleteAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="GSC-oJ-Zi0"/>
+                                    </connections>
+                                </button>
+                            </subviews>
+                            <color key="backgroundColor" red="1" green="0.47450980392156861" blue="0.2196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                            <constraints>
+                                <constraint firstItem="9gW-Cy-ZgW" firstAttribute="top" secondItem="ghM-xF-q0w" secondAttribute="top" id="3Cb-n1-ulL"/>
+                                <constraint firstAttribute="bottom" secondItem="9gW-Cy-ZgW" secondAttribute="bottom" id="4gW-0k-tbF"/>
+                                <constraint firstItem="cE9-vZ-ozO" firstAttribute="leading" secondItem="4KS-h1-s0E" secondAttribute="trailing" constant="6" id="7dR-HN-vcf"/>
+                                <constraint firstItem="9gW-Cy-ZgW" firstAttribute="leading" secondItem="ghM-xF-q0w" secondAttribute="leading" id="bK0-1V-Hn6"/>
+                                <constraint firstAttribute="trailing" secondItem="9gW-Cy-ZgW" secondAttribute="trailing" id="g4m-DQ-03Z"/>
+                                <constraint firstItem="cE9-vZ-ozO" firstAttribute="centerX" secondItem="ghM-xF-q0w" secondAttribute="centerX" constant="9" id="ozw-DK-zJS"/>
+                                <constraint firstItem="4KS-h1-s0E" firstAttribute="centerY" secondItem="ghM-xF-q0w" secondAttribute="centerY" id="ri0-yT-ceT"/>
+                                <constraint firstItem="cE9-vZ-ozO" firstAttribute="centerY" secondItem="4KS-h1-s0E" secondAttribute="centerY" id="vzJ-F1-2KU"/>
+                            </constraints>
+                            <userDefinedRuntimeAttributes>
+                                <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                    <real key="value" value="12"/>
+                                </userDefinedRuntimeAttribute>
+                            </userDefinedRuntimeAttributes>
+                        </view>
+                    </subviews>
+                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                    <constraints>
+                        <constraint firstAttribute="trailing" secondItem="ghM-xF-q0w" secondAttribute="trailing" constant="4" id="48k-4k-TeK"/>
+                        <constraint firstItem="pVa-94-alL" firstAttribute="leading" secondItem="GWr-Dl-BgP" secondAttribute="leading" constant="4" id="5e0-5I-XVj"/>
+                        <constraint firstItem="ghM-xF-q0w" firstAttribute="width" secondItem="pVa-94-alL" secondAttribute="width" id="UZi-pg-H5h"/>
+                        <constraint firstAttribute="height" constant="24" id="Vz1-Bs-f3S"/>
+                        <constraint firstItem="pVa-94-alL" firstAttribute="top" secondItem="GWr-Dl-BgP" secondAttribute="top" id="XsY-1g-L5s"/>
+                        <constraint firstItem="ghM-xF-q0w" firstAttribute="leading" secondItem="pVa-94-alL" secondAttribute="trailing" constant="4" id="hjB-jA-bxk"/>
+                        <constraint firstItem="ghM-xF-q0w" firstAttribute="height" secondItem="pVa-94-alL" secondAttribute="height" id="oVW-65-sSV"/>
+                        <constraint firstItem="ghM-xF-q0w" firstAttribute="top" secondItem="GWr-Dl-BgP" secondAttribute="top" id="xFg-9p-Xjc"/>
+                    </constraints>
+                </view>
+            </subviews>
+            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+            <constraints>
+                <constraint firstItem="WuF-SO-sA0" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Awj-xd-HkT"/>
+                <constraint firstAttribute="trailing" secondItem="GWr-Dl-BgP" secondAttribute="trailing" id="ERK-pz-5kH"/>
+                <constraint firstItem="WuF-SO-sA0" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="Gpz-wO-fyq"/>
+                <constraint firstItem="GWr-Dl-BgP" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="MtV-Kv-Db5"/>
+                <constraint firstItem="GWr-Dl-BgP" firstAttribute="top" secondItem="WuF-SO-sA0" secondAttribute="bottom" constant="10" id="PgN-Ql-QaU"/>
+                <constraint firstAttribute="trailing" secondItem="WuF-SO-sA0" secondAttribute="trailing" id="l2u-1T-svm"/>
+            </constraints>
+            <nil key="simulatedTopBarMetrics"/>
+            <nil key="simulatedBottomBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <connections>
+                <outlet property="descView" destination="yWv-Af-dhq" id="iHT-Yn-pQk"/>
+                <outlet property="imageView" destination="AYk-9M-MfH" id="7MK-er-FdB"/>
+                <outlet property="playButton" destination="OZG-D1-yjf" id="gCd-ZW-DMs"/>
+                <outlet property="statusLabel" destination="KqJ-Gg-WIi" id="8LE-in-UaC"/>
+                <outlet property="statusView" destination="72W-xH-t4Q" id="mst-yv-eoz"/>
+                <outlet property="uploadImageTitle" destination="NeD-SW-sgb" id="WUM-hR-B42"/>
+                <outlet property="uploadView" destination="GWr-Dl-BgP" id="kvh-kx-OOu"/>
+                <outlet property="uploadViewHeight" destination="Vz1-Bs-f3S" id="Fbi-sH-6Kd"/>
+                <outlet property="uploadViewTop" destination="PgN-Ql-QaU" id="qZE-F5-ftT"/>
+            </connections>
+            <point key="canvasLocation" x="97.826086956521749" y="-164.0625"/>
+        </view>
+    </objects>
+    <resources>
+        <image name="playVideo_image" width="26" height="26"/>
+        <image name="styleVideo_delete" width="12" height="12"/>
+    </resources>
+</document>

+ 0 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleInstrumentCell.h → KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/MyStyleInstrumentCell.h


+ 20 - 34
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleInstrumentCell.m → KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/MyStyleInstrumentCell.m

@@ -6,6 +6,7 @@
 //
 
 #import "MyStyleInstrumentCell.h"
+#import "StyleInstrumentView.h"
 
 @interface MyStyleInstrumentCell ()
 
@@ -39,54 +40,39 @@
     CGFloat width = kScreen_Width - 14 * 2 - 11 * 2;
     CGFloat xSpace = 0.0f;
     CGFloat yPosition = 0.0f;
+    CGFloat space_y = 10.0f;
+    CGFloat space_x = 16.0f;
+    CGFloat viewHeight = [StyleInstrumentView getViewHeight];
     for (NSInteger i = 0; i < self.instrumentArray.count; i++) {
         NSDictionary *parm = self.instrumentArray[i];
         NSString *name = [parm stringValueForKey:@"subjectName"];
-        NSString *tagString = [NSString stringWithFormat:@"%@ ✕",name];
-        CGFloat labelWidth = [self getStringWidthInLabel:tagString font:[UIFont systemFontOfSize:11.0f]];
-        CGFloat viewWidth = labelWidth + 16;
+        CGFloat labelWidth = [StyleInstrumentView getViewWidth:name];
+        CGFloat viewWidth = labelWidth;
         if (xSpace + viewWidth > width) {
             if (xSpace != 0) {
                 xSpace = 0.0f;
-                yPosition += 32;
+                yPosition += (viewHeight + space_y);
             }
         }
         CGRect frame = CGRectMake(xSpace, yPosition, viewWidth, 26.0f);
-        [self createTagLabelViewWithName:tagString frame:frame tag:i+1000];
-        xSpace += (viewWidth + 6);
+        [self createTagLabelViewWithName:name frame:frame tag:i+1000];
+        xSpace += (viewWidth + space_x);
     }
-    if (yPosition + 32 > self.instrumentHeight.constant) {
-        self.instrumentHeight.constant = yPosition + 32;
+    
+    if (yPosition + viewHeight > self.instrumentHeight.constant) {
+        self.instrumentHeight.constant = yPosition + viewHeight;
     }
 }
 
+
+
 - (void)createTagLabelViewWithName:(NSString *)name frame:(CGRect)frame tag:(NSInteger)tag {
-    UIView *bgView = [[UIView alloc] initWithFrame:frame];
-    bgView.backgroundColor = HexRGB(0xe9fff8);
-    bgView.layer.cornerRadius = 13.0f;
-    bgView.layer.borderWidth = 1.0f;
-    bgView.layer.borderColor = THEMECOLOR.CGColor;
-    [self.instrumentView addSubview:bgView];
-    
-    UILabel *tagLabel = [[UILabel alloc] init];
-    tagLabel.text = name;
-    tagLabel.textColor = THEMECOLOR;
-    tagLabel.font = [UIFont systemFontOfSize:11.0f];
-    tagLabel.textAlignment = NSTextAlignmentCenter;
-    [bgView addSubview:tagLabel];
-    [tagLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(bgView.mas_left).offset(8);
-        make.right.mas_equalTo(bgView.mas_right).offset(-8);
-        make.top.bottom.mas_equalTo(bgView);
-    }];
-    
-    UIButton *actionButton = [UIButton buttonWithType:UIButtonTypeCustom];
-    actionButton.tag = tag;
-    [actionButton addTarget:self action:@selector(removeInstrumentAction:) forControlEvents:UIControlEventTouchUpInside];
-    [bgView addSubview:actionButton];
-    [actionButton mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.top.right.bottom.mas_equalTo(bgView);
-    }];
+    StyleInstrumentView *view = [StyleInstrumentView shareInstance];
+    [view configWithSource:name];
+    view.frame = frame;
+    view.actionButton.tag = tag;
+    [view.actionButton addTarget:self action:@selector(removeInstrumentAction:) forControlEvents:UIControlEventTouchUpInside];
+    [self.instrumentView addSubview:view];
 }
 
 - (void)removeInstrumentAction:(UIButton *)sender {

+ 70 - 48
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleInstrumentCell.xib → KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/MyStyleInstrumentCell.xib

@@ -11,60 +11,34 @@
     <objects>
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
         <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="130" id="KGk-i7-Jjw" customClass="MyStyleInstrumentCell">
-            <rect key="frame" x="0.0" y="0.0" width="356" height="129"/>
+        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="223" id="KGk-i7-Jjw" customClass="MyStyleInstrumentCell">
+            <rect key="frame" x="0.0" y="0.0" width="356" height="222"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
             <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
-                <rect key="frame" x="0.0" y="0.0" width="356" height="129"/>
+                <rect key="frame" x="0.0" y="0.0" width="356" height="222"/>
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="b6p-PN-fEf">
-                        <rect key="frame" x="14" y="12" width="328" height="105"/>
+                        <rect key="frame" x="14" y="12" width="328" height="198"/>
                         <subviews>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="myStyle_instrument" translatesAutoresizingMaskIntoConstraints="NO" id="8oj-h6-MYY">
-                                <rect key="frame" x="11" y="16" width="24" height="24"/>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="可教授乐器" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mpr-dO-Fb2">
+                                <rect key="frame" x="22" y="16" width="92" height="25"/>
                                 <constraints>
-                                    <constraint firstAttribute="height" constant="24" id="ONh-3R-qI3"/>
-                                    <constraint firstAttribute="width" constant="24" id="df4-pu-tIl"/>
+                                    <constraint firstAttribute="height" constant="25" id="HW2-Xa-etb"/>
                                 </constraints>
-                            </imageView>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="可教授乐器(可多选)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mpr-dO-Fb2">
-                                <rect key="frame" x="47" y="13" width="163.5" height="30"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="30" id="HW2-Xa-etb"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
+                                <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
                                 <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
                                 <nil key="highlightedColor"/>
                             </label>
-                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dmP-VX-w6i">
-                                <rect key="frame" x="263" y="16" width="54" height="24"/>
-                                <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="24" id="ED6-ZB-iR9"/>
-                                    <constraint firstAttribute="width" constant="54" id="YHs-pv-kiZ"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                                <state key="normal" title="选择"/>
-                                <userDefinedRuntimeAttributes>
-                                    <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                        <real key="value" value="11"/>
-                                    </userDefinedRuntimeAttribute>
-                                </userDefinedRuntimeAttributes>
-                                <connections>
-                                    <action selector="chooseInstrument:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="NPr-VN-rdO"/>
-                                </connections>
-                            </button>
                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="D0w-Pq-dRu">
-                                <rect key="frame" x="11" y="55" width="306" height="38"/>
+                                <rect key="frame" x="11" y="66.5" width="306" height="91.5"/>
                                 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                                 <constraints>
-                                    <constraint firstAttribute="height" constant="38" id="EDv-EJ-2Bb"/>
+                                    <constraint firstAttribute="height" constant="91.5" id="2ro-Ro-c1e"/>
                                 </constraints>
                             </view>
                             <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="*" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BQ7-w6-mTh">
-                                <rect key="frame" x="39" y="13" width="8" height="30"/>
+                                <rect key="frame" x="14" y="13.5" width="8" height="30"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="30" id="GLF-c0-LZZ"/>
                                 </constraints>
@@ -72,21 +46,69 @@
                                 <color key="textColor" systemColor="systemRedColor"/>
                                 <nil key="highlightedColor"/>
                             </label>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(可多选)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GJa-WH-xGp">
+                                <rect key="frame" x="114" y="21" width="46" height="15"/>
+                                <fontDescription key="fontDescription" type="system" pointSize="12"/>
+                                <color key="textColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
+                                <nil key="highlightedColor"/>
+                            </label>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="选择" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vJH-6Q-RLu">
+                                <rect key="frame" x="278" y="18.5" width="33" height="20"/>
+                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
+                                <nil key="highlightedColor"/>
+                            </label>
+                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="63I-LQ-tQI">
+                                <rect key="frame" x="260" y="11.5" width="51" height="34"/>
+                                <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                <connections>
+                                    <action selector="chooseInstrument:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="6rh-9o-QvH"/>
+                                </connections>
+                            </button>
+                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xfR-nh-LTz">
+                                <rect key="frame" x="15" y="56" width="300" height="0.5"/>
+                                <color key="backgroundColor" red="0.97254901960784312" green="0.97254901960784312" blue="0.97254901960784312" alpha="1" colorSpace="calibratedRGB"/>
+                                <constraints>
+                                    <constraint firstAttribute="height" constant="0.5" id="kp2-Wv-GNd"/>
+                                </constraints>
+                            </view>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="最多可选5种声部" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LUA-z0-j4S">
+                                <rect key="frame" x="220.5" y="168" width="93.5" height="17"/>
+                                <constraints>
+                                    <constraint firstAttribute="height" constant="17" id="rEf-XE-G9h"/>
+                                </constraints>
+                                <fontDescription key="fontDescription" type="system" pointSize="12"/>
+                                <color key="textColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
+                                <nil key="highlightedColor"/>
+                            </label>
+                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="style_edit" translatesAutoresizingMaskIntoConstraints="NO" id="uXn-WO-A74">
+                                <rect key="frame" x="260" y="21.5" width="14" height="14"/>
+                            </imageView>
                         </subviews>
                         <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                         <constraints>
+                            <constraint firstItem="D0w-Pq-dRu" firstAttribute="top" secondItem="xfR-nh-LTz" secondAttribute="bottom" constant="10" id="1eC-bD-2HY"/>
                             <constraint firstAttribute="trailing" secondItem="D0w-Pq-dRu" secondAttribute="trailing" constant="11" id="2sR-wW-e8j"/>
-                            <constraint firstAttribute="bottom" secondItem="D0w-Pq-dRu" secondAttribute="bottom" constant="12" id="3ZZ-BI-vIt"/>
                             <constraint firstItem="Mpr-dO-Fb2" firstAttribute="centerY" secondItem="BQ7-w6-mTh" secondAttribute="centerY" id="5oA-ou-DSy"/>
-                            <constraint firstItem="D0w-Pq-dRu" firstAttribute="top" secondItem="8oj-h6-MYY" secondAttribute="bottom" constant="15" id="5pF-80-Ifh"/>
-                            <constraint firstItem="Mpr-dO-Fb2" firstAttribute="centerY" secondItem="8oj-h6-MYY" secondAttribute="centerY" id="6HO-bM-psV"/>
-                            <constraint firstItem="8oj-h6-MYY" firstAttribute="top" secondItem="b6p-PN-fEf" secondAttribute="top" constant="16" id="KUC-UO-lRc"/>
-                            <constraint firstItem="dmP-VX-w6i" firstAttribute="top" secondItem="b6p-PN-fEf" secondAttribute="top" constant="16" id="Pas-tc-Psg"/>
-                            <constraint firstAttribute="trailing" secondItem="dmP-VX-w6i" secondAttribute="trailing" constant="11" id="Tp0-4q-b8T"/>
-                            <constraint firstItem="BQ7-w6-mTh" firstAttribute="leading" secondItem="8oj-h6-MYY" secondAttribute="trailing" constant="4" id="YAx-qQ-FAE"/>
+                            <constraint firstItem="vJH-6Q-RLu" firstAttribute="centerY" secondItem="uXn-WO-A74" secondAttribute="centerY" id="6Le-ZM-Vx3"/>
+                            <constraint firstItem="LUA-z0-j4S" firstAttribute="top" secondItem="D0w-Pq-dRu" secondAttribute="bottom" constant="10" id="8di-c9-oz4"/>
+                            <constraint firstItem="GJa-WH-xGp" firstAttribute="leading" secondItem="Mpr-dO-Fb2" secondAttribute="trailing" id="9p4-fz-wJW"/>
+                            <constraint firstItem="63I-LQ-tQI" firstAttribute="leading" secondItem="uXn-WO-A74" secondAttribute="leading" id="AGl-tP-C4P"/>
+                            <constraint firstItem="GJa-WH-xGp" firstAttribute="centerY" secondItem="Mpr-dO-Fb2" secondAttribute="centerY" id="NME-MS-5o6"/>
+                            <constraint firstItem="uXn-WO-A74" firstAttribute="centerY" secondItem="63I-LQ-tQI" secondAttribute="centerY" id="PW1-Ey-O3d"/>
+                            <constraint firstAttribute="bottom" secondItem="LUA-z0-j4S" secondAttribute="bottom" constant="13" id="PYe-1A-VSU"/>
+                            <constraint firstItem="xfR-nh-LTz" firstAttribute="leading" secondItem="b6p-PN-fEf" secondAttribute="leading" constant="15" id="SJO-L9-km3"/>
+                            <constraint firstItem="BQ7-w6-mTh" firstAttribute="leading" secondItem="b6p-PN-fEf" secondAttribute="leading" constant="14" id="YKc-jA-fpT"/>
+                            <constraint firstAttribute="trailing" secondItem="LUA-z0-j4S" secondAttribute="trailing" constant="14" id="Ygd-iJ-8qy"/>
+                            <constraint firstItem="vJH-6Q-RLu" firstAttribute="leading" secondItem="uXn-WO-A74" secondAttribute="trailing" constant="4" id="aWQ-X6-EWq"/>
                             <constraint firstItem="D0w-Pq-dRu" firstAttribute="leading" secondItem="b6p-PN-fEf" secondAttribute="leading" constant="11" id="gmM-ZC-Bwq"/>
-                            <constraint firstItem="8oj-h6-MYY" firstAttribute="leading" secondItem="b6p-PN-fEf" secondAttribute="leading" constant="11" id="pPR-p8-TRf"/>
+                            <constraint firstItem="xfR-nh-LTz" firstAttribute="top" secondItem="Mpr-dO-Fb2" secondAttribute="bottom" constant="15" id="hF4-db-ai9"/>
+                            <constraint firstAttribute="trailing" secondItem="vJH-6Q-RLu" secondAttribute="trailing" constant="17" id="hgd-wH-CsA"/>
+                            <constraint firstItem="Mpr-dO-Fb2" firstAttribute="top" secondItem="b6p-PN-fEf" secondAttribute="top" constant="16" id="pBt-f1-ZKw"/>
+                            <constraint firstAttribute="trailing" secondItem="xfR-nh-LTz" secondAttribute="trailing" constant="13" id="qJl-sE-it0"/>
                             <constraint firstItem="Mpr-dO-Fb2" firstAttribute="leading" secondItem="BQ7-w6-mTh" secondAttribute="trailing" id="qcv-tH-z5N"/>
+                            <constraint firstItem="vJH-6Q-RLu" firstAttribute="centerY" secondItem="Mpr-dO-Fb2" secondAttribute="centerY" id="r2B-xo-RAX"/>
+                            <constraint firstItem="vJH-6Q-RLu" firstAttribute="trailing" secondItem="63I-LQ-tQI" secondAttribute="trailing" id="v8V-Xm-qbj"/>
                         </constraints>
                         <userDefinedRuntimeAttributes>
                             <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
@@ -105,14 +127,14 @@
             <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
             <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
             <connections>
-                <outlet property="instrumentHeight" destination="EDv-EJ-2Bb" id="Vnp-Dq-q4A"/>
+                <outlet property="instrumentHeight" destination="2ro-Ro-c1e" id="5cE-Bd-Sw8"/>
                 <outlet property="instrumentView" destination="D0w-Pq-dRu" id="SnQ-uj-uHW"/>
             </connections>
-            <point key="canvasLocation" x="155.07246376811597" y="96.09375"/>
+            <point key="canvasLocation" x="155.07246376811597" y="123.88392857142857"/>
         </tableViewCell>
     </objects>
     <resources>
-        <image name="myStyle_instrument" width="24" height="24"/>
+        <image name="style_edit" width="14" height="14"/>
         <systemColor name="systemBackgroundColor">
             <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
         </systemColor>

+ 26 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/StyleInstrumentView.h

@@ -0,0 +1,26 @@
+//
+//  StyleInstrumentView.h
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface StyleInstrumentView : UIView
+
+@property (weak, nonatomic) IBOutlet UIButton *actionButton;
+
++ (instancetype)shareInstance;
+
+- (void)configWithSource:(NSString *)instrumentName;
+
++ (CGFloat)getViewWidth:(NSString *)instrumentName;
+
++ (CGFloat)getViewHeight;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 50 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/StyleInstrumentView.m

@@ -0,0 +1,50 @@
+//
+//  StyleInstrumentView.m
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2022/9/6.
+//
+
+#import "StyleInstrumentView.h"
+#import "UIButton+EnlargeEdge.h"
+@interface StyleInstrumentView ()
+
+@property (weak, nonatomic) IBOutlet UILabel *instrumentName;
+
+@end
+
+@implementation StyleInstrumentView
+
+- (void)awakeFromNib {
+    [super awakeFromNib];
+    [self.actionButton setEnlargeEdgeWithTop:0 right:10 bottom:15 left:20];
+}
++ (instancetype)shareInstance {
+    StyleInstrumentView *view = [[[NSBundle mainBundle] loadNibNamed:@"StyleInstrumentView" owner:nil options:nil] firstObject];
+    return view;
+}
+
+- (void)configWithSource:(NSString *)instrumentName {
+    self.instrumentName.text = instrumentName;
+}
+
+
++ (CGFloat)getViewHeight {
+    return 41.0;
+}
+
++ (CGFloat)getViewWidth:(NSString *)instrumentName {
+    CGFloat width = [instrumentName boundingRectWithSize:CGSizeMake(CGFLOAT_MAX, 20) options:NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:14.0f]} context:nil].size.width + 1;
+    width += (36 + 7);
+    return width;
+}
+
+/*
+// Only override drawRect: if you perform custom drawing.
+// An empty implementation adversely affects performance during animation.
+- (void)drawRect:(CGRect)rect {
+    // Drawing code
+}
+*/
+
+@end

+ 72 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/instrument/StyleInstrumentView.xib

@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+    <device id="retina6_1" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="StyleInstrumentView">
+            <rect key="frame" x="0.0" y="0.0" width="98" height="41"/>
+            <autoresizingMask key="autoresizingMask"/>
+            <subviews>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9Ww-Pa-DlS">
+                    <rect key="frame" x="0.0" y="7" width="79" height="34"/>
+                    <subviews>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="萨克斯" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Afd-OL-2bu">
+                            <rect key="frame" x="17" y="7" width="43" height="20"/>
+                            <constraints>
+                                <constraint firstAttribute="height" constant="20" id="Cjp-UP-DHm"/>
+                            </constraints>
+                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                            <color key="textColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
+                            <nil key="highlightedColor"/>
+                        </label>
+                    </subviews>
+                    <color key="backgroundColor" red="0.90980392156862744" green="1" blue="0.98431372549019602" alpha="1" colorSpace="calibratedRGB"/>
+                    <constraints>
+                        <constraint firstAttribute="bottom" secondItem="Afd-OL-2bu" secondAttribute="bottom" constant="7" id="47L-kn-WbZ"/>
+                        <constraint firstItem="Afd-OL-2bu" firstAttribute="top" secondItem="9Ww-Pa-DlS" secondAttribute="top" constant="7" id="4AY-q9-GeF"/>
+                        <constraint firstAttribute="trailing" secondItem="Afd-OL-2bu" secondAttribute="trailing" constant="19" id="FiJ-Oj-5i8"/>
+                        <constraint firstItem="Afd-OL-2bu" firstAttribute="leading" secondItem="9Ww-Pa-DlS" secondAttribute="leading" constant="17" id="mna-BW-7U8"/>
+                    </constraints>
+                    <userDefinedRuntimeAttributes>
+                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                            <real key="value" value="8"/>
+                        </userDefinedRuntimeAttribute>
+                    </userDefinedRuntimeAttributes>
+                </view>
+                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dh2-9x-mxC">
+                    <rect key="frame" x="72" y="0.0" width="14" height="14"/>
+                    <constraints>
+                        <constraint firstAttribute="width" constant="14" id="D6s-wH-tzh"/>
+                        <constraint firstAttribute="height" constant="14" id="ke7-XO-u24"/>
+                    </constraints>
+                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                    <state key="normal" image="instrument_delete"/>
+                </button>
+            </subviews>
+            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+            <constraints>
+                <constraint firstItem="9Ww-Pa-DlS" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="3lq-dQ-biB"/>
+                <constraint firstItem="dh2-9x-mxC" firstAttribute="centerX" secondItem="9Ww-Pa-DlS" secondAttribute="trailing" id="kri-I6-veJ"/>
+                <constraint firstItem="dh2-9x-mxC" firstAttribute="centerY" secondItem="9Ww-Pa-DlS" secondAttribute="top" id="sGN-We-Gd4"/>
+                <constraint firstItem="dh2-9x-mxC" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="w3V-X1-ZZ0"/>
+            </constraints>
+            <nil key="simulatedTopBarMetrics"/>
+            <nil key="simulatedBottomBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <connections>
+                <outlet property="actionButton" destination="dh2-9x-mxC" id="Hhy-o5-tXG"/>
+                <outlet property="instrumentName" destination="Afd-OL-2bu" id="T0P-nH-0zu"/>
+            </connections>
+            <point key="canvasLocation" x="297.10144927536237" y="15.066964285714285"/>
+        </view>
+    </objects>
+    <resources>
+        <image name="instrument_delete" width="14" height="14"/>
+    </resources>
+</document>

+ 2 - 2
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineFansGroupCell.xib

@@ -30,7 +30,7 @@
                                 <color key="textColor" red="0.1019607843" green="0.1019607843" blue="0.1019607843" alpha="1" colorSpace="calibratedRGB"/>
                                 <nil key="highlightedColor"/>
                             </label>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chat_group_Logo" translatesAutoresizingMaskIntoConstraints="NO" id="t1I-iJ-VAv">
+                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chat_fansGroup_logo" translatesAutoresizingMaskIntoConstraints="NO" id="t1I-iJ-VAv">
                                 <rect key="frame" x="12" y="15" width="42" height="42"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="42" id="HSu-PY-Mmm"/>
@@ -97,7 +97,7 @@
         </tableViewCell>
     </objects>
     <resources>
-        <image name="chat_group_Logo" width="44" height="44"/>
+        <image name="chat_fansGroup_logo" width="44" height="44"/>
         <systemColor name="systemBackgroundColor">
             <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
         </systemColor>

+ 7 - 7
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineVideoCell.m

@@ -29,29 +29,29 @@
 - (void)configWithSource:(NSMutableArray *)videoArray {
     [self.videoContainer removeAllSubViews];
     self.videoArray = videoArray;
-    
-    CGFloat viewWidth = (kScreenWidth - 14 * 2) / 2.0f;
-    CGFloat height = 128.0f;
+    CGFloat leftSpace = 14.0f;
+    CGFloat space = 7.0f;
+    CGFloat viewWidth = (kScreenWidth - leftSpace * 4 - space) / 2.0f;
+    CGFloat height = 156.0f;
     CGFloat xPosition = 0.0f;
     CGFloat yPosition = 0.0f;
     for (NSInteger i = 0; i < videoArray.count; i++) {
         StyleVideoModel *model = self.videoArray[i];
         if (i % 2 == 0 && i != 0) {
-            yPosition += height;
+            yPosition += (height + space);
             xPosition = 0.0f;
         }
         MyStyleVideoView *videoView = [MyStyleVideoView shareInstance];
         videoView.frame = CGRectMake(xPosition, yPosition, viewWidth, height);
-        videoView.showUploadImageView = NO;
+        videoView.showUploadView = NO;
         videoView.tag = i + 1000;
-        videoView.hideDeleteButton = YES;
         [self.videoContainer addSubview:videoView];
         [videoView configWithSource:model];
         MJWeakSelf;
         [videoView videoOperationAcion:^(STYLEVIDEO type, MyStyleVideoView * _Nonnull videoView) {
             [weakSelf previewVideoAction:type inView:videoView];
         }];
-        xPosition += viewWidth;
+        xPosition += (viewWidth + space);
     }
     self.containerHeight.constant = yPosition + height;
 }

+ 3 - 3
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineVideoCell.xib

@@ -34,7 +34,7 @@
                                 <nil key="highlightedColor"/>
                             </label>
                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5jL-Cm-W81">
-                                <rect key="frame" x="0.0" y="61" width="345" height="167"/>
+                                <rect key="frame" x="14" y="61" width="317" height="167"/>
                                 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="167" id="8pc-ff-c3d"/>
@@ -47,9 +47,9 @@
                             <constraint firstItem="GKG-Y1-2TR" firstAttribute="centerY" secondItem="HQf-zf-VPg" secondAttribute="centerY" id="7H4-kZ-i0K"/>
                             <constraint firstItem="GKG-Y1-2TR" firstAttribute="leading" secondItem="HQf-zf-VPg" secondAttribute="trailing" constant="3" id="FNZ-9y-D1x"/>
                             <constraint firstItem="5jL-Cm-W81" firstAttribute="top" secondItem="GKG-Y1-2TR" secondAttribute="bottom" constant="20" id="MRu-mO-Pan"/>
-                            <constraint firstAttribute="trailing" secondItem="5jL-Cm-W81" secondAttribute="trailing" id="NmJ-0j-yfj"/>
+                            <constraint firstAttribute="trailing" secondItem="5jL-Cm-W81" secondAttribute="trailing" constant="14" id="NmJ-0j-yfj"/>
                             <constraint firstAttribute="bottom" secondItem="5jL-Cm-W81" secondAttribute="bottom" constant="20" id="Sb3-sC-RcP"/>
-                            <constraint firstItem="5jL-Cm-W81" firstAttribute="leading" secondItem="Kbc-sU-aNo" secondAttribute="leading" id="mqo-5J-vfY"/>
+                            <constraint firstItem="5jL-Cm-W81" firstAttribute="leading" secondItem="Kbc-sU-aNo" secondAttribute="leading" constant="14" id="mqo-5J-vfY"/>
                             <constraint firstItem="HQf-zf-VPg" firstAttribute="top" secondItem="Kbc-sU-aNo" secondAttribute="top" constant="14" id="tAD-Eu-T9B"/>
                         </constraints>
                         <userDefinedRuntimeAttributes>