//
//  GMLiveWelfareView.h
//  Gengmei
//
//  Created by 汪俊 on 2017/3/30.
//  Copyright © 2017年 更美互动信息科技有限公司. All rights reserved.
//

#import "GMImageView.h"
#import "GMInstallmentView.h"
#import "GMInsuranceView.h"
//#import "Gengmei-Swift.h"
@class AllLayoutButton;
@class GMLiveWelfareView;
@class GMAdLabel;
@protocol GMLiveWelfareViewDelegate <NSObject>
- (void)didSelectedWelfareView:(GMLiveWelfareView *)welFareView;
- (void)didClickedHospitalDetailButton:(AllLayoutButton *)button;
@end
/**
 直播和回放页面的美购
 */
@interface GMLiveWelfareView : GMView

@property (nonatomic , strong) GMView *welfareContainer;
/** @brief 美购大图片 */
@property (nonatomic , strong) GMImageView *bigIconImage;

/** @brief 预付价 */
@property (nonatomic , strong) GMImageView *yufuImage;

/** @brief 已售完 */
@property (nonatomic , strong) GMImageView *sallOutImage;

/** @brief 美购标题 */
@property (nonatomic , strong) GMLabel *welfareTitle;

/** @brief 美购简介 */
@property (nonatomic , strong) GMAdLabel *welfareContent;

/** @brief 更美价 */
@property (nonatomic , strong) GMLabel *gengmeiPrice;

/** @brief 市场价 */
@property (nonatomic , strong) GMLabel *marketPrice;

/** @brief 删除线 */
@property (nonatomic , strong) GMLabel *deleteLabel;

/** @brief 人民币(元/元起) */
@property (nonatomic , strong) GMLabel *yuanLabel;

/** @brief 预付款标签 */
@property (nonatomic , strong) GMLabel *yufuLabel;

/** @brief 申请数 */
@property (nonatomic , strong) GMLabel *applyNumber;

/** @brief  剩余多少个*/
@property (nonatomic , strong) GMLabel *surplusLabel;

/** @brief 城市 */
@property (nonatomic , strong) GMLabel *cityLabel;

/** @brief 医生 */
@property (nonatomic , strong) GMLabel *doctorLabel;

/** @brief 机构 */
@property (nonatomic , strong) GMLabel *hospitalLabel;
/**状态栏背景*/
@property (nonatomic, strong) GMView *statusBG;

/** @brief  */
@property (nonatomic , strong) UIView *surplusBG;

/** @brief  秒杀价图片*/
@property (nonatomic , strong) GMImageView *seckillIcon;
/** seckill是否隐藏*/
@property (nonatomic, assign) BOOL isSeckillHidden;

/**
 展示推广label
 @author wangjun 16-08-01 in 6.3.0
 */
@property (nonatomic, assign) BOOL showPromotion;

/**
 分期提示
 */
//@property (nonatomic, strong) GMInstallmentView *installmentView;

/**
 保险提示
 */
//@property (nonatomic, strong) GMInsuranceView *insuranceView;

/**
 是否展示推分期
 */
//@property (nonatomic, assign) BOOL showInstallment;


/**
 是否展示保险
 */
//@property (nonatomic, assign) BOOL showInsurance;
@property (nonatomic , strong) UIImageView *hospitalBg;

@property (nonatomic, weak) id<GMLiveWelfareViewDelegate> delegate;
- (void)show;
- (void)hide;
@end
