aeline
2020-06-12 3bc6a8a616cd240ffa5194320a1f7f76b2a21765
no message
1个文件已删除
41个文件已修改
1个文件已添加
433 ■■■■ 已修改文件
MIduo.xcodeproj/project.pbxproj 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo.xcworkspace/xcuserdata/lrj.xcuserdatad/UserInterfaceState.xcuserstate 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/AppDelegate.m 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/image/yw_1222.jpg 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/image/yw_1222_baichuan.jpg 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/ALWebView/ShonpingShareViewController.m 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/Common.h 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/CommonMethod/ALBCServiceManager.h 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/CommonMethod/ALBCServiceManager.m 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/DataNet/YTHNetdata.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/YTHsharedManger.m 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/数据/lib/FloatingWindow/ALShopCartFloatWindow.m 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/ByCheap/BuyCheapGoodsDetailController.m 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/SJBaseViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/ShareHot/SpreadGoodsDetailController.m 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/动态/发圈/HotltermListController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/动态/活动/DynamicActivitieListController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/动态/邀请素材/InvoteMaterialListController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/GoodDeTrViewController.m 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/GoodsHeaderTableViewCell.h 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/GoodsHeaderTableViewCell.m 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/JD/Cell/JDGoodsHeaderTableViewCell.h 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/JD/Cell/JDGoodsHeaderTableViewCell.m 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/JD/Cell/JDGoodsInfoCell.h 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/JD/Cell/JDGoodsInfoCell.m 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/JD/JDGoodsDetailController.m 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/PDD/PDDGoodsDetailController.m 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/SN/SNGoodsDetailController.m 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/WPH/Cell/WPHGoodsdetailInfoCell.h 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/WPH/Cell/WPHGoodsdetailInfoCell.m 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/商品详情/WPH/WPHGoodsDetailController.m 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/BonusStatisticsDetail/View/EstimateTotalBonusHeaderView.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/Collection/MinCollectViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/MineCell/NewMineView/MineSixCell.h 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/MineCell/NewMineView/MineSixCell.m 74 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/NewMineController.m 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/Order/NewOrderViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/Order/cell/OrderTitleCell.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/RecommendedRecord/RecommendRecordController.m 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/我的/UserInfo/userInfoViewController.m 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/网页视图/SureWebViewController.m 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo/界面/首页/NEWHomeViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Pods/Pods.xcodeproj/xcuserdata/lrj.xcuserdatad/xcschemes/xcschememanagement.plist 54 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MIduo.xcodeproj/project.pbxproj
@@ -73,6 +73,7 @@
        0D60F88F23F52CBD0076630E /* ShareMainImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D60F88E23F52CBD0076630E /* ShareMainImageView.m */; };
        0D60F89223F534250076630E /* QuickShareBottomView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D60F89123F534250076630E /* QuickShareBottomView.m */; };
        0D81C2C02488D77A00BE8E8B /* SearchDetailFilterSNView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D81C2BF2488D77A00BE8E8B /* SearchDetailFilterSNView.m */; };
        0D81C2C2248DEBD600BE8E8B /* yw_1222_baichuan.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0D81C2C1248DEBD500BE8E8B /* yw_1222_baichuan.jpg */; };
        0D8C2B922466A061009ABF50 /* MyTeamNavView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D8C2B912466A061009ABF50 /* MyTeamNavView.m */; };
        0DC82667246CE85800E89D1B /* WithdrawalRecordController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DC82666246CE85800E89D1B /* WithdrawalRecordController.m */; };
        0DC8266B246CEA7200E89D1B /* WithdrawalRecordModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DC8266A246CEA7200E89D1B /* WithdrawalRecordModel.m */; };
@@ -1000,7 +1001,6 @@
        2D64E9072271BDD10047E0AD /* StoreFootprintController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D64E9062271BDD10047E0AD /* StoreFootprintController.m */; };
        2D66608F221BA80D0035FE50 /* RewardCouponsFooterView.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D66608E221BA80D0035FE50 /* RewardCouponsFooterView.m */; };
        2D666093221BE6A60035FE50 /* OrderRewardCouponListModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D666092221BE6A60035FE50 /* OrderRewardCouponListModel.m */; };
        2D68202E2276D18D002A8DC5 /* yw_1222.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2D68202D2276D18C002A8DC5 /* yw_1222.jpg */; };
        2D68C9BD233F16E800C4FB2D /* GuessLikeSimilarityPopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D68C9BC233F16E800C4FB2D /* GuessLikeSimilarityPopView.m */; };
        2D68C9C1233F42A200C4FB2D /* ShonpingShareViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D68C9C0233F42A200C4FB2D /* ShonpingShareViewController.m */; };
        2D6AD2F121709896006BB487 /* ProgressLine.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D6AD2F021709896006BB487 /* ProgressLine.m */; };
@@ -1315,6 +1315,7 @@
        0D60F89123F534250076630E /* QuickShareBottomView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QuickShareBottomView.m; sourceTree = "<group>"; };
        0D81C2BE2488D77A00BE8E8B /* SearchDetailFilterSNView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SearchDetailFilterSNView.h; sourceTree = "<group>"; };
        0D81C2BF2488D77A00BE8E8B /* SearchDetailFilterSNView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SearchDetailFilterSNView.m; sourceTree = "<group>"; };
        0D81C2C1248DEBD500BE8E8B /* yw_1222_baichuan.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = yw_1222_baichuan.jpg; sourceTree = "<group>"; };
        0D8C2B902466A061009ABF50 /* MyTeamNavView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyTeamNavView.h; sourceTree = "<group>"; };
        0D8C2B912466A061009ABF50 /* MyTeamNavView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyTeamNavView.m; sourceTree = "<group>"; };
        0DC82665246CE85800E89D1B /* WithdrawalRecordController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WithdrawalRecordController.h; sourceTree = "<group>"; };
@@ -3136,7 +3137,6 @@
        2D66608E221BA80D0035FE50 /* RewardCouponsFooterView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RewardCouponsFooterView.m; sourceTree = "<group>"; };
        2D666091221BE6A60035FE50 /* OrderRewardCouponListModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OrderRewardCouponListModel.h; sourceTree = "<group>"; };
        2D666092221BE6A60035FE50 /* OrderRewardCouponListModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OrderRewardCouponListModel.m; sourceTree = "<group>"; };
        2D68202D2276D18C002A8DC5 /* yw_1222.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = yw_1222.jpg; sourceTree = "<group>"; };
        2D68C9BB233F16E800C4FB2D /* GuessLikeSimilarityPopView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GuessLikeSimilarityPopView.h; sourceTree = "<group>"; };
        2D68C9BC233F16E800C4FB2D /* GuessLikeSimilarityPopView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GuessLikeSimilarityPopView.m; sourceTree = "<group>"; };
        2D68C9BF233F42A200C4FB2D /* ShonpingShareViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ShonpingShareViewController.h; sourceTree = "<group>"; };
@@ -3433,21 +3433,22 @@
            isa = PBXFrameworksBuildPhase;
            buildActionMask = 2147483647;
            files = (
                2D19D3502334DACF00105A66 /* CoreMotion.framework in Frameworks */,
                187CF2DB1E694D1D0071421D /* CoreTelephony.framework in Frameworks */,
                2D7E1DA421466E4600BB6C7B /* libsqlite3.tbd in Frameworks */,
                187CF2DF1E694D410071421D /* libz.tbd in Frameworks */,
                0D2B2C9524849BCC003F27AE /* WebKit.framework in Frameworks */,
                187CF2DD1E694D270071421D /* SystemConfiguration.framework in Frameworks */,
                18325EB01F1C98C800432A51 /* Security.framework in Frameworks */,
                18325EB61F1C98F300432A51 /* QuartzCore.framework in Frameworks */,
                187CF2DF1E694D410071421D /* libz.tbd in Frameworks */,
                18F6653920859E350052997A /* libxml2.tbd in Frameworks */,
                0D2B2C9724849D5D003F27AE /* Foundation.framework in Frameworks */,
                2D7E1DA821466E6200BB6C7B /* AVFoundation.framework in Frameworks */,
                187CF2DB1E694D1D0071421D /* CoreTelephony.framework in Frameworks */,
                18325EB81F1C98FC00432A51 /* CoreLocation.framework in Frameworks */,
                18325EB21F1C98D700432A51 /* CoreGraphics.framework in Frameworks */,
                2D0BEEAA22E82FA900FD7009 /* AdSupport.framework in Frameworks */,
                0D2B2C9224849867003F27AE /* libGDTMobSDK.a in Frameworks */,
                0D2B2C9424849B9E003F27AE /* StoreKit.framework in Frameworks */,
                2D19D3502334DACF00105A66 /* CoreMotion.framework in Frameworks */,
                2D19D34E2334DAAC00105A66 /* libc++.tbd in Frameworks */,
                2D2AF4A422E8597E00F38DFF /* JavaScriptCore.framework in Frameworks */,
                2D0BEEBC22E83A2700FD7009 /* JDSDK.framework in Frameworks */,
@@ -3459,7 +3460,6 @@
                2D138BD92236401C0071D71C /* libopencore-amrwb.a in Frameworks */,
                2D138BCD2236401C0071D71C /* MeiQiaSDK.framework in Frameworks */,
                2D7E1DA621466E5400BB6C7B /* libicucore.tbd in Frameworks */,
                2D7E1DA421466E4600BB6C7B /* libsqlite3.tbd in Frameworks */,
                2D138BDA2236401C0071D71C /* libopencore-amrnb.a in Frameworks */,
                2D73332320C90D6800336CC8 /* WebP.framework in Frameworks */,
                183FD266209AC0B600903765 /* UserNotificationsUI.framework in Frameworks */,
@@ -5652,9 +5652,9 @@
        2D0EDBEB217ED2BA00FD934D /* image */ = {
            isa = PBXGroup;
            children = (
                0D81C2C1248DEBD500BE8E8B /* yw_1222_baichuan.jpg */,
                2D10B0BA239E4F1100FE2BA9 /* å¼€çº¢åŒ…金币音效.mp3 */,
                2D573D5F232890F100DA9626 /* score_exchange_tag.png */,
                2D68202D2276D18C002A8DC5 /* yw_1222.jpg */,
                2D0EDBDD217EBEA800FD934D /* ic_share_tmall.png */,
                2D0EDBDF217EC06000FD934D /* ic_share_taobao.png */,
                2D912C9C2189990100249C98 /* pullupImage.gif */,
@@ -8727,12 +8727,12 @@
                18966CA820AD7F6A004CD297 /* GDDetailTableViewCell.xib in Resources */,
                2D57D8A8213CD87C00DCF8D1 /* HZPhotoBrowser.bundle in Resources */,
                2D4627DB21C7804400DB2D4F /* SJDynCShareController.xib in Resources */,
                2D68202E2276D18D002A8DC5 /* yw_1222.jpg in Resources */,
                2D10B0BB239E4F1200FE2BA9 /* å¼€çº¢åŒ…金币音效.mp3 in Resources */,
                180FA3D8207AFCD800140742 /* MainInviteTableViewCell.xib in Resources */,
                18D399AE1EA765AD00A01CD3 /* thirdClassificationViewController.xib in Resources */,
                2D15472222B78A14006B8A81 /* SpreadNoShopTableViewCell.xib in Resources */,
                2DB678FA21BA54B900B256AA /* SJShopMoreCell.xib in Resources */,
                0D81C2C2248DEBD600BE8E8B /* yw_1222_baichuan.jpg in Resources */,
                2DE39ECC22A6778900067220 /* ServiceTableViewCell.xib in Resources */,
                2D573D60232890F200DA9626 /* score_exchange_tag.png in Resources */,
                18E5AE001E5EC9C9009F85E0 /* SettingTypeOneTableViewCell.xib in Resources */,
@@ -10107,7 +10107,7 @@
                    "$(PROJECT_DIR)/MIduo/数据/lib/MQ/MQChatViewController/Vendors/MLAudioRecorder/amr_en_de/lib",
                    "$(PROJECT_DIR)/MIduo/数据/lib/GDT/lib",
                );
                MARKETING_VERSION = 2.1.11;
                MARKETING_VERSION = 2.1.2;
                MiSDKRun = debug;
                OTHER_LDFLAGS = (
                    "$(inherited)",
@@ -10179,6 +10179,7 @@
                    "-lstdc++",
                    "-Objc",
                    "-all_load",
                    "-lstdc++",
                );
                PODS_ROOT = "$(inherited)";
                PRODUCT_BUNDLE_IDENTIFIER = "com.xyj.ec.fanli-ios";
@@ -10242,7 +10243,7 @@
                    "$(PROJECT_DIR)/MIduo/数据/lib/MQ/MQChatViewController/Vendors/MLAudioRecorder/amr_en_de/lib",
                    "$(PROJECT_DIR)/MIduo/数据/lib/GDT/lib",
                );
                MARKETING_VERSION = 2.1.11;
                MARKETING_VERSION = 2.1.2;
                MiSDKRun = online;
                OTHER_LDFLAGS = (
                    "$(inherited)",
@@ -10314,6 +10315,7 @@
                    "-lstdc++",
                    "-Objc",
                    "-all_load",
                    "-lstdc++",
                );
                PODS_ROOT = "$(inherited)";
                PRODUCT_BUNDLE_IDENTIFIER = "com.xyj.ec.fanli-ios";
MIduo.xcworkspace/xcuserdata/lrj.xcuserdatad/UserInterfaceState.xcuserstate
Binary files differ
MIduo/AppDelegate.m
@@ -8,8 +8,6 @@
#import "AppDelegate.h"
//#import "XGPush.h"                         //信鸽
//#import "XGSetting.h"
#import <UserNotifications/UserNotifications.h>
#import <ShareSDK/ShareSDK.h>
@@ -488,7 +486,6 @@
        
    } //处理其他app跳转到自己的app,如果百川处理过会返回YES
    return [WXApi handleOpenURL:url delegate:self];
    return YES;
}
@@ -579,9 +576,9 @@
}
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
    //该URL是否已经被SDK处理过
    if ([[ALBBSDK sharedInstance] isTBBackUrl:url.absoluteString]) {
        [[ALBBSDK sharedInstance] loginByURL:url];
    // å¦‚果百川处理过会返回YES
    if (![[AlibcTradeSDK sharedInstance] application:application openURL:url sourceApplication:sourceApplication annotation:annotation]) {
        // å¤„理其他app跳转到自己的app
    }
    //友盟分享
    BOOL result = [[UMSocialManager defaultManager] handleOpenURL:url sourceApplication:sourceApplication annotation:annotation];
MIduo/image/yw_1222.jpg
Binary files differ
MIduo/image/yw_1222_baichuan.jpg
MIduo/Êý¾Ý/ALWebView/ShonpingShareViewController.m
@@ -58,6 +58,9 @@
/// ç½‘页是否加载完成
@property (nonatomic, assign) BOOL isWebViewLoad;
@property (nonatomic, nullable, strong) NSMutableArray *arrayShareImage;
/// æ˜¯å¦ä¸‹è½½å¤šå¼ å›¾ç‰‡
@property (nonatomic, assign) BOOL isDownMoreImg;
@end
@implementation ShonpingShareViewController
@@ -114,6 +117,7 @@
    [self.webView.configuration.userContentController addScriptMessageHandler:self name:@"jumpWXXCX"];
    [self.webView.configuration.userContentController addScriptMessageHandler:self name:@"shareWXXCX"];
    [self.webView.configuration.userContentController addScriptMessageHandler:self name:@"shareImgs"];
    [self.webView.configuration.userContentController addScriptMessageHandler:self name:@"savePictures"];
    
    if (_isWebViewLoad) {
        NSString *jsFounction = @"yestvcallback.resume()";
@@ -163,6 +167,8 @@
    [self.webView.configuration.userContentController removeScriptMessageHandlerForName:@"jumpWXXCX"];
    [self.webView.configuration.userContentController removeScriptMessageHandlerForName:@"shareWXXCX"];
    [self.webView.configuration.userContentController removeScriptMessageHandlerForName:@"shareImgs"];
    [self.webView.configuration.userContentController removeScriptMessageHandlerForName:@"savePictures"];
}
- (void)setupNave {
@@ -940,8 +946,18 @@
}
-(void)savedPhotoImage:(UIImage*)image didFinishSavingWithError: (NSError *)error contextInfo: (void *)contextInfo {
    if (_isDownMoreImg) {
        if (error) {
        } else {
            [_arrayShareImage removeObjectAtIndex:0];
        }
        [self saveToAlbumNext];
    } else {
    if (!error) {
        ALToastCenter(@"图片保存到相册成功");
        }
    }
}
@@ -1179,7 +1195,7 @@
- (void)shareImgs:(NSDictionary *)dictionary {
    NSString *jsonString = dictionary[@"imgUrls"];
    if (!jsonString) return;
    NSData *jsonData = [jsonString dataUsingEncoding:NSUTF8StringEncoding];
    NSArray *array = [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingMutableContainers error:nil];
    
@@ -1208,6 +1224,47 @@
            [self presentViewController:activityVC animated:YES completion:nil];
        });
    });
}
- (void)savePictures:(NSString *)string {
    if (!string) return;
    NSData *jsonData = [string dataUsingEncoding:NSUTF8StringEncoding];
    NSArray *array = [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingMutableContainers error:nil];
    [self.view makeToastActivity:CSToastPositionCenter];
    self.view.userInteractionEnabled = NO;
    self.isDownMoreImg = YES;
    [self.arrayShareImage removeAllObjects];
    @weakify(self)
    dispatch_async(dispatch_get_global_queue(0,0),^{
        @strongify(self)
        for (NSString *string in array) {
            UIImage *image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:string]]];
            [self.arrayShareImage addObject:image];
        }
        @weakify(self)
        dispatch_async(dispatch_get_main_queue(),^{
            @strongify(self)
            [self saveToAlbumNext];
        });
    });
}
/// ä¿å­˜ç›¸å†Œ
-(void)saveToAlbumNext {
    if (_arrayShareImage.count > 0) {
        UIImage *image = _arrayShareImage[0];
        UIImageWriteToSavedPhotosAlbum(image, self, @selector(savedPhotoImage:didFinishSavingWithError:contextInfo:), nil);
    } else {
        [self allDone];
        [self.view hideToastActivity];
        self.view.userInteractionEnabled = YES;
    }
}
- (void)allDone {
    ALToastCenter(@"分享图保存成功");
}
/**
@@ -1302,6 +1359,14 @@
    }
    
    if ([urlStr hasPrefix:@"suning://"]) {
        if ([[UIApplication sharedApplication] canOpenURL:navigationAction.request.URL]) {
            [[UIApplication sharedApplication] openURL:navigationAction.request.URL];
            decisionHandler(WKNavigationActionPolicyCancel);
            return;
        }
    }
    if ([urlStr hasPrefix:@"vipshop://"]) {
        if ([[UIApplication sharedApplication] canOpenURL:navigationAction.request.URL]) {
            [[UIApplication sharedApplication] openURL:navigationAction.request.URL];
            decisionHandler(WKNavigationActionPolicyCancel);
@@ -1622,6 +1687,9 @@
        
    } else if ([message.name isEqualToString:@"shareImgs"]) {
        [self shareImgs:message.body];
    }  else if ([message.name isEqualToString:@"savePictures"]) {
        [self savePictures:message.body];
    }
}
@@ -1727,4 +1795,11 @@
    return _tempOldArr;
}
- (NSMutableArray *)arrayShareImage {
    if (!_arrayShareImage) {
        _arrayShareImage = [[NSMutableArray alloc] init];
    }
    return _arrayShareImage;
}
@end
MIduo/Êý¾Ý/Common.h
@@ -13,8 +13,9 @@
#import <AlibcTradeSDK/AlibcTradeSDK.h>
#import <AlibcTradeSDK/AlibcTradeService.h>
#import <AlibcTradeSDK/AlibcTradePageFactory.h>
#import <AlibabaAuthEntrance/ALBBCompatibleSession.h>
#import <AlibabaAuthEntrance/ALBBSDK.h>
#import <AlibabaAuthSDK/ALBBSDK.h>         // æ·˜å®ç™»å½•
#import <WXApi.h>                   // å¾®ä¿¡ç™»å½•
#import "MessageCenterManger.h"
MIduo/Êý¾Ý/CommonMethod/ALBCServiceManager.h
@@ -14,7 +14,7 @@
- (void)pushOpenByUrl:(NSString *)url
             identity:(nullable NSString *)identity
              webView:(nullable UIWebView *)webView
              webView:(nullable WKWebView *)webView
     parentController:(UIViewController *)parentController
          taoKeParams:(nullable AlibcTradeTaokeParams *)taoKeParams;
@@ -24,7 +24,7 @@
- (void)pushOpenByBizCode:(NSString *)bizCode
                     page:(id <AlibcTradePage>)page
                  webView:(nullable UIWebView *)webView
                  webView:(nullable WKWebView *)webView
         parentController:(UIViewController *)parentController
              taoKeParams:(nullable AlibcTradeTaokeParams *)taoKeParams;
MIduo/Êý¾Ý/CommonMethod/ALBCServiceManager.m
@@ -12,7 +12,7 @@
- (void)pushOpenByUrl:(NSString *)url
             identity:(NSString *)identity
              webView:(UIWebView *)webView
              webView:(WKWebView *)webView
     parentController:(nonnull UIViewController *)parentController
          taoKeParams:(nullable AlibcTradeTaokeParams *)taoKeParams {
    
@@ -81,7 +81,7 @@
- (void)pushOpenByBizCode:(NSString *)bizCode
                     page:(id<AlibcTradePage>)page
                  webView:(UIWebView *)webView
                  webView:(WKWebView *)webView
         parentController:(UIViewController *)parentController
              taoKeParams:(AlibcTradeTaokeParams *)taoKeParams {
    
MIduo/Êý¾Ý/DataNet/YTHNetdata.m
@@ -240,7 +240,7 @@
 
    if ([loginType integerValue] == 1) {
      
        ALBBUser *myMessage = [[ALBBSession sharedInstance] getUser];
        ALBBUser *myMessage = [[ALBBCompatibleSession sharedInstance] getUser];
        
        NSDictionary *dic = @{@"nick" :  myMessage.nick, @"avatarUrl" : myMessage.avatarUrl, @"openId" : myMessage.openId, @"openSid" : myMessage.openSid, @"topAccessToken" : myMessage.topAccessToken, @"topAuthCode" : myMessage.topAuthCode};
        
MIduo/Êý¾Ý/YTHsharedManger.m
@@ -69,10 +69,10 @@
    
    [[NSUserDefaults standardUserDefaults] removeObjectForKey:@"ChangeTaobaolinks"];
    ALBBSDK *aLBBSDKloginService = [ALBBSDK sharedInstance];
    [aLBBSDKloginService setAuthOption:NormalAuth];
    [aLBBSDKloginService auth:ViewController successCallback:^(ALBBSession *session) {
    [aLBBSDKloginService auth:ViewController successCallback:^{
        if([ALUserInfoServiceManger fetchUID]) { // å½“前已经获取到板栗快省的Uid了,只有绑定账号一种可能
            ALBBUser *myMessage = [[ALBBSession sharedInstance] getUser];
            ALBBUser *myMessage = [[ALBBCompatibleSession sharedInstance] getUser];
            [YTHsharedManger startManger].tbPicString = myMessage.avatarUrl;
            if ([YTHsharedManger startManger].isminebound) {
                block(YES,nil);
@@ -89,7 +89,8 @@
                block(YES,nil);
            }
        }
    } failureCallback:^(ALBBSession *session, NSError *error) {
    } failureCallback:^(NSError *error) {
        block(NO, nil);
    }];
}
MIduo/Êý¾Ý/lib/FloatingWindow/ALShopCartFloatWindow.m
@@ -147,9 +147,8 @@
    self.xuanFiamgeView.hidden = NO;
}
- (void)onTapGes
{
    if(![[ALBBSession sharedInstance] isLogin]){
- (void)onTapGes {
    if(![[ALBBCompatibleSession sharedInstance] isLogin]){
        [self LoginForTaoBao];
        
    } else {
MIduo/½çÃæ/ByCheap/BuyCheapGoodsDetailController.m
@@ -475,7 +475,7 @@
- (void)jumpShopCar
{
    if (![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBSession sharedInstance] isLogin]){
    if (![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBCompatibleSession sharedInstance] isLogin]){
        [self LoginForTaoBao:@"shopCar"];
        
    } else {
@@ -566,7 +566,7 @@
- (void)detectionIsBindTaoBaoTips:(NSString *_Nonnull)source
{
    if ([ALUserInfoServiceManger fetchUID]) {
        if (![[ALBBSession sharedInstance] isLogin]){
        if (![[ALBBCompatibleSession sharedInstance] isLogin]){
            [YTHsharedManger startManger].isminebound = YES;
            [self LoginForTaoBao:source];
            
MIduo/½çÃæ/SJBaseViewController.m
@@ -124,7 +124,7 @@
}
- (void)changeTBLinksWithType:(NSString *)type{
    //    if (![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBSession sharedInstance] isLogin]){
    //    if (![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBCompatibleSession sharedInstance] isLogin]){
    //        [self.carView removeFromSuperview];
    //        return;
    //    }
MIduo/½çÃæ/ShareHot/SpreadGoodsDetailController.m
@@ -437,7 +437,7 @@
- (void)jumpShopCar {
    
    if (![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBSession sharedInstance] isLogin]){
    if (![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBCompatibleSession sharedInstance] isLogin]){
        [self LoginForTaoBao:@"shopCar"];
        
    } else {
@@ -615,7 +615,7 @@
- (void)detectionIsBindTaoBaoTips:(NSString *_Nonnull)source
{
    if ([ALUserInfoServiceManger fetchUID]) {
        if (![[ALBBSession sharedInstance] isLogin]){
        if (![[ALBBCompatibleSession sharedInstance] isLogin]){
            [YTHsharedManger startManger].isminebound = YES;
            [self LoginForTaoBao:source];
            
MIduo/½çÃæ/¶¯Ì¬/·¢È¦/HotltermListController.m
@@ -521,7 +521,7 @@
- (void)detectionIsBindTaoBaoTips {
    if ([ALUserInfoServiceManger fetchUID]) {
        if (![[ALBBSession sharedInstance] isLogin]){
        if (![[ALBBCompatibleSession sharedInstance] isLogin]){
            [YTHsharedManger startManger].isminebound = YES;
            [self LoginForTaoBao];
            
MIduo/½çÃæ/¶¯Ì¬/»î¶¯/DynamicActivitieListController.m
@@ -377,7 +377,7 @@
- (void)detectionIsBindTaoBaoTips {
    if ([ALUserInfoServiceManger fetchUID]) {
        if (![[ALBBSession sharedInstance] isLogin]){
        if (![[ALBBCompatibleSession sharedInstance] isLogin]){
            [YTHsharedManger startManger].isminebound = YES;
            [self LoginForTaoBao];
            
MIduo/½çÃæ/¶¯Ì¬/ÑûÇëËØ²Ä/InvoteMaterialListController.m
@@ -514,7 +514,7 @@
- (void)detectionIsBindTaoBaoTips {
    if ([ALUserInfoServiceManger fetchUID]) {
        if (![[ALBBSession sharedInstance] isLogin]){
        if (![[ALBBCompatibleSession sharedInstance] isLogin]){
            [YTHsharedManger startManger].isminebound = YES;
            [self LoginForTaoBao];
            
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/GoodDeTrViewController.m
@@ -160,7 +160,8 @@
@property (nonatomic, nullable, copy) NSString *couponLink;
///是否是店铺券
@property (nonatomic, assign) BOOL shopCoupon;
///云发单是否开启
@property (nonatomic, assign) BOOL cloudOpen;
@end
@implementation GoodDeTrViewController
@@ -713,7 +714,7 @@
 */
- (void)detectionIsBindTaoBaoTips:(NSString *_Nonnull)source {
    if ([ALUserInfoServiceManger fetchUID]) {
        if (![[ALBBSession sharedInstance] isLogin]){
        if (![[ALBBCompatibleSession sharedInstance] isLogin]){
            [YTHsharedManger startManger].isminebound = YES;
            [self LoginForTaoBao:source];
            
@@ -852,6 +853,8 @@
                    self.extraDictionary = object[@"data"][@"extra"];
                    self.fanliValid = [self.extraDictionary[@"fanliValid"] boolValue];
                    self.shareValid = [self.extraDictionary[@"shareValid"] boolValue];
                    self.cloudOpen = [self.extraDictionary[@"cloudOpen"] boolValue];
                    self.detailUrlString = self.extraDictionary[@"detailUrl"];
                    
                    if ([NSNumber numberWithBool:[self.extraDictionary[@"fanliValid"] boolValue]]) {
@@ -1964,6 +1967,7 @@
        cell.delegate = self;
        cell.fanliValid = self.fanliValid;
        cell.shareValid = self.shareValid;
        cell.cloudOpen = self.cloudOpen;
        cell.isExpand = self.isExpand;
        cell.model = self.goodsModel;
        
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/GoodsHeaderTableViewCell.h
@@ -30,11 +30,12 @@
/// å‘圈
@property (nonatomic, nullable, strong) ALButton *buttonHairCircle;
/// æ˜¯å¦æœ‰è¿”利
@property (nonatomic, assign) BOOL fanliValid;
/// æ˜¯å¦æœ‰åˆ†äº«
@property (nonatomic, assign) BOOL shareValid;
/// äº‘发单是否开启
@property (nonatomic, assign) BOOL cloudOpen;
@property (nonatomic, nullable, strong) GoodsDetailBaseModel *model;
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/GoodsHeaderTableViewCell.m
@@ -249,6 +249,10 @@
    _shareValid = shareValid;
}
- (void)setCloudOpen:(BOOL)cloudOpen {
    _cloudOpen = cloudOpen;
}
- (void)setIsExpand:(BOOL)isExpand {
    _isExpand = isExpand;
}
@@ -533,11 +537,18 @@
        }
        
        self.buttonHairCircle.sd_resetLayout.leftSpaceToView(self.contentView, 10).topSpaceToView(self.viewCouponBG, topspaceButtonViewMore).widthIs((SCREEN_WIDTH - 30) / 2).heightIs(30);
        self.buttonSearch.sd_resetLayout.rightSpaceToView(self.contentView, 10).topSpaceToView(self.viewCouponBG, topspaceButtonViewMore).widthIs((SCREEN_WIDTH - 30) / 2).heightIs(30);
        
        if (!_shareValid) {
            self.buttonHairCircle.hidden = YES;
            self.buttonSearch.hidden = YES;
            self.viewSXLine.hidden = YES;
        }
        if (!_cloudOpen) {
            self.buttonHairCircle.hidden = YES;
            self.viewSXLine.hidden = YES;
            self.buttonSearch.sd_resetLayout.centerXEqualToView(self.contentView).topSpaceToView(self.viewCouponBG, topspaceButtonViewMore).widthIs((SCREEN_WIDTH - 30) / 2).heightIs(30);
        }
    }
}
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/JD/Cell/JDGoodsHeaderTableViewCell.h
@@ -23,6 +23,8 @@
@property (nonatomic, nullable, strong) GoodsDetailBaseModel *model;
@property (nonatomic, assign) BOOL fanliValid;
@property (nonatomic, assign) BOOL shareValid;
/// äº‘发单是否开启
@property (nonatomic, assign) BOOL cloudOpen;
@property (nonatomic, nullable, strong)UIImageView *defaultImageView;
@property (nonatomic, nullable, strong)UIImageView * labelImage;
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/JD/Cell/JDGoodsHeaderTableViewCell.m
@@ -236,19 +236,20 @@
    self.quanButton.frame =  CGRectMake(CGRectGetMaxX(self.quanMoney.frame), CGRectGetMinY(self.couponImage.frame), self.couponImage.frame.size.width / 5 * 2, self.couponImage.frame.size.height);
}
- (void)setFrom:(NSString *)from
{
- (void)setFrom:(NSString *)from {
    _from = from;
}
- (void)setFanliValid:(BOOL)fanliValid
{
- (void)setFanliValid:(BOOL)fanliValid {
    _fanliValid = fanliValid;
}
- (void)setShareValid:(BOOL)shareValid
{
- (void)setShareValid:(BOOL)shareValid {
    _shareValid = shareValid;
}
- (void)setCloudOpen:(BOOL)cloudOpen {
    _cloudOpen = cloudOpen;
}
- (void)setModel:(GoodsDetailBaseModel *)model
@@ -452,6 +453,7 @@
        [self setviewsFrameWithBor:NO];
        
        if (!model.hasCoupon || (_from && [_from isEqualToString:@"miandan"])) {
            [UIView performWithoutAnimation:^{
                self.buttonHairCircle.frame = CGRectMake(14, CGRectGetMaxY(self.titleLabel.frame) + 10 + sapceTop, (SCREEN_WIDTH - 28) / 2, 30);
                self.buttonSearch.frame = CGRectMake(SCREEN_WIDTH - 14 - (SCREEN_WIDTH - 28) / 2, CGRectGetMinY(self.buttonHairCircle.frame), (SCREEN_WIDTH - 28) / 2, 30);
@@ -478,6 +480,26 @@
        if (!_shareValid) {// æ²¡æœ‰åˆ†äº« éšè—åˆ†äº«æŒ‰é’®è·Ÿåˆ†äº«åº“
            self.buttonSearch.hidden = YES;
            self.buttonHairCircle.hidden = YES;
            self.viewSXLine.hidden = YES;
        }
        if (!_cloudOpen) {
            self.buttonHairCircle.hidden = YES;
            self.viewSXLine.hidden = YES;
            if (!model.hasCoupon || (_from && [_from isEqualToString:@"miandan"])) {
                self.buttonSearch.frame = CGRectMake((SCREEN_WIDTH - (SCREEN_WIDTH - 28) / 2) / 2, CGRectGetMinY(self.buttonHairCircle.frame), (SCREEN_WIDTH - 28) / 2, 30);
            } else {
                self.buttonSearch.frame = CGRectMake((SCREEN_WIDTH - (SCREEN_WIDTH - 28) / 2) / 2, CGRectGetMaxY(self.taokoulingImageView.frame) + 15, (SCREEN_WIDTH - 28) / 2, 30);
                if (model.couponInfo.token && ![model.couponInfo.token isEqualToString:@""]) {
                } else {
                    self.buttonSearch.frame = CGRectMake((SCREEN_WIDTH - (SCREEN_WIDTH - 28) / 2) / 2, CGRectGetMaxY(self.couponImage.frame) + 15, (SCREEN_WIDTH - 28) / 2, 30);
                }
            }
        }
        
        self.quanMoney.text = [NSString stringWithFormat:@"优惠券 Â¥ %@",model.couponInfo.amount];
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/JD/Cell/JDGoodsInfoCell.h
@@ -33,11 +33,12 @@
@property (nonatomic, nullable, strong) ALButton *buttonSearch;
/// å‘圈
@property (nonatomic, nullable, strong) ALButton *buttonHairCircle;
/// æ˜¯å¦æœ‰è¿”利
@property (nonatomic, assign) BOOL fanliValid;
/// æ˜¯å¦æœ‰åˆ†äº«
@property (nonatomic, assign) BOOL shareValid;
/// äº‘发单是否开启
@property (nonatomic, assign) BOOL cloudOpen;
@property (nonatomic, nullable, strong) GoodsDetailBaseModel *model;
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/JD/Cell/JDGoodsInfoCell.m
@@ -249,6 +249,10 @@
    _shareValid = shareValid;
}
- (void)setCloudOpen:(BOOL)cloudOpen {
    _cloudOpen = cloudOpen;
}
- (void)setIsExpand:(BOOL)isExpand {
    _isExpand = isExpand;
}
@@ -546,6 +550,12 @@
        if (!_shareValid) {
            self.buttonHairCircle.hidden = YES;
            self.buttonSearch.hidden = YES;
            self.viewSXLine.hidden = YES;
        }
        if (!_cloudOpen) {
            self.buttonHairCircle.hidden = YES;
            self.viewSXLine.hidden = YES;
            self.buttonSearch.sd_resetLayout.centerXEqualToView(self.contentView).topSpaceToView(self.viewCouponBG, topspaceButtonViewMore).widthIs((SCREEN_WIDTH - 30) / 2).heightIs(30);
        }
    }
}
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/JD/JDGoodsDetailController.m
@@ -136,7 +136,8 @@
@property (nonatomic, assign) BOOL isRequestAPI;
/// äº¬ä¸œå¤šåˆ¸è½¬é“¾
@property (nonatomic, nullable, copy) NSString *couponLink;
///云发单是否开启
@property (nonatomic, assign) BOOL cloudOpen;
@end
@implementation JDGoodsDetailController
@@ -647,6 +648,8 @@
                    self.extraDictionary = object[@"data"][@"extra"];
                    self.fanliValid = [self.extraDictionary[@"fanliValid"] boolValue];
                    self.shareValid = [self.extraDictionary[@"shareValid"] boolValue];
                    self.cloudOpen = [self.extraDictionary[@"cloudOpen"] boolValue];
                    self.detailUrlString = self.extraDictionary[@"detailUrl"];
                    if ([self.extraDictionary[@"shareValid"] boolValue]) {
                        self.buttomView.hidden = NO;
@@ -1681,6 +1684,7 @@
        cell.delegate = self;
        cell.fanliValid = self.fanliValid;
        cell.shareValid = self.shareValid;
        cell.cloudOpen = self.cloudOpen;
        cell.isExpand = self.isExpand;
        cell.model = self.goodsModel;
        
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/PDD/PDDGoodsDetailController.m
@@ -156,6 +156,8 @@
@property (nonatomic, strong) UIView *backView;
@property (nonatomic, strong) dispatch_source_t timers;
/// äº‘发单是否开启
@property (nonatomic, assign) BOOL cloudOpen;
@end
@@ -633,6 +635,8 @@
                    self.extraDictionary = object[@"data"][@"extra"];
                    self.fanliValid = [self.extraDictionary[@"fanliValid"] boolValue]; // æ˜¯å¦æœ‰è¿”利
                    self.shareValid = [self.extraDictionary[@"shareValid"] boolValue]; // æ˜¯å¦æœ‰åˆ†äº«
                    self.cloudOpen = [self.extraDictionary[@"cloudOpen"] boolValue];
                    self.isNative = [self.extraDictionary[@"isNative"] boolValue];   // æ˜¯å¦è·³è½¬åŽŸç”ŸAPP
                    self.detailUrlString = self.extraDictionary[@"detailUrl"];      // å›¾æ–‡è¯¦æƒ…链接
                    self.couponJumpLink = self.extraDictionary[@"couponJumpLink"];
@@ -1732,6 +1736,7 @@
        cell.from = self.from;
        cell.fanliValid = self.fanliValid;
        cell.shareValid = self.shareValid;
        cell.cloudOpen = self.cloudOpen;
        cell.model = self.goodsModel;
        
        [cell.buttonHairCircle addTarget:self action:@selector(ProLibraryTaped:) forControlEvents:UIControlEventTouchUpInside];
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/SN/SNGoodsDetailController.m
@@ -118,8 +118,6 @@
@property (nonatomic, nullable, copy) NSString *jsString;
/// æ¥æºï¼ˆshare/zigou))
@property (nonatomic, nullable, copy) NSString *source;
/// çˆ¬å•加载的webview
@property (nonatomic, strong) UIWebView *linkWebView;
@property (nonatomic,assign)NSInteger type;
@@ -156,7 +154,8 @@
@property (nonatomic, strong) UIView *backView;
@property (nonatomic, strong) dispatch_source_t timers;
///云发单是否开启
@property (nonatomic, assign) BOOL cloudOpen;
@end
@implementation SNGoodsDetailController
@@ -452,7 +451,7 @@
    [self.view addSubview:self.backView];
    
    [self.view addSubview:self.noNetworkViews];
    [self getAppPageNotificationWithType:@"goodsDetailPDD"];
    [self getAppPageNotificationWithType:@"goodsDetailSuning"];
    [self addNetWorkNotice];
    
    [self.view addSubview:self.backButton];
@@ -633,6 +632,8 @@
                    self.extraDictionary = object[@"data"][@"extra"];
                    self.fanliValid = [self.extraDictionary[@"fanliValid"] boolValue]; // æ˜¯å¦æœ‰è¿”利
                    self.shareValid = [self.extraDictionary[@"shareValid"] boolValue]; // æ˜¯å¦æœ‰åˆ†äº«
                    self.cloudOpen = [self.extraDictionary[@"cloudOpen"] boolValue];
                    self.isNative = [self.extraDictionary[@"isNative"] boolValue];   // æ˜¯å¦è·³è½¬åŽŸç”ŸAPP
                    self.detailUrlString = self.extraDictionary[@"detailUrl"];      // å›¾æ–‡è¯¦æƒ…链接
                    self.couponJumpLink = self.extraDictionary[@"couponJumpLink"];
@@ -1731,6 +1732,7 @@
        cell.from = self.from;
        cell.fanliValid = self.fanliValid;
        cell.shareValid = self.shareValid;
        cell.cloudOpen = self.cloudOpen;
        cell.model = self.goodsModel;
        
        [cell.buttonHairCircle addTarget:self action:@selector(ProLibraryTaped:) forControlEvents:UIControlEventTouchUpInside];
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/WPH/Cell/WPHGoodsdetailInfoCell.h
@@ -27,6 +27,8 @@
@property (nonatomic, nullable, strong) GoodsDetailBaseModel *model;
@property (nonatomic, assign) BOOL fanliValid;
@property (nonatomic, assign) BOOL shareValid;
/// äº‘发单是否开启
@property (nonatomic, assign) BOOL cloudOpen;
@property (nonatomic, nullable, strong)UIImageView *defaultImageView;
@property (nonatomic, nullable, strong)UIImageView * labelImage;
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/WPH/Cell/WPHGoodsdetailInfoCell.m
@@ -237,6 +237,10 @@
    _shareValid = shareValid;
}
- (void)setCloudOpen:(BOOL)cloudOpen {
    _cloudOpen = cloudOpen;
}
- (void)setModel:(GoodsDetailBaseModel *)model {
    _model = model;
    if (model) {
@@ -414,6 +418,18 @@
        
        
        self.quanMoney.text = [NSString stringWithFormat:@"%@",model.discount];
        if (!_shareValid) {// æ²¡æœ‰åˆ†äº« éšè—åˆ†äº«æŒ‰é’®è·Ÿåˆ†äº«åº“
            self.buttonSearch.hidden = YES;
            self.buttonHairCircle.hidden = YES;
            self.viewSXLine.hidden = YES;
        }
        if (!_cloudOpen) {
            self.buttonHairCircle.hidden = YES;
            self.viewSXLine.hidden = YES;
            self.buttonSearch.frame = CGRectMake((SCREEN_WIDTH - (SCREEN_WIDTH - 28) / 2) / 2, CGRectGetMaxY(self.couponImage.frame) + 15, (SCREEN_WIDTH - 28) / 2, 30);
        }
    }
}
MIduo/½çÃæ/ÉÌÆ·ÏêÇé/WPH/WPHGoodsDetailController.m
@@ -153,7 +153,8 @@
@property (nonatomic, strong) UIView *backView;
@property (nonatomic, strong) dispatch_source_t timers;
///云发单是否开启
@property (nonatomic, assign) BOOL cloudOpen;
@end
@implementation WPHGoodsDetailController
@@ -448,7 +449,7 @@
    [self.view addSubview:self.backView];
    
    [self.view addSubview:self.noNetworkViews];
    [self getAppPageNotificationWithType:@"goodsDetailPDD"];
    [self getAppPageNotificationWithType:@"goodsDetailVIP"];
    [self addNetWorkNotice];
    
    [self.view addSubview:self.backButton];
@@ -629,6 +630,8 @@
                    self.extraDictionary = object[@"data"][@"extra"];
                    self.fanliValid = [self.extraDictionary[@"fanliValid"] boolValue]; // æ˜¯å¦æœ‰è¿”利
                    self.shareValid = [self.extraDictionary[@"shareValid"] boolValue]; // æ˜¯å¦æœ‰åˆ†äº«
                    self.cloudOpen = [self.extraDictionary[@"cloudOpen"] boolValue];
                    self.isNative = [self.extraDictionary[@"isNative"] boolValue];   // æ˜¯å¦è·³è½¬åŽŸç”ŸAPP
                    //                    self.detailUrlString = self.extraDictionary[@"detailUrl"];      // å›¾æ–‡è¯¦æƒ…链接
                    self.couponJumpLink = self.extraDictionary[@"couponJumpLink"];
@@ -1690,6 +1693,7 @@
        cell.from = self.from;
        cell.fanliValid = self.fanliValid;
        cell.shareValid = self.shareValid;
        cell.cloudOpen = self.cloudOpen;
        cell.model = self.goodsModel;
        
        cell.storageState = self.storageState;
MIduo/½çÃæ/ÎÒµÄ/BonusStatisticsDetail/View/EstimateTotalBonusHeaderView.m
@@ -276,7 +276,7 @@
        _labelType = [[UILabel alloc] init];
        _labelType.font = [UIFont systemFontOfSize:11];
        _labelType.textAlignment = NSTextAlignmentCenter;
        self.labelType.layer.borderWidth = 0.6;
        self.labelType.layer.borderWidth = 1;
    }
    return _labelType;
}
MIduo/½çÃæ/ÎÒµÄ/Collection/MinCollectViewController.m
@@ -335,7 +335,7 @@
 */
- (void)detectionIsBindTaoBaoTips
{
    if (![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBSession sharedInstance] isLogin]) {
    if (![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBCompatibleSession sharedInstance] isLogin]) {
        [self LoginForTaoBao];
        
    } else {
MIduo/½çÃæ/ÎÒµÄ/MineCell/NewMineView/MineSixCell.h
@@ -26,6 +26,8 @@
@interface MineSixCell : UIView;
/// æ•°æ®ä¸ä¸ºç©ºåˆ™å±•示导师微信,否则不展示
@property (nonatomic, nullable, copy) NSString *cloudLink;
/// æ•°æ®ä¸ä¸ºç©ºåˆ™å±•示导师微信,否则不展示
@property (nonatomic, nullable, copy) NSString *tearcherLink;
@property (weak, nonatomic) id<MineSixCellCellDelegate>delegate;
MIduo/½çÃæ/ÎÒµÄ/MineCell/NewMineView/MineSixCell.m
@@ -11,8 +11,8 @@
@interface MineSixCell ()
@property (nonatomic, nullable, strong) NSArray *arrayTitle;
@property (nonatomic, nullable, strong) NSArray *arrayImages;
@property (nonatomic, nullable, strong) NSMutableArray *arrayTitle;
@property (nonatomic, nullable, strong) NSMutableArray *arrayImages;
@property (strong, nonatomic) ALButton *shareRecordBtn;
@property (strong, nonatomic) ALButton *proLibBtn;
@@ -27,8 +27,13 @@
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = XYRBackgroundColor;
        self.arrayTitle = @[@"分享记录",@"一键发单",@"链接转换"];
        self.arrayImages = @[@"icon_分享记录",@"icon_选品库",@"mine_links_to_convert"];
        [self.arrayTitle addObject:@"分享记录"];
        [self.arrayImages addObject:@"icon_分享记录"];
        [self.arrayTitle addObject:@"链接转换"];
        [self.arrayImages addObject:@"mine_links_to_convert"];
        [self setuoViewConfig];
    }
    return self;
@@ -61,20 +66,37 @@
    }
}
- (void)setCloudLink:(NSString *)cloudLink {
    _cloudLink = cloudLink;
}
- (void)setTearcherLink:(NSString *)tearcherLink {
    _tearcherLink = tearcherLink;
    for (__strong UIView *view in [self.contentView subviews]) {
        [view removeFromSuperview];
        view = nil;
    }
    if ([self isHaveValue:_tearcherLink]) {
        self.arrayTitle = @[@"分享记录",@"一键发单",@"链接转换",@"导师微信"];
        self.arrayImages = @[@"icon_分享记录",@"icon_选品库",@"mine_links_to_convert",@"mine_tutor"];
        
    } else {
        self.arrayTitle = @[@"分享记录",@"一键发单",@"链接转换"];
        self.arrayImages = @[@"icon_分享记录",@"icon_选品库",@"mine_links_to_convert"];
    for (UIView *view in [self.contentView subviews]) {
        [view removeFromSuperview];
    }
    [self.arrayTitle removeAllObjects];
    [self.arrayImages removeAllObjects];
    [self.arrayTitle addObject:@"分享记录"];
    [self.arrayImages addObject:@"icon_分享记录"];
    if ([self isHaveValue:_cloudLink]) {
        [self.arrayTitle addObject:@"一键发单"];
        [self.arrayImages addObject:@"icon_选品库"];
    }
    [self.arrayTitle addObject:@"链接转换"];
    [self.arrayImages addObject:@"mine_links_to_convert"];
    if ([self isHaveValue:_tearcherLink]) {
        [self.arrayTitle addObject:@"导师微信"];
        [self.arrayImages addObject:@"mine_tutor"];
    }
    CGFloat sizeFont = 13;
    if (SCREEN_WIDTH < 375) {
        sizeFont = 11;
@@ -98,22 +120,24 @@
    }
}
- (void)buttounClick:(UIButton *)button {
    if (button.tag == 0) {
    NSString *string = _arrayTitle[button.tag];
    if ([string isEqualToString:@"分享记录"]) {
        if (_delegate && [_delegate respondsToSelector:@selector(MineSixCellOnCliclk:)]) {
            [_delegate MineSixCellOnCliclk:MineSixCellCellShareRecord];
        }
        
    } else  if (button.tag == 1) {
    } else if ([string isEqualToString:@"一键发单"]) {
        if (_delegate && [_delegate respondsToSelector:@selector(MineSixCellOnCliclk:)]) {
            [_delegate MineSixCellOnCliclk:MineSixCellCellSharedLibraries];
        }
        
    } else  if (button.tag == 2) {
    } else if ([string isEqualToString:@"链接转换"]) {
        if (_delegate && [_delegate respondsToSelector:@selector(MineSixCellOnCliclk:)]) {
            [_delegate MineSixCellOnCliclk:MineSixCellCellLinksToConvert];
        }
        
    } else  if (button.tag == 3) {
    } else if ([string isEqualToString:@"导师微信"]) {
        if (_delegate && [_delegate respondsToSelector:@selector(MineSixCellOnCliclk:)]) {
            [_delegate MineSixCellOnCliclk:MineSixCellCellTutor];
        }
@@ -130,4 +154,18 @@
    return _contentView;
}
- (NSMutableArray *)arrayTitle {
    if (!_arrayTitle) {
        _arrayTitle = [[NSMutableArray alloc] init];
    }
    return _arrayTitle;
}
- (NSMutableArray *)arrayImages {
    if (!_arrayImages) {
        _arrayImages = [[NSMutableArray alloc] init];
    }
    return _arrayImages;
}
@end
MIduo/½çÃæ/ÎÒµÄ/NewMineController.m
@@ -538,6 +538,7 @@
        if ([self isHaveValue:self.dialog] && ![self.dialog isEqual:[NSNull null]]) {
            [self showTutor];
        }
        self.viewMineSix.cloudLink = self.cloudLink;
        self.viewMineSix.tearcherLink = self.tearcherLink;
        @weakify(self)
        [UIView performWithoutAnimation:^{
@@ -1267,13 +1268,14 @@
        }
        
        [self pushAnyInterfaceController:@"ShonpingShareViewController" parms:@{@"url":newuserGL?:@""}];
        //  [self pushAnyInterfaceController:@"ShonpingShareViewController" parms:@{@"url":@"http://192.168.1.114:8848/flqFront/AppInside/teamOrder/index.html"}];
        
    } else if (index == 201) {
        [UMCustomUser umUser_help];
        //[self pushAnyInterfaceController:@"ShonpingShareViewController" parms:@{@"url":[YTHsharedManger startManger].help?:@""}];
        [self pushAnyInterfaceController:@"ShonpingShareViewController" parms:@{@"url":[YTHsharedManger startManger].help?:@""}];
        
        //[self pushAnyInterfaceController:@"ShonpingShareViewController" parms:@{@"url":@"http://192.168.1.114:8848/flqFront/AppInside/cloudPushOrder/cloudPushOrderManage.html"}];
        [self pushAnyInterfaceController:@"ShonpingShareViewController" parms:@{@"url":@"http://192.168.1.114:8848/flqFront/AppInside/activityDetailTempPage/index.html"}];
        //[self pushAnyInterfaceController:@"ShonpingShareViewController" parms:@{@"url":@"http://192.168.1.114:8848/flqFront/AppInside/activityDetailTempPage/index.html"}];
        
        // [self pushAnyInterfaceController:@"WPHGoodsListShowController" parms:nil];
        
MIduo/½çÃæ/ÎÒµÄ/Order/NewOrderViewController.m
@@ -409,7 +409,7 @@
    }
    
    [UMCustomUser umUser_order_taobao];
    if(![[ALBBSession sharedInstance] isLogin]){
    if(![[ALBBCompatibleSession sharedInstance] isLogin]){
        [self LoginForTaoBao];
        
    } else {
MIduo/½çÃæ/ÎÒµÄ/Order/cell/OrderTitleCell.m
@@ -266,7 +266,7 @@
        _labelType = [[UILabel alloc] init];
        _labelType.font = [UIFont systemFontOfSize:11];
        _labelType.textAlignment = NSTextAlignmentCenter;
        self.labelType.layer.borderWidth = 0.6;
        self.labelType.layer.borderWidth = 1;
    }
    return _labelType;
}
MIduo/½çÃæ/ÎÒµÄ/RecommendedRecord/RecommendRecordController.m
@@ -272,12 +272,12 @@
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    // é˜²æ­¢è¿žç»­ç‚¹å‡»]
    kPreventRepeatClickTime(0.5);
    //[UMCustomUser umUser_recommend_history_list_detail];
    //[self fetchGoldCofin];
    //NSString *pageClassName = ((RecommendHistoryModel *)self.dataSource[indexPath.section]).jumpDetail.controller;
    //[self jumpPage:pageClassName :((RecommendHistoryModel *)self.dataSource[indexPath.section]).params];
    [UMCustomUser umUser_recommend_history_list_detail];
    [self fetchGoldCofin];
    NSString *pageClassName = ((RecommendHistoryModel *)self.dataSource[indexPath.section]).jumpDetail.controller;
    [self jumpPage:pageClassName :((RecommendHistoryModel *)self.dataSource[indexPath.section]).params];
    
    [self pushAnyInterfaceController:@"RecommendDetailController" parms:nil];
  //  [self pushAnyInterfaceController:@"RecommendDetailController" parms:nil];
}
#pragma mark - è¡¨æ ¼å°¾éƒ¨é«˜åº¦
MIduo/½çÃæ/ÎÒµÄ/UserInfo/userInfoViewController.m
@@ -257,7 +257,7 @@
     {
        @strongify(self)
        if (object) {
            if (![[ALBBSession sharedInstance] isLogin]){
            if (![[ALBBCompatibleSession sharedInstance] isLogin]){
                [self taobaoLoginWithAuthLink:object[@"data"][@"authLink"]];
                
            } else {
@@ -830,7 +830,7 @@
                    
                } else {
                    [[ALBBSDK sharedInstance] logout];
                    if ([[ALBBSession sharedInstance] isLogin]) {
                    if ([[ALBBCompatibleSession sharedInstance] isLogin]) {
                        [self getTaoBaoAuthInfo];
                        
                    } else {
MIduo/½çÃæ/ÍøÒ³ÊÓͼ/SureWebViewController.m
@@ -365,7 +365,7 @@
                    if([[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"]){
                        self->_taoBaoQuanInfo=[[[result objectForKey:@"data"] objectForKey:@"taobao"] objectForKey:@"taoBaoQuanInfo"];
                        
                        if(![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBSession sharedInstance] isLogin] ){
                        if(![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBCompatibleSession sharedInstance] isLogin] ){
                            
                        }else{
                            [self popWebCoupon];
@@ -434,7 +434,7 @@
                    if([[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"]){
                        //显示优惠券
                        self->_taoBaoQuanInfo=[[[result objectForKey:@"data"] objectForKey:@"taobao"] objectForKey:@"taoBaoQuanInfo"];
                        if(![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBSession sharedInstance] isLogin]){
                        if(![[NSUserDefaults standardUserDefaults] boolForKey:@"TaoBaoLogin"] || ![[ALBBCompatibleSession sharedInstance] isLogin]){
                            
                        } else {
                            [self popWebCoupon];
MIduo/½çÃæ/Ê×Ò³/NEWHomeViewController.m
@@ -1056,7 +1056,7 @@
}
- (void)noticeOrderOrShopCarBackWithLoginVc {
    if(![[ALBBSession sharedInstance] isLogin]){
    if(![[ALBBCompatibleSession sharedInstance] isLogin]){
        [self LoginForTaoBao];
        
    } else {
Pods/Pods.xcodeproj/xcuserdata/lrj.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -7,137 +7,137 @@
        <key>AFNetworking.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>18</integer>
            <integer>23</integer>
        </dict>
        <key>CRBoxInputView.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>2</integer>
            <integer>11</integer>
        </dict>
        <key>GPUImage.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>7</integer>
            <integer>12</integer>
        </dict>
        <key>IQKeyboardManager.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>13</integer>
            <integer>8</integer>
        </dict>
        <key>MBProgressHUD.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>24</integer>
            <integer>26</integer>
        </dict>
        <key>MJRefresh.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>1</integer>
            <integer>16</integer>
        </dict>
        <key>Masonry.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>23</integer>
            <integer>19</integer>
        </dict>
        <key>Pods-MIduo.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>5</integer>
            <integer>25</integer>
        </dict>
        <key>ReactiveCocoa.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>3</integer>
            <integer>10</integer>
        </dict>
        <key>SAMKeychain.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>27</integer>
            <integer>7</integer>
        </dict>
        <key>SDAutoLayout.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>16</integer>
            <integer>13</integer>
        </dict>
        <key>SDWebImage.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>26</integer>
            <integer>21</integer>
        </dict>
        <key>SVProgressHUD.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>14</integer>
            <integer>3</integer>
        </dict>
        <key>TYSnapshotScroll.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>11</integer>
            <integer>14</integer>
        </dict>
        <key>TZImagePickerController.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>15</integer>
            <integer>5</integer>
        </dict>
        <key>Toast.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>10</integer>
            <integer>22</integer>
        </dict>
        <key>UICollectionViewLeftAlignedLayout.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>22</integer>
            <integer>27</integer>
        </dict>
        <key>UICountingLabel.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>4</integer>
            <integer>2</integer>
        </dict>
        <key>YYCache.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>17</integer>
            <integer>15</integer>
        </dict>
        <key>YYImage.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>21</integer>
            <integer>9</integer>
        </dict>
        <key>YYModel.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>6</integer>
            <integer>4</integer>
        </dict>
        <key>YYText.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>12</integer>
            <integer>6</integer>
        </dict>
        <key>YYWebImage.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>20</integer>
            <integer>18</integer>
        </dict>
        <key>mob_sharesdk-ShareSDK.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>19</integer>
            <integer>17</integer>
        </dict>
        <key>mob_sharesdk-ShareSDK_JS_QQ.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>9</integer>
            <integer>1</integer>
        </dict>
        <key>mob_sharesdk-ShareSDK_JS_SinaWeibo.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>8</integer>
            <integer>24</integer>
        </dict>
        <key>mob_sharesdk-ShareSDK_JS_WeChat.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>25</integer>
            <integer>20</integer>
        </dict>
    </dict>
</dict>