MerchantBaseEnrollContentView.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //
  2. // MerchantBaseEnrollContentView.h
  3. // merchant
  4. //
  5. // Created by qitewei on 2025/8/18.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import <JXCategoryView.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef enum : NSUInteger {
  11. MerchantEnrollStepGuide,
  12. MerchantEnrollStepCheckList,
  13. MerchantEnrollStepStoreInfo,
  14. MerchantEnrollStepBusinessLicense,
  15. MerchantEnrollStepLegalInfo,
  16. MerchantEnrollStepBank,
  17. MerchantEnrollStepSetAdmin,
  18. MerchantEnrollStepPay,
  19. MerchantEnrollStepWatingForReview,
  20. MerchantEnrollStepReviewFail,
  21. MerchantEnrollStepComplete
  22. } MerchantEnrollStep;
  23. typedef enum : NSUInteger {
  24. MerchantEnrollResultPending, // 提交成功,等待审核
  25. MerchantEnrollResultFailed, // 审核未通过,需要修改
  26. MerchantEnrollResultSuccess // 审核通过,完成入驻
  27. } MerchantEnrollResultType;
  28. @protocol MerchantEnrollContentViewDelegate <NSObject>
  29. - (void)onMerchantEnrollGotoNextButtonClick;
  30. - (void)onMerchantEnrollResultNextButtonClick:(MerchantEnrollResultType)type;
  31. @end
  32. @interface MerchantBaseEnrollContentView : UIView<JXCategoryListContentViewDelegate>
  33. @property (nonatomic, strong) UILabel *titleLabel;
  34. @property (nonatomic, strong) UIScrollView *scrollView;
  35. @property (nonatomic, strong) UIView *contentView;
  36. @property (nonatomic, strong) UIButton *nextButton;
  37. @property (nonatomic, assign) MerchantEnrollStep currentStep;
  38. @property (nonatomic, weak) id<MerchantEnrollContentViewDelegate> delegate;
  39. - (void)nextButtonTapped:(UIButton *)sender;
  40. @end
  41. NS_ASSUME_NONNULL_END