#import "BaseViewController.h"
#define loadingMethodLocal @"local"
#define loadingMethodOnline @"online"
@interface ActivityWebViewController : BaseViewController
@property (nonatomic,copy) NSString *navTitle;
@property (nonatomic,strong) UIWebView *webView;
@property (nonatomic,retain) NSString *loadingMethod;
@property (nonatomic,retain) NSString *userId;
@property (nonatomic,retain) NSString *shopId;
@property (nonatomic,retain) NSString *productId;
@property (nonatomic,retain) NSString *presentId;
@property (nonatomic,retain) NSString *suitPresentId;
@property (nonatomic,retain) NSString *activityId;
@property(nonatomic,copy)NSString *htmlPath;
- (id) initWithLoadingMethod:(NSString *)method
userId:(id) userId
shopId:(id)shopId
activityId:(id)activityId
productId:(id)productId
presentid:(id)presentId
suitPresentid:(id)suitPresentId;
@end
***************************
选择ViewController
DiscountItemModle1 *itemModel = _dataArray[indexPath.row];
ActivityWebViewController *activityWebVC = [[ActivityWebViewController alloc] initWithLoadingMethod:loadingMethodLocal userId:nil shopId:nil activityId:itemModel.id1 productId:nil presentid:nil suitPresentid:nil];
// NSLog(@"当前cell的id %@",itemModel.id1);
activityWebVC.navTitle = @"活动详情";
[self.navigationController pushViewController:activityWebVC animated:YES];