huangxiaodong 2 lat temu
rodzic
commit
dd091fa14e
100 zmienionych plików z 501 dodań i 3343 usunięć
  1. 6 0
      双子星云手机/Assets.xcassets/Guide/Contents.json
  2. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_bg_icon.imageset/Contents.json
  3. BIN
      双子星云手机/Assets.xcassets/Guide/guide_bg_icon.imageset/背景@2x.png
  4. BIN
      双子星云手机/Assets.xcassets/Guide/guide_bg_icon.imageset/背景@3x.png
  5. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_last_bg_icon.imageset/Contents.json
  6. BIN
      双子星云手机/Assets.xcassets/Guide/guide_last_bg_icon.imageset/编组 2@2x.png
  7. BIN
      双子星云手机/Assets.xcassets/Guide/guide_last_bg_icon.imageset/编组 2@3x.png
  8. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_last_middle_icon.imageset/Contents.json
  9. BIN
      双子星云手机/Assets.xcassets/Guide/guide_last_middle_icon.imageset/编组 26@2x.png
  10. BIN
      双子星云手机/Assets.xcassets/Guide/guide_last_middle_icon.imageset/编组 26@3x.png
  11. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_middle_0_icon.imageset/Contents.json
  12. BIN
      双子星云手机/Assets.xcassets/Guide/guide_middle_0_icon.imageset/编组 5@2x.png
  13. BIN
      双子星云手机/Assets.xcassets/Guide/guide_middle_0_icon.imageset/编组 5@3x.png
  14. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_middle_1_icon.imageset/Contents.json
  15. BIN
      双子星云手机/Assets.xcassets/Guide/guide_middle_1_icon.imageset/编组 11@2x.png
  16. BIN
      双子星云手机/Assets.xcassets/Guide/guide_middle_1_icon.imageset/编组 11@3x.png
  17. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_middle_2_icon.imageset/Contents.json
  18. BIN
      双子星云手机/Assets.xcassets/Guide/guide_middle_2_icon.imageset/编组 6@2x.png
  19. BIN
      双子星云手机/Assets.xcassets/Guide/guide_middle_2_icon.imageset/编组 6@3x.png
  20. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_middle_3_icon.imageset/Contents.json
  21. BIN
      双子星云手机/Assets.xcassets/Guide/guide_middle_3_icon.imageset/编组 7@2x.png
  22. BIN
      双子星云手机/Assets.xcassets/Guide/guide_middle_3_icon.imageset/编组 7@3x.png
  23. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_open_calcu_flag1.imageset/Contents.json
  24. BIN
      双子星云手机/Assets.xcassets/Guide/guide_open_calcu_flag1.imageset/编组 11@2x.png
  25. BIN
      双子星云手机/Assets.xcassets/Guide/guide_open_calcu_flag1.imageset/编组 11@3x.png
  26. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_qrcode_bg_icon.imageset/Contents.json
  27. BIN
      双子星云手机/Assets.xcassets/Guide/guide_qrcode_bg_icon.imageset/位图@2x.png
  28. BIN
      双子星云手机/Assets.xcassets/Guide/guide_qrcode_bg_icon.imageset/位图@3x.png
  29. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_qrcode_icon.imageset/Contents.json
  30. BIN
      双子星云手机/Assets.xcassets/Guide/guide_qrcode_icon.imageset/编组@2x.png
  31. BIN
      双子星云手机/Assets.xcassets/Guide/guide_qrcode_icon.imageset/编组@3x.png
  32. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_set_pwd_flag.imageset/Contents.json
  33. BIN
      双子星云手机/Assets.xcassets/Guide/guide_set_pwd_flag.imageset/编组 3备份@2x.png
  34. BIN
      双子星云手机/Assets.xcassets/Guide/guide_set_pwd_flag.imageset/编组 3备份@3x.png
  35. 22 0
      双子星云手机/Assets.xcassets/Guide/guide_up_icon.imageset/Contents.json
  36. BIN
      双子星云手机/Assets.xcassets/Guide/guide_up_icon.imageset/编组 10@2x.png
  37. BIN
      双子星云手机/Assets.xcassets/Guide/guide_up_icon.imageset/编组 10@3x.png
  38. 22 0
      双子星云手机/Assets.xcassets/Guide/key_board_delete.imageset/Contents.json
  39. BIN
      双子星云手机/Assets.xcassets/Guide/key_board_delete.imageset/编组@2x.png
  40. BIN
      双子星云手机/Assets.xcassets/Guide/key_board_delete.imageset/编组@3x.png
  41. 2 2
      双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/Contents.json
  42. BIN
      双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/icon-jincheng@2x.png
  43. BIN
      双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/icon-jincheng@3x.png
  44. BIN
      双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/编组 8@2x.png
  45. BIN
      双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/编组 8@3x.png
  46. 22 0
      双子星云手机/Assets.xcassets/Set/icon_change_logo.imageset/Contents.json
  47. BIN
      双子星云手机/Assets.xcassets/Set/icon_change_logo.imageset/编组 6@2x.png
  48. BIN
      双子星云手机/Assets.xcassets/Set/icon_change_logo.imageset/编组 6@3x.png
  49. 22 0
      双子星云手机/Assets.xcassets/Set/icon_change_ohone.imageset/Contents.json
  50. BIN
      双子星云手机/Assets.xcassets/Set/icon_change_ohone.imageset/编组@2x.png
  51. BIN
      双子星云手机/Assets.xcassets/Set/icon_change_ohone.imageset/编组@3x.png
  52. 22 0
      双子星云手机/Assets.xcassets/Set/mdoify_pwd.imageset/Contents.json
  53. BIN
      双子星云手机/Assets.xcassets/Set/mdoify_pwd.imageset/编组@2x.png
  54. BIN
      双子星云手机/Assets.xcassets/Set/mdoify_pwd.imageset/编组@3x.png
  55. 0 29
      双子星云手机/Class/BuyPhone/BuyHome/BuyOrReExchangeViewController.h
  56. 0 222
      双子星云手机/Class/BuyPhone/BuyHome/BuyOrReExchangeViewController.m
  57. 0 20
      双子星云手机/Class/BuyPhone/BuyHome/CellWithBtnView.h
  58. 0 83
      双子星云手机/Class/BuyPhone/BuyHome/CellWithBtnView.m
  59. 0 18
      双子星云手机/Class/BuyPhone/BuyHome/VIPFunctView.h
  60. 0 121
      双子星云手机/Class/BuyPhone/BuyHome/VIPFunctView.m
  61. 0 16
      双子星云手机/Class/BuyPhone/BuyVIPViewController.h
  62. 0 271
      双子星云手机/Class/BuyPhone/BuyVIPViewController.m
  63. 0 19
      双子星云手机/Class/BuyPhone/BuyVipView/BuyVipTopView.h
  64. 0 63
      双子星云手机/Class/BuyPhone/BuyVipView/BuyVipTopView.m
  65. 0 21
      双子星云手机/Class/BuyPhone/BuyVipView/PackageListScrollView.h
  66. 0 142
      双子星云手机/Class/BuyPhone/BuyVipView/PackageListScrollView.m
  67. 0 20
      双子星云手机/Class/BuyPhone/BuyVipView/PayTypeView.h
  68. 0 137
      双子星云手机/Class/BuyPhone/BuyVipView/PayTypeView.m
  69. 0 18
      双子星云手机/Class/BuyPhone/BuyVipView/VIPFunctForBuyView.h
  70. 0 116
      双子星云手机/Class/BuyPhone/BuyVipView/VIPFunctForBuyView.m
  71. 0 16
      双子星云手机/Class/BuyPhone/BuyVipView/packDetailBtn.h
  72. 0 117
      双子星云手机/Class/BuyPhone/BuyVipView/packDetailBtn.m
  73. 0 58
      双子星云手机/Class/BuyPhone/Model/PhonePackageModel.h
  74. 0 30
      双子星云手机/Class/BuyPhone/Model/PhonePackageModel.m
  75. 0 16
      双子星云手机/Class/BuyPhone/PayRecoderDetailViewController.h
  76. 0 192
      双子星云手机/Class/BuyPhone/PayRecoderDetailViewController.m
  77. 0 16
      双子星云手机/Class/BuyPhone/PayRecoderListViewController.h
  78. 0 126
      双子星云手机/Class/BuyPhone/PayRecoderListViewController.m
  79. 0 17
      双子星云手机/Class/BuyPhone/PlayResultViewController.h
  80. 0 440
      双子星云手机/Class/BuyPhone/PlayResultViewController.m
  81. 0 25
      双子星云手机/Class/BuyPhone/Recoder/BuyRecoderListCell.h
  82. 0 207
      双子星云手机/Class/BuyPhone/Recoder/BuyRecoderListCell.m
  83. 0 39
      双子星云手机/Class/BuyPhone/WXPayManager.h
  84. 0 85
      双子星云手机/Class/BuyPhone/WXPayManager.m
  85. 0 0
      双子星云手机/Class/ComontAlretViewController.h
  86. 0 0
      双子星云手机/Class/ComontAlretViewController.m
  87. 16 0
      双子星云手机/Class/Guide/QRCodeScanViewController.h
  88. 31 0
      双子星云手机/Class/Guide/QRCodeScanViewController.m
  89. 16 0
      双子星云手机/Class/Guide/SetPWDFirstViewController.h
  90. 31 0
      双子星云手机/Class/Guide/SetPWDFirstViewController.m
  91. 16 0
      双子星云手机/Class/Guide/TipsQRCodeViewController.h
  92. 31 0
      双子星云手机/Class/Guide/TipsQRCodeViewController.m
  93. 0 23
      双子星云手机/Class/Login/LoginForViewController.h
  94. 0 108
      双子星云手机/Class/Login/LoginForViewController.m
  95. 0 38
      双子星云手机/Class/Login/LoginView/InputViewForSMSCod.h
  96. 0 228
      双子星云手机/Class/Login/LoginView/InputViewForSMSCod.m
  97. 0 37
      双子星云手机/Class/Login/LoginView/SetUserAgreementView.h
  98. 0 172
      双子星云手机/Class/Login/LoginView/SetUserAgreementView.m
  99. 0 35
      双子星云手机/Class/Login/LoginView/ViewForPhoneAndSMS.h
  100. 0 0
      双子星云手机/Class/Login/LoginView/ViewForPhoneAndSMS.m

+ 6 - 0
双子星云手机/Assets.xcassets/Guide/Contents.json

@@ -0,0 +1,6 @@
+{
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_bg_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_bg_icon.imageset/背景@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_bg_icon.imageset/背景@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_last_bg_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_last_bg_icon.imageset/编组 2@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_last_bg_icon.imageset/编组 2@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_last_middle_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_last_middle_icon.imageset/编组 26@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_last_middle_icon.imageset/编组 26@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_middle_0_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_middle_0_icon.imageset/编组 5@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_middle_0_icon.imageset/编组 5@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_middle_1_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_middle_1_icon.imageset/编组 11@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_middle_1_icon.imageset/编组 11@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_middle_2_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_middle_2_icon.imageset/编组 6@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_middle_2_icon.imageset/编组 6@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_middle_3_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_middle_3_icon.imageset/编组 7@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_middle_3_icon.imageset/编组 7@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_open_calcu_flag1.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_open_calcu_flag1.imageset/编组 11@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_open_calcu_flag1.imageset/编组 11@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_qrcode_bg_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_qrcode_bg_icon.imageset/位图@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_qrcode_bg_icon.imageset/位图@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_qrcode_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_qrcode_icon.imageset/编组@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_qrcode_icon.imageset/编组@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_set_pwd_flag.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_set_pwd_flag.imageset/编组 3备份@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_set_pwd_flag.imageset/编组 3备份@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/guide_up_icon.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/guide_up_icon.imageset/编组 10@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/guide_up_icon.imageset/编组 10@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Guide/key_board_delete.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Guide/key_board_delete.imageset/编组@2x.png


BIN
双子星云手机/Assets.xcassets/Guide/key_board_delete.imageset/编组@3x.png


+ 2 - 2
双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/Contents.json

@@ -5,12 +5,12 @@
       "scale" : "1x"
     },
     {
-      "filename" : "icon-jincheng@2x.png",
+      "filename" : "编组 8@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "icon-jincheng@3x.png",
+      "filename" : "编组 8@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }

BIN
双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/icon-jincheng@2x.png


BIN
双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/icon-jincheng@3x.png


BIN
双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/编组 8@2x.png


BIN
双子星云手机/Assets.xcassets/Set/icon-jincheng.imageset/编组 8@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Set/icon_change_logo.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Set/icon_change_logo.imageset/编组 6@2x.png


BIN
双子星云手机/Assets.xcassets/Set/icon_change_logo.imageset/编组 6@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Set/icon_change_ohone.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Set/icon_change_ohone.imageset/编组@2x.png


BIN
双子星云手机/Assets.xcassets/Set/icon_change_ohone.imageset/编组@3x.png


+ 22 - 0
双子星云手机/Assets.xcassets/Set/mdoify_pwd.imageset/Contents.json

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

BIN
双子星云手机/Assets.xcassets/Set/mdoify_pwd.imageset/编组@2x.png


BIN
双子星云手机/Assets.xcassets/Set/mdoify_pwd.imageset/编组@3x.png


+ 0 - 29
双子星云手机/Class/BuyPhone/BuyHome/BuyOrReExchangeViewController.h

@@ -1,29 +0,0 @@
-//
-//  BuyOrReExchangeViewController.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/23.
-//
-
-#import "BaseViewController.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface BuyOrReExchangeViewController : BaseViewController
-
-@property (nonatomic ,strong)NSArray *privilegeList;
-
-/*购买或者续费 0:购买 1:续费*/
-@property (nonatomic ,assign)NSInteger buyOrExchange;
-
-/*云机到期会保留数据多少天*/
-@property (nonatomic ,assign)NSInteger expirationReminder;
-
-/**
- * @brief  云机状态( 0:不存在 1:有效时间 2:有效时间不足 3:过期未回收 )   1、2为VIP状态  0、3 非VIP状态
- */
-@property(nonatomic, assign)NSInteger whetherPhoneStatus;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 222
双子星云手机/Class/BuyPhone/BuyHome/BuyOrReExchangeViewController.m

@@ -1,222 +0,0 @@
-//
-//  BuyOrReExchangeViewController.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/23.
-//
-
-#import "BuyOrReExchangeViewController.h"
-#import <Masonry.h>
-#import "VIPFunctView.h"
-#import "CellWithBtnView.h"
-#import "CustomerWebViewController.h"
-#import "UseAccountManage.h"
-#import "iPhone.h"
-#import "MySetViewController.h"
-#import "BuyVIPViewController.h"
-
-@interface BuyOrReExchangeViewController ()
-{
-    VIPFunctView *vipFunctView;
-    CellWithBtnView *upCell;
-    CellWithBtnView *downCell;
-}
-
-@end
-
-@implementation BuyOrReExchangeViewController
-@synthesize privilegeList;
-@synthesize buyOrExchange;
-@synthesize expirationReminder;
-
-- (void)viewDidLoad {
-    [super viewDidLoad];
-    // Do any additional setup after loading the view.
-    
-    [self drawAnyView];
-}
-
-
-- (void)drawAnyView{
-    [self.view setBackgroundColor:HWF5F7FAColor];
-    
-    [self.toolBar setHidden:YES];
-    [self.navigationBar setHidden:YES];
-    
-    UIImageView *bgImageView = [[UIImageView alloc] init];
-    [bgImageView setImage:[UIImage imageNamed:@"buy_home_bj"]];
-    [self.view addSubview:bgImageView];
-    [bgImageView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-        make.top.mas_equalTo(0);
-        make.bottom.mas_equalTo(0);
-    }];
-    
-    UILabel *leftUpLabel = [[UILabel alloc] init];
-    [leftUpLabel setText:NSLocalizedString(@"buy_home_private_title",nil)];
-    [leftUpLabel setTextColor:HW0A132BColor];
-    [leftUpLabel setFont:[UIFont boldSystemFontOfSize:18.f]];
-    [self.view addSubview:leftUpLabel];
-    [leftUpLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(21.f);
-        make.right.mas_equalTo(-100.f);
-        make.top.mas_equalTo(17.f + H_STATE_BAR);
-        make.height.mas_equalTo(24.f);
-    }];
-    
-    /*设置按钮*/
-    UIButton *setBtn = [[UIButton alloc] init];
-    [setBtn setBackgroundColor:[UIColor clearColor]];
-    [setBtn setImage:[UIImage imageNamed:@"right_up_set"] forState:(UIControlStateNormal)];
-    [self.view addSubview:setBtn];
-    [setBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.right.mas_equalTo(-10.f);
-        make.centerY.equalTo(leftUpLabel.mas_centerY);
-        make.height.mas_equalTo(38.f);
-        make.width.mas_equalTo(38.f);
-    }];
-    
-    [setBtn setImageEdgeInsets:(UIEdgeInsetsMake(10, 10, 10, 10))];
-    [setBtn addTarget:self
-               action:@selector(setBtnPressed)
-     forControlEvents:(UIControlEventTouchUpInside)];
-    
-    /*右上角图片*/
-    UIImageView *upRightImageView = [[UIImageView alloc] init];
-    [upRightImageView setBackgroundColor:[UIColor clearColor]];
-    [upRightImageView setImage:[UIImage imageNamed:@"buy_home_right_up"]];
-    [self.view addSubview:upRightImageView];
-    [upRightImageView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.right.mas_equalTo(0);
-        make.top.equalTo(setBtn.mas_bottom).offset(29.f);
-        make.width.mas_equalTo(187.f);
-        make.height.mas_equalTo(226.f);
-    }];
-    
-    /*大标题*/
-    UILabel *bigLabel = [[UILabel alloc] init];
-    [bigLabel setNumberOfLines:0];
-    [bigLabel setTextColor:HW0A132BColor];
-    [bigLabel setText:NSLocalizedString(@"buy_home_big_title",nil)];
-    [bigLabel setFont:[UIFont boldSystemFontOfSize:28.f]];
-    [self.view addSubview:bigLabel];
-    [bigLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(28.f);
-        make.top.equalTo(leftUpLabel.mas_bottom).offset(69.f);
-        make.right.mas_equalTo(-100.f);
-        make.height.mas_equalTo(72.f);
-    }];
-    
-    /*下方红字*/
-    UILabel *warLabel = [[UILabel alloc] init];
-    [warLabel setNumberOfLines:0];
-    [warLabel setTextColor:HWDD4E4EColor];
-    [warLabel setText:NSLocalizedString(@"buy_home_war_title",nil)];
-    [warLabel setFont:[UIFont systemFontOfSize:12.f]];
-    [self.view addSubview:warLabel];
-    [warLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(28.f);
-        make.top.equalTo(bigLabel.mas_bottom).offset(8.f);
-        make.right.mas_equalTo(-100.f);
-        make.height.mas_equalTo(17.f);
-    }];
-    
-    /*VIP视图*/
-    vipFunctView = [[VIPFunctView alloc] initWithList:privilegeList];
-    [self.view addSubview:vipFunctView];
-    [vipFunctView setBackgroundColor:[UIColor clearColor]];
-    [vipFunctView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(19.f);
-        make.top.equalTo(upRightImageView.mas_top).offset(207);
-        make.right.mas_equalTo(-19.f);
-        make.height.mas_equalTo(210.f);
-    }];
-    
-    /*开通或者续费会员*/
-    upCell = [[CellWithBtnView alloc] init];
-    [upCell setBackgroundColor:[UIColor whiteColor]];
-    [self.view addSubview:upCell];
-    [upCell mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(19.f);
-        make.top.equalTo(vipFunctView.mas_bottom).offset(16);
-        make.right.mas_equalTo(-19.f);
-        make.height.mas_equalTo(72.f);
-    }];
-    [upCell.layer setCornerRadius:8];
-    
-    if (buyOrExchange == 0){/*开通*/
-        [upCell.topLabel setText:NSLocalizedString(@"buy_home_cell_get_vip",nil)];
-        [upCell.downLabel setText:NSLocalizedString(@"buy_home_cell_get_vip_detail",nil)];
-        [upCell.rightBtn setTitle:NSLocalizedString(@"buy_home_cell_get_vip_do",nil) forState:(UIControlStateNormal)];
-    }else{/*续费*/
-//        expirationReminder
-        [upCell.topLabel setText:NSLocalizedString(@"buy_home_cell_exchange_vip",nil)];
-        
-        NSString *leftStr = NSLocalizedString(@"buy_vip_buy_dtat_will_lost",nil);
-        NSString *middleStr = [NSString stringWithFormat:@"%ld",expirationReminder];
-        NSString *rightStr = NSLocalizedString(@"buy_vip_package_detail_day",nil);
-        NSString *showStr = [[leftStr stringByAppendingString:middleStr] stringByAppendingString:rightStr];
-        NSMutableAttributedString *string = [[NSMutableAttributedString alloc] initWithString:showStr attributes: @{NSForegroundColorAttributeName:HW666666Color}];
-        
-        [string addAttributes:@{NSForegroundColorAttributeName:HWDD4E4EColor} range:NSMakeRange(leftStr.length, middleStr.length)];
-        [upCell.downLabel setAttributedText:string];
-        [upCell.rightBtn setTitle:NSLocalizedString(@"buy_home_cell_exchange_vip_do",nil) forState:(UIControlStateNormal)];
-    }
-    
-    [upCell.rightBtn addTarget:self
-                        action:@selector(toBuyVIP) forControlEvents:(UIControlEventTouchUpInside)];
-    
-    downCell = [[CellWithBtnView alloc] init];
-    [downCell setBackgroundColor:[UIColor whiteColor]];
-    [self.view addSubview:downCell];
-    [downCell mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(19.f);
-        make.top.equalTo(upCell.mas_bottom).offset(8);
-        make.right.mas_equalTo(-19.f);
-        make.height.mas_equalTo(72.f);
-    }];
-    [downCell.layer setCornerRadius:8];
-    [downCell.topLabel setText:NSLocalizedString(@"buy_home_cell_get_vip_free_get",nil)];
-    [downCell.downLabel setText:NSLocalizedString(@"buy_home_cell_get_vip_invite_detail",nil)];
-    [downCell.rightBtn setTitle:NSLocalizedString(@"buy_home_cell_get_vip_invite",nil) forState:(UIControlStateNormal)];
-    [downCell.rightBtn addTarget:self
-                        action:@selector(toInviteFriend) forControlEvents:(UIControlEventTouchUpInside)];
-}
-
-- (void)setBtnPressed{
-    HLog(@"\n---右上角按钮点击-");
-    MySetViewController *nextVC = [[MySetViewController alloc] init];
-    nextVC.whetherPhoneStatus = self.whetherPhoneStatus;
-    [self.navigationController pushViewController:nextVC animated:YES];
-}
-
-- (void)toBuyVIP{
-    BuyVIPViewController *nextVC = [[BuyVIPViewController alloc] init];
-    [self.navigationController pushViewController:nextVC animated:YES];
-}
-
-- (void)toInviteFriend{
-    CustomerWebViewController *vc = [[CustomerWebViewController alloc] init];
-    vc.needHidenNav = YES;
-    NSDictionary *dictLogin = [[UseAccountManage shareInstance] getLoginInfo];
-    if (dictLogin && [[dictLogin allKeys] containsObject:@"token"])
-    {
-        NSString *tokenStr = [dictLogin objectForKey:@"token"];
-        NSString *url = [NSString stringWithFormat:@"http://192.168.11.32:11180/cloud/privacy/#/pages/invitation/index?token=%@&iosVersionNumber=%@", tokenStr,[iPhone appVersion]];
-        vc.webUrl = url;
-        [self.navigationController pushViewController:vc animated:YES];
-    }
-}
-
-/*
-#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

+ 0 - 20
双子星云手机/Class/BuyPhone/BuyHome/CellWithBtnView.h

@@ -1,20 +0,0 @@
-//
-//  CellWithBtnView.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/24.
-//
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface CellWithBtnView : UIView
-
-@property(nonatomic,strong)UILabel *topLabel;
-@property(nonatomic,strong)UILabel *downLabel;
-@property(nonatomic,strong)UIButton *rightBtn;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 83
双子星云手机/Class/BuyPhone/BuyHome/CellWithBtnView.m

@@ -1,83 +0,0 @@
-//
-//  CellWithBtnView.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/24.
-//
-
-#import "CellWithBtnView.h"
-#import <Masonry.h>
-
-@implementation CellWithBtnView
-@synthesize topLabel;
-@synthesize downLabel;
-@synthesize rightBtn;
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-- (id)initWithFrame:(CGRect)frame{
-    self = [super initWithFrame:frame];
-    
-    [self drawAnyView];
-    
-    return self;
-}
-
-- (void)drawAnyView{
-    topLabel = [[UILabel alloc] init];
-    [topLabel setTextColor:HW0A132BColor];
-    [topLabel setFont:[UIFont boldSystemFontOfSize:16]];
-    [topLabel setText:@"111111111"];
-    [self addSubview:topLabel];
-    [topLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(24.f);
-        make.top.mas_equalTo(16.f);
-        make.right.mas_equalTo(-124.f);
-        make.height.mas_equalTo(20.f);
-    }];
-    
-    downLabel = [[UILabel alloc] init];
-    [downLabel setTextColor:HW666666Color];
-    [downLabel setFont:[UIFont systemFontOfSize:10]];
-    [downLabel setText:@"222222222"];
-    [self addSubview:downLabel];
-    [downLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(24.f);
-        make.bottom.mas_equalTo(-17.f);
-        make.right.mas_equalTo(-124.f);
-    }];
-    
-    /*右侧按钮*/
-    rightBtn = [[UIButton alloc] init];
-    rightBtn.frame = CGRectMake(0, 0, 84.f, 36.f);
-
-    // gradient
-    CAGradientLayer *gl = [CAGradientLayer layer];
-    gl.frame = CGRectMake(0,0,84.f,36.f);
-    gl.startPoint = CGPointMake(0, 0.5);
-    gl.endPoint = CGPointMake(1, 0.5);
-    gl.colors = @[(__bridge id)HW0CDEFDColor.CGColor, (__bridge id)HW058DFBColor.CGColor];
-    gl.locations = @[@(0), @(1.0f)];
-    
-    [rightBtn.layer addSublayer:gl];
-    [rightBtn setTitle:@"3333333333" forState:(UIControlStateNormal)];
-    [rightBtn setTitleColor:[UIColor whiteColor] forState:(UIControlStateNormal)];
-    [rightBtn.titleLabel setFont:[UIFont boldSystemFontOfSize:12.f]];
-    [rightBtn.layer setCornerRadius:18.f];
-    rightBtn.clipsToBounds = YES;
-    [self addSubview:rightBtn];
-    [rightBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.centerY.equalTo(self.mas_centerY);
-        make.width.mas_equalTo(84);
-        make.right.mas_equalTo(-8.f);
-        make.height.mas_equalTo(36);
-    }];
-}
-
-@end

+ 0 - 18
双子星云手机/Class/BuyPhone/BuyHome/VIPFunctView.h

@@ -1,18 +0,0 @@
-//
-//  VIPFunctView.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/24.
-//
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface VIPFunctView : UIView
-
-- (id)initWithList:(NSArray *)privilegeList;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 121
双子星云手机/Class/BuyPhone/BuyHome/VIPFunctView.m

@@ -1,121 +0,0 @@
-//
-//  VIPFunctView.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/24.
-//
-
-#import "VIPFunctView.h"
-#import <Masonry.h>
-
-@interface VIPFunctView(){
-
-}
-
-@end
-
-@implementation VIPFunctView
-
-
-- (id)initWithFrame:(CGRect)frame{
-    self = [super initWithFrame:frame];
-    
-//    [self drawAnyView];
-    
-    return self;
-}
-
-- (id)initWithList:(NSArray *)privilegeList{
-    self = [super init];
-    
-    [self drawAnyViewWithList:privilegeList];
-    
-    return self;
-}
-
-- (void)drawAnyViewWithList:(NSArray *)privilegeList{
-    /*上方背景*/
-    UIImageView *upBGView = [[UIImageView alloc] init];
-    [upBGView setBackgroundColor:[UIColor clearColor]];
-    [upBGView setImage:[UIImage imageNamed:@"buy_home_fun_bg"]];
-    [self addSubview:upBGView];
-    [upBGView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-        make.top.mas_equalTo(22);
-        make.height.mas_equalTo(83);
-    }];
-    
-    /*上方文字*/
-    UILabel *topLabel = [[UILabel alloc] init];
-    [topLabel setFont:[UIFont boldSystemFontOfSize:16.f]];
-    [topLabel setTextColor:HW0A132BColor];
-    [topLabel setText:NSLocalizedString(@"buy_home_fun_title",nil)];
-    [topLabel setTextAlignment:(NSTextAlignmentCenter)];
-    [upBGView addSubview:topLabel];
-    [topLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-        make.top.mas_equalTo(20);
-        make.height.mas_equalTo(22);
-    }];
-    
-    /*上方图标*/
-    UIImageView *upFlagView = [[UIImageView alloc] init];
-    [upFlagView setBackgroundColor:[UIColor clearColor]];
-    [upFlagView setImage:[UIImage imageNamed:@"buy_home_fun_up_flag"]];
-    [self addSubview:upFlagView];
-    [upFlagView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(20);
-        make.width.mas_equalTo(64);
-        make.top.mas_equalTo(0);
-        make.height.mas_equalTo(29);
-    }];
-    
-    /*下方视图背景*/
-    UIView *downBGView = [[UIView alloc] init];
-    [downBGView setBackgroundColor:HWFFFFFFColor];
-    [downBGView.layer setCornerRadius:8.f];
-    [self addSubview:downBGView];
-    [downBGView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-        make.bottom.mas_equalTo(0);
-        make.height.mas_equalTo(138);
-    }];
-    
-    /*绘制标签*/
-    for (NSInteger nFori = 0; nFori < privilegeList.count; nFori++) {
-        UIButton *flagBtn = [[UIButton alloc] init];
-        [flagBtn setImage:[UIImage imageNamed:@"buy_home_flag_fun"] forState:(UIControlStateNormal)];
-        [flagBtn setTitleColor:HW666666Color forState:(UIControlStateNormal)];
-        [flagBtn.titleLabel setFont:[UIFont systemFontOfSize:12.f]];
-        [flagBtn setTitle:privilegeList[nFori] forState:(UIControlStateNormal)];
-        [flagBtn setContentHorizontalAlignment:(UIControlContentHorizontalAlignmentLeft)];
-        [downBGView addSubview:flagBtn];
-        
-        /*计算位置*/
-        NSInteger x_place = nFori%2;
-        NSInteger y_palce = nFori/2;
-        [flagBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-            if (x_place == 0){
-                make.left.mas_equalTo(28);
-            }else{
-                make.left.equalTo(downBGView.mas_centerX).offset(28);
-            }
-            make.width.mas_equalTo(140);
-            make.top.mas_equalTo(24 + y_palce*(18.f+18.f));
-            make.height.mas_equalTo(18);
-        }];
-    }
-}
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-@end

+ 0 - 16
双子星云手机/Class/BuyPhone/BuyVIPViewController.h

@@ -1,16 +0,0 @@
-//
-//  BuyVIPViewController.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/25.
-//
-
-#import "BaseViewController.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface BuyVIPViewController : BaseViewController
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 271
双子星云手机/Class/BuyPhone/BuyVIPViewController.m

@@ -1,271 +0,0 @@
-//
-//  BuyVIPViewController.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/25.
-//
-
-#import "BuyVIPViewController.h"
-#import "BuyVipTopView.h"
-#import "PackageListScrollView.h"
-#import "PayTypeView.h"
-#import "VIPFunctForBuyView.h"
-#import "PhonePackageModel.h"
-#import "PlayResultViewController.h"
-#import "NewPeopleWelfareViewController.h"
-#import "NoEnoughTimeViewController.h"
-#import "UseAccountManage.h"
-#import "CloudPhoneAPI.h"
-#import "PhonePackageModel.h"
-#import "WXApi.h"
-#import "RSATool.h"
-#import "SafeForKey.h"
-
-@interface BuyVIPViewController (){
-    BuyVipTopView *buyVipTopView;
-    PackageListScrollView *packageListScrollView;
-    PayTypeView *payTypeView;
-    VIPFunctForBuyView *vipFunctForBuyView;
-    
-    PhonePackageDataModel *phonePackageDataModel;
-}
-
-@end
-
-@implementation BuyVIPViewController
-
-- (void)viewDidLoad {
-    [super viewDidLoad];
-    // Do any additional setup after loading the view.
-    if (@available(iOS 11.0, *)) {  // 兼容低版本ios
-        [self setNeedsUpdateOfHomeIndicatorAutoHidden];
-    }
-    
-    [self drawAnyView];
-    
-    /*请求套餐数据*/
-    [[UseAccountManage shareInstance] CommonPostCallBackCode:PostPhonePackageInfoAPI
-                                                      Params:[NSDictionary new]
-                                                     success:^(id  _Nonnull responseObject) {
-        
-        self->phonePackageDataModel = [[PhonePackageDataModel alloc] initWithDictionary:responseObject error:nil];
-        
-        if (self->phonePackageDataModel.status.integerValue == 0){
-            [self drawPackageVew];
-        }
-    }
-                                                     failure:^(NSError * _Nonnull error) {
-        ;
-    }];
-}
-
-- (void)drawAnyView{
-    [self.view setBackgroundColor:HWF5F7FAColor];
-    [[UIApplication sharedApplication] setStatusBarHidden:NO];
-    [self.toolBar setHidden:YES];
-    [self.navigationBar setHidden:YES];
-    [self.navBarBGView setHidden:NO];
-    [self.titleLabel setText:NSLocalizedString(@"buy_vip_title",nil)];
-}
-
-- (void)drawPackageVew{
-    /*头部视图*/
-    buyVipTopView = [[BuyVipTopView alloc] init];
-    [self.view addSubview:buyVipTopView];
-    [buyVipTopView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.equalTo(self.navBarBGView.mas_bottom).offset(12.f);
-        make.left.mas_equalTo(15);
-        make.right.mas_equalTo(-15.f);
-        make.height.mas_equalTo(150);
-    }];
-    [buyVipTopView setImage:[UIImage imageNamed:@"buy_vip_top_bj"]];
-    
-    NSString *leftStr = NSLocalizedString(@"buy_vip_top_vaildtime",nil);
-    NSString *timeStr = phonePackageDataModel.data.exceptTime;
-    if (!timeStr || timeStr.length < 1){
-        timeStr = NSLocalizedString(@"buy_vip_buy_no_vaildtime",nil);
-    }
-    [buyVipTopView.vaildTimeLabel setText:[leftStr stringByAppendingString:timeStr]];
-    
-    /*底部购买按钮*/
-    CGFloat w_btn = SCREEN_W - 2*15.f;
-    UIButton *buyBtn = [[UIButton alloc] init];
-    buyBtn.frame = CGRectMake(0, 0, w_btn, 48.f);
-
-    // gradient
-    CAGradientLayer *gl = [CAGradientLayer layer];
-    gl.frame = CGRectMake(0,0,w_btn,48.f);
-    gl.startPoint = CGPointMake(0, 0.5);
-    gl.endPoint = CGPointMake(1, 0.5);
-    gl.colors = @[(__bridge id)HW0CDEFDColor.CGColor, (__bridge id)HW058DFBColor.CGColor];
-    gl.locations = @[@(0), @(1.0f)];
-    
-    [buyBtn.layer addSublayer:gl];
-    [buyBtn setTitle:NSLocalizedString(@"buy_vip_top_buy_btn",nil) forState:(UIControlStateNormal)];
-    [buyBtn setTitleColor:[UIColor whiteColor] forState:(UIControlStateNormal)];
-    [buyBtn.titleLabel setFont:[UIFont boldSystemFontOfSize:16.f]];
-    [buyBtn.layer setCornerRadius:8.f];
-    buyBtn.clipsToBounds = YES;
-    [self.view addSubview:buyBtn];
-    [buyBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.bottom.mas_equalTo(-(17.f + AdaptTabHeight));
-        make.left.mas_equalTo(15);
-        make.right.mas_equalTo(-15.f);
-        make.height.mas_equalTo(48);
-    }];
-    [buyBtn addTarget:self
-               action:@selector(buyBtnPressed)
-     forControlEvents:(UIControlEventTouchUpInside)];
-    
-    /*中间可滑动模块*/
-    UIScrollView *middleScr = [[UIScrollView alloc] init];
-    [middleScr setBackgroundColor:[UIColor clearColor]];
-    [middleScr setShowsVerticalScrollIndicator:YES];
-    [middleScr setShowsHorizontalScrollIndicator:NO];
-    [middleScr setUserInteractionEnabled:YES];
-    
-    [self.view addSubview:middleScr];
-    [middleScr mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.bottom.equalTo(buyBtn.mas_top).offset(-36.f);
-        make.left.mas_equalTo(15);
-        make.right.mas_equalTo(-15.f);
-        make.top.equalTo(buyVipTopView.mas_bottom);
-    }];
-    
-    /*套餐列表*/
-    packageListScrollView = [[PackageListScrollView alloc] init];
-    [middleScr addSubview:packageListScrollView];
-    [packageListScrollView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.height.mas_equalTo(145);
-        make.left.mas_equalTo(0);
-        make.width.mas_equalTo(SCREEN_W - 2*15.f);
-        make.top.mas_equalTo(0);
-    }];
-    [packageListScrollView setBackgroundColor:[UIColor clearColor]];
-    [packageListScrollView setShowsVerticalScrollIndicator:YES];
-    [packageListScrollView setShowsHorizontalScrollIndicator:NO];
-    [packageListScrollView setUserInteractionEnabled:YES];
-    [middleScr.panGestureRecognizer requireGestureRecognizerToFail:packageListScrollView.panGestureRecognizer ];
-    
-    packageListScrollView.packageModelAry = [[NSMutableArray alloc] initWithArray:phonePackageDataModel.data.menuRuleVOList];
-    
-    /*支付方式*/
-    payTypeView = [[PayTypeView alloc] init];
-    [payTypeView setBackgroundColor:[UIColor whiteColor]];
-    [payTypeView.layer setCornerRadius:8.f];
-    [middleScr addSubview:payTypeView];
-    [payTypeView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.height.mas_equalTo(121);
-        make.left.mas_equalTo(0);
-        make.width.mas_equalTo(SCREEN_W - 2*15.f);
-        make.top.equalTo(packageListScrollView.mas_bottom).offset(0);
-    }];
-    
-    /*会员特权*/
-    vipFunctForBuyView = [[VIPFunctForBuyView alloc] initWithFunAry:phonePackageDataModel.data.privilegeList];
-    [vipFunctForBuyView setBackgroundColor:[UIColor whiteColor]];
-    [vipFunctForBuyView.layer setCornerRadius:8.f];
-    [middleScr addSubview:vipFunctForBuyView];
-    
-    /*计算高度*/
-//    全高131
-    NSInteger funAryCount = phonePackageDataModel.data.privilegeList.count;
-    CGFloat h_vipFunctForBuyView = 131.f;
-    if (funAryCount <= 2){
-        h_vipFunctForBuyView = 65.f;
-    }else if (funAryCount <= 4){
-        h_vipFunctForBuyView = 92.f;
-    }
-    
-    [vipFunctForBuyView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.height.mas_equalTo(h_vipFunctForBuyView);
-        make.left.mas_equalTo(0);
-        make.width.mas_equalTo(SCREEN_W - 2*15.f);
-        make.top.equalTo(payTypeView.mas_bottom).offset(16);
-    }];
-    
-    UIView *hidenView = [[UIView alloc] init];
-    [hidenView setBackgroundColor:[UIColor clearColor]];
-    [middleScr addSubview:hidenView];
-    [hidenView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(15);
-        make.top.equalTo(vipFunctForBuyView.mas_bottom).offset(0);
-        make.width.mas_equalTo(SCREEN_W - 2*15.f);
-        make.height.mas_equalTo(20);
-        make.bottom.equalTo(middleScr.mas_bottom).offset(-10);
-    }];
-}
-
-- (void)buyBtnPressed{
-    if (payTypeView.selectPayType == 0)/*微信*/{
-        if(![WXApi isWXAppInstalled]){
-            [[iToast makeText:@"未安装微信,请先安装微信"] show];
-            return;
-        }
-    }
-    
-    PhonePackageModel *model = [phonePackageDataModel.data.menuRuleVOList objectAtIndex:packageListScrollView.selectIndex];
-    NSMutableDictionary *params = [NSMutableDictionary dictionary];
-    [params setObject:@(model.ID) forKey:@"mealId"];
-    [params setObject:@(0) forKey:@"mealType"];
-    [params setObject:@(0) forKey:@"couponId"];
-    [params setObject:@(1) forKey:@"quantity"];
-    [params setObject:@(0) forKey:@"userCardId"];
-    [params setObject:@"VIP" forKey:@"phoneType"];
-    [params setObject:@(0) forKey:@"automaticRenewal"];
-    
-    if (payTypeView.selectPayType == 0){
-        [params setObject:@(2) forKey:@"payType"];
-    }else{
-        [params setObject:@(1) forKey:@"payType"];
-    }
-    [params setObject:[NSNumber numberWithFloat:model.actualPrice] forKey:@"totalAmount"];
-    [params setObject:@(1) forKey:@"buyType"];
-    NSString *jsonStr = [RSATool sortArrWithDictionary:params];
-    NSString *signStr = [RSATool RSASignEncrypt:jsonStr key:SignKey];
-    signStr = [RSATool deleteNewlineCharactersWithString:signStr];
-    [params setObject:signStr forKey:@"sign"];
-    [self showNewIndicatorWithCanBack:YES canTouch:NO];
-    [[UseAccountManage shareInstance] CommonPostCallBackCode:PostCreateOrderAPI
-                                                      Params:params
-                                                     success:^(id  _Nonnull responseObject) {
-        [self removeNewIndicator];
-        
-        if (CODE == 0){
-            NSDictionary *data = [responseObject safeDictionaryForKey:@"data"];
-            NSString *orderNum = [data safeStringForKey:@"orderNum"];
-            PlayResultViewController *nextVC = [[PlayResultViewController alloc] init];
-            nextVC.orderNum = orderNum;
-            nextVC.selectPayType = self->payTypeView.selectPayType;
-            [self.navigationController pushViewController:nextVC animated:YES];
-        }
-    }
-                                                     failure:^(NSError * _Nonnull error) {
-        [self removeNewIndicator];
-    }];
-//#define PostCreateOrderAPI        @"/api/pay/v1/order/create"/*创建订单*/
-//
-//#define GetPayOrderAPI            @"/api/pay/v1/order/closeOrder"/*拉起订单支付*/
-    
-//    PlayResultViewController *nextVC = [[PlayResultViewController alloc] init];
-//    [self.navigationController pushViewController:nextVC animated:YES];
-    
-//    /*调试UI*/
-//    NoEnoughTimeViewController *nextVC = [[NoEnoughTimeViewController alloc] init];
-//    nextVC.modalPresentationStyle = UIModalPresentationCustom;
-//    [self presentViewController:nextVC animated:YES completion:^{
-//        nextVC.view.superview.backgroundColor = [UIColor clearColor];
-//    }];
-}
-
-/*
-#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

+ 0 - 19
双子星云手机/Class/BuyPhone/BuyVipView/BuyVipTopView.h

@@ -1,19 +0,0 @@
-//
-//  BuyVipTopView.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/25.
-//
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface BuyVipTopView : UIImageView
-
-@property(nonatomic,strong)UILabel *titleLabel;
-@property(nonatomic,strong)UILabel *vaildTimeLabel;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 63
双子星云手机/Class/BuyPhone/BuyVipView/BuyVipTopView.m

@@ -1,63 +0,0 @@
-//
-//  BuyVipTopView.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/25.
-//
-
-#import "BuyVipTopView.h"
-#import <Masonry.h>
-
-@implementation BuyVipTopView
-@synthesize titleLabel;
-@synthesize vaildTimeLabel;
-
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-- (id)initWithFrame:(CGRect)frame{
-    self = [super initWithFrame:frame];
-    
-    [self drawAnyView];
-    
-    return self;
-}
-
-- (void)drawAnyView{
-    titleLabel = [[UILabel alloc] init];
-    [self addSubview:titleLabel];
-    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.mas_equalTo(30.f);
-        make.left.mas_equalTo(20.f);
-        make.height.mas_equalTo(33.f);
-    }];
-    [titleLabel setTextColor:HWFFFFFFColor];
-    NSString *leftStr0 = NSLocalizedString(@"buy_vip_top_title",nil);
-    NSString *rightStr0 = @"VIP";
-    NSString *showStr = [leftStr0 stringByAppendingString:rightStr0];
-    NSMutableAttributedString *string = [[NSMutableAttributedString alloc] initWithString:showStr attributes: @{NSFontAttributeName: [UIFont systemFontOfSize:16.f]}];
-    [string addAttributes:@{NSFontAttributeName: [UIFont boldSystemFontOfSize:24.f]} range:NSMakeRange(leftStr0.length, rightStr0.length)];
-    [titleLabel setAttributedText:string];
-    
-    vaildTimeLabel = [[UILabel alloc] init];
-    [self addSubview:vaildTimeLabel];
-    [vaildTimeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.bottom.mas_equalTo(-28.f);
-        make.right.mas_equalTo(-20.f);
-        make.left.mas_equalTo(33.f);
-    }];
-    [vaildTimeLabel setTextAlignment:(NSTextAlignmentRight)];
-    [vaildTimeLabel setTextColor:HWFFFFFFColor];
-    [vaildTimeLabel setFont:[UIFont systemFontOfSize:12]];
-    NSString *leftStr = NSLocalizedString(@"buy_vip_top_vaildtime",nil);
-    NSString *timeStr = @"2023-04-22";
-    [vaildTimeLabel setText:[leftStr stringByAppendingString:timeStr]];
-}
-
-@end

+ 0 - 21
双子星云手机/Class/BuyPhone/BuyVipView/PackageListScrollView.h

@@ -1,21 +0,0 @@
-//
-//  PackageListScrollView.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2020/4/18.
-//  Copyright © 2020 APPLE. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import "PhonePackageModel.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PackageListScrollView : UIScrollView<UIGestureRecognizerDelegate>
-
-@property(nonatomic,strong)NSMutableArray <PhonePackageModel *>*packageModelAry;/*支付套餐*/
-@property(nonatomic,assign)NSInteger selectIndex;/*选中的支付套餐*/
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 142
双子星云手机/Class/BuyPhone/BuyVipView/PackageListScrollView.m

@@ -1,142 +0,0 @@
-//
-//  PackageListScrollView.m
-//  VclustersGemini
-//
-//  Created by APPLE on 2020/4/18.
-//  Copyright © 2020 APPLE. All rights reserved.
-//
-
-#import "PackageListScrollView.h"
-#import "packDetailBtn.h"
-
-@interface PackageListScrollView(){
-    
-}
-@end
-
-@implementation PackageListScrollView
-@synthesize packageModelAry;
-@synthesize selectIndex;
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
- - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
- {
-     if (gestureRecognizer.state != 0) {
-         return YES;
-     } else {
-         return NO;
-     }
- }
-
-
-- (id)initWithFrame:(CGRect)frame
-{
-    self = [super initWithFrame:frame];
-    
-    if (self)
-    {
-        self.delaysContentTouches = NO;
-    }
-    return self;
-}
-
-
-- (BOOL)touchesShouldCancelInContentView:(UIView*)view {
-    if ([view isKindOfClass:UIButton.class]) {
-        return YES;
-    }
-
-    return[super touchesShouldCancelInContentView:view];
-}
-
-
-
-//-(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
-//{
-//    UIView *view = [super hitTest:point withEvent:event];
-//    return view;
-//}
-
-- (void)setPackageModelAry:(NSMutableArray *)packageModelAry{
-    self->packageModelAry = packageModelAry;
-    
-    for (UIView *subView in [self subviews]) {
-        [subView removeFromSuperview];
-    }
-    
-    [self testCellNumber:packageModelAry.count];
-}
-
-
-- (void)testCellNumber:(NSInteger)number{
-    for (NSInteger nFori = 0; nFori < number; nFori++) {
-        NSInteger x_index = nFori%2;
-        NSInteger y_index = nFori/2;
-        CGFloat w_btn = (SCREEN_W - 2*15.f - 15.f)/2.f;
-        
-        packDetailBtn *tempView = [[packDetailBtn alloc] initWithFrame:(CGRectMake(x_index*(w_btn + 15.f), 16.f + y_index*(113.f + 16.f), w_btn, 113.f))];
-        tempView.tag = 12345+nFori;
-        tempView.model = [self->packageModelAry objectAtIndex:nFori];
-        [self addSubview:tempView];
-        [tempView.layer setCornerRadius:8.f];
-        tempView.clipsToBounds = YES;
-        
-        [tempView addTarget:self
-                     action:@selector(packageSelect:)
-           forControlEvents:(UIControlEventTouchUpInside)];
-        
-        if (nFori == 0){
-            [tempView setSelected:YES];
-            self.selectIndex = 0;
-        }else{
-            [tempView setSelected:NO];
-        }
-        
-        if (nFori == number-1){
-            UIView *hidenView = [[UIView alloc] init];
-            [hidenView setBackgroundColor:[UIColor clearColor]];
-            [self addSubview:hidenView];
-            [hidenView mas_makeConstraints:^(MASConstraintMaker *make) {
-                make.left.mas_equalTo(0);
-                make.top.equalTo(tempView.mas_bottom).offset(0);
-                make.width.mas_equalTo(SCREEN_W - 3*15.f);
-                make.height.mas_equalTo(16);
-                make.bottom.equalTo(self.mas_bottom).offset(0);
-            }];
-        }
-    }
-    
-    [self mas_updateConstraints:^(MASConstraintMaker *make) {
-        if (number <= 2){
-            make.height.mas_equalTo(145);
-        }else if (number <= 4){
-            make.height.mas_equalTo(145 + 113.f + 16.f);
-        }else{
-            make.height.mas_equalTo(145 + 113.f + 16.f + 113.f/2.f);
-        }
-    }];
-}
-
-- (void)packageSelect:(id)sender{
-    UIButton *selectBtn = (UIButton *)sender;
-    selectIndex = selectBtn.tag - 12345;
-    
-    HLog(@"\n---你选中了第%ld个套餐---",selectIndex);
-    
-    for (UIButton *subView in [self subviews]) {
-        
-        if ([subView isKindOfClass:[UIButton class]]){
-            [subView setSelected:NO];
-        }
-    }
-    
-    [selectBtn setSelected:YES];
-}
-
-@end

+ 0 - 20
双子星云手机/Class/BuyPhone/BuyVipView/PayTypeView.h

@@ -1,20 +0,0 @@
-//
-//  PayTypeView.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/28.
-//
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PayTypeView : UIView
-
-@property(nonatomic,strong)UIButton *wxPayBtn;
-@property(nonatomic,strong)UIButton *airPayBtn;
-@property(nonatomic,assign)NSInteger selectPayType;//0:微信 1支付宝
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 137
双子星云手机/Class/BuyPhone/BuyVipView/PayTypeView.m

@@ -1,137 +0,0 @@
-//
-//  PayTypeView.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/28.
-//
-
-#import "PayTypeView.h"
-#import <Masonry.h>
-
-@interface PayTypeView(){
-    UIButton *wxPaySelectFlagBtn;
-    UIButton *airPaySelectFlagBtn;
-}
-
-@end
-
-@implementation PayTypeView
-@synthesize wxPayBtn;
-@synthesize airPayBtn;
-@synthesize selectPayType;
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-- (id)initWithFrame:(CGRect)frame{
-    self = [super initWithFrame:frame];
-    
-    [self drawAnyView];
-    
-    return self;
-}
-
-- (void)drawAnyView{
-    wxPayBtn = [[UIButton alloc] init];
-    [self addSubview:wxPayBtn];
-    [wxPayBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-        make.top.mas_equalTo(0);
-        make.height.mas_equalTo(60);
-    }];
-    [wxPayBtn setImage:[UIImage imageNamed:@"icon_wechat_pay"] forState:(UIControlStateNormal)];
-    [wxPayBtn setImageEdgeInsets:(UIEdgeInsetsMake(0, 10, 0, 10))];
-    [wxPayBtn setTitle:@"微信支付" forState:(UIControlStateNormal)];
-    [wxPayBtn setTitleEdgeInsets:(UIEdgeInsetsMake(0, 13, 0, 10))];
-    [wxPayBtn setTitleColor:HW0A132BColor forState:(UIControlStateNormal)];
-    [wxPayBtn.titleLabel setFont:[UIFont systemFontOfSize:13.f]];
-    [wxPayBtn setContentHorizontalAlignment:(UIControlContentHorizontalAlignmentLeft)];
-    [wxPayBtn addTarget:self
-                 action:@selector(wxPayBtnPressed)
-       forControlEvents:(UIControlEventTouchUpInside)];
-    
-    wxPaySelectFlagBtn = [[UIButton alloc] init];
-    [wxPaySelectFlagBtn setImage:[UIImage imageNamed:@"buy_type_disselect"] forState:(UIControlStateNormal)];
-    [wxPaySelectFlagBtn setImage:[UIImage imageNamed:@"buy_type_selected"] forState:(UIControlStateSelected)];
-    [wxPaySelectFlagBtn setSelected:YES];
-    [wxPayBtn addSubview:wxPaySelectFlagBtn];
-    [wxPaySelectFlagBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.mas_equalTo(16.f);
-        make.right.mas_equalTo(-15);
-        make.width.mas_equalTo(28.f);
-        make.height.mas_equalTo(28.f);
-    }];
-    
-    UIView *line = [[UIView alloc] init];
-    [line setBackgroundColor:HW979797Color10];
-    [self addSubview:line];
-    [line mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(15);
-        make.right.mas_equalTo(-15);
-        make.centerY.equalTo(self.mas_centerY);
-        make.height.mas_equalTo(1);
-    }];
-    
-//    icon_air_pay
-    airPayBtn = [[UIButton alloc] init];
-    [self addSubview:airPayBtn];
-    [airPayBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-        make.bottom.mas_equalTo(0);
-        make.height.mas_equalTo(60);
-    }];
-    [airPayBtn setImage:[UIImage imageNamed:@"icon_air_pay"] forState:(UIControlStateNormal)];
-    [airPayBtn setImageEdgeInsets:(UIEdgeInsetsMake(0, 10, 0, 10))];
-    [airPayBtn setTitleEdgeInsets:(UIEdgeInsetsMake(0, 13, 0, 10))];
-    [airPayBtn setTitle:@"支付宝" forState:(UIControlStateNormal)];
-    [airPayBtn setTitleColor:HW0A132BColor forState:(UIControlStateNormal)];
-    [airPayBtn.titleLabel setFont:[UIFont systemFontOfSize:13.f]];
-    [airPayBtn setContentHorizontalAlignment:(UIControlContentHorizontalAlignmentLeft)];
-    [airPayBtn addTarget:self
-                 action:@selector(airPayBtnPressed)
-       forControlEvents:(UIControlEventTouchUpInside)];
-    
-    airPaySelectFlagBtn = [[UIButton alloc] init];
-    [airPaySelectFlagBtn setImage:[UIImage imageNamed:@"buy_type_disselect"] forState:(UIControlStateNormal)];
-    [airPaySelectFlagBtn setImage:[UIImage imageNamed:@"buy_type_selected"] forState:(UIControlStateSelected)];
-    [airPaySelectFlagBtn setSelected:NO];
-    [airPayBtn addSubview:airPaySelectFlagBtn];
-    [airPaySelectFlagBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.mas_equalTo(16.f);
-        make.right.mas_equalTo(-15);
-        make.width.mas_equalTo(28.f);
-        make.height.mas_equalTo(28.f);
-    }];
-    
-    self.selectPayType = 0;
-}
-
-- (void)setSelectPayType:(NSInteger)selectPayType{
-    self->selectPayType = selectPayType;
-    
-    /*改变图标*/
-    if (selectPayType == 0){
-        [wxPaySelectFlagBtn setSelected:YES];
-        [airPaySelectFlagBtn setSelected:NO];
-    }else{
-        [wxPaySelectFlagBtn setSelected:NO];
-        [airPaySelectFlagBtn setSelected:YES];
-    }
-}
-
-- (void)wxPayBtnPressed{
-    self.selectPayType = 0;
-}
-
-- (void)airPayBtnPressed{
-    self.selectPayType = 1;
-}
-
-@end

+ 0 - 18
双子星云手机/Class/BuyPhone/BuyVipView/VIPFunctForBuyView.h

@@ -1,18 +0,0 @@
-//
-//  VIPFunctView.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/24.
-//
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface VIPFunctForBuyView : UIView
-
-- (id)initWithFunAry:(NSArray *)titleAry;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 116
双子星云手机/Class/BuyPhone/BuyVipView/VIPFunctForBuyView.m

@@ -1,116 +0,0 @@
-//
-//  VIPFunctView.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/24.
-//
-
-#import "VIPFunctForBuyView.h"
-#import <Masonry.h>
-
-@interface VIPFunctForBuyView(){
-
-}
-
-@end
-
-@implementation VIPFunctForBuyView
-
-- (id)initWithFunAry:(NSArray *)titleAry{
-    self = [super init];
-    
-    [self drawAnyViewWithAry:titleAry];
-    
-    return self;
-}
-
-- (void)drawAnyViewWithAry:(NSArray *)titleAry{
-    /*上方文字*/
-    UILabel *topLabel = [[UILabel alloc] init];
-    [topLabel setFont:[UIFont boldSystemFontOfSize:16.f]];
-    [topLabel setTextColor:HW0A132BColor];
-    [topLabel setText:NSLocalizedString(@"buy_home_fun_title",nil)];
-    [topLabel setTextAlignment:(NSTextAlignmentCenter)];
-    [self addSubview:topLabel];
-    [topLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-        make.top.mas_equalTo(10);
-        make.height.mas_equalTo(22);
-    }];
-    
-    CGFloat w_Line = 56.f*AUTOSCALE;
-    CGFloat h_line = 2.f;
-    UIView *lineLeft = [[UIButton alloc] init];
-    lineLeft.frame = CGRectMake(0, 0, w_Line, 2.f);
-
-    // gradient
-    CAGradientLayer *gl = [CAGradientLayer layer];
-    gl.frame = CGRectMake(0,0,w_Line,h_line);
-    gl.startPoint = CGPointMake(0, 0.5);
-    gl.endPoint = CGPointMake(1, 0.5);
-    gl.colors = @[(__bridge id)HW0A132BColor00.CGColor, (__bridge id)HW182B56Color.CGColor];
-    gl.locations = @[@(0), @(1.0f)];
-    [lineLeft.layer addSublayer:gl];
-    [self addSubview:lineLeft];
-    [lineLeft mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.centerY.equalTo(topLabel.mas_centerY);
-        make.right.equalTo(self.mas_centerX).offset(-82);
-        make.width.mas_equalTo(w_Line);
-        make.height.mas_equalTo(h_line);
-    }];
-    
-    UIView *lineRight = [[UIButton alloc] init];
-    lineRight.frame = CGRectMake(0, 0, w_Line, 2.f);
-
-    // gradient
-    CAGradientLayer *gl1 = [CAGradientLayer layer];
-    gl1.frame = CGRectMake(0,0,w_Line,h_line);
-    gl1.startPoint = CGPointMake(0, 0.5);
-    gl1.endPoint = CGPointMake(1, 0.5);
-    gl1.colors = @[(__bridge id)HW182B56Color.CGColor, (__bridge id)HW0A132BColor00.CGColor];
-    gl1.locations = @[@(0), @(1.0f)];
-    [lineRight.layer addSublayer:gl1];
-    [self addSubview:lineRight];
-    [lineRight mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.centerY.equalTo(topLabel.mas_centerY);
-        make.left.equalTo(self.mas_centerX).offset(82);
-        make.width.mas_equalTo(w_Line);
-        make.height.mas_equalTo(h_line);
-    }];
-
-    /*绘制标签*/
-    for (NSInteger nFori = 0; nFori < titleAry.count; nFori++) {
-        UIButton *flagBtn = [[UIButton alloc] init];
-        [flagBtn setImage:[UIImage imageNamed:@"buy_home_flag_fun"] forState:(UIControlStateNormal)];
-        [flagBtn setTitleColor:HW666666Color forState:(UIControlStateNormal)];
-        [flagBtn.titleLabel setFont:[UIFont systemFontOfSize:12.f]];
-        [flagBtn setTitle:[titleAry objectAtIndex:nFori] forState:(UIControlStateNormal)];
-        [flagBtn setContentHorizontalAlignment:(UIControlContentHorizontalAlignmentLeft)];
-        [self addSubview:flagBtn];
-        
-        /*计算位置*/
-        NSInteger x_place = nFori%2;
-        NSInteger y_palce = nFori/2;
-        [flagBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-            if (x_place == 0){
-                make.left.mas_equalTo(28);
-            }else{
-                make.left.equalTo(self.mas_centerX).offset(28);
-            }
-            make.width.mas_equalTo(140);
-            make.top.mas_equalTo(42 + y_palce*(18.f+8.f));
-            make.height.mas_equalTo(18);
-        }];
-    }
-}
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-@end

+ 0 - 16
双子星云手机/Class/BuyPhone/BuyVipView/packDetailBtn.h

@@ -1,16 +0,0 @@
-//
-//  packDetailBtn.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/28.
-//
-
-#import <UIKit/UIKit.h>
-#import "PhonePackageModel.h"
-NS_ASSUME_NONNULL_BEGIN
-
-@interface packDetailBtn : UIButton
-@property(nonatomic,strong)PhonePackageModel *model;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 117
双子星云手机/Class/BuyPhone/BuyVipView/packDetailBtn.m

@@ -1,117 +0,0 @@
-//
-//  packDetailBtn.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/28.
-//
-
-#import "packDetailBtn.h"
-#import <Masonry.h>
-
-@interface packDetailBtn(){
-    UILabel *actPiceLabel;
-    UILabel *orgPiceLabel;
-    UILabel *vailTimeLabel;
-}
-
-@end
-
-@implementation packDetailBtn
-@synthesize model;
-
-- (id)init{
-    self = [super init];
-    
-    [self drawAnyView];
-    
-    return self;
-}
-
-- (id)initWithFrame:(CGRect)frame{
-    self= [super initWithFrame:frame];
-    
-    [self drawAnyView];
-    
-    return self;
-}
-
-- (void)drawAnyView{
-    actPiceLabel = [[UILabel alloc] init];
-    [actPiceLabel setTextColor:HWDD4E4EColor];
-    [actPiceLabel setTextAlignment:(NSTextAlignmentRight)];
-    [self addSubview:actPiceLabel];
-    [actPiceLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.right.equalTo(self.mas_centerX).offset(25);
-        make.top.mas_equalTo(20.f);
-        make.height.mas_equalTo(50.f);
-    }];
-    
-    orgPiceLabel = [[UILabel alloc] init];
-    [orgPiceLabel setTextColor:HW666666Color];
-    [self addSubview:orgPiceLabel];
-    [orgPiceLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.equalTo(actPiceLabel.mas_right).offset(5.f);
-        make.top.mas_equalTo(44.f);
-        make.height.mas_equalTo(18.f);
-    }];
-    
-    vailTimeLabel = [[UILabel alloc] init];
-    [vailTimeLabel setTextColor:HW0A132BColor];
-    [vailTimeLabel setTextAlignment:(NSTextAlignmentCenter)];
-    [self addSubview:vailTimeLabel];
-    [vailTimeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(20.f);
-        make.right.mas_equalTo(-20.f);
-        make.bottom.mas_equalTo(-20.f);
-        make.height.mas_equalTo(18.f);
-    }];
-}
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-- (void)setSelected:(BOOL)selected{
-    [super setSelected:selected];
-    
-    if (selected){
-        self.layer.borderWidth = 2;
-        self.layer.borderColor = HW13B2EBColor.CGColor;
-        self.backgroundColor = HWE7F2F8Color;
-    }else{
-        self.backgroundColor = HWFFFFFFColor;
-        self.layer.borderWidth = 0;
-        self.layer.borderColor = HW13B2EBColor.CGColor;
-    }
-}
-
-- (void)setModel:(PhonePackageModel *)model{
-    self->model = model;
-    
-    /*真实价格*/
-    NSString *leftStr0 = @"¥";
-    NSString *rightStr0 = [NSString stringWithFormat:@"%.02lf",model.actualPrice];
-    NSString *showStr = [leftStr0 stringByAppendingString:rightStr0];
-    NSMutableAttributedString *string = [[NSMutableAttributedString alloc] initWithString:showStr attributes: @{NSFontAttributeName: [UIFont systemFontOfSize:13.f]}];
-    [string addAttributes:@{NSFontAttributeName: [UIFont boldSystemFontOfSize:32.f]} range:NSMakeRange(leftStr0.length, rightStr0.length)];
-    [actPiceLabel setAttributedText:string];
-
-    
-    NSString *leftStr1 = @"¥";
-    NSString *rightStr1 = [NSString stringWithFormat:@"%.02lf",model.originalPrice];
-    NSMutableAttributedString *string1 = [[NSMutableAttributedString alloc] initWithString:[leftStr1 stringByAppendingString:rightStr1] attributes: @{NSFontAttributeName: [UIFont systemFontOfSize:13.f],NSStrikethroughStyleAttributeName: [NSNumber numberWithInteger:NSUnderlineStyleSingle]}];
-    [orgPiceLabel setAttributedText:string1];
-    
-    /*有效期*/
-    NSString *leftStr2 = [NSString stringWithFormat:@"%ld",model.effectiveTime];
-    NSString *rightStr2 = NSLocalizedString(@"buy_vip_package_detail_day",nil);
-    [vailTimeLabel setText:[leftStr2 stringByAppendingString:rightStr2]];
-//    orgPiceLabel
-//    vailTimeLabel
-}
-
-@end

+ 0 - 58
双子星云手机/Class/BuyPhone/Model/PhonePackageModel.h

@@ -1,58 +0,0 @@
-//
-//  PhonePackageModel.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2020/7/27.
-//  Copyright © 2020 APPLE. All rights reserved.
-//
-
-#import "SuperModel.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PhonePackageModel : SuperModel
-
-@property (nonatomic,assign) CGFloat actualPrice;/*实际价格*/
-@property (nonatomic,assign) CGFloat originalPrice;/*原价*/
-@property (nonatomic,assign) NSInteger effectiveTime;/*时长*/
-@property (nonatomic,copy)   NSString *createTime;/*创建时间*/
-@property (nonatomic,copy)   NSString *title;/*标签*/
-@property (nonatomic,assign)   NSInteger ID;/*套餐id*/
-
-@end
-
-@protocol PhonePackageModel;
-@interface PhonePackageListModel : SuperModel
-
-@property (nonatomic,copy)   NSArray <PhonePackageModel>*menuRuleVOList;/*套餐列表*/
-
-/**
- * @brief  特权信息
- */
-@property(nonatomic, copy)NSArray *privilegeList;
-
-/**
- * @brief 云机剩余时长 单位秒S
- */
-@property (nonatomic, assign) NSInteger cloudPhoneTime;
-
-/**
- * @brief  过期时间yyyy-mm-dd hh:MM:SS
- */
-@property(nonatomic, copy)NSString *exceptSourceTime;
-
-/**
- * @brief  过期时间yyyy-mm-dd
- */
-@property(nonatomic, copy)NSString *exceptTime;
-
-@end
-
-@interface PhonePackageDataModel : SuperModel
-
-@property(nonatomic, copy)PhonePackageListModel *data;
-
-@end
-
-NS_ASSUME_NONNULL_END
-

+ 0 - 30
双子星云手机/Class/BuyPhone/Model/PhonePackageModel.m

@@ -1,30 +0,0 @@
-//
-//  PhonePackageModel.m
-//  VclustersGemini
-//
-//  Created by APPLE on 2020/7/27.
-//  Copyright © 2020 APPLE. All rights reserved.
-//
-
-#import "PhonePackageModel.h"
-
-@implementation PhonePackageModel
-
-+(JSONKeyMapper *)keyMapper{
-    return [[JSONKeyMapper alloc]initWithDictionary:@{@"id":@"ID"}];
-}
-
-@end
-
-@implementation PhonePackageListModel
-
-
-@end
-
-@implementation PhonePackageDataModel
-
-
-@end
-
-
-

+ 0 - 16
双子星云手机/Class/BuyPhone/PayRecoderDetailViewController.h

@@ -1,16 +0,0 @@
-//
-//  PayRecoderDetailViewController.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/29.
-//
-
-#import "BaseViewController.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PayRecoderDetailViewController : BaseViewController
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 192
双子星云手机/Class/BuyPhone/PayRecoderDetailViewController.m

@@ -1,192 +0,0 @@
-//
-//  PayRecoderDetailViewController.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/29.
-//
-
-#import "PayRecoderDetailViewController.h"
-
-@interface PayRecoderDetailViewController ()<UITableViewDelegate,UITableViewDataSource>
-
-@property (nonatomic, strong, nullable) UITableView *tableView;
-
-@end
-
-@implementation PayRecoderDetailViewController
-
-- (void)viewDidLoad {
-    [super viewDidLoad];
-    // Do any additional setup after loading the view.
-    [self drawAnyView];
-}
-
-- (void)drawAnyView{
-    [self.view setBackgroundColor:HWF5F7FAColor];
-    
-    [self.toolBar setHidden:YES];
-    [self.navigationBar setHidden:YES];
-    [self.navBarBGView setHidden:NO];
-    [self.titleLabel setText:NSLocalizedString(@"buy_vip_buy_recoder_cell_buy_detaile",nil)];
-    
-    [self.view addSubview:self.tableView];
-    [self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(16);
-        make.right.mas_equalTo(-16);
-        make.bottom.mas_equalTo(0);
-        make.top.equalTo(self.navBarBGView.mas_bottom).offset(4);
-    }];
-    
-    [self.tableView setTableHeaderView:[self tableHeaderView]];
-}
-
-/*
-#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.
-}
-*/
-#pragma mark - 懒加载
-- (UITableView *)tableView{
-    if (!_tableView) {
-        _tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_W, SCREEN_H - TABBARHEIGHT) style:UITableViewStyleGrouped];
-        _tableView.delegate = self;
-        _tableView.dataSource = self;
-        _tableView.showsVerticalScrollIndicator = NO;
-        _tableView.showsHorizontalScrollIndicator = NO;
-//        _tableView.contentInset = UIEdgeInsetsMake(-20, 0, 0, 0);
-        [_tableView setSeparatorStyle:(UITableViewCellSeparatorStyleNone)];
-        [_tableView setSeparatorColor:[UIColor clearColor]];
-        [_tableView setBackgroundColor:[UIColor clearColor]];
-        [_tableView setTableFooterView:[UIView new]];
-        [_tableView setBounces:YES];
-        if (@available(iOS 15.0, *)) {
-            _tableView.sectionHeaderTopPadding = 0;
-        }
-
-    }
-    
-    return _tableView;
-}
-
-#pragma mark - 列表委托
-- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
-    return 1;
-}
-
-- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
-    return 5;
-}
-
-- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
-    
-    NSInteger row = indexPath.row;
-    static NSString *identifier = @"BuyRecoderDetailCell";
-    
-    UITableViewCell * cell =  [tableView dequeueReusableCellWithIdentifier:identifier];
-    cell.selectionStyle = UITableViewCellSelectionStyleNone;
-    if (!cell){
-        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:identifier];
-        [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
-        [cell setBackgroundColor:[UIColor clearColor]];
-        [cell setAccessoryType:(UITableViewCellAccessoryNone)];
-        [cell.textLabel setTextColor:HW666666Color];
-        [cell.textLabel setFont:[UIFont systemFontOfSize:12]];
-        
-        [cell.detailTextLabel setTextColor:HW0A132BColor];
-        [cell.detailTextLabel setFont:[UIFont systemFontOfSize:12]];
-        [cell.detailTextLabel setTextAlignment:(NSTextAlignmentRight)];
-        [cell.contentView setBackgroundColor:HWFFFFFFColor];
-    }
-    cell.contentView.layer.mask = nil;
-    if (0 == row){
-        [cell.textLabel setText:NSLocalizedString(@"buy_vip_buy_recoder_detaile_buy_time",nil)];
-        [cell.detailTextLabel setText:@"2023-12-12 19:00:00"];
-    }else if (1 == row){
-        [cell.textLabel setText:NSLocalizedString(@"buy_vip_buy_recoder_detaile_expect_time",nil)];
-        [cell.detailTextLabel setText:@"2023-12-15 19:00:00"];
-    }else if (2 == row){
-        [cell.textLabel setText:NSLocalizedString(@"buy_vip_buy_recoder_detaile_order_number",nil)];
-        [cell.detailTextLabel setText:@"okrs0m9gyyoYS39733673768"];
-    }else if (3 == row){
-        [cell.textLabel setText:NSLocalizedString(@"buy_vip_buy_recoder_detaile_pay_states",nil)];
-        [cell.detailTextLabel setText:@"支付成功"];
-    }else if (4 == row){
-        [cell.textLabel setText:NSLocalizedString(@"buy_vip_buy_recoder_detaile_pay_type",nil)];
-        [cell.detailTextLabel setText:@"支付宝"];
-        UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, 0, SCREEN_W - 2*16.f, 35.f)
-                                                       byRoundingCorners:UIRectCornerBottomLeft | UIRectCornerBottomRight
-                                                             cornerRadii:CGSizeMake(8, 8)];
-        CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
-        maskLayer.frame = cell.contentView.bounds;
-        maskLayer.path = maskPath.CGPath;
-        cell.contentView.layer.mask = maskLayer;
-    }
-
-    return cell;
-}
-
-- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
-    return 35;
-}
-
-- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
-    [tableView deselectRowAtIndexPath:indexPath animated:YES];
-    
-    NSInteger row = indexPath.row;
-}
-
-- (UIView *)tableHeaderView{
-    UIView *headView = [[UIView alloc] initWithFrame:(CGRectMake(0, 0, SCREEN_W - 2*16.f, 52.f))];
-    [headView setBackgroundColor:HWFFFFFFColor];
-    
-    UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, 0, SCREEN_W - 2*16.f, 52.f)
-                                                   byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight
-                                                         cornerRadii:CGSizeMake(8, 8)];
-    CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
-    maskLayer.frame = headView.bounds;
-    maskLayer.path = maskPath.CGPath;
-    headView.layer.mask = maskLayer;
-    
-    /*订单时间相关*/
-    UILabel *vipTypeLabel = [[UILabel alloc] init];
-    [vipTypeLabel setText:@"VIP30天"];
-    [vipTypeLabel setFont:[UIFont boldSystemFontOfSize:16]];
-    [vipTypeLabel setTextColor:HW0A132BColor];
-    [headView addSubview:vipTypeLabel];
-    [vipTypeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(14.f);
-        make.top.mas_equalTo(16);
-    }];
-    /*价格标签*/
-    NSString *leftStr3 = @"¥";
-    NSString *rightStr3 = @"99.00";
-    UILabel *priceLabel = [[UILabel alloc] init];
-    [priceLabel setText:[leftStr3 stringByAppendingString:rightStr3]];
-    [priceLabel setFont:[UIFont boldSystemFontOfSize:16]];
-    [priceLabel setTextColor:HWDD4E4EColor];
-    [priceLabel setTextAlignment:(NSTextAlignmentRight)];
-    [headView addSubview:priceLabel];
-    [priceLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.right.mas_equalTo(-14.f);
-        make.top.mas_equalTo(16);
-    }];
-    
-    /*分割线*/
-    UIView *line = [[UIView alloc] init];
-    [line setBackgroundColor:HW979797Color10];
-    [headView addSubview:line];
-    [line mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(14.f);
-        make.right.mas_equalTo(-14.f);
-        make.height.mas_equalTo(1.f);
-        make.bottom.mas_equalTo(0);
-    }];
-    
-    return headView;
-}
-
-@end

+ 0 - 16
双子星云手机/Class/BuyPhone/PayRecoderListViewController.h

@@ -1,16 +0,0 @@
-//
-//  PayRecoderListViewController.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/29.
-//
-
-#import "BaseViewController.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PayRecoderListViewController : BaseViewController
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 126
双子星云手机/Class/BuyPhone/PayRecoderListViewController.m

@@ -1,126 +0,0 @@
-//
-//  PayRecoderListViewController.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/29.
-//
-
-#import "PayRecoderListViewController.h"
-#import "BuyRecoderListCell.h"
-#import "PayRecoderDetailViewController.h"
-
-@interface PayRecoderListViewController ()<UITableViewDelegate,UITableViewDataSource,BuyRecoderListCellDelegate>
-
-@property (nonatomic, strong, nullable) UITableView *tableView;
-@property (nonatomic, strong, nullable) NSMutableArray *tableDataSource;
-
-@end
-
-@implementation PayRecoderListViewController
-@synthesize tableDataSource;
-
-- (void)viewDidLoad {
-    [super viewDidLoad];
-    // Do any additional setup after loading the view.
-    [self drawAnyView];
-}
-
-- (void)drawAnyView{
-    [self.view setBackgroundColor:HWF5F7FAColor];
-    
-    [self.toolBar setHidden:YES];
-    [self.navigationBar setHidden:YES];
-    
-    [self.navBarBGView setHidden:NO];
-    [self.titleLabel setText:NSLocalizedString(@"buy_vip_buy_recoder_title",nil)];
-    
-    [self.view addSubview:self.tableView];
-    [self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-        make.bottom.mas_equalTo(0);
-        make.top.equalTo(self.navBarBGView.mas_bottom).offset(4);
-    }];
-}
-
-/*
-#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.
-}
-*/
-#pragma mark - 懒加载
-- (UITableView *)tableView{
-    if (!_tableView) {
-        _tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_W, SCREEN_H - TABBARHEIGHT) style:UITableViewStyleGrouped];
-        _tableView.delegate = self;
-        _tableView.dataSource = self;
-        _tableView.showsVerticalScrollIndicator = NO;
-        _tableView.showsHorizontalScrollIndicator = NO;
-        _tableView.contentInset = UIEdgeInsetsMake(-20, 0, 0, 0);
-        [_tableView setSeparatorStyle:(UITableViewCellSeparatorStyleNone)];
-        [_tableView setSeparatorColor:[UIColor clearColor]];
-        [_tableView setBackgroundColor:[UIColor clearColor]];
-        [_tableView setTableFooterView:[UIView new]];
-        [_tableView setBounces:YES];
-        if (@available(iOS 15.0, *)) {
-            _tableView.sectionHeaderTopPadding = 0;
-        }
-
-    }
-    
-    return _tableView;
-}
-
-#pragma mark - 列表委托
-- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
-    return 1;
-}
-
-- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
-//    return tableDataSource.count;
-    
-    /*测试*/
-    return 8;
-}
-
-- (BuyRecoderListCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
-    
-    NSInteger row = indexPath.row;
-    static NSString *identifier = @"BuyRecoderListCell";
-    
-    BuyRecoderListCell * cell =  [tableView dequeueReusableCellWithIdentifier:identifier];
-    cell.selectionStyle = UITableViewCellSelectionStyleNone;
-    if (!cell){
-        cell = [[BuyRecoderListCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:identifier];
-        cell.delegate = self;
-        [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
-        [cell setBackgroundColor:[UIColor clearColor]];
-        [cell setAccessoryType:(UITableViewCellAccessoryNone)];
-    }
-
-    return cell;
-}
-
-- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
-    return 203;
-}
-
-- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
-    [tableView deselectRowAtIndexPath:indexPath animated:YES];
-    
-    NSInteger row = indexPath.row;
-
-}
-
-#pragma mark - 订单回调委托
-- (void)buyRecoderListCellOrderDetailBtnClick{
-    /*订单详情*/
-    PayRecoderDetailViewController *nextVC = [[PayRecoderDetailViewController alloc] init];
-    [self.navigationController pushViewController:nextVC animated:YES];
-}
-
-@end

+ 0 - 17
双子星云手机/Class/BuyPhone/PlayResultViewController.h

@@ -1,17 +0,0 @@
-//
-//  PlayResultViewController.h
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/29.
-//
-
-#import "BaseViewController.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PlayResultViewController : BaseViewController
-@property(nonatomic,copy)NSString *orderNum;
-@property(nonatomic,assign)NSInteger selectPayType;//0:微信 1支付宝
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 440
双子星云手机/Class/BuyPhone/PlayResultViewController.m

@@ -1,440 +0,0 @@
-//
-//  PlayResultViewController.m
-//  隐私保护
-//
-//  Created by APPLE on 2023/8/29.
-//
-
-#import "PlayResultViewController.h"
-#import "PayRecoderListViewController.h"
-#import <Masonry.h>
-#import "CloudPhoneAPI.h"
-#import "UseAccountManage.h"
-#import "WXApi.h"
-#import "WXPayManager.h"
-#import <AlipaySDK/AlipaySDK.h>
-
-@interface PlayResultViewController ()<WXPayManagerDelegate>{
-    UIImageView *topImageView;
-    UILabel *topLabel;
-    UILabel *detailLabel;
-    UIButton *downBtn;
-    NSInteger payStates;/*支付状态  0:支付中  1:支付成功  2:支付失败*/
-}
-
-@end
-
-@implementation PlayResultViewController
-@synthesize orderNum;
-@synthesize selectPayType;
-
-- (void)viewDidLoad {
-    [super viewDidLoad];
-    // Do any additional setup after loading the view.
-    
-    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidBecomeActive:)  name:UIApplicationDidBecomeActiveNotification  object:nil];
-    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(SafepayResult:)  name:NotificationNameBySafepayResult  object:nil];
-    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getPayDetailWithOrderNumWithPostN:)  name:NotNameAirpayOrWXorderNum  object:nil];
-    
-    [self drawAnyView];
-    
-    NSDictionary *parameters = [[NSDictionary alloc] initWithObjectsAndKeys:orderNum,@"orderNum", nil];
-    [[UseAccountManage shareInstance] CommonGetWithCallBackCode:GetPayOrderAPI
-                                                     Parameters:parameters
-                                                        success:^(id  _Nonnull responseObject) {
-        if (0 == CODE)
-        {
-            NSDictionary *dict = (NSDictionary *)responseObject;
-            NSDictionary *payConnection;
-            NSString *payConnectionStr = @"";
-            if ([[dict allKeys] containsObject:@"data"])
-            {
-                NSDictionary *info = [dict objectForKey:@"data"];
-                payConnection = [[NSDictionary alloc] initWithDictionary:info];
-                if (info && [[info allKeys] containsObject:@"connection"])
-                {
-                    payConnectionStr = [info objectForKey:@"connection"];
-                }
-            }
-            
-            HLog(@"\n-----payConnection = %@---",payConnection);
-            
-            if (0 == self->selectPayType){/*微信*/
-                /*调用微信接口*/
-                [self payWXWithDict:payConnection];
-            }else{/*支付宝*/
-                [self payWithPayAuthstring:payConnectionStr];
-            }
-        }
-    }
-                                                        failure:^(NSError * _Nonnull error) {
-        ;
-    }];
-    
-}
-
-- (void)drawAnyView{
-    payStates = 0;
-    [self.view setBackgroundColor:HWF5F7FAColor];
-    [self.toolBar setHidden:YES];
-    [self.navigationBar setHidden:YES];
-    
-    topImageView = [[UIImageView alloc] init];
-    [self.view addSubview:topImageView];
-    [topImageView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.mas_equalTo(89.f + H_STATE_BAR);
-        make.width.mas_equalTo(100.f);
-        make.height.mas_equalTo(100.f);
-        make.centerX.equalTo(self.view.mas_centerX);
-    }];
-    
-    topLabel = [[UILabel alloc] init];
-    [self.view addSubview:topLabel];
-    [topLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.equalTo(topImageView.mas_bottom).offset(5);
-        make.right.mas_equalTo(-20.f);
-        make.left.mas_equalTo(20.f);
-    }];
-    [topLabel setTextAlignment:(NSTextAlignmentCenter)];
-    [topLabel setFont:[UIFont systemFontOfSize:16]];
-    [topLabel setTextColor:HW0A132BColor];
-    [topLabel setText:NSLocalizedString(@"buy_vip_pay_result_paying",nil)];
-    
-    detailLabel = [[UILabel alloc] init];
-    [self.view addSubview:detailLabel];
-    [detailLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.equalTo(topLabel.mas_bottom).offset(10);
-        make.right.mas_equalTo(-20.f);
-        make.left.mas_equalTo(20.f);
-    }];
-    [detailLabel setTextAlignment:(NSTextAlignmentCenter)];
-    [detailLabel setFont:[UIFont systemFontOfSize:13]];
-    [detailLabel setTextColor:HW666666Color];
-    [detailLabel setHidden:YES];
-//    detailLabel
-    
-    /*底部按钮*/
-    downBtn = [[UIButton alloc] init];
-    downBtn.frame = CGRectMake(0, 0, 260.f, 48.f);
-
-    // gradient
-    CAGradientLayer *gl = [CAGradientLayer layer];
-    gl.frame = CGRectMake(0,0,260.f,48.f);
-    gl.startPoint = CGPointMake(0, 0.5);
-    gl.endPoint = CGPointMake(1, 0.5);
-    gl.colors = @[(__bridge id)HW0CDEFDColor.CGColor, (__bridge id)HW058DFBColor.CGColor];
-    gl.locations = @[@(0), @(1.0f)];
-    
-    [downBtn.layer addSublayer:gl];
-    [downBtn addTarget:self action:@selector(downBtnBtnClick) forControlEvents:(UIControlEventTouchUpInside)];
-    [downBtn setTitle:NSLocalizedString(@"buy_vip_pay_result_back_vip",nil) forState:(UIControlStateNormal)];
-    [downBtn setTitleColor:[UIColor whiteColor] forState:(UIControlStateNormal)];
-    [downBtn.titleLabel setFont:[UIFont systemFontOfSize:16.f]];
-    [downBtn.layer setCornerRadius:8.f];
-    downBtn.clipsToBounds = YES;
-    [self.view addSubview:downBtn];
-    [downBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.centerX.equalTo(self.view.mas_centerX);
-        make.width.mas_equalTo(260.f);
-        make.top.equalTo(detailLabel.mas_bottom).offset(30.f);
-        make.height.mas_equalTo(48.f);
-    }];
-    
-    [self updateView];
-}
-
-- (void)updateView{
-    if (payStates == 0){
-        [topImageView setImage:[UIImage imageNamed:@"buy_paying"]];
-        [topLabel setText:NSLocalizedString(@"buy_vip_pay_result_paying",nil)];
-        [detailLabel setHidden:YES];
-        [downBtn setTitle:NSLocalizedString(@"buy_vip_pay_result_back_vip",nil) forState:(UIControlStateNormal)];
-    }else if (payStates == 1){
-        [topImageView setImage:[UIImage imageNamed:@"buy_pay_success"]];
-        [topLabel setText:NSLocalizedString(@"buy_vip_pay_result_pay_success",nil)];
-        [detailLabel setHidden:NO];
-        [detailLabel setText:NSLocalizedString(@"buy_vip_pay_result_detail_success",nil)];
-        [downBtn setTitle:NSLocalizedString(@"buy_vip_pay_result_ge_recoder",nil) forState:(UIControlStateNormal)];
-    }else if (payStates == 2){
-        [topImageView setImage:[UIImage imageNamed:@"buy_pay_faile"]];
-        [topLabel setText:NSLocalizedString(@"buy_vip_pay_result_pay_faile",nil)];
-        [detailLabel setHidden:NO];
-        [detailLabel setText:NSLocalizedString(@"buy_vip_pay_result_detail_faile",nil)];
-        [downBtn setTitle:NSLocalizedString(@"buy_vip_pay_result_back_vip",nil) forState:(UIControlStateNormal)];
-    }
-}
-
-- (void)downBtnBtnClick{
-    if (payStates == 1){
-        /*跳入订单界面*/
-        PayRecoderListViewController *nextVC = [[PayRecoderListViewController alloc] init];
-        
-        [self.navigationController pushViewController:nextVC animated:YES];
-    }else{
-        /*返回上一级界面*/
-        [self.navigationController popViewControllerAnimated:YES];
-    }
-}
-
-/*
-#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.
-}
-*/
-
-- (void)payWXWithDict:(NSDictionary*)payInfo
-{
-    /*提取appid*/
-    if ([[payInfo allKeys] containsObject:@"appid"])
-    {
-//        NSString * universalLink = @"https://shuangzixing.com/";
-//        if ([CloudService rangeOfString:@"pre"].location != NSNotFound) {
-//            universalLink = @"https://shuangzixing.com/test";
-//        }
-        
-        BOOL isOk0 = [WXApi registerApp:[payInfo objectForKey:@"appid"] universalLink:wxuniversalLink];
-        
-        if (isOk0)
-        {
-            HLog(@"\n注册ok");
-        }
-        else
-        {
-            HLog(@"\n注册失败");
-        }
-    }
-    
-    //    appid = wx017ed8921f249e1a;
-    //    noncestr = 6bzhl5vMYgrFjQ9l;
-    //    package = "Sign=WXPay";
-    //    partnerid = 1544966281;
-    //    prepayid = wx25164144265218461862fd281495268600;
-    //    sign = E3CDA5E32067BF05F73ACBE12A1D1EB7;
-    //    timestamp = 1569400904;
-    
-    HLog(@"\npayInfo = %@",payInfo);
-    
-    PayReq *request = [[PayReq alloc] init];
-    if ([[payInfo allKeys] containsObject:@"partnerid"])
-    {
-        request.partnerId = [payInfo objectForKey:@"partnerid"];
-    }
-    
-    if ([[payInfo allKeys] containsObject:@"prepayid"])
-    {
-        request.prepayId = [payInfo objectForKey:@"prepayid"];
-    }
-    
-    if ([[payInfo allKeys] containsObject:@"package"])
-    {
-        request.package = [payInfo objectForKey:@"package"];
-    }
-    
-    if ([[payInfo allKeys] containsObject:@"noncestr"])
-    {
-        request.nonceStr = [payInfo objectForKey:@"noncestr"];
-    }
-    
-    if ([[payInfo allKeys] containsObject:@"timestamp"])
-    {
-        request.timeStamp = (int)[[payInfo objectForKey:@"timestamp"] integerValue];
-    }
-    
-    if ([[payInfo allKeys] containsObject:@"sign"])
-    {
-        request.sign = [payInfo objectForKey:@"sign"];
-    }
-    
-    //    BOOL isOk = [WXApi sendReq:request];
-    [WXApi sendReq:request completion:^(BOOL success) {
-        if (success)
-     {
-
-         [HWDataManager setStringWithKey:Const_AirpayOrWXorderNum value:self->orderNum];
-
-     }
-     else
-     {
-         KyoLog(@"\n调用失败");
-     }
-
-    }];
-
-
-    [WXPayManager shareInstance].delegate = self;
-}
-
-- (void)onResp:(BaseResp *)resp payManager:(WXPayManager *)payManager
-{
-//    [self removeGetingView];
-    switch (resp.errCode) {
-        case WXSuccess:
-        {
-            HLog(@"支付成功-PaySuccess,retcode = %d", resp.errCode);
-            /*跳入到成功界面*/
-            /*跳入到成功界面*/
-            payStates = 1;
-            [self updateView];
-        }
-            break;
-
-        default:
-        {
-            HLog(@"错误,retcode = %d, retstr = %@", resp.errCode,resp.errStr);
-            /*跳入到失败界面*/
-            payStates = 2;
-            [self updateView];
-        }
-            break;
-    }
-}
-
-
-- (void)getPayDetailWithOrderNumWithPostN:(NSNotification *)not
-{
-    NSString *resultNumber = [not object];
-    
-    
-    if (!orderNum)
-    {
-        [self removeNewIndicatorHaveStr];
-        /*跳入到成功界面*/
-        payStates = 1;
-        [self updateView];
-        
-        return;
-    }
-    
-    payStates = 1;
-    [self updateView];
-}
-
-- (void)SafepayResult:(NSNotification *)notification
-{
-    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
-    
-    NSDictionary *resultDict = [notification object];
-    
-    if ([[resultDict allKeys] containsObject:@"resultStatus"])
-    {
-        NSInteger resultStatus = [[resultDict objectForKey:@"resultStatus"] integerValue];
-        
-        NSString *memo = [resultDict objectForKey:@"memo"];
-        
-        
-        switch (resultStatus)
-        {
-            case 9000:/*订单支付成功*/
-                {
-                    payStates = 1;
-                    [self updateView];
-                }
-                break;
-                case 8000:/*正在处理中,支付结果未知(有可能已经支付成功),请查询商户订单列表中订单的支付状态*/
-                {
-                    payStates = 2;
-                    [self updateView];
-                }
-                break;
-                case 4000:/*订单支付失败*/
-                {
-                    payStates = 2;
-                    [self updateView];
-                }
-                break;
-                case 5000:/*重复请求*/
-                {
-                    payStates = 2;
-                    [self updateView];
-                }
-                break;
-                case 6001:/*用户中途取消*/
-                {
-                    payStates = 2;
-                    [self updateView];
-                }
-                break;
-                case 6002:/*网络连接出错*/
-                {
-                    payStates = 2;
-                    [self updateView];
-                }
-                break;
-                
-            default:/*未知错误*/
-            {
-                payStates = 2;
-                [self updateView];
-            }
-                break;
-        }
-    }
-}
-
-- (void)payWithPayAuthstring:(NSString *)payAuthstring
-{
-    [HWDataManager setStringWithKey:Const_AirpayOrWXorderNum value:orderNum];
-    
-    [[AlipaySDK defaultService] payOrder:payAuthstring fromScheme:AirPaySecret callback:^(NSDictionary *resultDic) {
-        HLog(@"reslut = %@",resultDic);
-        [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
-        if ([[resultDic allKeys] containsObject:@"resultStatus"])
-        {
-            NSInteger resultStatus = [[resultDic objectForKey:@"resultStatus"] integerValue];
-            
-            NSString *memo = [resultDic objectForKey:@"memo"];
-            
-            switch (resultStatus)
-            {
-                case 9000:/*订单支付成功*/
-                    {
-                        self->payStates = 1;
-                        [self updateView];
-                    }
-                    break;
-                    case 8000:/*正在处理中,支付结果未知(有可能已经支付成功),请查询商户订单列表中订单的支付状态*/
-                    {
-                        self->payStates = 2;
-                        [self updateView];
-                    }
-                    break;
-                    case 4000:/*订单支付失败*/
-                    {
-                        self->payStates = 2;
-                        [self updateView];
-                    }
-                    break;
-                    case 5000:/*重复请求*/
-                    {
-                        self->payStates = 2;
-                        [self updateView];
-                    }
-                    break;
-                    case 6001:/*用户中途取消*/
-                    {
-                        self->payStates = 2;
-                        [self updateView];
-                    }
-                    break;
-                    case 6002:/*网络连接出错*/
-                    {
-                        self->payStates = 2;
-                        [self updateView];
-                    }
-                    break;
-                    
-                default:/*未知错误*/
-                {
-                    self->payStates = 2;
-                    [self updateView];
-                }
-                    break;
-            }
-        }
-    }];
-}
-@end

+ 0 - 25
双子星云手机/Class/BuyPhone/Recoder/BuyRecoderListCell.h

@@ -1,25 +0,0 @@
-//
-//  BuyRecoderListCell.h
-//  VclustersGemini
-//
-//  Created by 黄盛威 on 2020/10/19.
-//  Copyright © 2020 APPLE. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@protocol BuyRecoderListCellDelegate <NSObject>
-
-- (void)buyRecoderListCellOrderDetailBtnClick;
-
-@end
-
-@interface BuyRecoderListCell : UITableViewCell
-
-@property (nonatomic ,weak)id <BuyRecoderListCellDelegate> delegate;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 207
双子星云手机/Class/BuyPhone/Recoder/BuyRecoderListCell.m

@@ -1,207 +0,0 @@
-//
-//  BuyRecoderListCell.m
-//  VclustersGemini
-//
-//  Created by 黄盛威 on 2020/10/19.
-//  Copyright © 2020 APPLE. All rights reserved.
-//
-
-#import "BuyRecoderListCell.h"
-#import <Masonry.h>
-
-@interface BuyRecoderListCell(){
-    UILabel *orderNumberLabel;
-    UILabel *vipTypeLabel;
-    UILabel *buyTimeLabel;
-    UILabel *expantTimeLabel;
-    UILabel *priceLabel;
-}
-
-@end
-
-
-@implementation BuyRecoderListCell
-@synthesize delegate;
-
-- (void)awakeFromNib {
-    [super awakeFromNib];
-    // Initialization code
-}
-
-- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
-    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
-    
-    if (self){
-        [self drawView];
-    }
-    
-    return self;
-}
-
-- (void)drawView{
-    UIView *bgView = [[UIView alloc] init];
-    [bgView setBackgroundColor:HWFBFCFDColor];
-    [bgView.layer setCornerRadius:8.f];
-    [self.contentView addSubview:bgView];
-    [bgView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(16.f);
-        make.right.mas_equalTo(-16.f);
-        make.bottom.mas_equalTo(-16.f);
-        make.top.mas_equalTo(0);
-    }];
-    
-    /*订单编号*/
-    UILabel *orderNumberTitleLabel = [[UILabel alloc] init];
-    [orderNumberTitleLabel setText:NSLocalizedString(@"buy_vip_buy_recoder_cell_oerder_title",nil)];
-    [orderNumberTitleLabel setFont:[UIFont systemFontOfSize:12]];
-    [orderNumberTitleLabel setTextColor:HW0A132BColor];
-    [bgView addSubview:orderNumberTitleLabel];
-    [orderNumberTitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(16.f);
-        make.top.mas_equalTo(16);
-    }];
-    
-    orderNumberLabel = [[UILabel alloc] init];
-    [orderNumberLabel setText:@"wefe3f3fe3wf23r32"];
-    [orderNumberLabel setFont:[UIFont systemFontOfSize:12]];
-    [orderNumberLabel setTextColor:HW0A132BColor];
-    [bgView addSubview:orderNumberLabel];
-    [orderNumberLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.equalTo(orderNumberTitleLabel.mas_right);
-        make.top.mas_equalTo(16);
-    }];
-    
-    /*复制按钮*/
-    UIButton *copyBtn = [[UIButton alloc] init];
-    [copyBtn setImage:[UIImage imageNamed:@"buy_copy"] forState:(UIControlStateNormal)];
-    [copyBtn addTarget:self
-                action:@selector(copyBtnPressed)
-      forControlEvents:(UIControlEventTouchUpInside)];
-    [bgView addSubview:copyBtn];
-    [copyBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.equalTo(orderNumberLabel.mas_right);
-        make.top.mas_equalTo(16);
-        make.height.mas_equalTo(16);
-        make.width.mas_equalTo(16);
-    }];
-    
-    /*已付款标签*/
-    UILabel *havePayLabel = [[UILabel alloc] init];
-    [havePayLabel setText:NSLocalizedString(@"buy_vip_buy_recoder_cell_have_pay",nil)];
-    [havePayLabel setFont:[UIFont systemFontOfSize:12]];
-    [havePayLabel setTextColor:HW01B7EAColor];
-    [havePayLabel setTextAlignment:(NSTextAlignmentRight)];
-    [bgView addSubview:havePayLabel];
-    [havePayLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.right.mas_equalTo(-16.f);
-        make.top.mas_equalTo(16);
-    }];
-    
-    /*分割线*/
-    UIView *line = [[UIView alloc] init];
-    [line setBackgroundColor:HW979797Color10];
-    [bgView addSubview:line];
-    [line mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(14.f);
-        make.right.mas_equalTo(-14.f);
-        make.height.mas_equalTo(1.f);
-        make.top.mas_equalTo(45);
-    }];
-    
-    /*订单时间相关*/
-    vipTypeLabel = [[UILabel alloc] init];
-    [vipTypeLabel setText:@"VIP30天"];
-    [vipTypeLabel setFont:[UIFont boldSystemFontOfSize:16]];
-    [vipTypeLabel setTextColor:HW0A132BColor];
-    [bgView addSubview:vipTypeLabel];
-    [vipTypeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(16.f);
-        make.top.equalTo(line.mas_bottom).offset(12);
-    }];
-    
-    NSString *leftStr1 = @"购买时间:";
-    NSString *rightStr1 = @"2023-12-12 19:00:00";
-    buyTimeLabel = [[UILabel alloc] init];
-    [buyTimeLabel setText:[leftStr1 stringByAppendingString:rightStr1]];
-    [buyTimeLabel setFont:[UIFont systemFontOfSize:12]];
-    [buyTimeLabel setTextColor:HW666666Color];
-    [bgView addSubview:buyTimeLabel];
-    [buyTimeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(16.f);
-        make.top.equalTo(vipTypeLabel.mas_bottom).offset(4);
-    }];
-    
-    NSString *leftStr2 = @"到期时间:";
-    NSString *rightStr2 = @"2023-12-13 19:00:00";
-    expantTimeLabel = [[UILabel alloc] init];
-    [expantTimeLabel setText:[leftStr2 stringByAppendingString:rightStr2]];
-    [expantTimeLabel setFont:[UIFont systemFontOfSize:12]];
-    [expantTimeLabel setTextColor:HW666666Color];
-    [bgView addSubview:expantTimeLabel];
-    [expantTimeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(16.f);
-        make.top.equalTo(buyTimeLabel.mas_bottom);
-    }];
-    
-    UIView *line1 = [[UIView alloc] init];
-    [line1 setBackgroundColor:HW979797Color10];
-    [bgView addSubview:line1];
-    [line1 mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(14.f);
-        make.right.mas_equalTo(-14.f);
-        make.height.mas_equalTo(1.f);
-        make.bottom.mas_equalTo(-58);
-    }];
-    
-    /*价格标签*/
-    NSString *leftStr3 = @"¥";
-    NSString *rightStr3 = @"99.00";
-    priceLabel = [[UILabel alloc] init];
-    [priceLabel setText:[leftStr3 stringByAppendingString:rightStr3]];
-    [priceLabel setFont:[UIFont boldSystemFontOfSize:16]];
-    [priceLabel setTextColor:HWDD4E4EColor];
-    [bgView addSubview:priceLabel];
-    [priceLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(16.f);
-        make.top.equalTo(line1.mas_bottom).offset(16);
-    }];
-    
-    /*订单详情*/
-    UIButton *orderDetailBtn = [[UIButton alloc] init];
-    orderDetailBtn.frame = CGRectMake(0, 0, 72.f, 30.f);
-
-    // gradient
-    CAGradientLayer *gl = [CAGradientLayer layer];
-    gl.frame = CGRectMake(0,0,72.f,30.f);
-    gl.startPoint = CGPointMake(0, 0.5);
-    gl.endPoint = CGPointMake(1, 0.5);
-    gl.colors = @[(__bridge id)HW0CDEFDColor.CGColor, (__bridge id)HW058DFBColor.CGColor];
-    gl.locations = @[@(0), @(1.0f)];
-    
-    [orderDetailBtn.layer addSublayer:gl];
-    [orderDetailBtn addTarget:self action:@selector(orderDetailBtnClick) forControlEvents:(UIControlEventTouchUpInside)];
-    [orderDetailBtn setTitle:NSLocalizedString(@"buy_vip_buy_recoder_cell_see_detaile",nil) forState:(UIControlStateNormal)];
-    [orderDetailBtn setTitleColor:[UIColor whiteColor] forState:(UIControlStateNormal)];
-    [orderDetailBtn.titleLabel setFont:[UIFont systemFontOfSize:16.f]];
-    [orderDetailBtn.layer setCornerRadius:8.f];
-    orderDetailBtn.clipsToBounds = YES;
-    [bgView addSubview:orderDetailBtn];
-    [orderDetailBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.right.mas_equalTo(-16.f);
-        make.width.mas_equalTo(72.f);
-        make.bottom.mas_equalTo(-16.f);
-        make.height.mas_equalTo(30.f);
-    }];
-}
-
-- (void)copyBtnPressed{
-    ;
-}
-
-- (void)orderDetailBtnClick{
-    if ([delegate respondsToSelector:@selector(buyRecoderListCellOrderDetailBtnClick)]){
-        [delegate buyRecoderListCellOrderDetailBtnClick];
-    }
-}
-
-@end

+ 0 - 39
双子星云手机/Class/BuyPhone/WXPayManager.h

@@ -1,39 +0,0 @@
-//
-//  WXPayManager.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2019/9/25.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import "WXApi.h"
-NS_ASSUME_NONNULL_BEGIN
-
-@class WXPayManager;
-
-@protocol WXPayManagerDelegate <NSObject>
-
-@optional
-
--(void)onResp:(BaseResp*)resp payManager:(WXPayManager*)payManager;
-
-- (void)getWXLoginParamsFromManager;
-
-@end
-
-@interface WXPayManager : NSObject <WXApiDelegate>
-
-/**微信登录参数*/
-@property (nonatomic, strong) NSMutableDictionary   *loginParams;
-
-@property (nonatomic,weak)id <WXPayManagerDelegate> delegate;
-
-+(WXPayManager *)shareInstance;
-
-/**微信授权登录*/
-- (void)authorizeWXLoginWithVC:(UIViewController *)vc;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 85
双子星云手机/Class/BuyPhone/WXPayManager.m

@@ -1,85 +0,0 @@
-//
-//  WXPayManager.m
-//  VclustersGemini
-//
-//  Created by APPLE on 2019/9/25.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import "WXPayManager.h"
-#import "UseAccountManage.h"
-
-static WXPayManager *shareInstance = nil;
-
-
-@interface WXPayManager ()<WXApiDelegate>
-{
-    ;
-}
-@end
-
-
-@implementation WXPayManager
-@synthesize delegate;
-
-+(WXPayManager *)shareInstance
-{
-    static dispatch_once_t onceToken;
-    
-    dispatch_once(&onceToken, ^{
-        shareInstance = [[WXPayManager alloc]init];
-        
-    });
-    
-    return shareInstance;
-}
-
-
--(void)onReq:(BaseReq*)req
-{
-    ;
-}
-
-
--(void)onResp:(BaseResp*)resp
-{
-//    WXSuccess           = 0,    /**< 成功    */
-//    WXErrCodeCommon     = -1,   /**< 普通错误类型    */
-//    WXErrCodeUserCancel = -2,   /**< 用户点击取消并返回    */
-//    WXErrCodeSentFail   = -3,   /**< 发送失败    */
-//    WXErrCodeAuthDeny   = -4,   /**< 授权失败    */
-//    WXErrCodeUnsupport  = -5,   /**< 微信不支持    */
-    
-    if([resp isKindOfClass:[PayResp class]]){ // 微信支付
-        //支付返回结果,实际支付结果需要去微信服务器端查询
-        NSString *strMsg = [NSString stringWithFormat:@"支付结果"];
-        
-        if ([delegate respondsToSelector:@selector(onResp:payManager:)])
-        {
-            [delegate onResp:resp payManager:self];
-        }
-    }
-}
-
-#pragma mark 微信登录
-// 1、sendAuthReq向微信发送请求
-- (void)authorizeWXLoginWithVC:(UIViewController *)vc {
-    
-    SendAuthReq *req = [[SendAuthReq alloc] init];
-    req.scope = @"snsapi_userinfo";
-    req.state = @"App";
-    [WXApi sendAuthReq:req viewController:vc delegate:[WXPayManager shareInstance] completion:^(BOOL success) {
-        ;
-    }];
-}
-
-
-#pragma mark 懒加载
-- (NSMutableDictionary *)loginParams {
-    if (!_loginParams) {
-        _loginParams = [NSMutableDictionary dictionary];
-    }
-    return _loginParams;;
-}
-
-@end

双子星云手机/CloudPlayer/AlertVC/ComontAlretViewController.h → 双子星云手机/Class/ComontAlretViewController.h


双子星云手机/CloudPlayer/AlertVC/ComontAlretViewController.m → 双子星云手机/Class/ComontAlretViewController.m


+ 16 - 0
双子星云手机/Class/Guide/QRCodeScanViewController.h

@@ -0,0 +1,16 @@
+//
+//  QRCodeScanViewController.h
+//  隐私保护
+//
+//  Created by APPLE on 2023/9/19.
+//
+
+#import "BaseViewController.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface QRCodeScanViewController : BaseViewController
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 31 - 0
双子星云手机/Class/Guide/QRCodeScanViewController.m

@@ -0,0 +1,31 @@
+//
+//  QRCodeScanViewController.m
+//  隐私保护
+//
+//  Created by APPLE on 2023/9/19.
+//
+
+#import "QRCodeScanViewController.h"
+
+@interface QRCodeScanViewController ()
+
+@end
+
+@implementation QRCodeScanViewController
+
+- (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

+ 16 - 0
双子星云手机/Class/Guide/SetPWDFirstViewController.h

@@ -0,0 +1,16 @@
+//
+//  SetPWDFirstViewController.h
+//  隐私保护
+//
+//  Created by APPLE on 2023/9/19.
+//
+
+#import "BaseViewController.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface SetPWDFirstViewController : BaseViewController
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 31 - 0
双子星云手机/Class/Guide/SetPWDFirstViewController.m

@@ -0,0 +1,31 @@
+//
+//  SetPWDFirstViewController.m
+//  隐私保护
+//
+//  Created by APPLE on 2023/9/19.
+//
+
+#import "SetPWDFirstViewController.h"
+
+@interface SetPWDFirstViewController ()
+
+@end
+
+@implementation SetPWDFirstViewController
+
+- (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

+ 16 - 0
双子星云手机/Class/Guide/TipsQRCodeViewController.h

@@ -0,0 +1,16 @@
+//
+//  TipsQRCodeViewController.h
+//  隐私保护
+//
+//  Created by APPLE on 2023/9/19.
+//
+
+#import "BaseViewController.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface TipsQRCodeViewController : BaseViewController
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 31 - 0
双子星云手机/Class/Guide/TipsQRCodeViewController.m

@@ -0,0 +1,31 @@
+//
+//  TipsQRCodeViewController.m
+//  隐私保护
+//
+//  Created by APPLE on 2023/9/19.
+//
+
+#import "TipsQRCodeViewController.h"
+
+@interface TipsQRCodeViewController ()
+
+@end
+
+@implementation TipsQRCodeViewController
+
+- (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

+ 0 - 23
双子星云手机/Class/Login/LoginForViewController.h

@@ -1,23 +0,0 @@
-//
-//  VclustersGemini
-//  Created by APPLE on 2019/6/6.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import "BaseViewController.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@protocol LoginForViewControllerDelegate <NSObject>
-
--(void)loginOk;
-
-@end
-
-@interface LoginForViewController : BaseViewController
-@property (nonatomic,weak)id<LoginForViewControllerDelegate> delegate;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 108
双子星云手机/Class/Login/LoginForViewController.m

@@ -1,108 +0,0 @@
-//
-//  VclustersGemini
-//
-//  Created by APPLE on 2019/6/6.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import "LoginForViewController.h"
-#import "IQKeyboardManager.h"
-
-#import "FLAnimatedImage.h"
-#import "ViewForPhoneAndSMS.h"
-#import "UseAccountManage.h"
-#import "CloudPhoneAPI.h"
-#import "SafeForKey.h"
-
-@interface LoginForViewController ()<ViewForPhoneAndSMSDelegate>
-{
-    ViewForPhoneAndSMS *viewForPhoneAndSMS;
-}
-
-@end
-
-@implementation LoginForViewController
-@synthesize delegate;
-
-- (void)viewDidAppear:(BOOL)animated {
-    [super viewDidAppear:animated];
-}
-
-- (void)viewDidLoad
-{
-    [super viewDidLoad];
-
-    [self drawAnyView];
-}
-
-#pragma mark-UI布局
-- (void)drawAnyView
-{
-    [self.view setBackgroundColor:[UIColor clearColor]];
-    [self.navigationBar setHidden:YES];
-    [self.toolBar setHidden:YES];
-    
-    UIImageView *bgImageView = [[UIImageView alloc] init];
-    [bgImageView setImage:[UIImage imageNamed:@"login_bg"]];
-    [self.view addSubview:bgImageView];
-    
-    [bgImageView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.mas_equalTo(0);
-        make.bottom.mas_equalTo(0);
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-    }];
-    
-    viewForPhoneAndSMS = [[ViewForPhoneAndSMS alloc] init];
-    viewForPhoneAndSMS.delegate = self;
-    [self.view addSubview:viewForPhoneAndSMS];
-    [viewForPhoneAndSMS mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.mas_equalTo(0);
-        make.height.mas_equalTo(700);
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-    }];
-}
-
-- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
-    [[UIApplication sharedApplication].keyWindow endEditing:YES];
-}
-
-- (void)smsLoginWithPhonenumber:(NSString *)number code:(NSString *)code{
-    [self showNewIndicatorWithCanBack:NO canTouch:NO];
-    [[UseAccountManage shareInstance] commonPostCanWithOutTokenCallBackCode:SMSVerCodeRegisterAndLoginAPI
-                                                                 Parameters:@{@"code":code,@"phone":number}
-                                                                    success:^(id  _Nonnull responseObject) {
-        SuperModel *mod = [[SuperModel alloc] initWithDictionary:responseObject error:nil];
-        [self removeNewIndicator];
-        NSString *showStr = nil;
-        showStr = mod.msg;
-        if (mod.status && mod.status.integerValue == 0){
-            /*本地保存登录数据*/
-            NSDictionary *data = [responseObject safeDictionaryForKey:@"data"];
-            [[UseAccountManage shareInstance] setLoginInfo:data];
-            
-            if ([self->delegate respondsToSelector:@selector(loginOk)]){
-                [self->delegate loginOk];
-            }
-        }else if (mod.status && mod.status.integerValue == 1){
-            [self->viewForPhoneAndSMS.mInputView.smsErrorTipsLabel setHidden:NO];
-            if (mod.msg == nil || [mod.msg isEqualToString:@""]){
-                showStr = NSLocalizedString(@"log_login_system_busy",nil);
-            }
-        }
-        else{
-            if (mod.msg == nil || [mod.msg isEqualToString:@""]){
-                showStr = NSLocalizedString(@"log_login_system_busy",nil);
-            }
-        }
-        
-        [[iToast makeText:showStr] show];
-    }
-                                                                    failure:^(NSError * _Nonnull error) {
-        [[iToast makeText:NSLocalizedString(@"log_login_system_busy",nil)] show];
-        [self removeNewIndicator];
-    }];
-}
-
-@end

+ 0 - 38
双子星云手机/Class/Login/LoginView/InputViewForSMSCod.h

@@ -1,38 +0,0 @@
-//
-//  InputView.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2019/6/10.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@protocol InputViewForSMSCodDelegate <NSObject>
-
-@optional
-- (void)smsCodeBtnBePressed:(id)sener smsCodeInputView:(UITextField *)inputView;
-
-@end
-
-@interface InputViewForSMSCod : UIView
-{
-//    UITextField *phoneNumInput;
-//    UITextField *pwdInput;
-}
-
-@property (nonatomic, strong,readonly) UITextField *phoneNumInput;
-@property (nonatomic, strong,readonly) UITextField *smsInput;
-@property (nonatomic, strong,readonly) UIButton    *smsCodeBtn;
-@property (nonatomic, strong) UILabel *phoneErrorTipsLabel;
-@property (nonatomic, strong) UILabel *smsErrorTipsLabel;
-
-@property (nonatomic, weak) id<InputViewForSMSCodDelegate> delegate;
-
-- (void)hiddenKeyboard;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 228
双子星云手机/Class/Login/LoginView/InputViewForSMSCod.m

@@ -1,228 +0,0 @@
-//
-//  InputView.m
-//  VclustersGemini
-//
-//  Created by APPLE on 2019/6/10.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import "InputViewForSMSCod.h"
-#import "iPhone.h"
-
-@implementation InputViewForSMSCod
-@synthesize delegate;
-@synthesize phoneNumInput;
-@synthesize smsInput;
-@synthesize smsCodeBtn;
-@synthesize phoneErrorTipsLabel;
-@synthesize smsErrorTipsLabel;
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-- (id)initWithFrame:(CGRect)frame{
-    self = [super initWithFrame:CGRectMake(0, 0, SCREEN_W, 44.f*3.f+2*30.f/2.f)];
-    
-    if (self){
-        [self setBackgroundColor:[UIColor clearColor]];
-        [self drawView];
-    }
-    
-    return self;
-}
-
-- (void)drawView{
-    CGFloat w_left_right = 37.f;
-    
-    /*电话号码输入框*/
-    UIView *phoneNumInputBGView = [[UIView alloc] init];
-    [phoneNumInputBGView.layer setCornerRadius:8.f/2.f];
-    [phoneNumInputBGView setBackgroundColor:[UIColor clearColor]];
-    
-    /*电话号码输入框*/
-    phoneNumInput = [[UITextField alloc] init];
-    [phoneNumInput.layer setCornerRadius:8.f/2.f];
-    [phoneNumInput setBackgroundColor:[UIColor clearColor]];
-    
-    NSString *placeholderStr  = NSLocalizedString(@"log_phone_placeholderStr",nil);
-    CGFloat fontSize          = 14.f;
-    CGFloat inputTextFieldH   = 48.f;
-    CGFloat inputTextFieldBGH = 68.f;
-    NSMutableParagraphStyle *style = [[NSMutableParagraphStyle alloc] init];
-    style.alignment = NSTextAlignmentLeft;
-    
-    NSAttributedString *attri = nil;
-    NSString *verphone = [iPhone phoneVersion];
-    
-    if ([verphone isEqualToString:@"10.3.3"]){
-        attri = [[NSAttributedString alloc] initWithString:placeholderStr
-        attributes:@{NSForegroundColorAttributeName:COLOR_PACEHOLDER,
-                     NSFontAttributeName:[UIFont systemFontOfSize:fontSize],
-                     NSBaselineOffsetAttributeName:[NSNumber numberWithFloat:-1.5],
-                     NSParagraphStyleAttributeName:style}];
-    }else{
-        attri = [[NSAttributedString alloc] initWithString:placeholderStr
-        attributes:@{NSForegroundColorAttributeName:COLOR_PACEHOLDER,
-                     NSFontAttributeName:[UIFont systemFontOfSize:fontSize],
-                     NSParagraphStyleAttributeName:style}];
-    }
-
-    phoneNumInput.attributedPlaceholder = attri;
-    
-    [phoneNumInputBGView addSubview:phoneNumInput];
-    [phoneNumInput mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.mas_equalTo(0.f);
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(0);
-        make.height.mas_equalTo(inputTextFieldH);
-    }];
-    [phoneNumInput setTextColor:HW0A132BColor];
-    [phoneNumInput setClearButtonMode:(UITextFieldViewModeWhileEditing)];
-    [phoneNumInput setKeyboardType:(UIKeyboardTypeNumberPad)];
-    
-    /*下划线*/
-    UIView *line0 = [[UIView alloc] init];
-    [line0 setBackgroundColor:HWC1C9D6Color];
-    
-    [phoneNumInputBGView addSubview:line0];
-    [line0 mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.equalTo(phoneNumInput.mas_bottom);
-        make.left.mas_equalTo(0.f);
-        make.right.mas_equalTo(0);
-        make.height.mas_equalTo(1.f);
-    }];
-    
-    /*提示语*/
-    phoneErrorTipsLabel = [[UILabel alloc] init];
-    [phoneErrorTipsLabel setText:NSLocalizedString(@"log_phone_error_tips",nil)];
-    [phoneErrorTipsLabel setFont:[UIFont systemFontOfSize:12]];
-    [phoneErrorTipsLabel setTextColor:HWDD4E4EColor];
-    [phoneNumInputBGView addSubview:phoneErrorTipsLabel];
-    [phoneErrorTipsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.bottom.mas_equalTo(-2.f);
-        make.left.mas_equalTo(0.f);
-        make.right.mas_equalTo(0);
-    }];
-    [phoneErrorTipsLabel setHidden:YES];
-    
-    [self addSubview:phoneNumInputBGView];
-    [phoneNumInputBGView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.mas_equalTo(0.f);
-        make.left.mas_equalTo(w_left_right);
-        make.right.mas_equalTo(-w_left_right);
-        make.height.mas_equalTo(inputTextFieldBGH);
-    }];
-    
-    /*验证码输入框 验证码获取按钮*/
-    /*计算验证码输入框 宽度   获取验证码按钮宽度*/
-    UIView *smsInputBGView = [[UIView alloc] init];
-    [smsInputBGView.layer setCornerRadius:8.f/2.f];
-    [smsInputBGView setBackgroundColor:[UIColor clearColor]];
-    
-    CGFloat w_smsBtn       = 67.f;
-    smsInput = [[UITextField alloc] init];
-    [smsInput.layer setCornerRadius:8.f/2.f];
-    [smsInput setBackgroundColor:[UIColor clearColor]];
-    [smsInput setTextColor:HW0A132BColor];
-    
-    NSString *placeholderStrForSms = NSLocalizedString(@"log_sms_placeholderStr",nil);
-    NSMutableParagraphStyle *style2 = [[NSMutableParagraphStyle alloc] init];
-    style2.alignment = NSTextAlignmentLeft;
-    
-    NSAttributedString *attri2 = nil;
-    
-    if ([verphone isEqualToString:@"10.3.3"]){
-        attri2 = [[NSAttributedString alloc] initWithString:placeholderStrForSms
-        attributes:@{NSForegroundColorAttributeName:COLOR_PACEHOLDER,
-                     NSFontAttributeName:[UIFont systemFontOfSize:fontSize],
-                     NSBaselineOffsetAttributeName:[NSNumber numberWithFloat:-1.5],
-                     NSParagraphStyleAttributeName:style2}];
-    }else{
-        attri2 = [[NSAttributedString alloc] initWithString:placeholderStrForSms
-        attributes:@{NSForegroundColorAttributeName:COLOR_PACEHOLDER,
-                     NSFontAttributeName:[UIFont systemFontOfSize:fontSize],
-                     NSParagraphStyleAttributeName:style2}];
-    }
-
-    smsInput.attributedPlaceholder = attri2;
-    
-    [smsInputBGView addSubview:smsInput];
-    [smsInput mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.mas_equalTo(0);
-        make.left.mas_equalTo(0);
-        make.right.mas_equalTo(-w_smsBtn);
-        make.height.mas_equalTo(inputTextFieldH);
-    }];
-
-    [smsInput setClearButtonMode:(UITextFieldViewModeWhileEditing)];
-    [smsInput setKeyboardType:(UIKeyboardTypeNumberPad)];
-    
-    /*获取验证码按钮*/
-    smsCodeBtn = [[UIButton alloc] init];
-    [smsCodeBtn setBackgroundColor:[UIColor clearColor]];
-    [smsCodeBtn setTitle:NSLocalizedString(@"log_sms_get",nil) forState:(UIControlStateNormal)];
-    [smsCodeBtn.titleLabel setFont:[UIFont systemFontOfSize:13.f]];
-    [smsCodeBtn setTitleColor:COLOR_HEIGHT_BTN forState:(UIControlStateNormal)];
-    [smsCodeBtn setTitleColor:COLOR_UNABLE_TITLE_BTN forState:(UIControlStateDisabled)];
-    [smsCodeBtn addTarget:self action:@selector(smsCodeBtnPressed:) forControlEvents:(UIControlEventTouchUpInside)];
-    [smsCodeBtn.layer setCornerRadius:8.f/2.f];
-    [smsInputBGView addSubview:smsCodeBtn];
-    
-    [smsCodeBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.equalTo(self->smsInput.mas_right);
-        make.top.equalTo(self->smsInput.mas_top);
-        make.width.mas_equalTo(w_smsBtn);
-        make.height.mas_equalTo(inputTextFieldH);
-    }];
-    
-    /*下划线*/
-    UIView *line1 = [[UIView alloc] init];
-    [line1 setBackgroundColor:HWC1C9D6Color];
-    
-    [smsInputBGView addSubview:line1];
-    [line1 mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.equalTo(smsInput.mas_bottom);
-        make.left.mas_equalTo(0.f);
-        make.right.mas_equalTo(0);
-        make.height.mas_equalTo(1.f);
-    }];
-    
-    /*提示语*/
-    smsErrorTipsLabel = [[UILabel alloc] init];
-    [smsErrorTipsLabel setText:NSLocalizedString(@"log_sms_error_tips",nil)];
-    [smsErrorTipsLabel setFont:[UIFont systemFontOfSize:12]];
-    [smsErrorTipsLabel setTextColor:HWDD4E4EColor];
-    [smsInputBGView addSubview:smsErrorTipsLabel];
-    [smsErrorTipsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.bottom.mas_equalTo(-2.f);
-        make.left.mas_equalTo(0.f);
-        make.right.mas_equalTo(0);
-    }];
-    [smsErrorTipsLabel setHidden:YES];
-    
-    [self addSubview:smsInputBGView];
-    [smsInputBGView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.equalTo(phoneNumInputBGView.mas_bottom);
-        make.left.mas_equalTo(w_left_right);
-        make.right.mas_equalTo(-w_left_right);
-        make.height.mas_equalTo(inputTextFieldBGH);
-    }];
-}
-
-- (void)smsCodeBtnPressed:(id)sender{
-    if ([delegate respondsToSelector:@selector(smsCodeBtnBePressed:smsCodeInputView:)]){
-        [delegate smsCodeBtnBePressed:sender smsCodeInputView:phoneNumInput];
-    }
-}
-
-- (void)hiddenKeyboard{
-    [self.phoneNumInput resignFirstResponder];
-    [self.smsInput resignFirstResponder];
-}
-
-@end

+ 0 - 37
双子星云手机/Class/Login/LoginView/SetUserAgreementView.h

@@ -1,37 +0,0 @@
-//
-//  SetUserAgreementView.h
-//  VclustersGemini
-//
-//  Created by ypp on 2021/1/4.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@protocol SetUserAgreementViewDelegate <NSObject>
-
-- (void)optionalBtnPressed; //用户使用协议
-- (void)privateBtnPressed;  //隐私协议
-
-@end
-
-@interface SetUserAgreementView : UIView
-
-//同意协议按钮
-@property (nonatomic,strong) UIButton *agreeBtn;
-
-//用户使用协议
-@property (nonatomic,strong) UIButton *optionalBtn;
-
-//隐私协议
-@property (nonatomic,strong) UIButton *privateBtn;
-
-@property (nonatomic,weak)id<SetUserAgreementViewDelegate> delegate;
-
-- (void)refreshUI;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 172
双子星云手机/Class/Login/LoginView/SetUserAgreementView.m

@@ -1,172 +0,0 @@
-//
-//  SetUserAgreementView.m
-//  VclustersGemini
-//
-//  Created by ypp on 2021/1/4.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import "SetUserAgreementView.h"
-
-@implementation SetUserAgreementView
-@synthesize delegate;
-
-- (id)initWithFrame:(CGRect)frame{
-    self = [super initWithFrame:CGRectMake(0, 0, SCREEN_W, 20)];
-    
-    if (self){
-        [self setBackgroundColor:[UIColor clearColor]];
-        [self drawView];
-    }
-    
-    return self;
-}
-
-- (void)drawView{
-    /*下方提示用户协议*/
-    NSString *tipsStr     = NSLocalizedString(@"log_have_read_deal",nil);
-    NSString *optionalStr = NSLocalizedString(@"log_user_use_deal",nil);
-    NSString *tipsStr1     = NSLocalizedString(@"log_use_and_deal",nil);
-    NSString *privateStr = NSLocalizedString(@"log_use_secr_deal",nil);
-
-    CGFloat titleFont = 12.f;
-    
-    /*计算字体的长度*/
-    CGSize tipsStrSize = [tipsStr boundingRectWithSize:CGSizeMake(SCREEN_W/2.f, 20)
-                                               options:(NSStringDrawingUsesLineFragmentOrigin)
-                                            attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:titleFont]}
-                                               context:nil].size;
-    
-    CGSize optionalStrSize = [optionalStr boundingRectWithSize:CGSizeMake(SCREEN_W/2.f, 20)
-                                                       options:(NSStringDrawingUsesLineFragmentOrigin)
-                                                    attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:titleFont]}
-                                                       context:nil].size;
-    
-    CGSize tipsStr1Size = [tipsStr1 boundingRectWithSize:CGSizeMake(SCREEN_W/2.f, 20)
-                                               options:(NSStringDrawingUsesLineFragmentOrigin)
-                                            attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:titleFont]}
-                                               context:nil].size;
-    
-    CGSize privateStrSize = [privateStr boundingRectWithSize:CGSizeMake(SCREEN_W/2.f, 20)
-                                                       options:(NSStringDrawingUsesLineFragmentOrigin)
-                                                    attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:titleFont]}
-                                                       context:nil].size;
-    
-    CGFloat W_right_left = 37.f;
-    UIButton *agreeBtn = [UIButton buttonWithType:UIButtonTypeCustom];
-    [agreeBtn setBackgroundColor:[UIColor clearColor]];
-    [agreeBtn setImage:[UIImage imageNamed:@"checkbox_default"] forState:UIControlStateNormal];
-    [agreeBtn setImage:[UIImage imageNamed:@"checkbox_select"] forState:UIControlStateSelected];
-    agreeBtn.adjustsImageWhenHighlighted = NO;
-    [agreeBtn setBackgroundColor:[UIColor clearColor]];
-    [agreeBtn addTarget:self
-                    action:@selector(agreeBtnPressed)
-          forControlEvents:(UIControlEventTouchUpInside)];
-    agreeBtn.adjustsImageWhenHighlighted = NO;
-    [self addSubview:agreeBtn];
-    [agreeBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(W_right_left - 10);
-        make.width.mas_equalTo(40);
-        make.centerY.equalTo(self.mas_centerY);
-        make.height.mas_equalTo(40);
-    }];
-    self.agreeBtn = agreeBtn;
-    
-    UILabel *tipsLabel0 = [[UILabel alloc] init];
-    [tipsLabel0 setBackgroundColor:[UIColor clearColor]];
-    [tipsLabel0 setTextColor:HW333333Color];
-    [tipsLabel0 setFont:[UIFont systemFontOfSize:titleFont]];
-    [tipsLabel0 setTextAlignment:(NSTextAlignmentRight)];
-    [tipsLabel0 setText:tipsStr];
-    [self addSubview:tipsLabel0];
-    [tipsLabel0 mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(W_right_left + 20);
-        make.width.mas_equalTo(tipsStrSize.width + 1.f);
-        make.centerY.equalTo(self.mas_centerY);
-        make.height.mas_equalTo(20);
-    }];
-    
-    UIButton *optionalBtn = [[UIButton alloc] init];
-    [optionalBtn setTitle:optionalStr forState:(UIControlStateNormal)];
-    [optionalBtn setTitleColor:HW13B2EBColor forState:(UIControlStateNormal)];
-    [optionalBtn.titleLabel setFont:[UIFont systemFontOfSize:titleFont]];
-    [optionalBtn setBackgroundColor:[UIColor clearColor]];
-    [optionalBtn addTarget:self
-                    action:@selector(optionalBtnPressed)
-          forControlEvents:(UIControlEventTouchUpInside)];
-    [self addSubview:optionalBtn];
-    [optionalBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(tipsLabel0.mas_right);
-        make.width.mas_equalTo(optionalStrSize.width + 1.f);
-        make.centerY.equalTo(self.mas_centerY);
-        make.height.mas_equalTo(20);
-    }];
-    
-    UILabel *tipsLabel1 = [[UILabel alloc] init];
-    [tipsLabel1 setBackgroundColor:[UIColor clearColor]];
-    [tipsLabel1 setTextColor:HW333333Color];
-    [tipsLabel1 setFont:[UIFont systemFontOfSize:titleFont]];
-    [tipsLabel1 setTextAlignment:(NSTextAlignmentRight)];
-    [tipsLabel1 setText:tipsStr1];
-    [self addSubview:tipsLabel1];
-    [tipsLabel1 mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(optionalBtn.mas_right);
-        make.width.mas_equalTo(tipsStr1Size.width + 1.f);
-        make.centerY.equalTo(self.mas_centerY);
-        make.height.mas_equalTo(20);
-    }];
-    
-    UIButton *privateBtn = [[UIButton alloc] init];
-    [privateBtn setTitle:privateStr forState:(UIControlStateNormal)];
-    [privateBtn setTitleColor:HW13B2EBColor forState:(UIControlStateNormal)];
-    [privateBtn.titleLabel setFont:[UIFont systemFontOfSize:titleFont]];
-    [privateBtn setBackgroundColor:[UIColor clearColor]];
-    [privateBtn addTarget:self
-                    action:@selector(privateBtnPressed)
-          forControlEvents:(UIControlEventTouchUpInside)];
-    [self addSubview:privateBtn];
-    [privateBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(tipsLabel1.mas_right);
-        make.width.mas_equalTo(privateStrSize.width + 1.f);
-        make.centerY.equalTo(self.mas_centerY);
-        make.height.mas_equalTo(20);
-    }];
-
-    [self refreshUI];
-}
-
-//是否同意协议
-- (void)agreeBtnPressed{
-    self.agreeBtn.selected = !self.agreeBtn.selected;
-    
-    [HWDataManager setNumberWithKey:Const_lastSetUserAgreementView value:[NSNumber numberWithBool:self.agreeBtn.selected]];
-}
-
-//用户使用协议
-- (void)optionalBtnPressed{
-    HLog(@"\n----协议按钮被点击-------");
-    if ([delegate respondsToSelector:@selector(optionalBtnPressed)]){
-        [delegate optionalBtnPressed];
-    }
-}
-
-//隐私协议
-- (void)privateBtnPressed{
-    HLog(@"\n----协议按钮被点击-------");
-    
-    if ([delegate respondsToSelector:@selector(privateBtnPressed)]){
-        [delegate privateBtnPressed];
-    }
-}
-
-- (void)refreshUI{
-    NSNumber *agreement = [HWDataManager getNumberWithKey:Const_lastSetUserAgreementView];
-    if ([agreement boolValue]) { //同意协议
-        [self.agreeBtn setSelected:YES];
-    }
-    else{
-        [self.agreeBtn setSelected:NO];
-    }
-}
-
-@end

+ 0 - 35
双子星云手机/Class/Login/LoginView/ViewForPhoneAndSMS.h

@@ -1,35 +0,0 @@
-//
-//  ViewForPhoneAndSMS.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2020/4/8.
-//  Copyright © 2020 APPLE. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import "InputViewForSMSCod.h"
-NS_ASSUME_NONNULL_BEGIN
-
-@protocol ViewForPhoneAndSMSDelegate <NSObject>
-
-- (void)smsDeleteBtnPressed;
-- (void)smsOptionalBtnPressed; //用户使用协议
-- (void)smsPrivateBtnPressed; //用户隐私协议
-- (void)smsLoginWithPhonenumber:(NSString *)number code:(NSString *)code;
-- (void)smsGetLoginSmsCodeWithPhonenumber:(NSString *)number;
-- (void)smsPwdLoginBtnBePressed;
-- (void)viewForPhoneAndSMSWeixinLogin;
-
-@end
-
-@interface ViewForPhoneAndSMS : UIView
-@property (nonatomic,weak)id<ViewForPhoneAndSMSDelegate> delegate;
-@property (nonatomic,strong)InputViewForSMSCod *mInputView;
-
-- (void)hiddenKeyboard;
--(BOOL)agreementButtonIsSelect;
-- (void)refreshUI;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 0
双子星云手机/Class/Login/LoginView/ViewForPhoneAndSMS.m


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików