CustomWKWebViewController.h 1.02 KB
Newer Older
勾芒's avatar
勾芒 committed
1 2 3 4 5 6 7 8 9 10 11
//
//  PDFViewController.h
//  Lighting
//
//  Created by 曹云霄 on 16/5/17.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "BaseViewController.h"


12 13 14 15 16
/**
 调用类型

 - Announcement: 公告
 - Study:        学习
17
 - Image:        本地图片
18 19 20
 */
typedef NS_ENUM(NSInteger,CALL_TYPE) {
    Announcement = 0,
21 22
    Study,
    Image
23 24 25
};

@interface CustomWKWebViewController : BaseViewController
勾芒's avatar
勾芒 committed
26

27 28 29 30
/**
 调用类型
 */
@property (nonatomic,assign) CALL_TYPE type;
勾芒's avatar
勾芒 committed
31 32 33 34 35


/**
 *  PDF文件URL
 */
曹云霄's avatar
曹云霄 committed
36
@property (nonatomic,copy) NSString *urlString;
勾芒's avatar
勾芒 committed
37

38 39 40
/**
 *  抽奖完成
 */
41
@property (nonatomic,copy) void(^luckyDrawFinishBlock)(NSDictionary *luckyDrawResultDict);
42

43 44 45 46
/**
 *  退出抽奖界面
 */
@property (nonatomic,copy) void(^dismissLuckyDrawController)();
勾芒's avatar
勾芒 committed
47

48 49 50
/**
 滑动结束到底部
 */
51 52 53 54 55 56
@property (nonatomic,copy) void(^scrollViewEndBottomBlock)(NSIndexPath *indexPath);

/**
 学习项下标
 */
@property (nonatomic,strong) NSIndexPath *indexPath;
57
@property (strong, nonatomic) NSString *studyId;
58

勾芒's avatar
勾芒 committed
59 60

@end