| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // OrderDetailModelCell.m
- // RedAnt ERP Mobile
- //
- // Created by Ray on 8/28/15.
- // Copyright (c) 2015 United Software Applications, Inc. All rights reserved.
- //
- #import "OrderDetailModelCell.h"
- #import "RAUtils.h"
- #import "BundleModelViewController.h"
- #import "const.h"
- @implementation OrderDetailModelCell
- - (void)awakeFromNib {
- // Initialization code
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- - (IBAction)onBundleClick:(UIButton *)sender {
-
-
- UIViewController* vc=[RAUtils getViewController :sender];
-
-
- BundleModelViewController * bundleVC =[ vc.storyboard instantiateViewControllerWithIdentifier:@"BundleModelViewController"];
-
- bundleVC.content_data = self.bundle_item;
-
- UINavigationController* navi = [[UINavigationController alloc] initWithRootViewController:bundleVC] ;
-
-
-
-
-
-
- navi.modalPresentationStyle = UIModalTransitionStyleCrossDissolve;//有三种状态,自己看看是哪种
- [vc presentViewController:navi animated:YES completion:^{
-
- // navi.view.superview.bounds = CGRectMake(0, 0, 480, 320);
-
- DebugLog(@"bundle present.........");
-
- // self.btop = false;
- // <#code#>
- }];
- }
- @end
|