| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- //
- // MerchantBaseEnrollContentView.h
- // merchant
- //
- // Created by qitewei on 2025/8/18.
- //
- #import <UIKit/UIKit.h>
- #import <JXCategoryView.h>
- #import "NetHttpsManager+Store.h"
- #import "UIView+TUIToast.h"
- NS_ASSUME_NONNULL_BEGIN
- typedef enum : NSUInteger {
- MerchantEnrollStepGuide,
- MerchantEnrollStepCheckList,
- MerchantEnrollStepStoreInfo,
- MerchantEnrollStepBusinessLicense,
- MerchantEnrollStepLegalInfo,
- MerchantEnrollStepBank,
- MerchantEnrollStepSetAdmin,
- MerchantEnrollStepPay,
- MerchantEnrollStepWatingForReview,
- MerchantEnrollStepReviewFail,
- MerchantEnrollStepComplete
- } MerchantEnrollStep;
- typedef enum : NSUInteger {
- MerchantEnrollResultPending, // 提交成功,等待审核
- MerchantEnrollResultFailed, // 审核未通过,需要修改
- MerchantEnrollResultSuccess // 审核通过,完成入驻
- } MerchantEnrollResultType;
- @protocol MerchantEnrollContentViewDelegate <NSObject>
- - (void)onMerchantEnrollGotoNextButtonClick;
- - (void)onMerchantEnrollResultNextButtonClick:(MerchantEnrollResultType)type;
- @end
- @protocol MerchantEnrollParametersDataSource <NSObject>
- - (NSDictionary *)getMerchantEnrollParameters;
- @end
- @interface MerchantBaseEnrollContentView : UIView<JXCategoryListContentViewDelegate, MerchantEnrollParametersDataSource>
- @property (nonatomic, strong) UILabel *titleLabel;
- @property (nonatomic, strong) UIScrollView *scrollView;
- @property (nonatomic, strong) UIView *contentView;
- @property (nonatomic, strong) UIButton *nextButton;
- @property (nonatomic, assign) MerchantEnrollStep currentStep;
- @property (nonatomic, weak) id<MerchantEnrollContentViewDelegate> delegate;
- @property (nonatomic, strong) NetHttpsManager *netManager;
- @property (readonly, nullable) UIViewController *viewController;
- - (void)goNext;
- @end
- NS_ASSUME_NONNULL_END
|