Commit 99f59e52 authored by 曹云霄's avatar 曹云霄

修改项说明:

parent f031e85a
//
// LearningCenterMainViewController.h
// Lighting
//
// Created by 曹云霄 on 2016/11/16.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import "BaseViewController.h"
@interface LearningCenterMainViewController : BaseViewController
@end
//
// LearningCenterMainViewController.m
// Lighting
//
// Created by 曹云霄 on 2016/11/16.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import "LearningCenterMainViewController.h"
@interface LearningCenterMainViewController ()
@end
@implementation LearningCenterMainViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
......@@ -15,6 +15,7 @@
#import "AllCustomerViewController.h"
#import "CustomerOrderViewController.h"
#import <Bugly/Bugly.h>
#import "LearningCenterMainViewController.h"
@interface LoginViewController ()<RightVCselectedDelegate>
......@@ -285,9 +286,13 @@
customerVC.model.consumerNameOrMobileEquals = nil;
customerVC.model.orderStateEquals = nil;
[customerVC.customerOrderTableView.mj_header beginRefreshing];
}else if ([Name isEqualToString:@"关于"])
}else if ([Name isEqualToString:@"学习中心"])
{
selectedIndex = 9;
}else if ([Name isEqualToString:@"关于"])
{
selectedIndex = 10;
}
self.customtabbar.selectedIndex = selectedIndex;
}
......
......@@ -318,9 +318,16 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
/// 完成后回调
dispatch_group_notify(group, dispatch_get_main_queue(), ^{
/// 消费者抽奖成功后若没有支付,后面支付时可以继续享受奖品折扣
/// 消费者抽奖成功后若没有支付,后面支付时可以继续享受奖品折扣<需满足促销条件>
if ([resultModel.draw.state isEqualToString:ACCOMPLISHED]) {
weakSelf.customerDrawModel = [LuckDrawResultModel initializeWith:resultModel];
for (JSONModel *model in weakSelf.luckyDrawAndJDECardArray) {
if ([model isMemberOfClass:[LuckyDrawModel class]]) {
LuckyDrawModel *consumerModel = (LuckyDrawModel *)model;
if ([consumerModel.body isEqualToString:CONSUMER]) {
weakSelf.customerDrawModel = [LuckDrawResultModel initializeWith:resultModel];break;
}
}
}
}
/// 支付完成后
if (self.isShowPrintButton && resultModel.award) {
......
......@@ -67,7 +67,7 @@
- (NSArray *)subSectionArray
{
if (!_subSectionArray) {
_subSectionArray = @[@"",@"",@"",@[@"所有客户",@"客户订单"],@[@"技能培训",@"技能考核"],@""];
_subSectionArray = @[@"",@"",@"",@[@"所有客户",@"客户订单"],@"",@""];
}
return _subSectionArray;
}
......@@ -206,16 +206,14 @@
- (void)sectionClickAction:(UITapGestureRecognizer *)sender
{
NSInteger index = sender.view.tag;
if (index == 3 || index == 4) {
if (index == 3 ) {
BOOL controlClose = [self.sectionClosedArray[index] boolValue];
self.sectionClosedArray[index] = controlClose?@0:@1;
[self.rightTableview reloadSections:[NSIndexSet indexSetWithIndex:index] withRowAnimation:UITableViewRowAnimationFade];
}else{
self.sectionClosedArray[3] = @0;
self.sectionClosedArray[4] = @0;
NSMutableIndexSet *indexSet = [[NSMutableIndexSet alloc]init];
[indexSet addIndex:3];
[indexSet addIndex:4];
[self.rightTableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationFade];
[self closeSidebarAndPassEvents:self.dataArray[index]];
}
......
......@@ -57,7 +57,7 @@
{
if (_identifierArray == nil) {
_identifierArray = [NSArray arrayWithObjects:@"SearchViewController",@"ShoppingViewController",@"ClientViewController",@"RebateViewController",@"AnnouncementViewController",@"SceneLibraryViewController",@"ProductLibraryViewController",@"AllCustomerViewController",@"CustomerOrderViewController",@"AboutViewController", nil];
_identifierArray = [NSArray arrayWithObjects:@"SearchViewController",@"ShoppingViewController",@"ClientViewController",@"RebateViewController",@"AnnouncementViewController",@"SceneLibraryViewController",@"ProductLibraryViewController",@"AllCustomerViewController",@"CustomerOrderViewController",@"LearningCenterMainViewController",@"AboutViewController", nil];
}
return _identifierArray;
}
......@@ -127,9 +127,12 @@
for (int i=0; i<self.identifierArray.count; i++) {
NSString *controllString = self.identifierArray[i];
/// 公告
// 公告
if ([controllString isEqualToString:@"AnnouncementViewController"]) {
storyboard = [BaseViewController getAnnouncementStoryboardClass];
}else if ([controllString isEqualToString:@"LearningCenterMainViewController"]) {
// 学习中心
storyboard = [BaseViewController getLearningCenterStoryboardClass];
}else {
storyboard = [BaseViewController getMainStoryboardClass];
}
......
......@@ -150,6 +150,7 @@
29C0E73D1DD9824E006CCCF9 /* Announcement.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 29C0E73C1DD9824E006CCCF9 /* Announcement.storyboard */; };
29C0E73F1DD98335006CCCF9 /* LearningCenter.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 29C0E73E1DD98335006CCCF9 /* LearningCenter.storyboard */; };
29C0E7441DD98943006CCCF9 /* AnnouncementViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 29C0E7431DD98943006CCCF9 /* AnnouncementViewController.m */; };
29C30BDB1DDC1EE500CA3E29 /* LearningCenterMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 29C30BDA1DDC1EE500CA3E29 /* LearningCenterMainViewController.m */; };
29C584E91CDA249300C6F677 /* ProductCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 29C584E81CDA249200C6F677 /* ProductCollectionViewCell.m */; };
29C584ED1CDA429500C6F677 /* ProductDetailsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 29C584EC1CDA429500C6F677 /* ProductDetailsViewController.m */; };
29CB35421CFF0FB60061A5F3 /* ScreeningCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 29CB35411CFF0FB60061A5F3 /* ScreeningCollectionViewCell.m */; };
......@@ -464,6 +465,8 @@
29C0E73E1DD98335006CCCF9 /* LearningCenter.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LearningCenter.storyboard; sourceTree = "<group>"; };
29C0E7421DD98943006CCCF9 /* AnnouncementViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnnouncementViewController.h; sourceTree = "<group>"; };
29C0E7431DD98943006CCCF9 /* AnnouncementViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AnnouncementViewController.m; sourceTree = "<group>"; };
29C30BD91DDC1EE500CA3E29 /* LearningCenterMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LearningCenterMainViewController.h; sourceTree = "<group>"; };
29C30BDA1DDC1EE500CA3E29 /* LearningCenterMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LearningCenterMainViewController.m; sourceTree = "<group>"; };
29C584E71CDA249200C6F677 /* ProductCollectionViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProductCollectionViewCell.h; sourceTree = "<group>"; };
29C584E81CDA249200C6F677 /* ProductCollectionViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ProductCollectionViewCell.m; sourceTree = "<group>"; };
29C584EB1CDA429500C6F677 /* ProductDetailsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProductDetailsViewController.h; sourceTree = "<group>"; };
......@@ -1451,6 +1454,10 @@
29C0E7401DD9890F006CCCF9 /* LearningCenter */ = {
isa = PBXGroup;
children = (
29C30BD81DDC1EB200CA3E29 /* LearningCenterMain */,
29C30BD71DDC1E8C00CA3E29 /* ComprehensiveDiscussion */,
29C30BD61DDC0A5000CA3E29 /* OnlineLearning */,
29C30BD51DDC0A5000CA3E29 /* SkillsAssessment */,
);
path = LearningCenter;
sourceTree = "<group>";
......@@ -1464,6 +1471,36 @@
path = Announcement;
sourceTree = "<group>";
};
29C30BD51DDC0A5000CA3E29 /* SkillsAssessment */ = {
isa = PBXGroup;
children = (
);
path = SkillsAssessment;
sourceTree = "<group>";
};
29C30BD61DDC0A5000CA3E29 /* OnlineLearning */ = {
isa = PBXGroup;
children = (
);
path = OnlineLearning;
sourceTree = "<group>";
};
29C30BD71DDC1E8C00CA3E29 /* ComprehensiveDiscussion */ = {
isa = PBXGroup;
children = (
);
path = ComprehensiveDiscussion;
sourceTree = "<group>";
};
29C30BD81DDC1EB200CA3E29 /* LearningCenterMain */ = {
isa = PBXGroup;
children = (
29C30BD91DDC1EE500CA3E29 /* LearningCenterMainViewController.h */,
29C30BDA1DDC1EE500CA3E29 /* LearningCenterMainViewController.m */,
);
path = LearningCenterMain;
sourceTree = "<group>";
};
29C584E51CDA246900C6F677 /* controller */ = {
isa = PBXGroup;
children = (
......@@ -1983,6 +2020,7 @@
2962D07D1CD1E4490058829D /* NSArray+Objectwithindex.m in Sources */,
299876391CD9981800C90D0A /* GoodsInformationTableViewCell.m in Sources */,
29702B631D72EE2E00322196 /* RebateDetailsViewController.m in Sources */,
29C30BDB1DDC1EE500CA3E29 /* LearningCenterMainViewController.m in Sources */,
2949BABD1CD2EFA00049385A /* InformationTableViewCell.m in Sources */,
29706DB21CD082990003C412 /* Lighting.xcdatamodeld in Sources */,
2916A74C1D703DFF00644C8C /* PaymentsTableViewCell.m in Sources */,
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11201" systemVersion="16B2555" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" colorMatched="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes/>
<scenes>
<!--Learning Center Main View Controller-->
<scene sceneID="5MO-zx-EXG">
<objects>
<viewController storyboardIdentifier="LearningCenterMainViewController" id="7g5-Wn-nRo" customClass="LearningCenterMainViewController" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="cdH-ZG-5G3">
<rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="00登录-谭" id="AOj-Fj-d3g">
<frame key="frameInset" minX="-1" minY="1" maxX="-1" maxY="-3"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</imageView>
<view alpha="0.5" contentMode="scaleToFill" misplaced="YES" id="nEy-rJ-j68">
<frame key="frameInset" minX="31.45%" minY="141" width="37.11%" height="36.84%"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" heightSizable="YES" flexibleMaxY="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="NewJDECard" id="nbs-22-0GD">
<frame key="frameInset" minX="19.67%" minY="23" width="80" height="80"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="welcome" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="LXb-vd-T3k">
<frame key="frameInset" minX="84.50%" minY="23" width="180" height="80"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" name="BodoniSvtyTwoITCTT-Book" family="Bodoni 72" pointSize="50"/>
<color key="textColor" red="0.2901960784" green="0.57254901960000004" blue="0.93725490199999995" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" misplaced="YES" id="1Iq-fL-s9J">
<frame key="frameInset" minX="35" height="50" maxX="35" maxY="54"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="11200" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="tQf-js-Zq1">
<frame key="frameInset" minY="0.0%" width="100" height="50"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="20"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2300" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="XAj-3G-tQj">
<frame key="frameInset" minX="50.00%" minY="0.0%" width="100" height="50"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="20"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="122" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ZUS-JV-M4p">
<frame key="frameInset" minY="0.0%" width="100" height="50"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="20"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</view>
<view contentMode="scaleToFill" misplaced="YES" id="zCz-Sp-ezT">
<frame key="frameInset" minX="35" height="30" maxX="35" maxY="27"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="当前积分" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="m8i-wL-M3F">
<frame key="frameInset" minY="0.0%" width="100" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="季度积分排行" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Pip-8d-cLg">
<frame key="frameInset" minX="50.00%" minY="0.0%" width="100" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="年度积分排行" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="w2Q-PV-IbQ">
<frame key="frameInset" minY="0.0%" width="100" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="3"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
<view contentMode="scaleToFill" misplaced="YES" id="PBY-Zs-WcR">
<frame key="frameInset" minX="112" minY="77.82%" height="200" maxX="112"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" misplaced="YES" id="dXS-eO-1wo">
<frame key="frameInset" minY="0.0%" width="240" height="200"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
<view contentMode="scaleToFill" misplaced="YES" id="mIf-s0-NYt">
<frame key="frameInset" minX="50.09%" minY="0.0%" width="240" height="200"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
<view contentMode="scaleToFill" misplaced="YES" id="EhO-PB-wyK">
<frame key="frameInset" minY="0.0%" width="240" height="200"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
</subviews>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="yJl-Xe-PIx" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-87" y="-686"/>
</scene>
</scenes>
<resources>
<image name="00登录-谭" width="1024" height="768"/>
<image name="NewJDECard" width="690" height="471"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation" orientation="landscapeRight"/>
<simulatedScreenMetrics key="destination"/>
</simulatedMetricsContainer>
</document>
......@@ -808,7 +808,7 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="折扣金额" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="iOu-WG-fyV">
<frame key="frameInset" minX="8" minY="12" height="21" maxX="56"/>
<frame key="frameInset" minX="8" minY="12" height="21" maxX="-105"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......@@ -1752,7 +1752,7 @@
<rect key="frame" x="0.0" y="28" width="972.5" height="80"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="ZT1-XJ-ObI" id="GWp-Jl-7br">
<frame key="frameInset" width="972.5" height="79"/>
<frame key="frameInset" width="972.5" height="79.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="PkJ-eJ-ksY">
......
......@@ -46,6 +46,11 @@
*/
+ (UIStoryboard *)getAnnouncementStoryboardClass;
/**
获得学习中心storyboard对象
*/
+ (UIStoryboard *)getLearningCenterStoryboardClass;
/**
* 调用打印机
*/
......
......@@ -227,6 +227,14 @@
return storyboard;
}
#pragma mark - 获得学习中心storyboard对象
+ (UIStoryboard *)getLearningCenterStoryboardClass
{
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"LearningCenter" bundle:nil];
return storyboard;
}
#pragma mark 调用airPrint无线打印机
- (void)callAirprintWithdata:(NSString *)PDFpath SuccessBlock:(void(^)())success ErrorBlock:(void(^)())failed
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment