YMCityPickerPopupView.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // YMCityPickerPopupView.h
  3. // MSYOUPAI
  4. //
  5. // Created by YoMi on 2024/3/10.
  6. // Copyright © 2024 MS. All rights reserved.
  7. //
  8. #import "YMBaseView.h"
  9. #import "YMProvinceModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. typedef void(^CityPickerButtonBlock)(BOOL isConfirm, NSString *provinceId,NSString *provinceName,NSString *cityId,NSString *cityName);
  12. @interface YMCityPickerPopupView : YMBaseView
  13. @property (nonatomic, copy) CityPickerButtonBlock buttonBlock;
  14. /** 标题文本*/
  15. @property (nonatomic, copy) NSString *titleText;
  16. /** 标题颜色*/
  17. @property (nonatomic, strong) UIColor *titleColor;
  18. /** 标题字体样式大小*/
  19. @property (nonatomic, strong) UIFont *titleFont;
  20. /** 取消背景色*/
  21. @property (nonatomic, strong) UIColor *cancelBgColor;
  22. /** 确认背景色*/
  23. @property (nonatomic, strong) UIColor *confirmBgColor;
  24. /** 取消标题颜色*/
  25. @property (nonatomic, strong) UIColor *cancelTitleColor;
  26. /** 确认标题颜色*/
  27. @property (nonatomic, strong) UIColor *confirmTitleColor;
  28. /** 取消字体样式大小*/
  29. @property (nonatomic, strong) UIFont *cancelFont;
  30. /** 确认字体样式大小*/
  31. @property (nonatomic, strong) UIFont *confirmFont;
  32. /** 取消标题*/
  33. @property (nonatomic, copy) NSString *cancelTitle;
  34. /** 确认标题*/
  35. @property (nonatomic, copy) NSString *confirmTitle;
  36. /** 取消圆角大小*/
  37. @property (nonatomic, assign) CGFloat cancelRadius;
  38. /** 确认圆角大小*/
  39. @property (nonatomic, assign) CGFloat confirmRadius;
  40. /** 取消边框色*/
  41. @property (nonatomic, assign) UIColor *cancelBorderColor;
  42. /** 确认边框色*/
  43. @property (nonatomic, assign) UIColor *confirmBorderColor;
  44. /** 取消边框宽度大小*/
  45. @property (nonatomic, assign) CGFloat cancelBorderWidth;
  46. /** 确认边框宽度大小*/
  47. @property (nonatomic, assign) CGFloat confirmBorderWidth;
  48. @end
  49. NS_ASSUME_NONNULL_END