Commit 12ca1788be9a504c3eb3131a9e1213f3aa375e9a
1 parent
c6a88612
添加获取小家盒子跳转信息方法
Showing
9 changed files
with
20 additions
and
33 deletions
DSCnliveShopSDK.podspec
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSCnliveShopSDK
No preview for this file type
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSCultureResource.bundle/DS_culture_HP_IP_close@2x.png
0 → 100755
1.4 KB
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSCultureResource.bundle/DS_culture_HP_IP_close@3x.png
0 → 100755
3.55 KB
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSAddressModel.h
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDK.h
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKCheck.h
| ... | ... | @@ -26,6 +26,11 @@ NS_ASSUME_NONNULL_BEGIN |
| 26 | 26 | /// errorCode 0没错 1没登录 2请求错误 errorMessage错误信息 |
| 27 | 27 | -(void)checkIsHaveGiftCompletion:(nullable void (^)(BOOL isHave, NSString * _Nullable giftOrderId, NSString * _Nullable url, NSUInteger errorCode, NSString * _Nullable errorMessage))completion; |
| 28 | 28 | |
| 29 | +/// 获取小家音响商品跳转信息 | |
| 30 | +/// @param completion 回调 type跳转格式 to跳转目标 shopType跳转附加参数 | |
| 31 | +/// errorCode 0没错 2请求错误 errorMessage错误信息 | |
| 32 | +-(void)getXJSpeakerGoodsSkipInfoComletion:(nullable void (^)(NSString * _Nullable type, NSString * _Nullable to, NSString * _Nullable shopType, NSUInteger errorCode, NSString * _Nullable errorMessage))completion; | |
| 33 | + | |
| 29 | 34 | @end |
| 30 | 35 | |
| 31 | 36 | NS_ASSUME_NONNULL_END | ... | ... |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSNavButton.h
| ... | ... | @@ -23,7 +23,7 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { |
| 23 | 23 | DSImagePositionBottom, |
| 24 | 24 | }; |
| 25 | 25 | |
| 26 | -@interface DSNavButton : UIView | |
| 26 | +@interface DSNavButton : UIControl | |
| 27 | 27 | |
| 28 | 28 | /*************************************************************************************************** |
| 29 | 29 | 默认frame = CGRectMake(自动排列间距0, get_system_statusBar_height(), get_system_nav_ui_height(), get_system_nav_ui_height()) |
| ... | ... | @@ -49,35 +49,7 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { |
| 49 | 49 | -(nonnull instancetype)initWithImage:(nonnull UIImage *)image imageSize:(CGSize)imageSize title:(nonnull NSString*)title imagePosition:(DSImagePosition)imagePosition; |
| 50 | 50 | -(nonnull instancetype)initWithImage:(nonnull UIImage *)image imageSize:(CGSize)imageSize title:(nonnull NSString*)title font:(nonnull UIFont*)font titleColor:(nonnull UIColor*)titleColor imagePosition:(DSImagePosition)imagePosition; |
| 51 | 51 | |
| 52 | -#pragma mark - 点击方法 | |
| 53 | - | |
| 54 | -/** | |
| 55 | - 点击方法(无参数) | |
| 56 | - | |
| 57 | - @param target 对象 | |
| 58 | - @param action 方法 | |
| 59 | - */ | |
| 60 | --(void)addTarget:(nullable id)target action:(nonnull SEL)action; | |
| 61 | - | |
| 62 | -/** | |
| 63 | - 点击方法(单参数) | |
| 64 | - | |
| 65 | - @param target 对象 | |
| 66 | - @param action 方法 | |
| 67 | - @param object 单参数 | |
| 68 | - */ | |
| 69 | --(void)addTarget:(nullable id)target action:(nonnull SEL)action object:(nullable id)object; | |
| 70 | - | |
| 71 | -/** | |
| 72 | - 点击方法(多参数) | |
| 73 | - | |
| 74 | - @param target 对象 | |
| 75 | - @param action 方法 | |
| 76 | - @param objects 多参数 | |
| 77 | - */ | |
| 78 | --(void)addTarget:(nullable id)target action:(nonnull SEL)action objects:(nullable NSArray*)objects; | |
| 79 | - | |
| 80 | -#pragma mark - 修改 | |
| 52 | +#pragma mark - 标题属性 | |
| 81 | 53 | |
| 82 | 54 | /** |
| 83 | 55 | 标题 |
| ... | ... | @@ -91,6 +63,9 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { |
| 91 | 63 | 标题颜色 |
| 92 | 64 | */ |
| 93 | 65 | @property (nonatomic,strong,nonnull) UIColor * titleColor; |
| 66 | + | |
| 67 | +#pragma mark - 图片属性 | |
| 68 | + | |
| 94 | 69 | /** |
| 95 | 70 | 图片 |
| 96 | 71 | */ |
| ... | ... | @@ -100,4 +75,11 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { |
| 100 | 75 | */ |
| 101 | 76 | @property (nonatomic,assign) CGSize imageSize; |
| 102 | 77 | |
| 78 | +/* | |
| 79 | + 图片颜色用tintColor修改 | |
| 80 | + */ | |
| 81 | + | |
| 82 | +/// 图片位置 | |
| 83 | +@property (nonatomic,assign) DSImagePosition imagePosition; | |
| 84 | + | |
| 103 | 85 | @end | ... | ... |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Info.plist
No preview for this file type