重庆迈尖科技有限公司
2018-08-30 a4cb464e45757edc2982c0a04ac0bbddb6c5430d
no message
27个文件已修改
2个文件已添加
1292 ■■■■ 已修改文件
MIduo.xcodeproj/project.pbxproj 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo.xcworkspace/xcuserdata/mj.xcuserdatad/UserInterfaceState.xcuserstate 补丁 | 查看 | 原始文档 | blame | 历史
MIduo.xcworkspace/xcuserdata/mj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist 349 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/AppDelegate.m 121 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/Info.plist 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/DataNet/YTHNetInterface.h 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/FileSignature.m 150 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/YTHsharedManger.h 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/lib/EasyJSWebView-master/MyJSInterface.h 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/lib/EasyJSWebView-master/MyJSInterface.m 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/lib/LXAlertView/BSKImagesPageView.h 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/lib/LXAlertView/BSKImagesPageView.m 336 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/lib/ZJScrollPageView/ZJCollectionView.m 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/lib/ZJScrollPageView/ZJScrollPageView.m 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/SJBaseViewController.m 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/优惠券/classificationViewController.m 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/动态/DynamicViewController.m 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/MineViewController.m 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/Setting/View/SettingViewController.m 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/balance/BalanceViewController.m 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/userInfoViewController.m 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/网页视图/SureWebViewController.m 40 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/网页视图/商品详情/ButtomCarView.m 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/网页视图/商品详情/GoodDeTrViewController.m 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/邀请/MainInviteViewController.m 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/邀请/商品分享/ShonpingShareViewController.m 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/首页/NEWHomeViewController.m 63 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/首页/recommendCollectionViewCell.xib 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/首页/recommendViewController.m 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo.xcodeproj/project.pbxproj
@@ -599,6 +599,7 @@
        2D8F4C5A2100672500198E06 /* SettingViewModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D8F4C592100672500198E06 /* SettingViewModel.m */; };
        2D8F4C5D2100891C00198E06 /* SJTipView.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D8F4C5C2100891C00198E06 /* SJTipView.m */; };
        2DB8DAA121241CAE0034CD7C /* InviteOneCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DB8DAA021241CAE0034CD7C /* InviteOneCell.m */; };
        2DE70AC92137E32A0049CABC /* BSKImagesPageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DE70AC82137E3290049CABC /* BSKImagesPageView.m */; };
        2DF196CA2126BECE0007D310 /* MainBaseController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DF196C92126BECE0007D310 /* MainBaseController.m */; };
        2DF1FA4121250D81007043AF /* UIButton+SGCountdown.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DF1FA3C21250D81007043AF /* UIButton+SGCountdown.m */; };
        2DF1FA4221250D81007043AF /* UIButton+SGEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DF1FA3E21250D81007043AF /* UIButton+SGEvent.m */; };
@@ -702,7 +703,7 @@
        181ECE161EF369BF00472224 /* ZJContentView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZJContentView.h; sourceTree = "<group>"; };
        181ECE171EF369BF00472224 /* ZJContentView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZJContentView.m; sourceTree = "<group>"; };
        181ECE181EF369BF00472224 /* ZJScrollPageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZJScrollPageView.h; sourceTree = "<group>"; };
        181ECE191EF369BF00472224 /* ZJScrollPageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZJScrollPageView.m; sourceTree = "<group>"; };
        181ECE191EF369BF00472224 /* ZJScrollPageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZJScrollPageView.m; sourceTree = "<group>"; tabWidth = 5; };
        181ECE1A1EF369BF00472224 /* ZJScrollPageViewDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZJScrollPageViewDelegate.h; sourceTree = "<group>"; };
        181ECE1B1EF369BF00472224 /* ZJScrollSegmentView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZJScrollSegmentView.h; sourceTree = "<group>"; };
        181ECE1C1EF369BF00472224 /* ZJScrollSegmentView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZJScrollSegmentView.m; sourceTree = "<group>"; };
@@ -1716,6 +1717,8 @@
        2D9767D720C7D7FE006EE24F /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
        2DB8DA9F21241CAE0034CD7C /* InviteOneCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InviteOneCell.h; sourceTree = "<group>"; };
        2DB8DAA021241CAE0034CD7C /* InviteOneCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InviteOneCell.m; sourceTree = "<group>"; };
        2DE70AC72137E3280049CABC /* BSKImagesPageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BSKImagesPageView.h; sourceTree = "<group>"; };
        2DE70AC82137E3290049CABC /* BSKImagesPageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BSKImagesPageView.m; sourceTree = "<group>"; };
        2DF196C82126BECE0007D310 /* MainBaseController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MainBaseController.h; sourceTree = "<group>"; };
        2DF196C92126BECE0007D310 /* MainBaseController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MainBaseController.m; sourceTree = "<group>"; };
        2DF1FA3A21250D81007043AF /* SGEasyButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SGEasyButton.h; sourceTree = "<group>"; };
@@ -2052,6 +2055,8 @@
        182BEB5D1EAA081400B11FC5 /* LXAlertView */ = {
            isa = PBXGroup;
            children = (
                2DE70AC72137E3280049CABC /* BSKImagesPageView.h */,
                2DE70AC82137E3290049CABC /* BSKImagesPageView.m */,
                181A6A9E1EB35D7A00CFC830 /* GiftsView.h */,
                181A6A9F1EB35D7A00CFC830 /* GiftsView.m */,
                18E7C78E1EB9ABCC00A02A14 /* PraiseView.h */,
@@ -4414,6 +4419,7 @@
                18360AF2206C915800F9EAB1 /* BalaDetailTableViewCell.m in Sources */,
                1897D9B81E5FDB70003DF6FE /* SearchCollectionViewCell.m in Sources */,
                2DF1FA4921252614007043AF /* InviteThreeCell.m in Sources */,
                2DE70AC92137E32A0049CABC /* BSKImagesPageView.m in Sources */,
                1845C4C6209C562E009C639B /* ZXRSSExpandedPair.m in Sources */,
                1894E7F320B6C73F00C28F33 /* UITableView+XHWebImageAutoSize.m in Sources */,
                1845C474209C562D009C639B /* ZXImage.m in Sources */,
MIduo.xcworkspace/xcuserdata/mj.xcuserdatad/UserInterfaceState.xcuserstate
Binary files differ
MIduo.xcworkspace/xcuserdata/mj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
@@ -19,24 +19,8 @@
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/&#x754c;&#x9762;/&#x4f18;&#x60e0;&#x5238;/classificationViewController.m"
            timestampString = "555908948.249001"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "275"
            endingLineNumber = "275"
            landmarkName = "-childViewController:forIndex:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/&#x754c;&#x9762;/&#x52a8;&#x6001;/DynamicViewController.m"
            timestampString = "556441547.824281"
            timestampString = "557313845.993101"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "229"
@@ -78,13 +62,338 @@
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            scope = "0"
            stopOnStyle = "0">
            filePath = "MIduo/&#x754c;&#x9762;/&#x4f18;&#x60e0;&#x5238;/classificationViewController.m"
            timestampString = "556452484.3680609"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "147"
            endingLineNumber = "147"
            landmarkName = "-setStatusBarBackgroundColor:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/&#x6570;&#x636e;/lib/ZJScrollPageView/ZJContentView.m"
            timestampString = "556452484.3681279"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "192"
            endingLineNumber = "192"
            landmarkName = "-reload"
            landmarkType = "7">
            <Locations>
               <Location
                  shouldBeEnabled = "Yes"
                  ignoreCount = "0"
                  continueAfterRunningActions = "No"
                  symbolName = "-[ZJContentView reload]"
                  moduleName = "MIduo"
                  usesParentBreakpointCondition = "Yes"
                  urlString = "file:///Users/mj/Desktop/fanliquan/MIduo/%E6%95%B0%E6%8D%AE/lib/ZJScrollPageView/ZJContentView.m"
                  timestampString = "557313846.062323"
                  startingColumnNumber = "9223372036854775807"
                  endingColumnNumber = "9223372036854775807"
                  startingLineNumber = "192"
                  endingLineNumber = "192"
                  offsetFromSymbolStart = "20">
               </Location>
               <Location
                  shouldBeEnabled = "Yes"
                  ignoreCount = "0"
                  continueAfterRunningActions = "No"
                  symbolName = "__23-[ZJContentView reload]_block_invoke"
                  moduleName = "MIduo"
                  usesParentBreakpointCondition = "Yes"
                  urlString = "file:///Users/mj/Desktop/fanliquan/MIduo/%E6%95%B0%E6%8D%AE/lib/ZJScrollPageView/ZJContentView.m"
                  timestampString = "557313846.063996"
                  startingColumnNumber = "9223372036854775807"
                  endingColumnNumber = "9223372036854775807"
                  startingLineNumber = "193"
                  endingLineNumber = "193"
                  offsetFromSymbolStart = "108">
               </Location>
            </Locations>
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/&#x754c;&#x9762;/&#x6211;&#x7684;/MineViewController.m"
            timestampString = "557313409.948368"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "206"
            endingLineNumber = "206"
            landmarkName = "-bindTaoBaos"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/&#x754c;&#x9762;/&#x6211;&#x7684;/LoginViewController.m"
            timestampString = "556517749.124685"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "487"
            endingLineNumber = "487"
            landmarkName = "-TaoBaoBound"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/AppDelegate.m"
            timestampString = "557313845.993438"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "613"
            endingLineNumber = "613"
            landmarkName = "-userNotificationCenter:willPresentNotification:withCompletionHandler:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/AppDelegate.m"
            timestampString = "557313845.9934829"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "624"
            endingLineNumber = "624"
            landmarkName = "-registerLocalNotification:alertBody:userDict:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/AppDelegate.m"
            timestampString = "557313845.99352"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "647"
            endingLineNumber = "647"
            landmarkName = "-getRequestWithLocalNotificationSleep:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/AppDelegate.m"
            timestampString = "557313845.9935549"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "565"
            endingLineNumber = "565"
            landmarkName = "-application:didReceiveLocalNotification:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/&#x6570;&#x636e;/YTHsharedManger.m"
            timestampString = "556518226.882774"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "221"
            endingLineNumber = "221"
            landmarkName = "-LogInForTaoBaoWith:Withblock:"
            landmarkType = "7">
            <Locations>
               <Location
                  shouldBeEnabled = "Yes"
                  ignoreCount = "0"
                  continueAfterRunningActions = "No"
                  symbolName = "__48-[YTHsharedManger LogInForTaoBaoWith:Withblock:]_block_invoke"
                  moduleName = "MIduo"
                  usesParentBreakpointCondition = "Yes"
                  urlString = "file:///Users/mj/Desktop/fanliquan/MIduo/%E6%95%B0%E6%8D%AE/YTHsharedManger.m"
                  timestampString = "557313846.090746"
                  startingColumnNumber = "9223372036854775807"
                  endingColumnNumber = "9223372036854775807"
                  startingLineNumber = "221"
                  endingLineNumber = "221"
                  offsetFromSymbolStart = "1068">
               </Location>
               <Location
                  shouldBeEnabled = "Yes"
                  ignoreCount = "0"
                  continueAfterRunningActions = "No"
                  symbolName = "__48-[YTHsharedManger LogInForTaoBaoWith:Withblock:]_block_invoke_2"
                  moduleName = "MIduo"
                  usesParentBreakpointCondition = "Yes"
                  urlString = "file:///Users/mj/Desktop/fanliquan/MIduo/%E6%95%B0%E6%8D%AE/YTHsharedManger.m"
                  timestampString = "557313846.092422"
                  startingColumnNumber = "9223372036854775807"
                  endingColumnNumber = "9223372036854775807"
                  startingLineNumber = "222"
                  endingLineNumber = "222"
                  offsetFromSymbolStart = "56">
               </Location>
               <Location
                  shouldBeEnabled = "Yes"
                  ignoreCount = "0"
                  continueAfterRunningActions = "No"
                  symbolName = "__destroy_helper_block_.180"
                  moduleName = "MIduo"
                  usesParentBreakpointCondition = "Yes"
                  urlString = "file:///Users/mj/Desktop/fanliquan/MIduo/%E6%95%B0%E6%8D%AE/YTHsharedManger.m"
                  timestampString = "557313846.094366"
                  startingColumnNumber = "9223372036854775807"
                  endingColumnNumber = "9223372036854775807"
                  startingLineNumber = "221"
                  endingLineNumber = "221"
                  offsetFromSymbolStart = "20">
               </Location>
            </Locations>
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/&#x754c;&#x9762;/&#x6211;&#x7684;/MineViewController.m"
            timestampString = "557313409.948615"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "342"
            endingLineNumber = "342"
            landmarkName = "-Login"
            landmarkType = "7">
            <Locations>
               <Location
                  shouldBeEnabled = "Yes"
                  ignoreCount = "0"
                  continueAfterRunningActions = "No"
                  symbolName = "-[MineViewController Login]"
                  moduleName = "MIduo"
                  usesParentBreakpointCondition = "Yes"
                  urlString = "file:///Users/mj/Desktop/fanliquan/MIduo/%E7%95%8C%E9%9D%A2/%E6%88%91%E7%9A%84/MineViewController.m"
                  timestampString = "557313846.099995"
                  startingColumnNumber = "9223372036854775807"
                  endingColumnNumber = "9223372036854775807"
                  startingLineNumber = "342"
                  endingLineNumber = "342"
                  offsetFromSymbolStart = "36">
               </Location>
               <Location
                  shouldBeEnabled = "Yes"
                  ignoreCount = "0"
                  continueAfterRunningActions = "No"
                  symbolName = "__27-[MineViewController Login]_block_invoke"
                  moduleName = "MIduo"
                  usesParentBreakpointCondition = "Yes"
                  urlString = "file:///Users/mj/Desktop/fanliquan/MIduo/%E7%95%8C%E9%9D%A2/%E6%88%91%E7%9A%84/MineViewController.m"
                  timestampString = "557313846.101844"
                  startingColumnNumber = "9223372036854775807"
                  endingColumnNumber = "9223372036854775807"
                  startingLineNumber = "343"
                  endingLineNumber = "343"
                  offsetFromSymbolStart = "56">
               </Location>
            </Locations>
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/&#x754c;&#x9762;/&#x6211;&#x7684;/MineViewController.m"
            timestampString = "557313409.948656"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "677"
            endingLineNumber = "677"
            landmarkName = "-boundTaoBao:isOrder:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/&#x754c;&#x9762;/&#x7f51;&#x9875;&#x89c6;&#x56fe;/&#x5546;&#x54c1;&#x8be6;&#x60c5;/GoodDeTrViewController.m"
            timestampString = "556532591.328869"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "663"
            endingLineNumber = "663"
            landmarkName = "-TaoBaoBound"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/AppDelegate.m"
            timestampString = "557313845.993634"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "600"
            endingLineNumber = "600"
            landmarkName = "-userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "MIduo/AppDelegate.m"
            timestampString = "557313845.993672"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "581"
            endingLineNumber = "581"
            landmarkName = "-application:didReceiveRemoteNotification:fetchCompletionHandler:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
   </Breakpoints>
MIduo/AppDelegate.m
@@ -57,14 +57,15 @@
#import "WXCutomNewStrategyComponent.h"
@interface AppDelegate ()<UNUserNotificationCenterDelegate,UITabBarControllerDelegate,WXApiDelegate>
@property (nonatomic,strong)UITabBarController *tabBarController;
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor=[UIColor whiteColor];
    //阿里百川
    [self setAliTrade];
    
@@ -92,8 +93,9 @@
    
    //微信登录
    [self WeiXinChatLogin];
    [self loadViews];
    
    [self loadViewsWithBor:YES];
    [self isJumpTaobao];
    NSDictionary * userInfo = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
    if(userInfo){
@@ -273,11 +275,9 @@
        NSLog(@"%@",object);
    }];
}
- (void)loadViews {
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor=[UIColor whiteColor];
- (void)loadViewsWithBor:(BOOL)bor {
    [self.window makeKeyAndVisible];
    self.window.rootViewController = nil;
    NEWHomeViewController *recommendVC = [[NEWHomeViewController alloc]init];
    recommendVC.tabBarItem.title = @"精选";
    recommendVC.tabBarItem.selectedImage = [UIImage imageNamed:@"Home点击"];
@@ -295,13 +295,7 @@
    invateVC.tabBarItem.image = [[UIImage imageNamed:@"邀请有奖"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];;
    invateVC.tabBarItem.imageInsets = UIEdgeInsetsMake(3, 0, -3, 0);
    BaseNavigationController *ninvateVC = [[BaseNavigationController alloc]initWithRootViewController:invateVC];
    //    shoppingCartViewController *disVC = [[shoppingCartViewController alloc]init];
    //    disVC.tabBarItem.title = @"购物车";
    //    disVC.tabBarItem.selectedImage = [UIImage imageNamed:@"Cart点击"];
    //    disVC.tabBarItem.image = [UIImage imageNamed:@"Cart"];
    //    BaseNavigationController *ndisVC = [[BaseNavigationController alloc]initWithRootViewController:disVC];
    //    DynamicViewController
    DynamicViewController *disVC = [[DynamicViewController alloc]init];
    disVC.tabBarItem.title = @"动态";
    disVC.tabBarItem.selectedImage = [UIImage imageNamed:@"动态2"];
@@ -314,18 +308,21 @@
    mineVC.tabBarItem.image = [UIImage imageNamed:@"Profile"];
    BaseNavigationController *nmineVC = [[BaseNavigationController alloc]initWithRootViewController:mineVC];
    
    UITabBarController *tabBarController = [[UITabBarController alloc]init];
    //    SJTabbar *tabbar = [[SJTabbar alloc]init];
    //    tabBarController.tabBar = tabbar;
     self.tabBarController = [[UITabBarController alloc]init];
    [[UITabBar appearance] setBackgroundColor:XYRBackgroundColor];
    tabBarController.viewControllers = @[nrecommendVC,nsubVC,ninvateVC,ndisVC,nmineVC];
    tabBarController.tabBar.tintColor = YTHColor(229, 0, 92);
    if (!bor) {
        self.tabBarController.viewControllers = @[nrecommendVC,nsubVC,ninvateVC,ndisVC,nmineVC];
    }else{
        self.tabBarController.viewControllers = @[nrecommendVC,nsubVC,ndisVC,nmineVC];
    }
    self.tabBarController.tabBar.tintColor = YTHColor(229, 0, 92);
    
    NSMutableDictionary *attr3=[NSMutableDictionary dictionary];
    attr3[NSFontAttributeName]=[UIFont systemFontOfSize:10];
    [[UITabBarItem appearance]setTitleTextAttributes:attr3 forState:UIControlStateNormal];
    
    self.window.rootViewController = tabBarController;
    self.window.rootViewController = self.tabBarController;
    
    if([[NSUserDefaults standardUserDefaults] objectForKey:@"userId"]!=nil){
        [self getMessage];
@@ -402,6 +399,8 @@
    if ([YTHsharedManger startManger].isEnterForeground) {
        [[NSNotificationCenter defaultCenter] postNotificationName:@"isEnterForeground" object:nil];
    }
    [[NSNotificationCenter defaultCenter] postNotificationName:@"fromBackGround" object:nil];
}
#pragma mark --- æŸ¥çœ‹ç²˜è´´æ¿ ---
@@ -513,17 +512,18 @@
    [dic setObject:deviceTokenStr forKey:@"deviceToken"];
    
    NSLog(@"%@",[NSString stringWithFormat:@"%@/%@",domainHTTP,@"push/insertDeviceToken"]);
    [JYNetWorking Post:[NSString stringWithFormat:@"%@/%@",domainHTTP,@"push/insertDeviceToken"] param:dic success:^(NSDictionary *object) {
        NSLog(@"%@",object);
        //        NSInteger code = [object[@"code"]integerValue];
        //        [self.datasource removeAllObjects];
    } fail:^(id object) {
        NSLog(@"%@",object);
    }];
    if([[NSUserDefaults standardUserDefaults] objectForKey:@"userId"]!=nil){
        [self loginDeviceToken];
    }else{
        [JYNetWorking Post:[NSString stringWithFormat:@"%@/%@",domainHTTP,@"push/insertDeviceToken"] param:dic success:^(NSDictionary *object) {
            NSLog(@"%@",object);
            //        NSInteger code = [object[@"code"]integerValue];
            //        [self.datasource removeAllObjects];
        } fail:^(id object) {
            NSLog(@"%@",object);
        }];
    }
}
- (void)application:(UIApplication *)app didFailToRegisterForRemoteNotificationsWithError:(NSError *)err
@@ -578,7 +578,6 @@
 @param completionHandler å®Œæˆå›žè°ƒ
 */
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
    NSLog(@"[XGDemo] userinfo %@", userInfo);
    if(application.applicationState == UIApplicationStateActive){
        //程序当前正处于前台
        //发送本地通知
@@ -598,7 +597,6 @@
// App ç”¨æˆ·ç‚¹å‡»é€šçŸ¥çš„回调
// æ— è®ºæœ¬åœ°æŽ¨é€è¿˜æ˜¯è¿œç¨‹æŽ¨é€éƒ½ä¼šèµ°è¿™ä¸ªå›žè°ƒ
- (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void(^)(void))completionHandler {
    NSLog(@"[XGDemo] click notification");
    NSDictionary * userInfo = response.notification.request.content.userInfo;
    [YTHsharedManger startManger].infomation = userInfo;
    //    [[NSNotificationCenter defaultCenter] postNotification:notification];
@@ -715,6 +713,65 @@
    }];
}
- (void)isJumpTaobao {
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] init];
    if ([[NSUserDefaults standardUserDefaults] objectForKey:@"userId"]) {
        [dic setObject:[[NSUserDefaults standardUserDefaults] objectForKey:@"userId"] forKey:@"uid"];
    }
    // [dic setObject:self.goodsID forKey:@"id"];
    [JYNetWorking Post:[NSString stringWithFormat:@"%@/%@",domainHTTP,@"systemclient/getsystemclientparams"]
                 param:dic
               success:^(NSDictionary *object) {
                   ALLog(@"%@",object);
                   NSArray *array = object[@"data"][@"systemClientParamsList"];
                   for (NSInteger index = 0; index < array.count; index ++) {
                       NSDictionary *dic = array[index];
                       if ([dic[@"key"] compare:@"iosonling"] == 0) {
                           [YTHsharedManger startManger].playingType =  [[NSString stringWithFormat:@"%@", dic[@"value"]]integerValue];// 1为上线前,隐藏,0 ï¼šä¸éšè—
//                            [YTHsharedManger startManger].playingType = 0;
                           NSLog(@"%ld",(long)[YTHsharedManger startManger].playingType);
                           [self loadViewsWithBor:[YTHsharedManger startManger].playingType];
                       }
                       if ([dic[@"key"] compare:@"newuser"] == 0) {//
                           [YTHsharedManger startManger].isNewuser = ![dic[@"value"]boolValue];
                       }
                       if ([dic[@"key"] compare:@"alipay_help"] == 0) {//支付宝帮助详情
                           [YTHsharedManger startManger].alipay_helpUrlString =  [NSString stringWithFormat:@"%@", dic[@"value"]];
                       }
                       if ([dic[@"key"] compare:@"weex_file_newer"] == 0) {
                           [YTHsharedManger startManger].weexUrlString =  [NSString stringWithFormat:@"%@", dic[@"value"]];
                       }
                       if ([dic[@"key"] compare:@"web_newer"] == 0) {
                           [YTHsharedManger startManger].weexUrlString =  [NSString stringWithFormat:@"%@", dic[@"value"]];
                       }
                       if ([dic[@"key"] compare:@"is_goods_web_detail"] == 0) {
                           NSInteger value = [dic[@"value"]integerValue];
                           // value = 1;
                           [YTHsharedManger startManger].isDetailWebValue = value;
                           [[NSUserDefaults standardUserDefaults] setObject:[NSString stringWithFormat:@"%ld",(long)value] forKey:@"isDetailWebValue"];
                           // [[NSUserDefaults standardUserDefaults] setBool:value forKey:@""];
                           // break;
                       }
                   }
               } fail:^(id object) {
               }];
}
#pragma mark é˜¿é‡Œç™¾å·
-(void)setAliTrade {
    // ç™¾å·å¹³å°åŸºç¡€SDK初始化,加载并初始化各个业务能力插件
MIduo/Info.plist
@@ -17,7 +17,7 @@
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>1.3.5</string>
    <string>1.3.7</string>
    <key>CFBundleURLTypes</key>
    <array>
        <dict>
@@ -88,7 +88,7 @@
        </dict>
    </array>
    <key>CFBundleVersion</key>
    <string>25</string>
    <string>27</string>
    <key>LSApplicationQueriesSchemes</key>
    <array>
        <string>tbopen</string>
MIduo/Êý¾Ý/DataNet/YTHNetInterface.h
@@ -14,7 +14,6 @@
//#define domainHTTP @"http://192.168.1.200:8088/fanli/api/v1" //2017-3-07 å†…网(马武瑞)
//#define domainHTTP @"http://shop.yeshitv.com:8089/MiDuo/api/v1"//外网
#define domainHTTP @"http://flq.yeshitv.com/fanli/api/v1"//外网
@interface YTHNetInterface : NSObject
typedef void(^YthNetWorkBlock)(BOOL isSuccessful , id result , NSString *error);
MIduo/Êý¾Ý/FileSignature.m
@@ -7,7 +7,7 @@
//
#import "FileSignature.h"
#import <sys/utsname.h>
@implementation FileSignature
+ (NSMutableDictionary *)CommonDictionary:(NSDictionary *)dictionary{
@@ -17,7 +17,7 @@
    NSString *apiversion = @"1";
    NSString *platform = @"ios";
    NSString *appid = @"24567001";
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithDictionary:dictionary];
    
    [dic setObject:AppSecre forKey:@"appkey"];
@@ -27,7 +27,9 @@
    [dic setObject:apiversion forKey:@"apiversion"];
    [dic setObject:platform forKey:@"platform"];
    [dic setObject:appid forKey:@"appid"];
    [dic setObject:[self deviceType] forKey:@"deviceType"];
    [dic setObject:[[UIDevice currentDevice] systemVersion] forKey:@"osVersion"];
    [dic setObject:@"appstore" forKey:@"channel"];
    //现在的时间
    NSTimeInterval timeNow = [[NSDate date] timeIntervalSince1970];
    long long int date = (long long int)timeNow*1000;
@@ -83,5 +85,147 @@
    
    return resultString;
}
+ (NSString*)deviceType {
    struct utsname systemInfo;
    uname(&systemInfo);
    NSString*platform = [NSString stringWithCString: systemInfo.machine encoding:NSASCIIStringEncoding];
    if([platform isEqualToString:@"iPhone1,1"])  return@"iPhone 2G";
    if([platform isEqualToString:@"iPhone1,2"])  return@"iPhone 3G";
    if([platform isEqualToString:@"iPhone2,1"])  return@"iPhone 3GS";
    if([platform isEqualToString:@"iPhone3,1"])  return@"iPhone 4";
    if([platform isEqualToString:@"iPhone3,2"])  return@"iPhone 4";
    if([platform isEqualToString:@"iPhone3,3"])  return@"iPhone 4";
    if([platform isEqualToString:@"iPhone4,1"])  return@"iPhone 4S";
    if([platform isEqualToString:@"iPhone5,1"])  return@"iPhone 5";
    if([platform isEqualToString:@"iPhone5,2"])  return@"iPhone 5";
    if([platform isEqualToString:@"iPhone5,3"])  return@"iPhone 5c";
    if([platform isEqualToString:@"iPhone5,4"])  return@"iPhone 5c";
    if([platform isEqualToString:@"iPhone6,1"])  return@"iPhone 5s";
    if([platform isEqualToString:@"iPhone6,2"])  return@"iPhone 5s";
    if([platform isEqualToString:@"iPhone7,1"])  return@"iPhone 6 Plus";
    if([platform isEqualToString:@"iPhone7,2"])  return@"iPhone 6";
    if([platform isEqualToString:@"iPhone8,1"])  return@"iPhone 6s";
    if([platform isEqualToString:@"iPhone8,2"])  return@"iPhone 6s Plus";
    if([platform isEqualToString:@"iPhone8,4"])  return@"iPhone SE";
    if([platform isEqualToString:@"iPhone9,1"])  return@"iPhone 7";
    if([platform isEqualToString:@"iPhone9,3"])  return@"iPhone 7";
    if([platform isEqualToString:@"iPhone9,2"])  return@"iPhone 7 Plus";
    if([platform isEqualToString:@"iPhone9,4"])  return@"iPhone 7 Plus";
    if([platform isEqualToString:@"iPhone10,1"]) return@"iPhone 8";
    if([platform isEqualToString:@"iPhone10,4"]) return@"iPhone 8";
    if([platform isEqualToString:@"iPhone10,2"]) return@"iPhone 8 Plus";
    if([platform isEqualToString:@"iPhone10,5"]) return@"iPhone 8 Plus";
    if([platform isEqualToString:@"iPhone10,3"]) return@"iPhone X";
    if([platform isEqualToString:@"iPhone10,6"]) return@"iPhone X";
    if([platform isEqualToString:@"iPod1,1"])  return@"iPod Touch 1G";
    if([platform isEqualToString:@"iPod2,1"])  return@"iPod Touch 2G";
    if([platform isEqualToString:@"iPod3,1"])  return@"iPod Touch 3G";
    if([platform isEqualToString:@"iPod4,1"])  return@"iPod Touch 4G";
    if([platform isEqualToString:@"iPod5,1"])  return@"iPod Touch 5G";
    if([platform isEqualToString:@"iPad1,1"])  return@"iPad 1G";
    if([platform isEqualToString:@"iPad2,1"])  return@"iPad 2";
    if([platform isEqualToString:@"iPad2,2"])  return@"iPad 2";
    if([platform isEqualToString:@"iPad2,3"])  return@"iPad 2";
    if([platform isEqualToString:@"iPad2,4"])  return@"iPad 2";
    if([platform isEqualToString:@"iPad2,5"])  return@"iPad Mini 1G";
    if([platform isEqualToString:@"iPad2,6"])  return@"iPad Mini 1G";
    if([platform isEqualToString:@"iPad2,7"])  return@"iPad Mini 1G";
    if([platform isEqualToString:@"iPad3,1"])  return@"iPad 3";
    if([platform isEqualToString:@"iPad3,2"])  return@"iPad 3";
    if([platform isEqualToString:@"iPad3,3"])  return@"iPad 3";
    if([platform isEqualToString:@"iPad3,4"])  return@"iPad 4";
    if([platform isEqualToString:@"iPad3,5"])  return@"iPad 4";
    if([platform isEqualToString:@"iPad3,6"])  return@"iPad 4";
    if([platform isEqualToString:@"iPad4,1"])  return@"iPad Air";
    if([platform isEqualToString:@"iPad4,2"])  return@"iPad Air";
    if([platform isEqualToString:@"iPad4,3"])  return@"iPad Air";
    if([platform isEqualToString:@"iPad4,4"])  return@"iPad Mini 2G";
    if([platform isEqualToString:@"iPad4,5"])  return@"iPad Mini 2G";
    if([platform isEqualToString:@"iPad4,6"])  return@"iPad Mini 2G";
    if([platform isEqualToString:@"iPad4,7"])  return@"iPad Mini 3";
    if([platform isEqualToString:@"iPad4,8"])  return@"iPad Mini 3";
    if([platform isEqualToString:@"iPad4,9"])  return@"iPad Mini 3";
    if([platform isEqualToString:@"iPad5,1"])  return@"iPad Mini 4";
    if([platform isEqualToString:@"iPad5,2"])  return@"iPad Mini 4";
    if([platform isEqualToString:@"iPad5,3"])  return@"iPad Air 2";
    if([platform isEqualToString:@"iPad5,4"])  return@"iPad Air 2";
    if([platform isEqualToString:@"iPad6,3"])  return@"iPad Pro 9.7";
    if([platform isEqualToString:@"iPad6,4"])  return@"iPad Pro 9.7";
    if([platform isEqualToString:@"iPad6,7"])  return@"iPad Pro 12.9";
    if([platform isEqualToString:@"iPad6,8"])  return@"iPad Pro 12.9";
    if([platform isEqualToString:@"i386"])  return@"iPhone Simulator";
    if([platform isEqualToString:@"x86_64"])  return@"iPhone Simulator";
    return platform;
}
@end
MIduo/Êý¾Ý/YTHsharedManger.h
@@ -31,7 +31,7 @@
@property (nonatomic , assign)BOOL isChangeWX;
@property (nonatomic , assign)CGFloat height;
@property (nonatomic , strong)NSString *weexUrlString;
@property (nonatomic,assign)BOOL isMinePush;
@property (nonatomic , assign) BOOL isMessageLogin;
@property (nonatomic , assign)BOOL isminebound;
@@ -39,6 +39,7 @@
@property (nonatomic, assign) BOOL isShopCarWXLogin;
@property (nonatomic, strong) NSString *alipay_helpUrlString;
@property (nonatomic, assign)NSInteger playingType;
@property (nonatomic, assign)BOOL isNewuser;
+ (YTHsharedManger *)startManger;
//返利券登录
MIduo/Êý¾Ý/lib/EasyJSWebView-master/MyJSInterface.h
@@ -15,4 +15,7 @@
- (NSString *)getVersion;
- (NSString *)getSign:(NSString *)string;
- (void)toast:(NSString *)string;
- (void)jumpGoodsSplash:(NSString *)string;
- (void)jumpGoodsDetail:(NSString *)string;
- (void)login;
@end
MIduo/Êý¾Ý/lib/EasyJSWebView-master/MyJSInterface.m
@@ -31,4 +31,18 @@
   
    ALToastCenter(string);
}
- (void)jumpGoodsSplash:(NSString *)string{
    NSDictionary *dic = @{@"type":@"new",@"id":string};
    [[NSNotificationCenter defaultCenter] postNotificationName:@"jumpGoodsDETAIL" object:dic];
}
- (void)jumpGoodsDetail:(NSString *)string{
    NSDictionary *dic = @{@"type":@"old",@"id":string};
    [[NSNotificationCenter defaultCenter] postNotificationName:@"jumpGoodsDETAIL" object:dic];
}
- (void)login{
    [[NSNotificationCenter defaultCenter] postNotificationName:@"jumpLoginVc" object:nil];
}
@end
MIduo/Êý¾Ý/lib/LXAlertView/BSKImagesPageView.h
New file
@@ -0,0 +1,56 @@
//
//  BSKImagesPageView.h
//  Shopping
//
//  Created by aaaa on 2016/11/16.
//  Copyright Â© 2016å¹´ YouMeiYiKeJi. All rights reserved.
//
#import <UIKit/UIKit.h>
//#import <YYKit.h>
@class BSKImagesPageView;
@protocol BSKImagesPageViewViewDelegate <NSObject>
@optional
-(void)BSKImagesPageView:(BSKImagesPageView *)autoPlayScrollView onClickImageView:(UIImageView*)imageView atIndex:(NSInteger)index;
@end
@interface BSKImagesPageView : UIView
//被展示的图片们,如果是网络图片,则images为图片URL字符串数组,如果不是,则image为UIImage数组或图片的资源名称
@property (nonatomic, strong) NSArray * images;
@property (nonatomic, assign) BOOL canClickWhenScroll;//滚动时是否可以点击。默认为YES
@property (nonatomic, assign) NSInteger timerTimeInterval;//轮播的间隔,为0则不自动轮播
@property (assign, nonatomic) BOOL showPageControl;//是否显示分页控制器
@property (nonatomic, weak) id <BSKImagesPageViewViewDelegate> delegate;
@property (nonatomic, strong) UIPageControl * pageControl;
@property (assign, nonatomic) CGSize imageSize;
-(void)scrollToIndex:(NSInteger)index;
//-(YYAnimatedImageView * )curentImageView;
/**
 åˆå§‹åŒ–图片轮播视图
 @param frame  è§†å›¾çš„尺寸和位置
 @param images è¦å±•示的图片们,如果是网络图片,则images为图片URL字符串数组,如果不是,则image为UIImage数组
 @return æˆåŠŸåˆ™è¿”å›žè§†å›¾å¯¹è±¡ï¼Œå¤±è´¥è¿”å›žnil
 */
- (instancetype)initWithFrame:(CGRect)frame imageNames:(NSArray *)images;
/**
 åˆå§‹åŒ–图片轮播视图,如果不指定frame则以数组第一张图的大小为默认大小,如果数组为空则默认款200高120。默认位置为x=0,y=0;
 @param images è¦å±•示的图片们,如果是网络图片,则images为图片URL字符串数组,如果不是,则image为UIImage数组
 @return æˆåŠŸåˆ™è¿”å›žè§†å›¾å¯¹è±¡ï¼Œå¤±è´¥è¿”å›žnil
 */
-(instancetype)initWithImages:(NSArray *)images;
-(void)nextPage;
-(void)lastPage;
@end
MIduo/Êý¾Ý/lib/LXAlertView/BSKImagesPageView.m
New file
@@ -0,0 +1,336 @@
//
//  BSKImagesPageView.m
//  Shopping
//
//  Created by aaaa on 2016/11/16.
//  Copyright Â© 2016å¹´ YouMeiYiKeJi. All rights reserved.
//
#import "BSKImagesPageView.h"
#import "AFNetworking.h"
//#import "BSKUtils.h"
#import "UIImageView+WebCache.h"
#ifndef BSKPlaceHolderImage
#define BSKPlaceHolderImage [UIImage imageNamed:@"默认banner"]
#endif
@interface BSKImagesPageView ()<UIScrollViewDelegate>
@property (nonatomic, strong) NSTimer * timer;
@property (nonatomic, strong) UIScrollView * imageScroView;
@property (nonatomic, strong) YYAnimatedImageView * firstImageView;
@property (nonatomic, strong) YYAnimatedImageView * middleImageView;
@property (nonatomic, strong) YYAnimatedImageView * lastImageView;
@property (nonatomic, assign) NSInteger currentPage;
@property (nonatomic, assign) BOOL isScroll;
@property (nonatomic, assign) BOOL initFlag;
@end
@implementation BSKImagesPageView
-(instancetype)initWithImages:(NSArray *)images{
    CGFloat w= 200;//默认宽高
    CGFloat h = 120;
    self = [self initWithFrame:CGRectMake(0, 0,w,h) imageNames:images];
    return self;
}
- (instancetype)initWithFrame:(CGRect)frame imageNames:(NSArray *)images
{
    self = [self initWithFrame:frame];
    if (self) {
        self.images = images;
    }
    return self;
}
-(void)awakeFromNib{
    [super awakeFromNib];
    [self initialize];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self initialize];
    }
    return self;
}
-(void)initialize{
    _initFlag = NO;
    self.imageSize = CGSizeZero;
    self.canClickWhenScroll = YES;
    self.isScroll = NO;
    [self initializeUIserInterface];
}
-(void)layoutSubviews{
    self.imageScroView.frame = self.bounds;
    self.imageScroView.contentSize =CGSizeMake(self.bounds.size.width*3, self.bounds.size.height);
    //self.pageControl.frame = CGRectMake(0, self.bounds.size.height-20, self.bounds.size.width, 20);
    self.pageControl.frame = CGRectMake(0, self.bounds.size.height-30, self.bounds.size.width, 20);
    self.firstImageView.frame = CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height);
    self.middleImageView.frame = CGRectMake(self.bounds.size.width, 0, self.bounds.size.width, self.bounds.size.height);
    self.lastImageView.frame = CGRectMake(self.bounds.size.width*2, 0, self.bounds.size.width, self.bounds.size.height);
    [self.imageScroView setContentOffset:CGPointMake(self.bounds.size.width, 0) animated:NO];
    [self openTimer:YES];
}
-(void)initializeUIserInterface{//初始化视图
    self.imageScroView = [[UIScrollView alloc]init];
    self.firstImageView = [[YYAnimatedImageView alloc]init];
    self.middleImageView = [[YYAnimatedImageView alloc]init];
    self.lastImageView = [[YYAnimatedImageView alloc]init];
    self.pageControl = [[UIPageControl alloc]init];
    [self.firstImageView setContentScaleFactor:[[UIScreen mainScreen] scale]];
    [self.middleImageView setContentScaleFactor:[[UIScreen mainScreen] scale]];
    [self.lastImageView setContentScaleFactor:[[UIScreen mainScreen] scale]];
    self.firstImageView.contentMode = UIViewContentModeScaleToFill;
    self.middleImageView.contentMode = UIViewContentModeScaleToFill;
    self.lastImageView.contentMode = UIViewContentModeScaleToFill;
    self.firstImageView.clipsToBounds = YES;
    self.middleImageView.clipsToBounds = YES;
    self.lastImageView.clipsToBounds = YES;
    [self addSubview:self.imageScroView];
    self.imageScroView.delegate = self;
    self.imageScroView.pagingEnabled = YES;
    self.imageScroView.showsVerticalScrollIndicator = NO;
    self.imageScroView.showsHorizontalScrollIndicator = NO;
    self.pageControl.currentPage = 0;
    self.currentPage = 0;
    self.pageControl.numberOfPages = self.images.count;
    self.pageControl.pageIndicatorTintColor = [UIColor lightGrayColor];
    //    self.pageControl.currentPageIndicatorTintColor = UIColorHex(@"f4bb3dff");
//    self.pageControl.currentPageIndicatorTintColor = UIColorFromRGB(0xFE7C21, 1.0);
    self.pageControl.currentPageIndicatorTintColor = [UIColor whiteColor];
    self.pageControl.userInteractionEnabled =NO;
    [self addSubview:self.pageControl];
    [self.imageScroView addSubview:self.firstImageView];
    [self.imageScroView addSubview:self.middleImageView];
    [self.imageScroView addSubview:self.lastImageView];
    [self refreshImage];
    UITapGestureRecognizer * tapGesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tapAction:)];
    [self addGestureRecognizer:tapGesture];
}
//点击手势
-(void)tapAction:(UITapGestureRecognizer *)geture{
    if (self.images.count==0) {
        return;
    }
    if (self.isScroll) {
        //NSLog(@"[BSKImagesPageView]: canClickWhenScroll = %@",self.canClickWhenScroll?@"YES":@"NO");
        if(!self.canClickWhenScroll){
            return;
        }
    }
    if (self.delegate) {
        if([self.delegate respondsToSelector:@selector(BSKImagesPageView:onClickImageView:atIndex:)]){
            [self.delegate BSKImagesPageView:self onClickImageView:self.middleImageView atIndex:self.pageControl.currentPage];
        }
    }
}
//打开或关闭计时器
-(void)openTimer:(BOOL)open{
    if (self.images.count<=1) {
        [self.timer invalidate];
        return;
    }
    if (self.timerTimeInterval<=0) {
        [self.timer invalidate];
        return;
    }
    if (open) {
        [self.timer invalidate];
        self.timer = [NSTimer scheduledTimerWithTimeInterval:self.timerTimeInterval target:self selector:@selector(nextPage) userInfo:nil repeats:YES];
    }else{
        [self.timer invalidate];
    }
}
//根据当前的页码更新图片
-(void)refreshImage{
    if (self.images.count==0) {
        return;
    }
    NSInteger firstIndex = self.currentPage - 1;
    if (firstIndex<0) {
        firstIndex = self.images.count - 1;
    }
    NSInteger lastIndex = self.currentPage + 1;
    if (lastIndex>=self.images.count) {
        lastIndex=0;
    }
    //NSLog(@"%ld  %ld  %ld",firstIndex,self.currentPage,lastIndex);
    [self setImage:self.images[firstIndex] toImageView:self.firstImageView];
    [self setImage:self.images[self.currentPage] toImageView:self.middleImageView];
    [self setImage:self.images[lastIndex] toImageView:self.lastImageView];
}
-(void)setImage:(id) image toImageView:(YYAnimatedImageView*)imageview{
    NSString *imageString = (NSString *)image;
    if (imageString.length == 0) {
        [imageview setImage:BSKPlaceHolderImage];
        return;
    }
    [imageview setYthImageWithURL:imageString placeholderImage:BSKPlaceHolderImage];
}
//滚动到下一页,轮播。
-(void)nextPage{
    if (self.images.count>1) {
        self.isScroll = YES;
        [self.imageScroView setContentOffset:CGPointMake(self.frame.size.width*2, 0) animated:YES];
    }
    if (!self.superview) {
        [self openTimer:NO];
    }
}
-(void)lastPage{
    if (self.images.count>1) {
        self.isScroll = YES;
        [self.imageScroView setContentOffset:CGPointMake(0, 0) animated:YES];
    }
}
-(void)scrollToIndex:(NSInteger)index{
    if (index>=self.images.count||index<0||self.images.count==0) {
        return;
    }
    [self setImage:self.images[index] toImageView:self.lastImageView];
    [self nextPage];
    self.currentPage = index-1>=0?index-1:self.images.count-1;
}
#pragma marck UIScrollViewDelegate
//当滚动动画完成时更新页码重置图片(只有轮播时才会触发)
-(void)scrollViewDidEndScrollingAnimation:(UIScrollView *)scrollView{
    [self scrollViewDidEndDecelerating:scrollView];
}
//当滚动到两边边缘时进行页码处理并重置图片
-(void)scrollViewDidScroll:(UIScrollView *)scrollView{
    if (self.images.count==0) {
        return;
    }
    if (scrollView.contentOffset.x<0) {
        scrollView.contentOffset = CGPointMake(self.frame.size.width, 0);
        self.currentPage--;
    }else
        if (scrollView.contentOffset.x>self.frame.size.width*2) {
            scrollView.contentOffset = CGPointMake(self.frame.size.width, 0);
            self.currentPage++;
        }else{
            return;
        }
    NSInteger arrayCount =self.images.count+0;
    if (self.currentPage>=arrayCount) {
        self.currentPage = 0;
    }
    if (self.currentPage<0) {
        self.currentPage = self.images.count-1;
    }
    [self refreshImage];
    [self.imageScroView setContentOffset:CGPointMake(self.frame.size.width, 0) animated:NO];
    self.pageControl.currentPage=self.currentPage;
    self.isScroll = YES;
}
//当减速动画完成时更新页码并重置图片。(拖拽时才会触发)
-(void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{
    if (self.images.count==0) {
        return;
    }
    if (scrollView.contentOffset.x==0) {
        self.currentPage--;
    }
    else if(scrollView.contentOffset.x==self.frame.size.width*2){
        self.currentPage++;
    }
    else{
        return;
    }
    NSInteger arrayCount =self.images.count+0;
    if (self.currentPage>=arrayCount) {
        self.currentPage = 0;
    }
    if (self.currentPage<0) {
        self.currentPage = self.images.count-1;
    }
    [self refreshImage];
    [self.imageScroView setContentOffset:CGPointMake(self.frame.size.width, 0) animated:NO];
    self.pageControl.currentPage=self.currentPage;
    self.isScroll = NO;
}
//开始拖拽时关闭计时器
-(void)scrollViewWillBeginDragging:(UIScrollView *)scrollView{
    self.isScroll = YES;
    [self openTimer:NO];
}
//结束拖拽时打开计时器继续轮播
-(void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate{
    [self openTimer:YES];
}
#pragma marck setter
-(void)setTimerTimeInterval:(NSInteger)timerTimeInterval{
    _timerTimeInterval = timerTimeInterval;
    [self openTimer:YES];
}
-(void)setImages:(NSArray *)images
{
    _images = images;
    self.pageControl.numberOfPages = _images.count;
    self.pageControl.currentPage = 0;
    self.currentPage = 0;
    if (!(images.count > 1)) {
        [self openTimer:NO];
        self.pageControl.hidden = YES;
    }else{
        [self openTimer:YES];
        self.pageControl.hidden = NO;
    }
    [self refreshImage];
    self.imageScroView.scrollEnabled = _images.count>1;
}
-(void)setShowPageControl:(BOOL)showPageControl{
    _showPageControl = showPageControl;
    self.pageControl.hidden = !showPageControl;
}
-(YYAnimatedImageView * )curentImageView{
    return self.middleImageView;
}
-(void)dealloc{
    //NSLog(@"BSKImagesPageView-Delloc");
    [self.timer invalidate];
}
@end
MIduo/Êý¾Ý/lib/ZJScrollPageView/ZJCollectionView.m
@@ -16,6 +16,7 @@
- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer {
    [[[UIApplication sharedApplication] keyWindow] endEditing:YES];
    if (_gestureBeginHandler && gestureRecognizer == self.panGestureRecognizer) {
        return _gestureBeginHandler(self, (UIPanGestureRecognizer *)gestureRecognizer);
    }
MIduo/Êý¾Ý/lib/ZJScrollPageView/ZJScrollPageView.m
@@ -19,7 +19,6 @@
@end
@implementation ZJScrollPageView
#pragma mark - life cycle
- (instancetype)initWithFrame:(CGRect)frame segmentStyle:(ZJSegmentStyle *)segmentStyle titles:(NSArray<NSString *> *)titles parentViewController:(UIViewController *)parentViewController delegate:(id<ZJScrollPageViewDelegate>) delegate {
MIduo/½çÃæ/SJBaseViewController.m
@@ -24,10 +24,8 @@
    
    if (self.title.length > 0) {
        [MobClick beginLogPageView:self.title];
        NSLog(@"%@",self.title);
    } else{
        [MobClick beginLogPageView:self.navigationItem.title];
        NSLog(@"%@",self.navigationItem.title);
    }
}
MIduo/½çÃæ/ÓÅ»Ýȯ/classificationViewController.m
@@ -41,7 +41,7 @@
    self.navigationController.navigationBar.translucent = NO;
    
    // è®¾ç½®å¯¼èˆªæ é¢œè‰²
    self.navigationController.navigationBar.barTintColor = YTHColor(229, 0, 92);
    self.navigationController.navigationBar.barTintColor = XYRMainColor;
    self.automaticallyAdjustsScrollViewInsets = NO;
}
@@ -52,7 +52,7 @@
- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = YTHColor(229, 0, 92);
    self.view.backgroundColor = XYRMainColor;
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(NetWorkStatesChange:)
MIduo/½çÃæ/¶¯Ì¬/DynamicViewController.m
@@ -257,7 +257,6 @@
    [dic setValue:[[NSUserDefaults standardUserDefaults] objectForKey:@"userId"] forKey:@"uid"];
    [dic setValue:activityId forKey:@"activityId"];
    
    [[ALNetWorking startInterface] Post:[NSString stringWithFormat:@"%@/%@",domainHTTP,@"activity/shareGoods"]
                                  param:dic
                                success:^(NSDictionary *object) {
MIduo/½çÃæ/ÎÒµÄ/MineViewController.m
@@ -141,10 +141,10 @@
        [self autoLogin];
    }
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(bindTaoBaos)
                                                 name:@"TaoBaoBound"
                                               object:nil];
//    [[NSNotificationCenter defaultCenter] addObserver:self
//                                             selector:@selector(bindTaoBaos)
//                                                 name:@"TaoBaoBound"
//                                               object:nil];
    
}
- (void)getMessage {
@@ -651,7 +651,7 @@
                ALBBUser *myMessage = [[ALBBSession sharedInstance] getUser];
                NSString *Openid = myMessage.openId;
                if (![self.userInfo[@"openid"] isEqualToString:Openid]) {
                    [self autoDisappearAlertTime:2 msg:@"亲,授权登录不匹配,请登录海草街绑定的淘宝号进行授权登录"];
                    [self autoDisappearAlertTime:2 msg:@"亲,授权登录不匹配,请登录返利券绑定的淘宝号进行授权登录"];
                    [[ALBBSDK sharedInstance] logout];
                    
                }else{
@@ -852,7 +852,7 @@
        
        [alertView dismiss];
        alertView=nil;
        [self Login];
//        [self Login];
        
    } else if(buttonIndex==782) {//查看用户协议
        [alertView dismiss];
MIduo/½çÃæ/ÎÒµÄ/Setting/View/SettingViewController.m
@@ -52,8 +52,14 @@
    [self CreatTableView];
    
    [self bingViewModel];
}
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(fromBack:) name:@"fromBackGround" object:nil];
}
- (void)fromBack:(NSNotification *)notice{
    if (_settingTableView) {
        [_settingTableView reloadData];
    }
}
- (void)bingViewModel {
    
    RAC(self.viewModel, uid) = RACObserve(self, uid);
@@ -231,11 +237,11 @@
            
            if ([self isAllowedNotification]) {
                
                [cell.switchButton setOn:YES];
                [cell.switchButton setOn:NO];
                
            } else {
                
                [cell.switchButton setOn:NO];
                [cell.switchButton setOn:YES];
            }
            
            return cell;
MIduo/½çÃæ/ÎÒµÄ/balance/BalanceViewController.m
@@ -117,13 +117,13 @@
    [_primtWindow addSubview:self.primtView];
    if (sender.tag == 35) {
        self.primtTitle.text = @"今日预估收益";
        self.primtContent.text = @"今日新增的所有订单预估收益";
        self.primtContent.text = @"今日新增的奖金订单预估收益";
    }else if(sender.tag == 36){
        self.primtTitle.text = @"本月预估收益";
        self.primtContent.text = @"本月内产生的所有订单预估收益,会在订单确认收货后的次月25日后转入你的余额,以实际转入余额为准";
        self.primtContent.text = @"本月内产生的奖金订单预估收益,会在订单确认收货后的次月25日后转入你的余额,以实际转入余额为准";
    }else{
        self.primtTitle.text = @"上月预估收入";
        self.primtContent.text = @"上个月内确认收货的订单收入,每月25日结算后,将自动转入你的余额";
        self.primtContent.text = @"上个月内确认收货的奖金订单收入,每月25日结算后,将自动转入你的余额";
    }
}
MIduo/½çÃæ/ÎÒµÄ/userInfoViewController.m
@@ -168,7 +168,11 @@
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    if(section==0){
        return 4;
        if ([YTHsharedManger startManger].playingType == 1) {
            return 3;
        }else{
            return 4;
        }
    }else{
        return 3;
    }
MIduo/½çÃæ/ÍøÒ³ÊÓͼ/SureWebViewController.m
@@ -99,26 +99,26 @@
    // åˆ›å»ºç½‘页视图
    [self createWebView];
    if([[NSUserDefaults standardUserDefaults] objectForKey:@"userId"]){
        if(![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBSession sharedInstance] isLogin]){
            SearchTip *searchTips=[[SearchTip alloc] initWithSearchStr:@"为确保订单有返利,请授权登录淘宝账号" withIsSearch:NO];
            searchTips.titleLabel.text = @"提示";
            searchTips.hasIndex = ^(NSInteger index) {
                if (index == 790) {//确定
                    [searchTips dismiss];
                    [self unBind];
                    //登录界面
                    [self LoginForTaoBao];
                } else if (index==791 || index == 792){//关闭
                    [searchTips dismiss];
                }
            };
            [searchTips show];
        }
    }
//    if([[NSUserDefaults standardUserDefaults] objectForKey:@"userId"]){
//
//        if(![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBSession sharedInstance] isLogin]){
//            SearchTip *searchTips=[[SearchTip alloc] initWithSearchStr:@"为确保订单有返利,请授权登录淘宝账号" withIsSearch:NO];
//            searchTips.titleLabel.text = @"提示";
//            searchTips.hasIndex = ^(NSInteger index) {
//
//                if (index == 790) {//确定
//                    [searchTips dismiss];
//                    [self unBind];
//                    //登录界面
//                    [self LoginForTaoBao];
//
//                } else if (index==791 || index == 792){//关闭
//                    [searchTips dismiss];
//                }
//            };
//            [searchTips show];
//        }
//    }
   
}
- (void)LoginForTaoBao {
MIduo/½çÃæ/ÍøÒ³ÊÓͼ/ÉÌÆ·ÏêÇé/ButtomCarView.m
@@ -25,6 +25,7 @@
        [self addSubview:self.buyButton];
        [self addSubview:_heartImage];
        [self addSubview:_collecLabel];
//        [YTHsharedManger startManger].playingType = 0 ;
        if ([YTHsharedManger startManger].playingType == 0) {
            UIImageView *shareImage = [[UIImageView alloc]initWithFrame:CGRectMake(CGRectGetMinX(self.shareButton.frame) + (KScreenW - KScreenW / 5) / 4 - 35 - 3   , 7, 17, 16)];
            if (KScreenW < 375) {
MIduo/½çÃæ/ÍøÒ³ÊÓͼ/ÉÌÆ·ÏêÇé/GoodDeTrViewController.m
@@ -670,9 +670,8 @@
                   
                   if ([object[@"code"] integerValue] == 0) {
                       
                       [SVProgressHUD setContainerView:[UIApplication sharedApplication].delegate.window];
                       [SVProgressHUD showSuccessWithStatus:BIND_SUCCESS];
//                       [SVProgressHUD setContainerView:[UIApplication sharedApplication].delegate.window];
//                       [SVProgressHUD showSuccessWithStatus:BIND_SUCCESS];
                       
                       [self fetchTbPidInfo];
                       
@@ -1357,7 +1356,7 @@
    for (NSString *url in self.detailArray) {
        [[SDImageCache sharedImageCache] removeImageForKey:url withCompletion:^{ALLog(@"当前界面缓存清除完成");}];
    }
    [[NSNotificationCenter defaultCenter] removeObserver:self name:@"TaoBaoBound" object:nil];
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}
MIduo/½çÃæ/ÑûÇë/MainInviteViewController.m
@@ -175,17 +175,17 @@
    if (sender.tag == 35) {
        
        self.primtTitle.text = @"今日预估收益";
        self.primtContent.text = @"今日新增的所有订单预估收益";
        self.primtContent.text = @"今日新增的奖金订单预估收益";
        
    } else if(sender.tag == 36) {
        
        self.primtTitle.text = @"本月预估收益";
        self.primtContent.text = @"本月内产生的所有订单预估收益,会在订单确认收货后的次月25日后转入你的余额,以实际转入余额为准";
        self.primtContent.text = @"本月内产生的奖金订单预估收益,会在订单确认收货后的次月25日后转入你的余额,以实际转入余额为准";
        
    } else {
        
        self.primtTitle.text = @"上月预估收入";
        self.primtContent.text = @"上个月内确认收货的订单收入,每月25日结算后,将自动转入你的余额";
        self.primtContent.text = @"上个月内确认收货的奖金订单收入,每月25日结算后,将自动转入你的余额";
    }
}
MIduo/½çÃæ/ÑûÇë/ÉÌÆ··ÖÏí/ShonpingShareViewController.m
@@ -57,18 +57,56 @@
    [super viewDidLoad];
    self.title = @"创建分享";
    self.view.backgroundColor = XYRBackgroundColor;
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(jumpGoodsDETAIL:) name:@"jumpGoodsDETAIL" object:nil];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(jumpLoginVc:) name:@"jumpLoginVc" object:nil];
    [self.view addSubview:self.webView];
     _interface = [MyJSInterface new];
    [self.webView addJavascriptInterfaces:_interface WithName:@"yestv"];
//    self.urlString = @"http://192.168.1.122:8080/fanli/client/html/sharegoods/index.html?id=564119163739";
//    self.urlString = @"http://192.168.1.122:8020/Test/api_test.html";
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.urlString]]];
}
- (void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
//    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:YES];
}
/**
 æ ¹æ®é€šçŸ¥ä¿¡æ¯æŒ‘战不同的界面
 @param notice notice
 */
- (void)jumpGoodsDETAIL:(NSNotification *)notice {
    NSDictionary *dic = notice.object;
    NSString *type = dic[@"type"];
    NSString *goodID = dic[@"id"];
    if ([type compare:@"new"] == 0) {
        GoodDeTrViewController *goodsDetailVC = [[GoodDeTrViewController alloc]init];
        goodsDetailVC.hidesBottomBarWhenPushed = YES;
        goodsDetailVC.goodsID = goodID;
        [self .navigationController pushViewController:goodsDetailVC animated:YES];
    } else {
        SureWebViewController *webView=[[SureWebViewController alloc] init];
        [webView backClicked:^(NSString *string) {
        }];
        webView.goodsId=goodID;
        webView.canDownRefresh=YES;
        webView.isGoodsDetail = YES;
        webView.hidesBottomBarWhenPushed = YES;
        [self.navigationController pushViewController:webView animated:YES];
    }
}
- (void)jumpLoginVc:(NSNotification *)notice {
    //登录界面
    LoginViewController *loginVc = [[LoginViewController alloc] init];
    loginVc.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:loginVc animated:YES];
}
#pragma mark -HXEasyCustomShareViewDelegate
- (void)easyCustomShareViewButtonAction:(HXEasyCustomShareView *)shareView title:(NSString *)title {
MIduo/½çÃæ/Ê×Ò³/NEWHomeViewController.m
@@ -16,7 +16,7 @@
#import "CodeFieldViewController.h"
#import "MineMessageViewController.h"
#import "SearchTip.h"
#import "ShonpingShareViewController.h"
@interface NEWHomeViewController ()<ZJScrollPageViewDelegate>{
    NSInteger SpeciesNumber;    //细分类的位置
    
@@ -87,7 +87,6 @@
    [self CreatNoNetView];
    // åŠ è½½æ•°æ®
    [self loadOldData];
    [self isJumpTaobao];
    
    [YTHsharedManger startManger].isDetailWebValue = [[[NSUserDefaults standardUserDefaults] objectForKey:@"isDetailWebValue"]integerValue];
    
@@ -202,12 +201,9 @@
    }
    
    if (type == 2) {
        SureWebViewController *TaoBaowebView=[[SureWebViewController alloc] init];
        TaoBaowebView.url = url;
        TaoBaowebView.canDownRefresh=YES;
        TaoBaowebView.isPush = YES;
        ShonpingShareViewController *TaoBaowebView=[[ShonpingShareViewController alloc] init];
        TaoBaowebView.urlString = url;
        TaoBaowebView.hidesBottomBarWhenPushed=YES;
        TaoBaowebView.isMain = YES;
        [controller.navigationController pushViewController:TaoBaowebView animated:YES];
    }
    
@@ -482,58 +478,7 @@
    return [numberPre evaluateWithObject:textString];
}
- (void)isJumpTaobao {
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] init];
    if ([[NSUserDefaults standardUserDefaults] objectForKey:@"userId"]) {
        [dic setObject:[[NSUserDefaults standardUserDefaults] objectForKey:@"userId"] forKey:@"uid"];
    }
    // [dic setObject:self.goodsID forKey:@"id"];
    [JYNetWorking Post:[NSString stringWithFormat:@"%@/%@",domainHTTP,@"systemclient/getsystemclientparams"]
                 param:dic
               success:^(NSDictionary *object) {
                   ALLog(@"%@",object);
                   NSArray *array = object[@"data"][@"systemClientParamsList"];
                   for (NSInteger index = 0; index < array.count; index ++) {
                       NSDictionary *dic = array[index];
                       if ([dic[@"key"] compare:@"iosonling"] == 0) {
                           [YTHsharedManger startManger].playingType =  [[NSString stringWithFormat:@"%@", dic[@"value"]]integerValue];// 1为上线前,隐藏,0 ï¼šä¸éšè—
//                           [YTHsharedManger startManger].playingType = 0;
                       }
                       if ([dic[@"key"] compare:@"alipay_help"] == 0) {//支付宝帮助详情
                           [YTHsharedManger startManger].alipay_helpUrlString =  [NSString stringWithFormat:@"%@", dic[@"value"]];
                       }
                       if ([dic[@"key"] compare:@"weex_file_newer"] == 0) {
                           [YTHsharedManger startManger].weexUrlString =  [NSString stringWithFormat:@"%@", dic[@"value"]];
                       }
                       if ([dic[@"key"] compare:@"web_newer"] == 0) {
                           [YTHsharedManger startManger].weexUrlString =  [NSString stringWithFormat:@"%@", dic[@"value"]];
                       }
                       if ([dic[@"key"] compare:@"is_goods_web_detail"] == 0) {
                           NSInteger value = [dic[@"value"]integerValue];
                           // value = 1;
                           [YTHsharedManger startManger].isDetailWebValue = value;
                           [[NSUserDefaults standardUserDefaults] setObject:[NSString stringWithFormat:@"%ld",(long)value] forKey:@"isDetailWebValue"];
                           // [[NSUserDefaults standardUserDefaults] setBool:value forKey:@""];
                           // break;
                       }
                   }
               } fail:^(id object) {
               }];
}
/**
 è·³è½¬åˆ°è¯¦ç»†çš„分类界面
 @param sender æŒ‰é’®
MIduo/½çÃæ/Ê×Ò³/recommendCollectionViewCell.xib
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
MIduo/½çÃæ/Ê×Ò³/recommendViewController.m
@@ -26,9 +26,10 @@
#import "YLImageView.h"
#import "MainInviteViewController.h"
#import "GoodDeTrViewController.h"
#import "BSKImagesPageView.h"
@interface recommendViewController ()<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout,SDCycleScrollViewDelegate,UIScrollViewDelegate, GiftsViewDelegate>{
    SDCycleScrollView *_cycleScrollView; //头部的推荐轮播图
@interface recommendViewController ()<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout,SDCycleScrollViewDelegate,UIScrollViewDelegate, BSKImagesPageViewViewDelegate,GiftsViewDelegate>{
    NSIndexPath *tempIndexPath;
}
@@ -63,6 +64,9 @@
@property (nonatomic,strong)YLImageView *imageViewGif;
@property (nonatomic, strong) BSKImagesPageView *bSKImagesPageView;
@end
@implementation recommendViewController
@@ -73,7 +77,6 @@
-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [_cycleScrollView adjustWhenControllerViewWillAppera];
    
    /**
     * æ³¨è§£ï¼šå½“用户第一次登陆时 ï¼Œæˆ‘们会给用户发一个新人红包,但是新人红包背景的蒙层没有覆盖navigationBar和tabBar的部分,所以我手动再写了两个蒙层,但是用户点击帮助时,会进入帮助中心,这时候,我们需要手动的把蒙层隐藏掉,但是用户从帮助中心回来的时候,只看见主视图的蒙层,navigationBar和tabBar的部分,刚才被我们隐藏掉了,所以,从帮助中心回来的时候,会调用viewWillAppear,这个时候,检查_Gifts是否还在,如果在,那么就重新显示navigationBar和tabBar的部分的蒙层。
@@ -118,9 +121,9 @@
    
    //是否显示新人红包的弹窗
    if ([[[NSUserDefaults standardUserDefaults] objectForKey:@"newuser"] intValue] == 0) {
        [self ShowNewUser];
        if ([YTHsharedManger startManger].isNewuser) {
            [self ShowNewUser];
        }
    } else {
        
        [self getPasteboard];
@@ -154,7 +157,7 @@
- (void)ShowNewUser {
    
    //判断当前用户是否登录
    BOOL bor = [[NSUserDefaults standardUserDefaults] objectForKey:@"islogined"];
    BOOL bor = [[NSUserDefaults standardUserDefaults] boolForKey:@"islogined"];
    
    if (([[NSUserDefaults standardUserDefaults] objectForKey:@"userId"] == nil) && (self.navigationController.viewControllers.count==1 && !bor )){
        if (_Gifts) {
@@ -354,13 +357,12 @@
        //        [_UrlForshuffling addObject:[[[_dataBanner objectAtIndex:i] objectForKey:@"params"]objectForKey:@"url"]];
    }
    
    if (!_cycleScrollView) {
        _cycleScrollView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectMake(0, 0,KScreenW, KScreenW*7/16) imageURLStringsGroup:_PictureForshuffling];
        _cycleScrollView.pageControlAliment = SDCycleScrollViewPageContolAlimentCenter;
        _cycleScrollView.currentPageDotColor=[UIColor whiteColor];
        _cycleScrollView.delegate = self;
        _cycleScrollView.placeholderImage = [UIImage imageNamed:@"默认banner"];
        _cycleScrollView.bannerImageViewContentMode=UIViewContentModeScaleToFill;
    if (!_bSKImagesPageView) {
        _bSKImagesPageView = [[BSKImagesPageView alloc] initWithFrame:CGRectMake(0, 0,KScreenW, KScreenW*7/16) imageNames:_PictureForshuffling];
        _bSKImagesPageView.timerTimeInterval = 2.0f;
        _bSKImagesPageView.showPageControl = YES;
        _bSKImagesPageView.delegate = self;
    }
}
@@ -753,8 +755,7 @@
            }
            
            // å®šåˆ¶è½®æ’­å›¾
            [shuffling addSubview:_cycleScrollView];
            [_cycleScrollView adjustWhenControllerViewWillAppera];
            [shuffling addSubview:_bSKImagesPageView];
            
            return shuffling;
            
@@ -903,17 +904,15 @@
    [self.navigationController pushViewController:LoginVC animated:YES];
}
#pragma mark --- SDCycleScrollViewDelegate ---
/** ç‚¹å‡»å›¾ç‰‡å›žè°ƒ */
- (void)cycleScrollView:(SDCycleScrollView *)cycleScrollView didSelectItemAtIndex:(NSInteger)index {
#pragma mark - BSKImagesPageViewViewDelegate
- (void)BSKImagesPageView:(BSKImagesPageView *)autoPlayScrollView onClickImageView:(UIImageView *)imageView atIndex:(NSInteger)index{
    if (self.dataBanner == nil || self.dataBanner.count<1) {
        return;
    }
    //点击进入返利网页
    NSString *controller = _dataBanner [index][@"jumpDetail"][@"controller"];
    NSDictionary *tempItem=_dataBanner[index];
    if ([controller compare:@"GoodsDetailController"] == 0) {
        
        if ([YTHsharedManger startManger].isDetailWebValue) {