| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- //
- // HomerModelDetailHeaderCell.h
- // iSales-HOMER
- //
- // Created by Jack on 2017/10/25.
- // Copyright © 2017年 United Software Applications, Inc. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "DetailHeaderCell.h"
- #import "PhotoStackView.h"
- #import "RTLabel.h"
- #import "NotificationNameCenter.h"
- #import "YTPlayerView.h"
- #import "MDHTMLLabel.h"
- @interface HomerModelDetailHeaderCell : UITableViewCell<PhotoStackViewDataSource, PhotoStackViewDelegate,UIAlertViewDelegate,UITextFieldDelegate>
- {
- @private
- id <DetailHeaderCellDelegate> __weak celldelegate;
- }
- @property (weak, nonatomic) id <DetailHeaderCellDelegate> celldelegate;
- @property int cqty;
- @property int step;
- @property int quantity;
- @property (nonatomic, strong) NSArray *photos;
- @property (nonatomic, strong) NSDictionary *stack_contents;
- @property (nonatomic, strong) NSArray *urls;
- @property (nonatomic, strong) NSString *product_id;
- // Outlet View
- @property (strong, nonatomic) IBOutlet PhotoStackView *photoStack;
- @property (weak, nonatomic) IBOutlet UIPageControl *pageControl;
- @property (strong, nonatomic) IBOutlet RTLabel *descriptionRTLabel;
- @property (strong, nonatomic) IBOutlet UILabel *priceLabel;
- @property (strong, nonatomic) IBOutlet UILabel *count_Label;
- @property (strong, nonatomic) IBOutlet UILabel *incomingcount_Label;
- @property (strong, nonatomic) IBOutlet UIStepper *stepper;
- @property (strong, nonatomic) IBOutlet UITextField *quantity_text;
- @property (strong, nonatomic) IBOutlet UIButton *btnaddCart;
- @property (strong, nonatomic) IBOutlet UIButton *btnaddWish;
- @property (strong, nonatomic) IBOutlet UIButton *btnaddPortfolio;
- @property (strong, nonatomic) IBOutlet UIButton *btnNotifyMe;
- @property (strong, nonatomic) IBOutlet UILabel *eta_label;
- @property (strong, nonatomic) IBOutlet UILabel *incoming_stock_label;
- @property (strong, nonatomic) IBOutlet UILabel *etaval_label;
- @property (strong, nonatomic) IBOutlet UILabel *model_label;
- @property (strong, nonatomic) IBOutlet UILabel *cqyt_label;
- @property (strong, nonatomic) IBOutlet UIButton *introduceBtn;
- @property (strong, nonatomic) IBOutlet UIButton *descriptionBtn;
- @property (weak, nonatomic) IBOutlet YTPlayerView *playerView;
- @property (weak, nonatomic) IBOutlet UILabel *hmlg_stock_lb;
- @property (weak, nonatomic) IBOutlet UILabel *hmlg_stock_count_lb;
- @property (weak, nonatomic) IBOutlet UILabel *on_sale_lb;
- // nil view
- @property (nonatomic,strong) UIImageView *selector_imageView;
- @property (nonatomic,strong) UILabel *selector_nameLabel;
- @property (nonatomic,strong) UILabel *selector_valLabel;
- @property (nonatomic,strong) UILabel *selector_label;
- @property (nonatomic,strong) UILabel *property_nameLabel;
- @property (nonatomic,strong) UILabel *property_valLabel;
- @property (nonatomic,strong) UIButton *selector_Button;
- // block
- @property (nonatomic,copy) void(^notifyMeBlock)(void);
- @property (nonatomic,copy) void(^shopCartBlock)(UIImageView *imageView);
- @property (nonatomic,copy) void(^set_cqty)(int cqty);
- @property (nonatomic,copy) void(^set_update_data)(bool bupdate);
- @property (nonatomic,copy) void(^WatchlistBlock)(UIImageView *imageView);
- @property (nonatomic,copy) void(^PortfolioBlock)(UIImageView *imageView);
- @property (nonatomic,copy) void(^introduceBlock)(UIButton *sender);
- @property (nonatomic,copy) void(^descriptionBlock)(UIButton *sender);
- - (void)setup;
- - (void)AddPhoto :(UIImage*)photo ;
- - (void)Hide_selector:(bool) bhide;
- - (void)ClearPhotos;
- -(void) generate_information;
- @property (weak, nonatomic) IBOutlet UILabel *informationLabel;
- @property (weak, nonatomic) IBOutlet UILabel *informationLabel_arch;
- @property (assign) CGSize inforframe;
- @end
|