mcu_hi3321_watch/application/wearable/nativeapp/nativeui/alipay/include/AlipayBindRes.h
2025-05-26 20:15:20 +08:00

32 lines
807 B
C++

/**
* Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
* Description: alipay bind result view.
* Author:
* Create:
*/
#ifndef ALIPAY_BIND_RES_H
#define ALIPAY_BIND_RES_H
#include "components/ui_image_view.h"
#include "components/ui_label.h"
#include "components/ui_label_button.h"
#include "AlipayPresenter.h"
namespace OHOS {
class AlipayBindRes : public UIViewGroup {
public:
explicit AlipayBindRes(AlipayPresenter *presenter);
~AlipayBindRes() override;
bool InitView();
void AlipayRefreshBindRes(void);
private:
AlipayPresenter *presenter_;
bool AlipayInitLabel(const char *resStr);
bool AlipayInitImage(const char *imageSrc);
UILabel *alipayLabel { nullptr };
UIImageView *alipayImage { nullptr };
};
}
#endif