Commit 7958a6622cab110f4567a831760642de49b52bf9

Authored by yinqiaojuan
0 parents

0.0.1

Showing 61 changed files with 2502 additions and 0 deletions
.gitignore 0 → 100644
  1 +++ a/.gitignore
  1 +# OS X
  2 +.DS_Store
  3 +
  4 +# Xcode
  5 +build/
  6 +Products/
  7 +*.pbxuser
  8 +!default.pbxuser
  9 +*.mode1v3
  10 +!default.mode1v3
  11 +*.mode2v3
  12 +!default.mode2v3
  13 +*.perspectivev3
  14 +!default.perspectivev3
  15 +xcuserdata/
  16 +*.xccheckout
  17 +profile
  18 +*.moved-aside
  19 +DerivedData
  20 +*.hmap
  21 +*.ipa
  22 +
  23 +# Bundler
  24 +.bundle
  25 +
  26 +# Add this line if you want to avoid checking in source code from Carthage dependencies.
  27 +# Carthage/Checkouts
  28 +
  29 +Carthage/Build
  30 +
  31 +# We recommend against adding the Pods directory to your .gitignore. However
  32 +# you should judge for yourself, the pros and cons are mentioned at:
  33 +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
  34 +#
  35 +# Note: if you ignore the Pods directory, make sure to uncomment
  36 +# `pod install` in .travis.yml
  37 +#
  38 +# Pods/
... ...
.travis.yml 0 → 100644
  1 +++ a/.travis.yml
  1 +# references:
  2 +# * https://www.objc.io/issues/6-build-tools/travis-ci/
  3 +# * https://github.com/supermarin/xcpretty#usage
  4 +
  5 +osx_image: xcode7.3
  6 +language: objective-c
  7 +# cache: cocoapods
  8 +# podfile: Example/Podfile
  9 +# before_install:
  10 +# - gem install cocoapods # Since Travis is not always on latest version
  11 +# - pod install --project-directory=Example
  12 +script:
  13 +- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/CNLiveMyOrderModule.xcworkspace -scheme CNLiveMyOrderModule-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
  14 +- pod lib lint
... ...
CNLiveMyOrderModule.podspec 0 → 100644
  1 +++ a/CNLiveMyOrderModule.podspec
  1 +#
  2 +# Be sure to run `pod lib lint CNLiveMyOrderModule.podspec' to ensure this is a
  3 +# valid spec before submitting.
  4 +#
  5 +# Any lines starting with a # are optional, but their use is encouraged
  6 +# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
  7 +#
  8 +
  9 +Pod::Spec.new do |s|
  10 + s.name = 'CNLiveMyOrderModule'
  11 + s.version = '0.0.1'
  12 + s.summary = '我的订单组件化'
  13 +
  14 +# This description is used to generate tags and improve search results.
  15 +# * Think: What does it do? Why did you write it? What is the focus?
  16 +# * Try to keep it short, snappy and to the point.
  17 +# * Write the description between the DESC delimiters below.
  18 +# * Finally, don't worry about the indent, CocoaPods strips it!
  19 +
  20 + s.description = <<-DESC
  21 +TODO: Add long description of the pod here.
  22 + DESC
  23 +
  24 + s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveMyOrderModule'
  25 + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  26 + s.license = { :type => 'MIT', :file => 'LICENSE' }
  27 + s.author = { '殷巧娟' => '1427945373@qq.com' }
  28 + s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveMyOrderModule.git', :tag => s.version.to_s }
  29 + # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  30 +
  31 + s.ios.deployment_target = '9.0'
  32 +
  33 +# s.source_files = 'CNLiveMyOrderModule/Classes/**/*'
  34 +
  35 + s.dependency 'JXCategoryView'
  36 +# s.dependency 'CNLiveCommonClass'
  37 + s.subspec 'Controller' do |controller|
  38 + controller.source_files = 'CNLiveMyOrderModule/Classes/Controller/*.{h,m}'
  39 + controller.dependency 'CNLiveCommonClass'
  40 + controller.dependency 'CNLiveCommonCategory'
  41 + controller.dependency 'CNLiveBaseKit'
  42 + controller.dependency 'CNLiveTripartiteManagement/Masonry'
  43 + controller.dependency 'CNLiveMyOrderModule/ViewModel'
  44 + end
  45 + s.subspec 'View' do |view|
  46 + view.source_files = 'CNLiveMyOrderModule/Classes/View/*.{h,m}'
  47 + view.dependency 'CNLiveTripartiteManagement/QMUIKit'
  48 + view.dependency 'CNLiveTripartiteManagement/Masonry'
  49 + end
  50 + s.subspec 'ViewModel' do |viewModel|
  51 + viewModel.source_files = 'CNLiveMyOrderModule/Classes/ViewModel/*.{h,m}'
  52 + viewModel.dependency 'CNLiveUserManagement'
  53 + viewModel.dependency 'CNLiveEnvironment'
  54 + viewModel.dependency 'CNLiveRequestBastKit'
  55 + viewModel.dependency 'CNLiveMyOrderModule/Model'
  56 + end
  57 + s.subspec 'Module' do |modules|
  58 + modules.source_files = 'CNLiveMyOrderModule/Classes/Module/*.{h,m}'
  59 +
  60 + end
  61 + s.subspec 'Model' do |model|
  62 + model.source_files = 'CNLiveMyOrderModule/Classes/Model/*.{h,m}'
  63 + model.dependency 'CNLiveTripartiteManagement/MJExtension'
  64 + model.dependency 'CNLiveBaseKit'
  65 + end
  66 + s.subspec 'Service' do |service|
  67 + service.source_files = 'CNLiveMyOrderModule/Classes/Service/*.{h,m}'
  68 + end
  69 + s.dependency 'CNLiveBeeHive'
  70 + s.dependency 'CNLiveServices'
  71 + s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
  72 + }
  73 + # s.resource_bundles = {
  74 + # 'CNLiveMyOrderModule' => ['CNLiveMyOrderModule/Assets/*.png']
  75 + # }
  76 +
  77 + # s.public_header_files = 'Pod/Classes/**/*.h'
  78 + # s.frameworks = 'UIKit', 'MapKit'
  79 + # s.dependency 'AFNetworking', '~> 2.3'
  80 +end
... ...
CNLiveMyOrderModule/Assets/.gitkeep 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Assets/.gitkeep
... ...
CNLiveMyOrderModule/Classes/Controller/CNLiveMyOrderController.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Controller/CNLiveMyOrderController.h
  1 +//
  2 +// CNLiveMyOrderController.h
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/15.
  6 +//
  7 +
  8 +#import "CNCommonViewController.h"
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveMyOrderController : CNCommonViewController
  13 +- (void)getOrderType:(NSInteger)type;
  14 +@end
  15 +
  16 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Controller/CNLiveMyOrderController.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Controller/CNLiveMyOrderController.m
  1 +//
  2 +// CNLiveMyOrderController.m
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/15.
  6 +//
  7 +
  8 +#import "CNLiveMyOrderController.h"
  9 +#import "JXCategoryTitleView.h"
  10 +#import "JXCategoryIndicatorLineView.h"
  11 +#import "UIColor+CNLiveExtension.h"
  12 +#import "CNLiveDefinesHeader.h"
  13 +#import <Masonry/Masonry.h>
  14 +#import "CNLiveServiceOrderController.h"
  15 +static const CGFloat KCategoryViewHeight = 44;
  16 +@interface CNLiveMyOrderController ()<JXCategoryViewDelegate,UIScrollViewDelegate>
  17 +@property (nonatomic, strong) JXCategoryTitleView *titleCategoryView;
  18 +@property (nonatomic, strong) NSArray *titles;
  19 +@property (nonatomic, strong) UIScrollView *scrollView;
  20 +
  21 +@end
  22 +
  23 +@implementation CNLiveMyOrderController
  24 +
  25 +- (void)viewWillAppear:(BOOL)animated {
  26 + [super viewWillAppear:animated];
  27 + self.navigationController.navigationBarHidden = NO;
  28 +}
  29 +#pragma mark - 前一个页面传过来点击哪个
  30 +- (void)getOrderType:(NSInteger)type {
  31 +
  32 +}
  33 +- (void)viewDidLoad {
  34 + [super viewDidLoad];
  35 + self.titles = @[@"服务订单",@"商品订单",@"餐饮订单"];
  36 + [self addSubViews];
  37 +}
  38 +#pragma mark - initWithViews
  39 +- (void)addSubViews {
  40 + [self.view addSubview:self.scrollView];
  41 +}
  42 +- (void)viewDidLayoutSubviews {
  43 + [super viewDidLayoutSubviews];
  44 + self.titleCategoryView.frame = CGRectMake(60, kVerticalStatusHeight, KScreenWidth -120 , KCategoryViewHeight);
  45 +}
  46 +#pragma mark - JXCategoryDelegate
  47 +- (void)categoryView:(JXCategoryBaseView *)categoryView didSelectedItemAtIndex:(NSInteger)index
  48 +{
  49 +
  50 +}
  51 +#pragma mark - 懒加载
  52 +
  53 +- (JXCategoryTitleView *)titleCategoryView{
  54 + if (!_titleCategoryView) {
  55 + _titleCategoryView = [[JXCategoryTitleView alloc]initWithFrame:CGRectMake(60, kVerticalStatusHeight, KScreenWidth -120 , KCategoryViewHeight)];
  56 + _titleCategoryView.titles = self.titles;
  57 + _titleCategoryView.delegate = self;
  58 + _titleCategoryView.titleColor = CNLiveColorWithHexString(@"333333");
  59 + _titleCategoryView.titleSelectedColor = CNLiveColorWithHexString(@"23D41E");
  60 + _titleCategoryView.titleFont = [UIFont systemFontOfSize:16];
  61 + _titleCategoryView.titleLabelZoomScale = 1.0;
  62 + _titleCategoryView.collectionView.scrollEnabled = NO;
  63 + _titleCategoryView.titleLabelZoomEnabled = NO;
  64 + _titleCategoryView.cellWidth = 60;
  65 + _titleCategoryView.collectionView.frame = _titleCategoryView.bounds;
  66 +// _titleCategoryView.selectedIndex = 0
  67 + JXCategoryIndicatorLineView *lineView = [[JXCategoryIndicatorLineView alloc] init];
  68 + lineView.indicatorColor = CNLiveColorWithHexString(@"23D41E");
  69 + lineView.indicatorWidth = JXCategoryViewAutomaticDimension;
  70 + _titleCategoryView.indicators = @[lineView];
  71 + _titleCategoryView.contentScrollView = self.scrollView;
  72 + self.navigationItem.titleView = self.titleCategoryView;
  73 + }
  74 + return _titleCategoryView;
  75 +}
  76 +- (UIScrollView *)scrollView {
  77 +
  78 + if (!_scrollView) {
  79 + CGFloat scrollW = KScreenWidth;
  80 + CGFloat scrollH = KScreenHeight - kNavigationBarHeight;
  81 + _scrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0,kNavigationBarHeight,scrollW, scrollH)];
  82 + _scrollView.contentSize = CGSizeMake(scrollW *3, scrollH);
  83 + _scrollView.backgroundColor = [UIColor whiteColor];
  84 + _scrollView.showsHorizontalScrollIndicator = NO;
  85 + _scrollView.showsVerticalScrollIndicator = NO;
  86 + _scrollView.pagingEnabled = NO;
  87 + _scrollView.scrollEnabled = NO;
  88 + _scrollView.delegate = self;
  89 + CNLiveServiceOrderController *serviceVc = [[CNLiveServiceOrderController alloc]init];
  90 + [self addChildViewController:serviceVc];
  91 + serviceVc.view.frame = CGRectMake(0, 0, scrollW, scrollH);
  92 +// serviceVc.view.backgroundColor = [UIColor cyanColor];
  93 + [_scrollView addSubview:serviceVc.view];
  94 + CNLiveServiceOrderController *goodsVc = [[CNLiveServiceOrderController alloc]init];
  95 + [self addChildViewController:goodsVc];
  96 + goodsVc.view.frame = CGRectMake(scrollW, 0, scrollW, scrollH);
  97 +// goodsVc.view.backgroundColor = [UIColor greenColor];
  98 + [_scrollView addSubview:goodsVc.view];
  99 + CNLiveServiceOrderController *foodVc = [[CNLiveServiceOrderController alloc]init];
  100 + [self addChildViewController:foodVc];
  101 + foodVc.view.frame = CGRectMake(scrollW *2, 0, scrollW, scrollH);
  102 +// foodVc.view.backgroundColor = [UIColor purpleColor];
  103 + [_scrollView addSubview:foodVc.view];
  104 +
  105 + }
  106 + return _scrollView;
  107 +}
  108 +@end
... ...
CNLiveMyOrderModule/Classes/Controller/CNLiveServiceOrderController.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Controller/CNLiveServiceOrderController.h
  1 +//
  2 +// CNLiveServiceOrderController.h
  3 +// AFNetworking
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/15.
  6 +//
  7 +
  8 +#import "CNCommonViewController.h"
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveServiceOrderController : CNCommonViewController
  13 +@end
  14 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Controller/CNLiveServiceOrderController.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Controller/CNLiveServiceOrderController.m
  1 +//
  2 +// CNLiveServiceOrderController.m
  3 +// AFNetworking
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/15.
  6 +//
  7 +
  8 +#import "CNLiveServiceOrderController.h"
  9 +#import "JXCategoryTitleView.h"
  10 +#import "JXCategoryIndicatorLineView.h"
  11 +#import "UIColor+CNLiveExtension.h"
  12 +#import "CNLiveDefinesHeader.h"
  13 +#import "CNLiveOrderViewModel.h"
  14 +#import <Masonry/Masonry.h>
  15 +#define kLineGrayColor [UIColor colorWithRed:0.95 green:0.95 blue:0.95 alpha:1.00]
  16 +static const CGFloat KCategoryViewHeight = 44;
  17 +@interface CNLiveServiceOrderController ()<JXCategoryViewDelegate>
  18 +@property (nonatomic, strong) NSArray *titles;
  19 +@property (nonatomic, strong) JXCategoryTitleView *categoryView;
  20 +@property (nonatomic, strong) UIScrollView *scrollView;
  21 +@property (nonatomic, assign) NSInteger Page;
  22 +@property (nonatomic, strong) NSMutableArray *dataSource;
  23 +@property (nonatomic, strong) UITableView *allTblView; //全部订单
  24 +@property (nonatomic, strong) UITableView *payTblView; //待付款
  25 +@property (nonatomic, strong) UITableView *goodsTblView; //待收货
  26 +@property (nonatomic, strong) UITableView *evaluateTblView; //待评价
  27 +@property (nonatomic, strong) UIView *line;
  28 +@end
  29 +
  30 +@implementation CNLiveServiceOrderController
  31 +
  32 +- (void)viewDidLoad {
  33 + [super viewDidLoad];
  34 + self.titles = @[@"全部",@"待付款",@"待收货",@"待评价"];
  35 + [self addSubViews];
  36 +}
  37 +
  38 +#pragma mark - initView
  39 +- (void)addSubViews {
  40 + [self.view addSubview:self.scrollView];
  41 + [self.view addSubview:self.categoryView];
  42 + [self.view addSubview:self.line];
  43 + [self setUpLayout];
  44 +}
  45 +- (void)setUpLayout {
  46 + [_line mas_makeConstraints:^(MASConstraintMaker *make) {
  47 + make.left.right.mas_equalTo(self.view);
  48 + make.top.mas_equalTo(self.categoryView.mas_bottom);
  49 + make.height.mas_equalTo(1);
  50 + }];
  51 +}
  52 +#pragma mark - requestData
  53 +- (void)requestOrderList:(NSInteger)page status:(NSInteger)ststus refresh:(BOOL)refresh {
  54 + [CNLiveOrderViewModel requestDataWithPage:page status:ststus success:^(NSMutableArray * _Nonnull dataSource, BOOL isHaveNet) {
  55 +
  56 + } failure:^(NSError * _Nonnull error) {
  57 +
  58 + }];
  59 +}
  60 +#pragma mark -CategoryViewDelegate
  61 +- (void)categoryView:(JXCategoryBaseView *)categoryView didSelectedItemAtIndex:(NSInteger)index {
  62 + switch (index) {
  63 + case 0:
  64 + {
  65 + //全部订单
  66 + }
  67 + break;
  68 + case 1:{
  69 + //待付款
  70 + }
  71 + break;
  72 + case 2:{
  73 + //待收货
  74 + }
  75 + break;
  76 + case 3:{
  77 + //待评价
  78 + }
  79 + break;
  80 + default:
  81 + break;
  82 + }
  83 +}
  84 +#pragma mark - 懒加载
  85 +- (JXCategoryTitleView *)categoryView{
  86 + if (!_categoryView) {
  87 + _categoryView= [[JXCategoryTitleView alloc]initWithFrame:CGRectMake(0, 0, KScreenWidth, KCategoryViewHeight)];
  88 + _categoryView.titles = self.titles;
  89 + _categoryView.delegate = self;
  90 + _categoryView.titleColor = CNLiveColorWithHexString(@"333333");
  91 + _categoryView.titleSelectedColor = CNLiveColorWithHexString(@"23D41E");
  92 + _categoryView.titleFont = [UIFont systemFontOfSize:16];
  93 + _categoryView.titleLabelZoomScale = 1.0;
  94 + _categoryView.collectionView.scrollEnabled = NO;
  95 + _categoryView.titleLabelZoomEnabled = NO;
  96 + _categoryView.cellWidth = 60;
  97 + _categoryView.collectionView.frame = _categoryView.bounds;
  98 + _categoryView.separatorLineShowEnabled = YES;
  99 +// _titleCategoryView.selectedIndex = 0
  100 + JXCategoryIndicatorLineView *lineView = [[JXCategoryIndicatorLineView alloc] init];
  101 + lineView.indicatorColor = CNLiveColorWithHexString(@"23D41E");
  102 + lineView.indicatorWidth = JXCategoryViewAutomaticDimension;
  103 + _categoryView.indicators = @[lineView];
  104 + _categoryView.contentScrollView = self.scrollView;
  105 + }
  106 + return _categoryView;
  107 +}
  108 +- (UIScrollView *)scrollView {
  109 + if (!_scrollView) {
  110 + CGFloat scrollW = KScreenWidth;
  111 + CGFloat scrollH = KScreenHeight;
  112 + _scrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 0 , scrollW, scrollH)];
  113 +// _scrollView.backgroundColor = [UIColor cyanColor];
  114 + _scrollView.contentSize = CGSizeMake(scrollW *4, scrollH);
  115 + _scrollView.showsHorizontalScrollIndicator = NO;
  116 + _scrollView.showsVerticalScrollIndicator = NO;
  117 + _scrollView.pagingEnabled = NO;
  118 + _scrollView.scrollEnabled = NO;
  119 + }
  120 + return _scrollView;
  121 +}
  122 +- (JXCategoryTitleView *)myCategoryView {
  123 + return (JXCategoryTitleView *)self.categoryView;
  124 +}
  125 +
  126 +- (JXCategoryBaseView *)preferredCategoryView {
  127 + return [[JXCategoryTitleView alloc] init];
  128 +}
  129 +- (UIView *)line {
  130 + if (!_line) {
  131 + _line = [[UIView alloc]init];
  132 + _line.backgroundColor = kLineGrayColor;
  133 + }
  134 + return _line;
  135 +}
  136 +@end
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveAdminAddressModel.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveAdminAddressModel.h
  1 +//
  2 +// CNLiveAdminAddressModel.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/14.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveAdminAddressModel : NSObject
  13 +@property (nonatomic, strong) NSString *contactName; //收货人
  14 +@property (nonatomic, strong) NSString *contactPhone; //电话
  15 +@property (nonatomic, strong) NSString *address; //地址
  16 +@property (nonatomic, strong) NSString *contactId; //Id
  17 +@property (nonatomic, strong) NSString *defaultContact; //默认地址
  18 +@property (nonatomic, assign) BOOL localDefault; //本地默认地址
  19 +@property (nonatomic, assign) BOOL fromChat;
  20 +- (CGFloat)rowHeight;
  21 +@end
  22 +
  23 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveAdminAddressModel.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveAdminAddressModel.m
  1 +//
  2 +// CNLiveAdminAddressModel.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/14.
  6 +//
  7 +
  8 +#import "CNLiveAdminAddressModel.h"
  9 +#import "CNLiveBaseKit.h"
  10 +@interface CNLiveAdminAddressModel ()
  11 +@property (nonatomic, assign) CGFloat height;
  12 +@end
  13 +
  14 +@implementation CNLiveAdminAddressModel
  15 +- (CGFloat)rowHeight {
  16 +
  17 + if (_height) {
  18 + return _height;
  19 + } else {
  20 + return [self calculateHeight];
  21 + }
  22 +
  23 + return 0;
  24 +}
  25 +
  26 +- (CGFloat)calculateHeight {
  27 +
  28 + if (self.fromChat) {
  29 + CGSize size = CGSizeZero;
  30 + if (self.localDefault) {
  31 + size = [[NSString stringWithFormat:@"收货地址: %@", _address] textSizeIn:CGSizeMake(KScreenWidth-100, HUGE_VAL) font:[UIFont systemFontOfSize:13.0f]];
  32 + } else {
  33 + size = [[NSString stringWithFormat:@"收货地址: %@", _address] textSizeIn:CGSizeMake(KScreenWidth-70, HUGE_VAL) font:[UIFont systemFontOfSize:13.0f]];
  34 + }
  35 +
  36 + _height = size.height+42+16;
  37 + return size.height+42+16; //42:地址上边距 16:地址下边距
  38 +
  39 + } else {
  40 + /*
  41 + 上白 20
  42 + 收货人 size1
  43 + 收货人下地址上 16
  44 + 地址 size
  45 + 地址下白线上 19
  46 + 线 0.5
  47 + 线下button上 18
  48 + button 29
  49 + button下 18
  50 +
  51 + */
  52 + CGSize size = [[NSString stringWithFormat:@"收货地址: %@", _address] textSizeIn:CGSizeMake(KScreenWidth-40, HUGE_VAL) font:UIFontCNMake(15)];
  53 + CGSize size1 = [@"收货人" textSizeIn:CGSizeMake(KScreenWidth-40, HUGE_VAL) font:UIFontCNMake(15)];//收货人的字体高度
  54 +
  55 + _height = 20+size1.height+16+size.height+19+0.5+18+29*RATIO+22;
  56 + return _height; //20:收货人高度 40:底部button高度
  57 +
  58 + }
  59 +
  60 +}
  61 +
  62 +@end
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveDefaultAddressItem.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveDefaultAddressItem.h
  1 +//
  2 +// CNLiveDefaultAddressItem.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveDefaultAddressItem : NSObject
  13 +@property (nonatomic ,copy) NSString *defaultContactAddress; //地址
  14 +@property (nonatomic ,copy) NSString *defaultContactName; //名称
  15 +@property (nonatomic ,copy) NSString *defaultContactPhone; //联系电话
  16 +@end
  17 +
  18 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveDefaultAddressItem.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveDefaultAddressItem.m
  1 +//
  2 +// CNLiveDefaultAddressItem.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "CNLiveDefaultAddressItem.h"
  9 +
  10 +@implementation CNLiveDefaultAddressItem
  11 +
  12 +@end
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveEditGoodsModel.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveEditGoodsModel.h
  1 +//
  2 +// CNLiveEditGoodsModel.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveEditGoodsModel : NSObject
  13 +@property (nonatomic, strong) NSString *title;
  14 +@property (nonatomic, assign) NSInteger quantity;
  15 +@property (nonatomic, assign) CGFloat price;
  16 +@property (nonatomic, strong) NSString *goodsId;
  17 +@end
  18 +
  19 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveEditGoodsModel.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveEditGoodsModel.m
  1 +//
  2 +// CNLiveEditGoodsModel.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "CNLiveEditGoodsModel.h"
  9 +
  10 +@implementation CNLiveEditGoodsModel
  11 +
  12 +@end
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveMineOrderItem.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveMineOrderItem.h
  1 +//
  2 +// CNLiveMineOrderItem.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +#import "CNLiveOrderList.h"
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +typedef NS_ENUM(NSUInteger, CNLiveMineOrderItemType) {
  13 + CNLiveMineOrderItemTypeIcon = 0,
  14 + CNLiveMineOrderItemTypeKind,
  15 + CNLiveMineOrderItemTypeServiceType,
  16 + CNLiveMineOrderItemTypeFee,
  17 + CNLiveMineOrderItemTypeTotal,
  18 + CNLiveMineOrderItemTypeFunction,
  19 + CNLiveMineOrderItemTypeAddress
  20 +};
  21 +@interface CNLiveMineOrderItem : NSObject
  22 +@property (nonatomic, strong) CNLiveOrderList *orderList;
  23 +@property (nonatomic, assign) CNLiveMineOrderItemType type;
  24 +@end
  25 +typedef NS_ENUM(NSUInteger, CNLiveMineOrderButtonItemType) {
  26 + CNLiveMineOrderButtonItemTypeCancel = 0, //取消订单
  27 + CNLiveMineOrderButtonItemTypeError, //订单有误
  28 + CNLiveMineOrderButtonItemTypeConfirm, //确认订单
  29 + CNLiveMineOrderButtonItemTypeEvaluate, //评价
  30 + CNLiveMineOrderButtonItemTypeDelete, //删除订单
  31 + CNLiveMineOrderButtonItemTypeContactDaRen, //联系达人
  32 + CNLiveMineOrderButtonItemTypePay, //付款
  33 + CNLiveMineOrderButtonItemTypeReminder, //催单
  34 + CNLiveMineOrderButtonItemTypeRefund, //申请退款
  35 + CNLiveMineOrderButtonItemTypeRefundDetail, //退款详情
  36 + CNLiveMineOrderButtonItemTypeConfirmReceipt, //确认收货
  37 + CNLiveMineOrderButtonItemTypeConfirmLogistics, //查看物流
  38 +};
  39 +
  40 +typedef NS_ENUM(NSUInteger, CNLiveMineOrderButtonType) {
  41 + CNLiveMineOrderButtonTypeGray = 0,
  42 + CNLiveMineOrderButtonTypeRed,
  43 +};
  44 +@interface CNLiveMineOrderButtonItem : NSObject
  45 +@property (nonatomic, strong) NSString *title;
  46 +@property (nonatomic, assign) NSInteger tag;
  47 +@property (nonatomic, assign) CNLiveMineOrderButtonType type;
  48 ++ (CNLiveMineOrderButtonItem *)title:(NSString *)title type:(CNLiveMineOrderButtonType)type tag:(CNLiveMineOrderButtonItemType)tag;
  49 +@end
  50 +NS_ASSUME_NONNULL_END
  51 +
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveMineOrderItem.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveMineOrderItem.m
  1 +//
  2 +// CNLiveMineOrderItem.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "CNLiveMineOrderItem.h"
  9 +
  10 +@implementation CNLiveMineOrderItem
  11 +
  12 + @end
  13 +
  14 +@implementation CNLiveMineOrderButtonItem
  15 +
  16 ++ (CNLiveMineOrderButtonItem *)title:(NSString *)title type:(CNLiveMineOrderButtonType)type tag:(CNLiveMineOrderButtonItemType)tag {
  17 + CNLiveMineOrderButtonItem *item = [[CNLiveMineOrderButtonItem alloc] init];
  18 + item.title = title;
  19 + item.type = type;
  20 + item.tag = tag;
  21 + return item;
  22 +}
  23 +@end
  24 +
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderContactItem.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderContactItem.h
  1 +//
  2 +// CNLiveOrderContactItem.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveOrderContactItem : NSObject
  13 +@property (nonatomic ,copy) NSString *contactName; //名字
  14 +@property (nonatomic ,copy) NSString *contactAddress; //地址
  15 +@property (nonatomic ,copy) NSString *contactPhone; //联系电话
  16 +@end
  17 +
  18 +NS_ASSUME_NONNULL_END
  19 +
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderContactItem.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderContactItem.m
  1 +//
  2 +// CNLiveOrderContactItem.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "CNLiveOrderContactItem.h"
  9 +
  10 +@implementation CNLiveOrderContactItem
  11 +
  12 +@end
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderList.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderList.h
  1 +//
  2 +// CNLiveOrderList.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +#import "CNLiveOrderListIconBean.h"
  10 +#import "CNLiveOrderListOrderItem.h"
  11 +#import "CNLiveOrderContactItem.h"
  12 +#import "CNLiveOrderRefundItem.h"
  13 +#import "CNLiveDefaultAddressItem.h"
  14 +NS_ASSUME_NONNULL_BEGIN
  15 +
  16 +@interface CNLiveOrderList : NSObject
  17 +@property (nonatomic ,strong) CNLiveOrderListIconBean *iconBean; //达人信息
  18 +@property (nonatomic ,strong) CNLiveOrderListOrderItem *orderItem; //订单内容
  19 +@property (nonatomic ,strong) CNLiveOrderRefundItem *refundMsg; //退款详情
  20 +@property (nonatomic ,strong) CNLiveOrderContactItem *contactMsg; //收货人信息
  21 +@property (nonatomic ,strong) CNLiveDefaultAddressItem *defaultContactMsg; //默认收货地址
  22 +@end
  23 +
  24 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderList.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderList.m
  1 +//
  2 +// CNLiveOrderList.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "CNLiveOrderList.h"
  9 +
  10 +@implementation CNLiveOrderList
  11 +
  12 +@end
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderListIconBean.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderListIconBean.h
  1 +//
  2 +// CNLiveOrderListIconBean.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveOrderListIconBean : NSObject
  13 +@property (nonatomic ,copy) NSString *nickName; //昵称
  14 +@property (nonatomic ,copy) NSString *userId; //id
  15 +@property (nonatomic ,copy) NSString *image; //头像
  16 +@end
  17 +
  18 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderListIconBean.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderListIconBean.m
  1 +//
  2 +// CNLiveOrderListIconBean.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "CNLiveOrderListIconBean.h"
  9 +
  10 +@implementation CNLiveOrderListIconBean
  11 +
  12 +@end
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderListOrderItem.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderListOrderItem.h
  1 +//
  2 +// CNLiveOrderListOrderItem.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +#import "CNLiveEditGoodsModel.h"
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +@interface CNLiveOrderListOrderItem : NSObject
  12 +@property (nonatomic ,copy) NSString *transactionId; //后台内部流水号
  13 +@property (nonatomic ,copy) NSString *serviceImage; //
  14 +@property (nonatomic ,copy) NSString *nickName; //昵称
  15 +@property (nonatomic ,copy) NSString *categoryName; //服务名称
  16 +@property (nonatomic ,copy) NSString *confirmTime; //确认时间
  17 +@property (nonatomic ,copy) NSString *createTime; //生成时间
  18 +@property (nonatomic ,copy) NSString *deliveryTime; //发货时间
  19 +@property (nonatomic ,copy) NSString *payTime; //支付时间
  20 +@property (nonatomic ,copy) NSString *takeDeliveryTime; //收货时间
  21 +@property (nonatomic ,copy) NSString *title; //标题
  22 +@property (nonatomic ,copy) NSString *distributionContent; //配送方式名称
  23 +@property (nonatomic ,copy) NSString *distributionType; //配送方式Id
  24 +@property (nonatomic ,copy) NSString *category; //服务类别Id
  25 +@property (nonatomic ,copy) NSString *orderId; //流水号
  26 +@property (nonatomic ,copy) NSString *orderType; //订单类型 0.普通订单 1.二维码订单 3.d金色飞鹰
  27 +@property (nonatomic ,copy) NSString *note; //
  28 +@property (nonatomic ,assign) NSInteger countdown; //倒计时
  29 +@property (nonatomic ,assign) NSInteger status; //状态
  30 +@property (nonatomic ,assign) float fee; //服务费
  31 +@property (nonatomic ,assign) float price; //单价
  32 +@property (nonatomic ,assign) float freight; //运费
  33 +@property (nonatomic ,assign) NSInteger quantity; //数量
  34 +@property (nonatomic ,assign) CGFloat totalPrice; //实际支付金额
  35 +@property (nonatomic ,assign) CGFloat goodsTotalPrice; //商品总价
  36 +@property (nonatomic ,assign) BOOL commentable; //是否已经评论
  37 +@property (nonatomic ,assign) BOOL refundable; //可否退款
  38 +@property (nonatomic ,strong) NSArray <CNLiveEditGoodsModel *>* goodsInfo; //商品列表
  39 +
  40 + //获取订单列表页cellHeight
  41 +- (CGFloat)cellHeight;
  42 +
  43 +@end
  44 +
  45 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderListOrderItem.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderListOrderItem.m
  1 +//
  2 +// CNLiveOrderListOrderItem.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "CNLiveOrderListOrderItem.h"
  9 +#import "MJExtension.h"
  10 +#import "CNLiveBaseKit.h"
  11 +@interface CNLiveOrderListOrderItem ()
  12 +@property (nonatomic , assign) CGFloat height;
  13 +@end
  14 +
  15 +@implementation CNLiveOrderListOrderItem
  16 +- (instancetype)init
  17 + {
  18 + if (self = [super init]) {
  19 + [self loadModel];
  20 + }
  21 + return self;
  22 + }
  23 +
  24 +- (void)loadModel
  25 + {
  26 + [CNLiveOrderListOrderItem mj_setupObjectClassInArray:^NSDictionary *{
  27 + return @{@"goodsInfo":[CNLiveEditGoodsModel class]};
  28 + }];
  29 + }
  30 +
  31 +- (CGFloat)cellHeight {
  32 +
  33 + if (_height) {
  34 + return _height;
  35 + }
  36 +
  37 + NSInteger goodsCount = 0;
  38 + if ([self.goodsInfo count] > 0) {
  39 + goodsCount = [self.goodsInfo count];
  40 + } else {
  41 + goodsCount = 1;
  42 + }
  43 +
  44 + // _height = 44 + goodsCount*25+42 + 40 + 51 + 10;
  45 + _height = 44*RATIO + goodsCount*80*RATIO + 42*RATIO + 5*RATIO + 51*RATIO + 10;
  46 +
  47 + return _height;
  48 +
  49 +}
  50 +
  51 + @end
  52 +
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderModel.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderModel.h
  1 +//
  2 +// CNLiveOrderModel.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +#import "CNLiveOrderList.h"
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +@interface CNLiveOrderModel : NSObject
  12 +@property (nonatomic ,assign) NSInteger total;//
  13 +@property (nonatomic ,assign) NSInteger pageNo;//
  14 +@property (nonatomic ,assign) NSInteger pageSize;//
  15 +@property (nonatomic ,assign) NSInteger current;//
  16 +@property (nonatomic ,assign) NSInteger totalPage;//
  17 +@property (nonatomic ,assign) BOOL last;//
  18 +@property (nonatomic ,assign) BOOL hasPrev;//
  19 +@property (nonatomic ,assign) BOOL hasNext;//
  20 +@property (nonatomic ,assign) BOOL first;//
  21 +@property (nonatomic ,strong) NSArray <CNLiveOrderList *>* orderList;//订单列表
  22 +@end
  23 +
  24 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderModel.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderModel.m
  1 +//
  2 +// CNLiveOrderModel.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +
  9 +#import "CNLiveOrderModel.h"
  10 +#import "MJExtension.h"
  11 +@implementation CNLiveOrderModel
  12 +- (instancetype)init
  13 +{
  14 + if (self = [super init]) {
  15 + [self loadModel];
  16 + }
  17 + return self;
  18 +}
  19 +
  20 +- (void)loadModel
  21 +{
  22 + [CNLiveOrderModel mj_setupObjectClassInArray:^NSDictionary *{
  23 + return @{@"orderList":[CNLiveOrderList class]};
  24 + }];
  25 +}
  26 +@end
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderRefundItem.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderRefundItem.h
  1 +//
  2 +// CNLiveOrderRefundItem.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +#import "CNLiveRefundImgPathItem.h"
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +@interface CNLiveOrderRefundItem : NSObject
  12 +@property (nonatomic ,copy) NSString *note; //备注
  13 +@property (nonatomic ,copy) NSString *payType; //类型,微信还是支付宝
  14 +@property (nonatomic ,copy) NSString *refundTime; //退款完成时间
  15 +@property (nonatomic ,copy) NSString *sellerAcceptTime; //达人受理时间
  16 +@property (nonatomic ,copy) NSString *platAcceptTime; //平台受理时间
  17 +@property (nonatomic ,copy) NSString *applyTime; //申请退款时间
  18 +@property (nonatomic ,copy) NSString *cause; //退款原因
  19 +@property (nonatomic ,assign) float refundSum; //退款金额
  20 +@property (nonatomic ,copy) NSString *reasonForRefusal; //拒绝退款原因
  21 +@property (nonatomic ,strong) NSArray <CNLiveRefundImgPathItem *>* imgPathArray;//图片URL数组
  22 +
  23 +@end
  24 +
  25 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveOrderRefundItem.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveOrderRefundItem.m
  1 +//
  2 +// CNLiveOrderRefundItem.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "CNLiveOrderRefundItem.h"
  9 +#import "MJExtension.h"
  10 +@implementation CNLiveOrderRefundItem
  11 +- (instancetype)init
  12 +{
  13 + if (self = [super init]) {
  14 + [self loadModel];
  15 + }
  16 + return self;
  17 +}
  18 +
  19 +- (void)loadModel
  20 +{
  21 + [CNLiveOrderRefundItem mj_setupObjectClassInArray:^NSDictionary *{
  22 + return @{@"imgPathArray":[CNLiveRefundImgPathItem class]};
  23 + }];
  24 +}
  25 +@end
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveRefundImgPathItem.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveRefundImgPathItem.h
  1 +//
  2 +// CNLiveRefundImgPathItem.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveRefundImgPathItem : NSObject
  13 +@property (nonatomic, copy) NSString *imagePath;
  14 +@property (nonatomic, copy) NSString *thumbnailPath;
  15 +@end
  16 +
  17 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/CNLiveRefundImgPathItem.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/CNLiveRefundImgPathItem.m
  1 +//
  2 +// CNLiveRefundImgPathItem.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "CNLiveRefundImgPathItem.h"
  9 +
  10 +@implementation CNLiveRefundImgPathItem
  11 +
  12 +@end
... ...
CNLiveMyOrderModule/Classes/Model/DSAddressModel.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/DSAddressModel.h
  1 +//
  2 +// DSAddressModel.h
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface DSAddressModel : NSObject
  13 +/**
  14 + 地址id
  15 +*/
  16 +@property (nonatomic,copy) NSString * id;
  17 +/**
  18 + 名称
  19 +*/
  20 +@property (nonatomic,copy) NSString * name;
  21 +/**
  22 + 联系电话
  23 +*/
  24 +@property (nonatomic,copy) NSString * phone;
  25 +/**
  26 + 用户填写的详细地址
  27 +*/
  28 +@property (nonatomic,copy) NSString * write_address;
  29 +/**
  30 + 详细地址
  31 +*/
  32 +@property (nonatomic,copy) NSString * address;
  33 +/**
  34 + 省id 0为没选择
  35 +*/
  36 +@property (nonatomic,copy) NSString * province_id;
  37 +/**
  38 + 市id 0为没选择
  39 +*/
  40 +@property (nonatomic,copy) NSString * city_id;
  41 +/**
  42 + 区县id 0为没选择
  43 +*/
  44 +@property (nonatomic,copy) NSString * area_id;
  45 +/**
  46 + 2为默认地址 其他为普通
  47 +*/
  48 +@property (nonatomic,assign) NSUInteger state;
  49 +/**
  50 + 用户id
  51 + */
  52 +@property (nonatomic,copy) NSString * uid;
  53 +/**
  54 + 省市县名称
  55 +*/
  56 +@property (nonatomic,copy) NSString * city_name;
  57 +@end
  58 +
  59 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Model/DSAddressModel.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Model/DSAddressModel.m
  1 +//
  2 +// DSAddressModel.m
  3 +// CNLiveMyOrder
  4 +//
  5 +// Created by 殷巧娟 on 2019/6/13.
  6 +//
  7 +
  8 +#import "DSAddressModel.h"
  9 +
  10 +@implementation DSAddressModel
  11 +
  12 +@end
... ...
CNLiveMyOrderModule/Classes/Module/CNLiveOrderModule.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Module/CNLiveOrderModule.h
  1 +//
  2 +// CNLiveOrderModule.h
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/16.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +#import <CNLiveBeeHive/BeeHive.h>
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveOrderModule : NSObject<BHModuleProtocol>
  13 +
  14 +@end
  15 +
  16 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Module/CNLiveOrderModule.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Module/CNLiveOrderModule.m
  1 +//
  2 +// CNLiveOrderModule.m
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/16.
  6 +//
  7 +
  8 +#import "CNLiveOrderModule.h"
  9 +
  10 +@implementation CNLiveOrderModule
  11 +
  12 +- (void)modSetUp:(BHContext *)context {
  13 + NSLog(@"modSetUp");
  14 +}
  15 +- (void)modInit:(BHContext *)context {
  16 + NSLog(@"modInit");
  17 +}
  18 +@end
... ...
CNLiveMyOrderModule/Classes/Service/CNLiveOrderService.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Service/CNLiveOrderService.h
  1 +//
  2 +// CNLiveOrderService.h
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/16.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveOrderService : NSObject
  13 +
  14 +@end
  15 +
  16 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/Service/CNLiveOrderService.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/Service/CNLiveOrderService.m
  1 +//
  2 +// CNLiveOrderService.m
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/16.
  6 +//
  7 +
  8 +#import "CNLiveOrderService.h"
  9 +#import "CNLiveOrderServiceProtocol.h"
  10 +#import "CNLiveMyOrderController.h"
  11 +#import <CNLiveBeeHive/BeeHive.h>
  12 +@interface CNLiveOrderService ()<CNLiveOrderServiceProtocol>
  13 +@end
  14 +
  15 +@BeeHiveService(CNLiveOrderServiceProtocol,CNLiveOrderService)
  16 +@implementation CNLiveOrderService
  17 +- (UIViewController *)getOrderViewController {
  18 + CNLiveMyOrderController *orderVc = [[CNLiveMyOrderController alloc]init];
  19 + return orderVc;
  20 +}
  21 +- (void)pushToOrderViewController:(NSInteger)index {
  22 + CNLiveMyOrderController *orderVc = [[CNLiveMyOrderController alloc]init];
  23 + [orderVc getOrderType:index];
  24 +}
  25 +@end
... ...
CNLiveMyOrderModule/Classes/View/CNLiveOrderListCommonView.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/View/CNLiveOrderListCommonView.h
  1 +//
  2 +// CNLiveOrderListCommonView.h
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/15.
  6 +//
  7 +
  8 +#import <UIKit/UIKit.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveOrderListCommonView : UIView
  13 +//订单状态 0-全部,1-代付款,2-待收货,3-待评价,4-全部退款 ,5退款中
  14 +- (instancetype)initWithFrame:(CGRect)frame orderStatus:(NSInteger)status;
  15 +//刷新数据
  16 +- (void)refreshData;
  17 +@end
  18 +
  19 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/View/CNLiveOrderListCommonView.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/View/CNLiveOrderListCommonView.m
  1 +//
  2 +// CNLiveOrderListCommonView.m
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/15.
  6 +//
  7 +
  8 +#import "CNLiveOrderListCommonView.h"
  9 +
  10 +@implementation CNLiveOrderListCommonView
  11 +
  12 +
  13 +@end
... ...
CNLiveMyOrderModule/Classes/ViewModel/CNLiveOrderViewModel.h 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/ViewModel/CNLiveOrderViewModel.h
  1 +//
  2 +// CNLiveOrderViewModel.h
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/15.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +@interface CNLiveOrderViewModel : NSObject
  12 +
  13 +/// 获取订单列表
  14 +/// @param page 页数
  15 +/// @param success 成功
  16 +/// @param failure 失败
  17 ++ (void)requestDataWithPage:(NSInteger)page status:(NSInteger)status success:(void (^)(NSMutableArray *dataSource,BOOL isHaveNet))success failure:(void (^)(NSError *error))failure;
  18 +
  19 +@end
  20 +
  21 +NS_ASSUME_NONNULL_END
... ...
CNLiveMyOrderModule/Classes/ViewModel/CNLiveOrderViewModel.m 0 → 100644
  1 +++ a/CNLiveMyOrderModule/Classes/ViewModel/CNLiveOrderViewModel.m
  1 +//
  2 +// CNLiveOrderViewModel.m
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 2019/11/15.
  6 +//
  7 +
  8 +#import "CNLiveOrderViewModel.h"
  9 +#import "CNUserInfoManager.h"
  10 +#import "CNLiveEnvironment.h"
  11 +#import "CNLiveNetworking.h"
  12 +#import "CNLiveOrderModel.h"
  13 +#import "MJExtension.h"
  14 +#import "CNLiveOrderList.h"
  15 +@implementation CNLiveOrderViewModel
  16 +#pragma mark - 获取订单列表
  17 ++ (void)requestDataWithPage:(NSInteger)page status:(NSInteger)status success:(void (^)(NSMutableArray *dataSource,BOOL isHaveNet))success failure:(void (^)(NSError *error))failure {
  18 + NSDictionary *param = @{@"appId":AppId,
  19 + @"sid":CNUserShareModel.uid,
  20 + @"status":[NSString stringWithFormat:@"%ld",(long)status],
  21 + @"pageNo":[NSString stringWithFormat:@"%ld", (long)page],
  22 + @"pageSize":@"15"
  23 + };
  24 + [CNLiveNetworking setCacheVersion:page];
  25 + [CNLiveNetworking setFilterArgument:@[@"pageNo"]];
  26 + [CNLiveNetworking requestNetworkWithMethod:CNLiveRequestMethodPOST URLString:CNGetOrderListUrl Param:param CacheType:CNLiveNetworkCacheTypeCacheNetwork CompletionBlock:^(NSURLSessionTask *requestTask, id responseObject, NSError *error) {
  27 + if (!error) {
  28 + NSMutableArray *array = [NSMutableArray array];
  29 + if (responseObject && [responseObject isKindOfClass:[NSDictionary class]]) {
  30 + NSDictionary *dic = [responseObject objectForKey:@"data"];
  31 + CNLiveOrderModel *model = [CNLiveOrderModel mj_objectWithKeyValues:dic];
  32 + for (CNLiveOrderList *orderList in model.orderList) {
  33 + [array addObject:orderList];
  34 + }
  35 + !success ? :success(array,model.hasNext);
  36 + }
  37 + }else {
  38 + !failure ? :failure(error);
  39 + }
  40 + }];
  41 +
  42 +}
  43 +@end
... ...
Example/CNLiveMyOrderModule.xcodeproj/project.pbxproj 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule.xcodeproj/project.pbxproj
  1 +// !$*UTF8*$!
  2 +{
  3 + archiveVersion = 1;
  4 + classes = {
  5 + };
  6 + objectVersion = 46;
  7 + objects = {
  8 +
  9 +/* Begin PBXBuildFile section */
  10 + 5848D8B58D0419A91C38A5BF /* Pods_CNLiveMyOrderModule_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A5DB9FD5E2848D814B8D85B9 /* Pods_CNLiveMyOrderModule_Example.framework */; };
  11 + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
  12 + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; };
  13 + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
  14 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; };
  15 + 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; };
  16 + 6003F59E195388D20070C39A /* CNLIVEAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* CNLIVEAppDelegate.m */; };
  17 + 6003F5A7195388D20070C39A /* CNLIVEViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* CNLIVEViewController.m */; };
  18 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; };
  19 + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; };
  20 + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
  21 + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
  22 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; };
  23 + 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; };
  24 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; };
  25 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; };
  26 + C110C257E45FCF6547F265BA /* Pods_CNLiveMyOrderModule_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B0E1FC7D610915521D38D50 /* Pods_CNLiveMyOrderModule_Tests.framework */; };
  27 +/* End PBXBuildFile section */
  28 +
  29 +/* Begin PBXContainerItemProxy section */
  30 + 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = {
  31 + isa = PBXContainerItemProxy;
  32 + containerPortal = 6003F582195388D10070C39A /* Project object */;
  33 + proxyType = 1;
  34 + remoteGlobalIDString = 6003F589195388D20070C39A;
  35 + remoteInfo = CNLiveMyOrderModule;
  36 + };
  37 +/* End PBXContainerItemProxy section */
  38 +
  39 +/* Begin PBXFileReference section */
  40 + 14B7439C19F15BD12B3920A7 /* Pods-CNLiveMyOrderModule_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveMyOrderModule_Example.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveMyOrderModule_Example/Pods-CNLiveMyOrderModule_Example.debug.xcconfig"; sourceTree = "<group>"; };
  41 + 1DA79A6989B0B8955B2D49F4 /* Pods-CNLiveMyOrderModule_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveMyOrderModule_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveMyOrderModule_Tests/Pods-CNLiveMyOrderModule_Tests.debug.xcconfig"; sourceTree = "<group>"; };
  42 + 3326D32649FED325F629D45F /* CNLiveMyOrderModule.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveMyOrderModule.podspec; path = ../CNLiveMyOrderModule.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  43 + 4E6714822F5F5131320B5EDF /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
  44 + 6003F58A195388D20070C39A /* CNLiveMyOrderModule_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveMyOrderModule_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
  45 + 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
  46 + 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
  47 + 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
  48 + 6003F595195388D20070C39A /* CNLiveMyOrderModule-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveMyOrderModule-Info.plist"; sourceTree = "<group>"; };
  49 + 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  50 + 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
  51 + 6003F59B195388D20070C39A /* CNLiveMyOrderModule-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveMyOrderModule-Prefix.pch"; sourceTree = "<group>"; };
  52 + 6003F59C195388D20070C39A /* CNLIVEAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLIVEAppDelegate.h; sourceTree = "<group>"; };
  53 + 6003F59D195388D20070C39A /* CNLIVEAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLIVEAppDelegate.m; sourceTree = "<group>"; };
  54 + 6003F5A5195388D20070C39A /* CNLIVEViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLIVEViewController.h; sourceTree = "<group>"; };
  55 + 6003F5A6195388D20070C39A /* CNLIVEViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLIVEViewController.m; sourceTree = "<group>"; };
  56 + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
  57 + 6003F5AE195388D20070C39A /* CNLiveMyOrderModule_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveMyOrderModule_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
  58 + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
  59 + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; };
  60 + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  61 + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; };
  62 + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; };
  63 + 6B0E1FC7D610915521D38D50 /* Pods_CNLiveMyOrderModule_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveMyOrderModule_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  64 + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
  65 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
  66 + 96C60BF1E95F51390B2208A7 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
  67 + A5DB9FD5E2848D814B8D85B9 /* Pods_CNLiveMyOrderModule_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveMyOrderModule_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  68 + A81C0EC36AF009A5569B424A /* Pods-CNLiveMyOrderModule_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveMyOrderModule_Example.release.xcconfig"; path = "Target Support Files/Pods-CNLiveMyOrderModule_Example/Pods-CNLiveMyOrderModule_Example.release.xcconfig"; sourceTree = "<group>"; };
  69 + B6E36FED29DCEF3DD09DEF0D /* Pods-CNLiveMyOrderModule_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveMyOrderModule_Tests.release.xcconfig"; path = "Target Support Files/Pods-CNLiveMyOrderModule_Tests/Pods-CNLiveMyOrderModule_Tests.release.xcconfig"; sourceTree = "<group>"; };
  70 +/* End PBXFileReference section */
  71 +
  72 +/* Begin PBXFrameworksBuildPhase section */
  73 + 6003F587195388D20070C39A /* Frameworks */ = {
  74 + isa = PBXFrameworksBuildPhase;
  75 + buildActionMask = 2147483647;
  76 + files = (
  77 + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */,
  78 + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */,
  79 + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */,
  80 + 5848D8B58D0419A91C38A5BF /* Pods_CNLiveMyOrderModule_Example.framework in Frameworks */,
  81 + );
  82 + runOnlyForDeploymentPostprocessing = 0;
  83 + };
  84 + 6003F5AB195388D20070C39A /* Frameworks */ = {
  85 + isa = PBXFrameworksBuildPhase;
  86 + buildActionMask = 2147483647;
  87 + files = (
  88 + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */,
  89 + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */,
  90 + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */,
  91 + C110C257E45FCF6547F265BA /* Pods_CNLiveMyOrderModule_Tests.framework in Frameworks */,
  92 + );
  93 + runOnlyForDeploymentPostprocessing = 0;
  94 + };
  95 +/* End PBXFrameworksBuildPhase section */
  96 +
  97 +/* Begin PBXGroup section */
  98 + 6003F581195388D10070C39A = {
  99 + isa = PBXGroup;
  100 + children = (
  101 + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */,
  102 + 6003F593195388D20070C39A /* Example for CNLiveMyOrderModule */,
  103 + 6003F5B5195388D20070C39A /* Tests */,
  104 + 6003F58C195388D20070C39A /* Frameworks */,
  105 + 6003F58B195388D20070C39A /* Products */,
  106 + E77C0FEC33A7933C57BFA933 /* Pods */,
  107 + );
  108 + sourceTree = "<group>";
  109 + };
  110 + 6003F58B195388D20070C39A /* Products */ = {
  111 + isa = PBXGroup;
  112 + children = (
  113 + 6003F58A195388D20070C39A /* CNLiveMyOrderModule_Example.app */,
  114 + 6003F5AE195388D20070C39A /* CNLiveMyOrderModule_Tests.xctest */,
  115 + );
  116 + name = Products;
  117 + sourceTree = "<group>";
  118 + };
  119 + 6003F58C195388D20070C39A /* Frameworks */ = {
  120 + isa = PBXGroup;
  121 + children = (
  122 + 6003F58D195388D20070C39A /* Foundation.framework */,
  123 + 6003F58F195388D20070C39A /* CoreGraphics.framework */,
  124 + 6003F591195388D20070C39A /* UIKit.framework */,
  125 + 6003F5AF195388D20070C39A /* XCTest.framework */,
  126 + A5DB9FD5E2848D814B8D85B9 /* Pods_CNLiveMyOrderModule_Example.framework */,
  127 + 6B0E1FC7D610915521D38D50 /* Pods_CNLiveMyOrderModule_Tests.framework */,
  128 + );
  129 + name = Frameworks;
  130 + sourceTree = "<group>";
  131 + };
  132 + 6003F593195388D20070C39A /* Example for CNLiveMyOrderModule */ = {
  133 + isa = PBXGroup;
  134 + children = (
  135 + 6003F59C195388D20070C39A /* CNLIVEAppDelegate.h */,
  136 + 6003F59D195388D20070C39A /* CNLIVEAppDelegate.m */,
  137 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */,
  138 + 6003F5A5195388D20070C39A /* CNLIVEViewController.h */,
  139 + 6003F5A6195388D20070C39A /* CNLIVEViewController.m */,
  140 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */,
  141 + 6003F5A8195388D20070C39A /* Images.xcassets */,
  142 + 6003F594195388D20070C39A /* Supporting Files */,
  143 + );
  144 + name = "Example for CNLiveMyOrderModule";
  145 + path = CNLiveMyOrderModule;
  146 + sourceTree = "<group>";
  147 + };
  148 + 6003F594195388D20070C39A /* Supporting Files */ = {
  149 + isa = PBXGroup;
  150 + children = (
  151 + 6003F595195388D20070C39A /* CNLiveMyOrderModule-Info.plist */,
  152 + 6003F596195388D20070C39A /* InfoPlist.strings */,
  153 + 6003F599195388D20070C39A /* main.m */,
  154 + 6003F59B195388D20070C39A /* CNLiveMyOrderModule-Prefix.pch */,
  155 + );
  156 + name = "Supporting Files";
  157 + sourceTree = "<group>";
  158 + };
  159 + 6003F5B5195388D20070C39A /* Tests */ = {
  160 + isa = PBXGroup;
  161 + children = (
  162 + 6003F5BB195388D20070C39A /* Tests.m */,
  163 + 6003F5B6195388D20070C39A /* Supporting Files */,
  164 + );
  165 + path = Tests;
  166 + sourceTree = "<group>";
  167 + };
  168 + 6003F5B6195388D20070C39A /* Supporting Files */ = {
  169 + isa = PBXGroup;
  170 + children = (
  171 + 6003F5B7195388D20070C39A /* Tests-Info.plist */,
  172 + 6003F5B8195388D20070C39A /* InfoPlist.strings */,
  173 + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */,
  174 + );
  175 + name = "Supporting Files";
  176 + sourceTree = "<group>";
  177 + };
  178 + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = {
  179 + isa = PBXGroup;
  180 + children = (
  181 + 3326D32649FED325F629D45F /* CNLiveMyOrderModule.podspec */,
  182 + 4E6714822F5F5131320B5EDF /* README.md */,
  183 + 96C60BF1E95F51390B2208A7 /* LICENSE */,
  184 + );
  185 + name = "Podspec Metadata";
  186 + sourceTree = "<group>";
  187 + };
  188 + E77C0FEC33A7933C57BFA933 /* Pods */ = {
  189 + isa = PBXGroup;
  190 + children = (
  191 + 14B7439C19F15BD12B3920A7 /* Pods-CNLiveMyOrderModule_Example.debug.xcconfig */,
  192 + A81C0EC36AF009A5569B424A /* Pods-CNLiveMyOrderModule_Example.release.xcconfig */,
  193 + 1DA79A6989B0B8955B2D49F4 /* Pods-CNLiveMyOrderModule_Tests.debug.xcconfig */,
  194 + B6E36FED29DCEF3DD09DEF0D /* Pods-CNLiveMyOrderModule_Tests.release.xcconfig */,
  195 + );
  196 + path = Pods;
  197 + sourceTree = "<group>";
  198 + };
  199 +/* End PBXGroup section */
  200 +
  201 +/* Begin PBXNativeTarget section */
  202 + 6003F589195388D20070C39A /* CNLiveMyOrderModule_Example */ = {
  203 + isa = PBXNativeTarget;
  204 + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveMyOrderModule_Example" */;
  205 + buildPhases = (
  206 + 290CCE9C9994D6B30AAF0913 /* [CP] Check Pods Manifest.lock */,
  207 + 6003F586195388D20070C39A /* Sources */,
  208 + 6003F587195388D20070C39A /* Frameworks */,
  209 + 6003F588195388D20070C39A /* Resources */,
  210 + B3C4AEE6B682DFE3670D8608 /* [CP] Embed Pods Frameworks */,
  211 + );
  212 + buildRules = (
  213 + );
  214 + dependencies = (
  215 + );
  216 + name = CNLiveMyOrderModule_Example;
  217 + productName = CNLiveMyOrderModule;
  218 + productReference = 6003F58A195388D20070C39A /* CNLiveMyOrderModule_Example.app */;
  219 + productType = "com.apple.product-type.application";
  220 + };
  221 + 6003F5AD195388D20070C39A /* CNLiveMyOrderModule_Tests */ = {
  222 + isa = PBXNativeTarget;
  223 + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveMyOrderModule_Tests" */;
  224 + buildPhases = (
  225 + C16EE831E4340A34C63CD3EC /* [CP] Check Pods Manifest.lock */,
  226 + 6003F5AA195388D20070C39A /* Sources */,
  227 + 6003F5AB195388D20070C39A /* Frameworks */,
  228 + 6003F5AC195388D20070C39A /* Resources */,
  229 + );
  230 + buildRules = (
  231 + );
  232 + dependencies = (
  233 + 6003F5B4195388D20070C39A /* PBXTargetDependency */,
  234 + );
  235 + name = CNLiveMyOrderModule_Tests;
  236 + productName = CNLiveMyOrderModuleTests;
  237 + productReference = 6003F5AE195388D20070C39A /* CNLiveMyOrderModule_Tests.xctest */;
  238 + productType = "com.apple.product-type.bundle.unit-test";
  239 + };
  240 +/* End PBXNativeTarget section */
  241 +
  242 +/* Begin PBXProject section */
  243 + 6003F582195388D10070C39A /* Project object */ = {
  244 + isa = PBXProject;
  245 + attributes = {
  246 + CLASSPREFIX = CNLIVE;
  247 + LastUpgradeCheck = 0720;
  248 + ORGANIZATIONNAME = "殷巧娟";
  249 + TargetAttributes = {
  250 + 6003F589195388D20070C39A = {
  251 + DevelopmentTeam = 94X49GG3ZW;
  252 + };
  253 + 6003F5AD195388D20070C39A = {
  254 + TestTargetID = 6003F589195388D20070C39A;
  255 + };
  256 + };
  257 + };
  258 + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveMyOrderModule" */;
  259 + compatibilityVersion = "Xcode 3.2";
  260 + developmentRegion = English;
  261 + hasScannedForEncodings = 0;
  262 + knownRegions = (
  263 + English,
  264 + en,
  265 + Base,
  266 + );
  267 + mainGroup = 6003F581195388D10070C39A;
  268 + productRefGroup = 6003F58B195388D20070C39A /* Products */;
  269 + projectDirPath = "";
  270 + projectRoot = "";
  271 + targets = (
  272 + 6003F589195388D20070C39A /* CNLiveMyOrderModule_Example */,
  273 + 6003F5AD195388D20070C39A /* CNLiveMyOrderModule_Tests */,
  274 + );
  275 + };
  276 +/* End PBXProject section */
  277 +
  278 +/* Begin PBXResourcesBuildPhase section */
  279 + 6003F588195388D20070C39A /* Resources */ = {
  280 + isa = PBXResourcesBuildPhase;
  281 + buildActionMask = 2147483647;
  282 + files = (
  283 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */,
  284 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */,
  285 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */,
  286 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */,
  287 + );
  288 + runOnlyForDeploymentPostprocessing = 0;
  289 + };
  290 + 6003F5AC195388D20070C39A /* Resources */ = {
  291 + isa = PBXResourcesBuildPhase;
  292 + buildActionMask = 2147483647;
  293 + files = (
  294 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */,
  295 + );
  296 + runOnlyForDeploymentPostprocessing = 0;
  297 + };
  298 +/* End PBXResourcesBuildPhase section */
  299 +
  300 +/* Begin PBXShellScriptBuildPhase section */
  301 + 290CCE9C9994D6B30AAF0913 /* [CP] Check Pods Manifest.lock */ = {
  302 + isa = PBXShellScriptBuildPhase;
  303 + buildActionMask = 2147483647;
  304 + files = (
  305 + );
  306 + inputFileListPaths = (
  307 + );
  308 + inputPaths = (
  309 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  310 + "${PODS_ROOT}/Manifest.lock",
  311 + );
  312 + name = "[CP] Check Pods Manifest.lock";
  313 + outputFileListPaths = (
  314 + );
  315 + outputPaths = (
  316 + "$(DERIVED_FILE_DIR)/Pods-CNLiveMyOrderModule_Example-checkManifestLockResult.txt",
  317 + );
  318 + runOnlyForDeploymentPostprocessing = 0;
  319 + shellPath = /bin/sh;
  320 + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
  321 + showEnvVarsInLog = 0;
  322 + };
  323 + B3C4AEE6B682DFE3670D8608 /* [CP] Embed Pods Frameworks */ = {
  324 + isa = PBXShellScriptBuildPhase;
  325 + buildActionMask = 2147483647;
  326 + files = (
  327 + );
  328 + inputPaths = (
  329 + "${PODS_ROOT}/Target Support Files/Pods-CNLiveMyOrderModule_Example/Pods-CNLiveMyOrderModule_Example-frameworks.sh",
  330 + "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework",
  331 + "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework",
  332 + "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework",
  333 + "${BUILT_PRODUCTS_DIR}/CNLiveCommonCategory/CNLiveCommonCategory.framework",
  334 + "${BUILT_PRODUCTS_DIR}/CNLiveCommonClass/CNLiveCommonClass.framework",
  335 + "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework",
  336 + "${BUILT_PRODUCTS_DIR}/CNLiveMyOrderModule/CNLiveMyOrderModule.framework",
  337 + "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework",
  338 + "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework",
  339 + "${BUILT_PRODUCTS_DIR}/CNLiveUserManagement/CNLiveUserManagement.framework",
  340 + "${BUILT_PRODUCTS_DIR}/JXCategoryView/JXCategoryView.framework",
  341 + "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework",
  342 + "${BUILT_PRODUCTS_DIR}/Masonry/Masonry.framework",
  343 + "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework",
  344 + "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework",
  345 + );
  346 + name = "[CP] Embed Pods Frameworks";
  347 + outputPaths = (
  348 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework",
  349 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework",
  350 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework",
  351 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonCategory.framework",
  352 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonClass.framework",
  353 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework",
  354 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveMyOrderModule.framework",
  355 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework",
  356 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework",
  357 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUserManagement.framework",
  358 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/JXCategoryView.framework",
  359 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework",
  360 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Masonry.framework",
  361 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework",
  362 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
  363 + );
  364 + runOnlyForDeploymentPostprocessing = 0;
  365 + shellPath = /bin/sh;
  366 + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveMyOrderModule_Example/Pods-CNLiveMyOrderModule_Example-frameworks.sh\"\n";
  367 + showEnvVarsInLog = 0;
  368 + };
  369 + C16EE831E4340A34C63CD3EC /* [CP] Check Pods Manifest.lock */ = {
  370 + isa = PBXShellScriptBuildPhase;
  371 + buildActionMask = 2147483647;
  372 + files = (
  373 + );
  374 + inputFileListPaths = (
  375 + );
  376 + inputPaths = (
  377 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  378 + "${PODS_ROOT}/Manifest.lock",
  379 + );
  380 + name = "[CP] Check Pods Manifest.lock";
  381 + outputFileListPaths = (
  382 + );
  383 + outputPaths = (
  384 + "$(DERIVED_FILE_DIR)/Pods-CNLiveMyOrderModule_Tests-checkManifestLockResult.txt",
  385 + );
  386 + runOnlyForDeploymentPostprocessing = 0;
  387 + shellPath = /bin/sh;
  388 + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
  389 + showEnvVarsInLog = 0;
  390 + };
  391 +/* End PBXShellScriptBuildPhase section */
  392 +
  393 +/* Begin PBXSourcesBuildPhase section */
  394 + 6003F586195388D20070C39A /* Sources */ = {
  395 + isa = PBXSourcesBuildPhase;
  396 + buildActionMask = 2147483647;
  397 + files = (
  398 + 6003F59E195388D20070C39A /* CNLIVEAppDelegate.m in Sources */,
  399 + 6003F5A7195388D20070C39A /* CNLIVEViewController.m in Sources */,
  400 + 6003F59A195388D20070C39A /* main.m in Sources */,
  401 + );
  402 + runOnlyForDeploymentPostprocessing = 0;
  403 + };
  404 + 6003F5AA195388D20070C39A /* Sources */ = {
  405 + isa = PBXSourcesBuildPhase;
  406 + buildActionMask = 2147483647;
  407 + files = (
  408 + 6003F5BC195388D20070C39A /* Tests.m in Sources */,
  409 + );
  410 + runOnlyForDeploymentPostprocessing = 0;
  411 + };
  412 +/* End PBXSourcesBuildPhase section */
  413 +
  414 +/* Begin PBXTargetDependency section */
  415 + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = {
  416 + isa = PBXTargetDependency;
  417 + target = 6003F589195388D20070C39A /* CNLiveMyOrderModule_Example */;
  418 + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */;
  419 + };
  420 +/* End PBXTargetDependency section */
  421 +
  422 +/* Begin PBXVariantGroup section */
  423 + 6003F596195388D20070C39A /* InfoPlist.strings */ = {
  424 + isa = PBXVariantGroup;
  425 + children = (
  426 + 6003F597195388D20070C39A /* en */,
  427 + );
  428 + name = InfoPlist.strings;
  429 + sourceTree = "<group>";
  430 + };
  431 + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = {
  432 + isa = PBXVariantGroup;
  433 + children = (
  434 + 6003F5B9195388D20070C39A /* en */,
  435 + );
  436 + name = InfoPlist.strings;
  437 + sourceTree = "<group>";
  438 + };
  439 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = {
  440 + isa = PBXVariantGroup;
  441 + children = (
  442 + 71719F9E1E33DC2100824A3D /* Base */,
  443 + );
  444 + name = LaunchScreen.storyboard;
  445 + sourceTree = "<group>";
  446 + };
  447 +/* End PBXVariantGroup section */
  448 +
  449 +/* Begin XCBuildConfiguration section */
  450 + 6003F5BD195388D20070C39A /* Debug */ = {
  451 + isa = XCBuildConfiguration;
  452 + buildSettings = {
  453 + ALWAYS_SEARCH_USER_PATHS = NO;
  454 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  455 + CLANG_CXX_LIBRARY = "libc++";
  456 + CLANG_ENABLE_MODULES = YES;
  457 + CLANG_ENABLE_OBJC_ARC = YES;
  458 + CLANG_WARN_BOOL_CONVERSION = YES;
  459 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  460 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  461 + CLANG_WARN_EMPTY_BODY = YES;
  462 + CLANG_WARN_ENUM_CONVERSION = YES;
  463 + CLANG_WARN_INT_CONVERSION = YES;
  464 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  465 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  466 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  467 + COPY_PHASE_STRIP = NO;
  468 + ENABLE_TESTABILITY = YES;
  469 + GCC_C_LANGUAGE_STANDARD = gnu99;
  470 + GCC_DYNAMIC_NO_PIC = NO;
  471 + GCC_OPTIMIZATION_LEVEL = 0;
  472 + GCC_PREPROCESSOR_DEFINITIONS = (
  473 + "DEBUG=1",
  474 + "$(inherited)",
  475 + );
  476 + GCC_SYMBOLS_PRIVATE_EXTERN = NO;
  477 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  478 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  479 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  480 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  481 + GCC_WARN_UNUSED_FUNCTION = YES;
  482 + GCC_WARN_UNUSED_VARIABLE = YES;
  483 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  484 + ONLY_ACTIVE_ARCH = YES;
  485 + SDKROOT = iphoneos;
  486 + TARGETED_DEVICE_FAMILY = "1,2";
  487 + };
  488 + name = Debug;
  489 + };
  490 + 6003F5BE195388D20070C39A /* Release */ = {
  491 + isa = XCBuildConfiguration;
  492 + buildSettings = {
  493 + ALWAYS_SEARCH_USER_PATHS = NO;
  494 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  495 + CLANG_CXX_LIBRARY = "libc++";
  496 + CLANG_ENABLE_MODULES = YES;
  497 + CLANG_ENABLE_OBJC_ARC = YES;
  498 + CLANG_WARN_BOOL_CONVERSION = YES;
  499 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  500 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  501 + CLANG_WARN_EMPTY_BODY = YES;
  502 + CLANG_WARN_ENUM_CONVERSION = YES;
  503 + CLANG_WARN_INT_CONVERSION = YES;
  504 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  505 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  506 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  507 + COPY_PHASE_STRIP = YES;
  508 + ENABLE_NS_ASSERTIONS = NO;
  509 + GCC_C_LANGUAGE_STANDARD = gnu99;
  510 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  511 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  512 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  513 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  514 + GCC_WARN_UNUSED_FUNCTION = YES;
  515 + GCC_WARN_UNUSED_VARIABLE = YES;
  516 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  517 + SDKROOT = iphoneos;
  518 + TARGETED_DEVICE_FAMILY = "1,2";
  519 + VALIDATE_PRODUCT = YES;
  520 + };
  521 + name = Release;
  522 + };
  523 + 6003F5C0195388D20070C39A /* Debug */ = {
  524 + isa = XCBuildConfiguration;
  525 + baseConfigurationReference = 14B7439C19F15BD12B3920A7 /* Pods-CNLiveMyOrderModule_Example.debug.xcconfig */;
  526 + buildSettings = {
  527 + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
  528 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  529 + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = "$(inherited)";
  530 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  531 + ENABLE_BITCODE = NO;
  532 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  533 + GCC_PREFIX_HEADER = "CNLiveMyOrderModule/CNLiveMyOrderModule-Prefix.pch";
  534 + INFOPLIST_FILE = "CNLiveMyOrderModule/CNLiveMyOrderModule-Info.plist";
  535 + LIBRARY_SEARCH_PATHS = (
  536 + "$(inherited)",
  537 + "\"${PODS_ROOT}/WechatOpenSDK/WeChatSDK1.8.4\"",
  538 + "\"${PODS_ROOT}/Weibo_SDK/libWeiboSDK\"",
  539 + );
  540 + MODULE_NAME = ExampleApp;
  541 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  542 + PRODUCT_NAME = "$(TARGET_NAME)";
  543 + SWIFT_VERSION = 4.0;
  544 + WRAPPER_EXTENSION = app;
  545 + };
  546 + name = Debug;
  547 + };
  548 + 6003F5C1195388D20070C39A /* Release */ = {
  549 + isa = XCBuildConfiguration;
  550 + baseConfigurationReference = A81C0EC36AF009A5569B424A /* Pods-CNLiveMyOrderModule_Example.release.xcconfig */;
  551 + buildSettings = {
  552 + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
  553 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  554 + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = "$(inherited)";
  555 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  556 + ENABLE_BITCODE = NO;
  557 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  558 + GCC_PREFIX_HEADER = "CNLiveMyOrderModule/CNLiveMyOrderModule-Prefix.pch";
  559 + INFOPLIST_FILE = "CNLiveMyOrderModule/CNLiveMyOrderModule-Info.plist";
  560 + LIBRARY_SEARCH_PATHS = (
  561 + "$(inherited)",
  562 + "\"${PODS_ROOT}/WechatOpenSDK/WeChatSDK1.8.4\"",
  563 + "\"${PODS_ROOT}/Weibo_SDK/libWeiboSDK\"",
  564 + );
  565 + MODULE_NAME = ExampleApp;
  566 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  567 + PRODUCT_NAME = "$(TARGET_NAME)";
  568 + SWIFT_VERSION = 4.0;
  569 + WRAPPER_EXTENSION = app;
  570 + };
  571 + name = Release;
  572 + };
  573 + 6003F5C3195388D20070C39A /* Debug */ = {
  574 + isa = XCBuildConfiguration;
  575 + baseConfigurationReference = 1DA79A6989B0B8955B2D49F4 /* Pods-CNLiveMyOrderModule_Tests.debug.xcconfig */;
  576 + buildSettings = {
  577 + BUNDLE_LOADER = "$(TEST_HOST)";
  578 + FRAMEWORK_SEARCH_PATHS = (
  579 + "$(PLATFORM_DIR)/Developer/Library/Frameworks",
  580 + "$(inherited)",
  581 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  582 + );
  583 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  584 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  585 + GCC_PREPROCESSOR_DEFINITIONS = (
  586 + "DEBUG=1",
  587 + "$(inherited)",
  588 + );
  589 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  590 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  591 + PRODUCT_NAME = "$(TARGET_NAME)";
  592 + SWIFT_VERSION = 4.0;
  593 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveMyOrderModule_Example.app/CNLiveMyOrderModule_Example";
  594 + WRAPPER_EXTENSION = xctest;
  595 + };
  596 + name = Debug;
  597 + };
  598 + 6003F5C4195388D20070C39A /* Release */ = {
  599 + isa = XCBuildConfiguration;
  600 + baseConfigurationReference = B6E36FED29DCEF3DD09DEF0D /* Pods-CNLiveMyOrderModule_Tests.release.xcconfig */;
  601 + buildSettings = {
  602 + BUNDLE_LOADER = "$(TEST_HOST)";
  603 + FRAMEWORK_SEARCH_PATHS = (
  604 + "$(PLATFORM_DIR)/Developer/Library/Frameworks",
  605 + "$(inherited)",
  606 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  607 + );
  608 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  609 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  610 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  611 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  612 + PRODUCT_NAME = "$(TARGET_NAME)";
  613 + SWIFT_VERSION = 4.0;
  614 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveMyOrderModule_Example.app/CNLiveMyOrderModule_Example";
  615 + WRAPPER_EXTENSION = xctest;
  616 + };
  617 + name = Release;
  618 + };
  619 +/* End XCBuildConfiguration section */
  620 +
  621 +/* Begin XCConfigurationList section */
  622 + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveMyOrderModule" */ = {
  623 + isa = XCConfigurationList;
  624 + buildConfigurations = (
  625 + 6003F5BD195388D20070C39A /* Debug */,
  626 + 6003F5BE195388D20070C39A /* Release */,
  627 + );
  628 + defaultConfigurationIsVisible = 0;
  629 + defaultConfigurationName = Release;
  630 + };
  631 + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveMyOrderModule_Example" */ = {
  632 + isa = XCConfigurationList;
  633 + buildConfigurations = (
  634 + 6003F5C0195388D20070C39A /* Debug */,
  635 + 6003F5C1195388D20070C39A /* Release */,
  636 + );
  637 + defaultConfigurationIsVisible = 0;
  638 + defaultConfigurationName = Release;
  639 + };
  640 + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveMyOrderModule_Tests" */ = {
  641 + isa = XCConfigurationList;
  642 + buildConfigurations = (
  643 + 6003F5C3195388D20070C39A /* Debug */,
  644 + 6003F5C4195388D20070C39A /* Release */,
  645 + );
  646 + defaultConfigurationIsVisible = 0;
  647 + defaultConfigurationName = Release;
  648 + };
  649 +/* End XCConfigurationList section */
  650 + };
  651 + rootObject = 6003F582195388D10070C39A /* Project object */;
  652 +}
... ...
Example/CNLiveMyOrderModule.xcodeproj/xcshareddata/xcschemes/CNLiveMyOrderModule-Example.xcscheme 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule.xcodeproj/xcshareddata/xcschemes/CNLiveMyOrderModule-Example.xcscheme
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Scheme
  3 + LastUpgradeVersion = "0720"
  4 + version = "1.3">
  5 + <BuildAction
  6 + parallelizeBuildables = "YES"
  7 + buildImplicitDependencies = "YES">
  8 + <BuildActionEntries>
  9 + <BuildActionEntry
  10 + buildForTesting = "YES"
  11 + buildForRunning = "YES"
  12 + buildForProfiling = "YES"
  13 + buildForArchiving = "YES"
  14 + buildForAnalyzing = "YES">
  15 + <BuildableReference
  16 + BuildableIdentifier = "primary"
  17 + BlueprintIdentifier = "6003F589195388D20070C39A"
  18 + BuildableName = "CNLiveMyOrderModule_Example.app"
  19 + BlueprintName = "CNLiveMyOrderModule_Example"
  20 + ReferencedContainer = "container:CNLiveMyOrderModule.xcodeproj">
  21 + </BuildableReference>
  22 + </BuildActionEntry>
  23 + </BuildActionEntries>
  24 + </BuildAction>
  25 + <TestAction
  26 + buildConfiguration = "Debug"
  27 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  28 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  29 + shouldUseLaunchSchemeArgsEnv = "YES">
  30 + <Testables>
  31 + <TestableReference
  32 + skipped = "NO">
  33 + <BuildableReference
  34 + BuildableIdentifier = "primary"
  35 + BlueprintIdentifier = "6003F5AD195388D20070C39A"
  36 + BuildableName = "CNLiveMyOrderModule_Tests.xctest"
  37 + BlueprintName = "CNLiveMyOrderModule_Tests"
  38 + ReferencedContainer = "container:CNLiveMyOrderModule.xcodeproj">
  39 + </BuildableReference>
  40 + </TestableReference>
  41 + </Testables>
  42 + <MacroExpansion>
  43 + <BuildableReference
  44 + BuildableIdentifier = "primary"
  45 + BlueprintIdentifier = "6003F589195388D20070C39A"
  46 + BuildableName = "CNLiveMyOrderModule_Example.app"
  47 + BlueprintName = "CNLiveMyOrderModule_Example"
  48 + ReferencedContainer = "container:CNLiveMyOrderModule.xcodeproj">
  49 + </BuildableReference>
  50 + </MacroExpansion>
  51 + <AdditionalOptions>
  52 + </AdditionalOptions>
  53 + </TestAction>
  54 + <LaunchAction
  55 + buildConfiguration = "Debug"
  56 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  57 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  58 + launchStyle = "0"
  59 + useCustomWorkingDirectory = "NO"
  60 + ignoresPersistentStateOnLaunch = "NO"
  61 + debugDocumentVersioning = "YES"
  62 + debugServiceExtension = "internal"
  63 + allowLocationSimulation = "YES">
  64 + <BuildableProductRunnable
  65 + runnableDebuggingMode = "0">
  66 + <BuildableReference
  67 + BuildableIdentifier = "primary"
  68 + BlueprintIdentifier = "6003F589195388D20070C39A"
  69 + BuildableName = "CNLiveMyOrderModule_Example.app"
  70 + BlueprintName = "CNLiveMyOrderModule_Example"
  71 + ReferencedContainer = "container:CNLiveMyOrderModule.xcodeproj">
  72 + </BuildableReference>
  73 + </BuildableProductRunnable>
  74 + <AdditionalOptions>
  75 + </AdditionalOptions>
  76 + </LaunchAction>
  77 + <ProfileAction
  78 + buildConfiguration = "Release"
  79 + shouldUseLaunchSchemeArgsEnv = "YES"
  80 + savedToolIdentifier = ""
  81 + useCustomWorkingDirectory = "NO"
  82 + debugDocumentVersioning = "YES">
  83 + <BuildableProductRunnable
  84 + runnableDebuggingMode = "0">
  85 + <BuildableReference
  86 + BuildableIdentifier = "primary"
  87 + BlueprintIdentifier = "6003F589195388D20070C39A"
  88 + BuildableName = "CNLiveMyOrderModule_Example.app"
  89 + BlueprintName = "CNLiveMyOrderModule_Example"
  90 + ReferencedContainer = "container:CNLiveMyOrderModule.xcodeproj">
  91 + </BuildableReference>
  92 + </BuildableProductRunnable>
  93 + </ProfileAction>
  94 + <AnalyzeAction
  95 + buildConfiguration = "Debug">
  96 + </AnalyzeAction>
  97 + <ArchiveAction
  98 + buildConfiguration = "Release"
  99 + revealArchiveInOrganizer = "YES">
  100 + </ArchiveAction>
  101 +</Scheme>
... ...
Example/CNLiveMyOrderModule/Base.lproj/LaunchScreen.storyboard 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/Base.lproj/LaunchScreen.storyboard
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
  3 + <device id="retina4_7" orientation="portrait">
  4 + <adaptation id="fullscreen"/>
  5 + </device>
  6 + <dependencies>
  7 + <deployment identifier="iOS"/>
  8 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
  9 + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10 + </dependencies>
  11 + <scenes>
  12 + <!--View Controller-->
  13 + <scene sceneID="EHf-IW-A2E">
  14 + <objects>
  15 + <viewController id="01J-lp-oVM" sceneMemberID="viewController">
  16 + <layoutGuides>
  17 + <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
  18 + <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
  19 + </layoutGuides>
  20 + <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
  21 + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  22 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  24 + </view>
  25 + </viewController>
  26 + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
  27 + </objects>
  28 + <point key="canvasLocation" x="53" y="375"/>
  29 + </scene>
  30 + </scenes>
  31 +</document>
... ...
Example/CNLiveMyOrderModule/Base.lproj/Main.storyboard 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/Base.lproj/Main.storyboard
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="whP-gf-Uak">
  3 + <device id="retina4_7" orientation="portrait">
  4 + <adaptation id="fullscreen"/>
  5 + </device>
  6 + <dependencies>
  7 + <deployment identifier="iOS"/>
  8 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
  9 + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10 + </dependencies>
  11 + <scenes>
  12 + <!--View Controller-->
  13 + <scene sceneID="wQg-tq-qST">
  14 + <objects>
  15 + <viewController id="whP-gf-Uak" customClass="CNLIVEViewController" sceneMemberID="viewController">
  16 + <layoutGuides>
  17 + <viewControllerLayoutGuide type="top" id="uEw-UM-LJ8"/>
  18 + <viewControllerLayoutGuide type="bottom" id="Mvr-aV-6Um"/>
  19 + </layoutGuides>
  20 + <view key="view" contentMode="scaleToFill" id="TpU-gO-2f1">
  21 + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  22 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  24 + </view>
  25 + </viewController>
  26 + <placeholder placeholderIdentifier="IBFirstResponder" id="tc2-Qw-aMS" userLabel="First Responder" sceneMemberID="firstResponder"/>
  27 + </objects>
  28 + <point key="canvasLocation" x="305" y="433"/>
  29 + </scene>
  30 + </scenes>
  31 +</document>
... ...
Example/CNLiveMyOrderModule/CNLIVEAppDelegate.h 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/CNLIVEAppDelegate.h
  1 +//
  2 +// CNLIVEAppDelegate.h
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 11/14/2019.
  6 +// Copyright (c) 2019 殷巧娟. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +
  11 +@interface CNLIVEAppDelegate : UIResponder <UIApplicationDelegate>
  12 +
  13 +@property (strong, nonatomic) UIWindow *window;
  14 +
  15 +@end
... ...
Example/CNLiveMyOrderModule/CNLIVEAppDelegate.m 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/CNLIVEAppDelegate.m
  1 +//
  2 +// CNLIVEAppDelegate.m
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 11/14/2019.
  6 +// Copyright (c) 2019 殷巧娟. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLIVEAppDelegate.h"
  10 +#import "CNLIVEViewController.h"
  11 +@implementation CNLIVEAppDelegate
  12 +
  13 +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  14 +{
  15 + self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
  16 + self.window.backgroundColor = [UIColor whiteColor];
  17 + CNLIVEViewController *vc = [[CNLIVEViewController alloc]init];
  18 + UINavigationController *nav =[[UINavigationController alloc]initWithRootViewController:vc];
  19 + self.window.rootViewController = nav;
  20 + [self.window makeKeyAndVisible];
  21 + return YES;
  22 +}
  23 +
  24 +- (void)applicationWillResignActive:(UIApplication *)application
  25 +{
  26 +
  27 +}
  28 +
  29 +- (void)applicationDidEnterBackground:(UIApplication *)application
  30 +{
  31 + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
  32 + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
  33 +}
  34 +
  35 +- (void)applicationWillEnterForeground:(UIApplication *)application
  36 +{
  37 + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
  38 +}
  39 +
  40 +- (void)applicationDidBecomeActive:(UIApplication *)application
  41 +{
  42 + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
  43 +}
  44 +
  45 +- (void)applicationWillTerminate:(UIApplication *)application
  46 +{
  47 + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
  48 +}
  49 +
  50 +@end
... ...
Example/CNLiveMyOrderModule/CNLIVEViewController.h 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/CNLIVEViewController.h
  1 +//
  2 +// CNLIVEViewController.h
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 11/14/2019.
  6 +// Copyright (c) 2019 殷巧娟. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +
  11 +@interface CNLIVEViewController : UIViewController
  12 +
  13 +@end
... ...
Example/CNLiveMyOrderModule/CNLIVEViewController.m 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/CNLIVEViewController.m
  1 +//
  2 +// CNLIVEViewController.m
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 11/14/2019.
  6 +// Copyright (c) 2019 殷巧娟. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLIVEViewController.h"
  10 +#import "CNLiveMyOrderController.h"
  11 +@interface CNLIVEViewController ()
  12 +@end
  13 +
  14 +@implementation CNLIVEViewController
  15 +
  16 +- (void)viewDidLoad
  17 +{
  18 + [super viewDidLoad];
  19 + UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
  20 + button.frame = CGRectMake(100, 100, 100, 100);
  21 + button.backgroundColor = [UIColor cyanColor];
  22 + [button addTarget:self action:@selector(buttonClicked) forControlEvents:UIControlEventTouchUpInside];
  23 + [self.view addSubview:button];
  24 + // Do any additional setup after loading the view, typically from a nib.
  25 +}
  26 +- (void)buttonClicked {
  27 + CNLiveMyOrderController *vc = [[CNLiveMyOrderController alloc]init];
  28 + [self.navigationController pushViewController:vc animated:nil];
  29 +}
  30 +
  31 +- (void)didReceiveMemoryWarning
  32 +{
  33 + [super didReceiveMemoryWarning];
  34 + // Dispose of any resources that can be recreated.
  35 +}
  36 +
  37 +@end
... ...
Example/CNLiveMyOrderModule/CNLiveMyOrderModule-Info.plist 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/CNLiveMyOrderModule-Info.plist
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>CFBundleDevelopmentRegion</key>
  6 + <string>en</string>
  7 + <key>CFBundleDisplayName</key>
  8 + <string>${PRODUCT_NAME}</string>
  9 + <key>CFBundleExecutable</key>
  10 + <string>${EXECUTABLE_NAME}</string>
  11 + <key>CFBundleIdentifier</key>
  12 + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
  13 + <key>CFBundleInfoDictionaryVersion</key>
  14 + <string>6.0</string>
  15 + <key>CFBundleName</key>
  16 + <string>${PRODUCT_NAME}</string>
  17 + <key>CFBundlePackageType</key>
  18 + <string>APPL</string>
  19 + <key>CFBundleShortVersionString</key>
  20 + <string>1.0</string>
  21 + <key>CFBundleSignature</key>
  22 + <string>????</string>
  23 + <key>CFBundleVersion</key>
  24 + <string>1.0</string>
  25 + <key>LSRequiresIPhoneOS</key>
  26 + <true/>
  27 + <key>UILaunchStoryboardName</key>
  28 + <string>LaunchScreen</string>
  29 + <key>UIMainStoryboardFile</key>
  30 + <string>Main</string>
  31 + <key>UIRequiredDeviceCapabilities</key>
  32 + <array>
  33 + <string>armv7</string>
  34 + </array>
  35 + <key>UISupportedInterfaceOrientations</key>
  36 + <array>
  37 + <string>UIInterfaceOrientationPortrait</string>
  38 + <string>UIInterfaceOrientationLandscapeLeft</string>
  39 + <string>UIInterfaceOrientationLandscapeRight</string>
  40 + </array>
  41 + <key>UISupportedInterfaceOrientations~ipad</key>
  42 + <array>
  43 + <string>UIInterfaceOrientationPortrait</string>
  44 + <string>UIInterfaceOrientationPortraitUpsideDown</string>
  45 + <string>UIInterfaceOrientationLandscapeLeft</string>
  46 + <string>UIInterfaceOrientationLandscapeRight</string>
  47 + </array>
  48 +</dict>
  49 +</plist>
... ...
Example/CNLiveMyOrderModule/CNLiveMyOrderModule-Prefix.pch 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/CNLiveMyOrderModule-Prefix.pch
  1 +//
  2 +// Prefix header
  3 +//
  4 +// The contents of this file are implicitly included at the beginning of every source file.
  5 +//
  6 +
  7 +#import <Availability.h>
  8 +
  9 +#ifndef __IPHONE_5_0
  10 +#warning "This project uses features only available in iOS SDK 5.0 and later."
  11 +#endif
  12 +
  13 +#ifdef __OBJC__
  14 + @import UIKit;
  15 + @import Foundation;
  16 +#endif
... ...
Example/CNLiveMyOrderModule/Images.xcassets/AppIcon.appiconset/Contents.json 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/Images.xcassets/AppIcon.appiconset/Contents.json
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "iphone",
  5 + "size" : "20x20",
  6 + "scale" : "2x"
  7 + },
  8 + {
  9 + "idiom" : "iphone",
  10 + "size" : "20x20",
  11 + "scale" : "3x"
  12 + },
  13 + {
  14 + "idiom" : "iphone",
  15 + "size" : "29x29",
  16 + "scale" : "2x"
  17 + },
  18 + {
  19 + "idiom" : "iphone",
  20 + "size" : "29x29",
  21 + "scale" : "3x"
  22 + },
  23 + {
  24 + "idiom" : "iphone",
  25 + "size" : "40x40",
  26 + "scale" : "2x"
  27 + },
  28 + {
  29 + "idiom" : "iphone",
  30 + "size" : "40x40",
  31 + "scale" : "3x"
  32 + },
  33 + {
  34 + "idiom" : "iphone",
  35 + "size" : "60x60",
  36 + "scale" : "2x"
  37 + },
  38 + {
  39 + "idiom" : "iphone",
  40 + "size" : "60x60",
  41 + "scale" : "3x"
  42 + },
  43 + {
  44 + "idiom" : "ipad",
  45 + "size" : "20x20",
  46 + "scale" : "1x"
  47 + },
  48 + {
  49 + "idiom" : "ipad",
  50 + "size" : "20x20",
  51 + "scale" : "2x"
  52 + },
  53 + {
  54 + "idiom" : "ipad",
  55 + "size" : "29x29",
  56 + "scale" : "1x"
  57 + },
  58 + {
  59 + "idiom" : "ipad",
  60 + "size" : "29x29",
  61 + "scale" : "2x"
  62 + },
  63 + {
  64 + "idiom" : "ipad",
  65 + "size" : "40x40",
  66 + "scale" : "1x"
  67 + },
  68 + {
  69 + "idiom" : "ipad",
  70 + "size" : "40x40",
  71 + "scale" : "2x"
  72 + },
  73 + {
  74 + "idiom" : "ipad",
  75 + "size" : "76x76",
  76 + "scale" : "1x"
  77 + },
  78 + {
  79 + "idiom" : "ipad",
  80 + "size" : "76x76",
  81 + "scale" : "2x"
  82 + },
  83 + {
  84 + "idiom" : "ipad",
  85 + "size" : "83.5x83.5",
  86 + "scale" : "2x"
  87 + },
  88 + {
  89 + "idiom" : "ios-marketing",
  90 + "size" : "1024x1024",
  91 + "scale" : "1x"
  92 + }
  93 + ],
  94 + "info" : {
  95 + "version" : 1,
  96 + "author" : "xcode"
  97 + }
  98 +}
... ...
Example/CNLiveMyOrderModule/en.lproj/InfoPlist.strings 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/en.lproj/InfoPlist.strings
  1 +/* Localized versions of Info.plist keys */
  2 +
... ...
Example/CNLiveMyOrderModule/main.m 0 → 100644
  1 +++ a/Example/CNLiveMyOrderModule/main.m
  1 +//
  2 +// main.m
  3 +// CNLiveMyOrderModule
  4 +//
  5 +// Created by 殷巧娟 on 11/14/2019.
  6 +// Copyright (c) 2019 殷巧娟. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +#import "CNLIVEAppDelegate.h"
  11 +
  12 +int main(int argc, char * argv[])
  13 +{
  14 + @autoreleasepool {
  15 + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLIVEAppDelegate class]));
  16 + }
  17 +}
... ...
Example/Podfile 0 → 100644
  1 +++ a/Example/Podfile
  1 +use_frameworks!
  2 +source 'https://github.com/CocoaPods/Specs.git'
  3 +source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git'
  4 +platform :ios, '9.0'
  5 +
  6 +target 'CNLiveMyOrderModule_Example' do
  7 + pod 'CNLiveMyOrderModule', :path => '../'
  8 + pod 'JXCategoryView'
  9 + pod 'CNLiveCommonClass'
  10 + pod 'CNLiveCommonCategory'
  11 + pod 'CNLiveBaseKit'
  12 + pod 'CNLiveTripartiteManagement/Masonry'
  13 + pod 'CNLiveUserManagement'
  14 + pod 'CNLiveEnvironment'
  15 + pod 'CNLiveRequestBastKit'
  16 + pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
  17 + end
  18 + target 'CNLiveMyOrderModule_Tests' do
  19 + inherit! :search_paths
  20 +
  21 + end
  22 +end
... ...
Example/Tests/Tests-Info.plist 0 → 100644
  1 +++ a/Example/Tests/Tests-Info.plist
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>CFBundleDevelopmentRegion</key>
  6 + <string>en</string>
  7 + <key>CFBundleExecutable</key>
  8 + <string>${EXECUTABLE_NAME}</string>
  9 + <key>CFBundleIdentifier</key>
  10 + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
  11 + <key>CFBundleInfoDictionaryVersion</key>
  12 + <string>6.0</string>
  13 + <key>CFBundlePackageType</key>
  14 + <string>BNDL</string>
  15 + <key>CFBundleShortVersionString</key>
  16 + <string>1.0</string>
  17 + <key>CFBundleSignature</key>
  18 + <string>????</string>
  19 + <key>CFBundleVersion</key>
  20 + <string>1</string>
  21 +</dict>
  22 +</plist>
... ...
Example/Tests/Tests-Prefix.pch 0 → 100644
  1 +++ a/Example/Tests/Tests-Prefix.pch
  1 +// The contents of this file are implicitly included at the beginning of every test case source file.
  2 +
  3 +#ifdef __OBJC__
  4 +
  5 +
  6 +
  7 +#endif
... ...
Example/Tests/Tests.m 0 → 100644
  1 +++ a/Example/Tests/Tests.m
  1 +//
  2 +// CNLiveMyOrderModuleTests.m
  3 +// CNLiveMyOrderModuleTests
  4 +//
  5 +// Created by 殷巧娟 on 11/14/2019.
  6 +// Copyright (c) 2019 殷巧娟. All rights reserved.
  7 +//
  8 +
  9 +@import XCTest;
  10 +
  11 +@interface Tests : XCTestCase
  12 +
  13 +@end
  14 +
  15 +@implementation Tests
  16 +
  17 +- (void)setUp
  18 +{
  19 + [super setUp];
  20 + // Put setup code here. This method is called before the invocation of each test method in the class.
  21 +}
  22 +
  23 +- (void)tearDown
  24 +{
  25 + // Put teardown code here. This method is called after the invocation of each test method in the class.
  26 + [super tearDown];
  27 +}
  28 +
  29 +- (void)testExample
  30 +{
  31 + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__);
  32 +}
  33 +
  34 +@end
  35 +
... ...
Example/Tests/en.lproj/InfoPlist.strings 0 → 100644
  1 +++ a/Example/Tests/en.lproj/InfoPlist.strings
  1 +/* Localized versions of Info.plist keys */
  2 +
... ...
LICENSE 0 → 100644
  1 +++ a/LICENSE
  1 +Copyright (c) 2019 殷巧娟 <1427945373@qq.com>
  2 +
  3 +Permission is hereby granted, free of charge, to any person obtaining a copy
  4 +of this software and associated documentation files (the "Software"), to deal
  5 +in the Software without restriction, including without limitation the rights
  6 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7 +copies of the Software, and to permit persons to whom the Software is
  8 +furnished to do so, subject to the following conditions:
  9 +
  10 +The above copyright notice and this permission notice shall be included in
  11 +all copies or substantial portions of the Software.
  12 +
  13 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19 +THE SOFTWARE.
... ...
README.md 0 → 100644
  1 +++ a/README.md
  1 +# CNLiveMyOrderModule
  2 +
  3 +[![CI Status](https://img.shields.io/travis/殷巧娟/CNLiveMyOrderModule.svg?style=flat)](https://travis-ci.org/殷巧娟/CNLiveMyOrderModule)
  4 +[![Version](https://img.shields.io/cocoapods/v/CNLiveMyOrderModule.svg?style=flat)](https://cocoapods.org/pods/CNLiveMyOrderModule)
  5 +[![License](https://img.shields.io/cocoapods/l/CNLiveMyOrderModule.svg?style=flat)](https://cocoapods.org/pods/CNLiveMyOrderModule)
  6 +[![Platform](https://img.shields.io/cocoapods/p/CNLiveMyOrderModule.svg?style=flat)](https://cocoapods.org/pods/CNLiveMyOrderModule)
  7 +
  8 +## Example
  9 +
  10 +To run the example project, clone the repo, and run `pod install` from the Example directory first.
  11 +
  12 +## Requirements
  13 +
  14 +## Installation
  15 +
  16 +CNLiveMyOrderModule is available through [CocoaPods](https://cocoapods.org). To install
  17 +it, simply add the following line to your Podfile:
  18 +
  19 +```ruby
  20 +pod 'CNLiveMyOrderModule'
  21 +```
  22 +
  23 +## Author
  24 +
  25 +殷巧娟, 1427945373@qq.com
  26 +
  27 +## License
  28 +
  29 +CNLiveMyOrderModule is available under the MIT license. See the LICENSE file for more info.
... ...
_Pods.xcodeproj 0 → 120000
  1 +++ a/_Pods.xcodeproj
  1 +Example/Pods/Pods.xcodeproj
0 2 \ No newline at end of file
... ...