Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
ALand
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
ALand
Commits
7d16f628
Commit
7d16f628
authored
Apr 21, 2016
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请合伙人一部分界面搭建
parent
bfc73e91
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
166 additions
and
8 deletions
+166
-8
project.pbxproj
ALand.xcodeproj/project.pbxproj
+34
-0
OrderDetailTopView.xib
ALand/CodeClass/Home/View/Order/OrderDetailTopView.xib
+5
-5
HomeCollectionViewController.m
...eClass/Home/ViewController/HomeCollectionViewController.m
+6
-1
InvitePartnerViewController.h
...wController/InviteParterner/InvitePartnerViewController.h
+13
-0
InvitePartnerViewController.m
...wController/InviteParterner/InvitePartnerViewController.m
+37
-0
InvitePartnerViewController.xib
...ontroller/InviteParterner/InvitePartnerViewController.xib
+49
-0
StoreQRCodeViewController.m
...ewController/StoreManagerment/StoreQRCodeViewController.m
+20
-0
StoreQRCodeViewController.xib
...Controller/StoreManagerment/StoreQRCodeViewController.xib
+1
-1
MBProgressHUD+Javen.m
ALand/General/Categories/MBProgressHUD+Javen.m
+1
-1
No files found.
ALand.xcodeproj/project.pbxproj
View file @
7d16f628
...
@@ -51,6 +51,8 @@
...
@@ -51,6 +51,8 @@
192860FF1CBF708C00FA6E85
/* MBProgressHUD+Javen.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
192860FE1CBF708C00FA6E85
/* MBProgressHUD+Javen.m */
;
};
192860FF1CBF708C00FA6E85
/* MBProgressHUD+Javen.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
192860FE1CBF708C00FA6E85
/* MBProgressHUD+Javen.m */
;
};
192861041CBF825100FA6E85
/* JavenOwner.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
192861011CBF825100FA6E85
/* JavenOwner.m */
;
};
192861041CBF825100FA6E85
/* JavenOwner.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
192861011CBF825100FA6E85
/* JavenOwner.m */
;
};
192861051CBF825100FA6E85
/* JavenShop.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
192861031CBF825100FA6E85
/* JavenShop.m */
;
};
192861051CBF825100FA6E85
/* JavenShop.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
192861031CBF825100FA6E85
/* JavenShop.m */
;
};
1929401F1CC8DA5B00E377EE
/* InvitePartnerViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
1929401D1CC8DA5B00E377EE
/* InvitePartnerViewController.m */
;
};
192940201CC8DA5B00E377EE
/* InvitePartnerViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
1929401E1CC8DA5B00E377EE
/* InvitePartnerViewController.xib */
;
};
1929F16D1C9FCB62000E9B26
/* NSDictionary+Category.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
1929F16C1C9FCB62000E9B26
/* NSDictionary+Category.m */
;
};
1929F16D1C9FCB62000E9B26
/* NSDictionary+Category.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
1929F16C1C9FCB62000E9B26
/* NSDictionary+Category.m */
;
};
1929F16F1C9FCFA6000E9B26
/* Assets.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
1929F16E1C9FCFA6000E9B26
/* Assets.xcassets */
;
};
1929F16F1C9FCFA6000E9B26
/* Assets.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
1929F16E1C9FCFA6000E9B26
/* Assets.xcassets */
;
};
1929F17C1CA0DD77000E9B26
/* HomeTopView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
1929F17B1CA0DD77000E9B26
/* HomeTopView.m */
;
};
1929F17C1CA0DD77000E9B26
/* HomeTopView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
1929F17B1CA0DD77000E9B26
/* HomeTopView.m */
;
};
...
@@ -336,6 +338,9 @@
...
@@ -336,6 +338,9 @@
192861011CBF825100FA6E85
/* JavenOwner.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
JavenOwner.m
;
sourceTree
=
"<group>"
;
};
192861011CBF825100FA6E85
/* JavenOwner.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
JavenOwner.m
;
sourceTree
=
"<group>"
;
};
192861021CBF825100FA6E85
/* JavenShop.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
JavenShop.h
;
sourceTree
=
"<group>"
;
};
192861021CBF825100FA6E85
/* JavenShop.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
JavenShop.h
;
sourceTree
=
"<group>"
;
};
192861031CBF825100FA6E85
/* JavenShop.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
JavenShop.m
;
sourceTree
=
"<group>"
;
};
192861031CBF825100FA6E85
/* JavenShop.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
JavenShop.m
;
sourceTree
=
"<group>"
;
};
1929401C1CC8DA5B00E377EE
/* InvitePartnerViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
InvitePartnerViewController.h
;
sourceTree
=
"<group>"
;
};
1929401D1CC8DA5B00E377EE
/* InvitePartnerViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
InvitePartnerViewController.m
;
sourceTree
=
"<group>"
;
};
1929401E1CC8DA5B00E377EE
/* InvitePartnerViewController.xib */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
file.xib
;
path
=
InvitePartnerViewController.xib
;
sourceTree
=
"<group>"
;
};
1929F16B1C9FCB62000E9B26
/* NSDictionary+Category.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
"NSDictionary+Category.h"
;
sourceTree
=
"<group>"
;
};
1929F16B1C9FCB62000E9B26
/* NSDictionary+Category.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
"NSDictionary+Category.h"
;
sourceTree
=
"<group>"
;
};
1929F16C1C9FCB62000E9B26
/* NSDictionary+Category.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
"NSDictionary+Category.m"
;
sourceTree
=
"<group>"
;
};
1929F16C1C9FCB62000E9B26
/* NSDictionary+Category.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
"NSDictionary+Category.m"
;
sourceTree
=
"<group>"
;
};
1929F16E1C9FCFA6000E9B26
/* Assets.xcassets */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
folder.assetcatalog
;
path
=
Assets.xcassets
;
sourceTree
=
"<group>"
;
};
1929F16E1C9FCFA6000E9B26
/* Assets.xcassets */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
folder.assetcatalog
;
path
=
Assets.xcassets
;
sourceTree
=
"<group>"
;
};
...
@@ -874,6 +879,30 @@
...
@@ -874,6 +879,30 @@
path
=
ModelsFiles
;
path
=
ModelsFiles
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
192940191CC8D9D500E377EE
/* InviteParterner */
=
{
isa
=
PBXGroup
;
children
=
(
1929401C1CC8DA5B00E377EE
/* InvitePartnerViewController.h */
,
1929401D1CC8DA5B00E377EE
/* InvitePartnerViewController.m */
,
1929401E1CC8DA5B00E377EE
/* InvitePartnerViewController.xib */
,
);
path
=
InviteParterner
;
sourceTree
=
"<group>"
;
};
1929401A1CC8D9E600E377EE
/* InviteParterner */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
InviteParterner
;
sourceTree
=
"<group>"
;
};
1929401B1CC8D9EF00E377EE
/* InviteParterner */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
InviteParterner
;
sourceTree
=
"<group>"
;
};
1940D2DE1C9A56730080678C
=
{
1940D2DE1C9A56730080678C
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -1356,6 +1385,7 @@
...
@@ -1356,6 +1385,7 @@
19DCCA861C9A95E70072C3BF
/* Model */
=
{
19DCCA861C9A95E70072C3BF
/* Model */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
1929401B1CC8D9EF00E377EE
/* InviteParterner */
,
19DC6B301CC0D5330064A9FD
/* CustomerManagement */
,
19DC6B301CC0D5330064A9FD
/* CustomerManagement */
,
19DC6AFA1CBF867E0064A9FD
/* JavenShopModel.h */
,
19DC6AFA1CBF867E0064A9FD
/* JavenShopModel.h */
,
19DC6AFB1CBF867E0064A9FD
/* JavenShopModel.m */
,
19DC6AFB1CBF867E0064A9FD
/* JavenShopModel.m */
,
...
@@ -1370,6 +1400,7 @@
...
@@ -1370,6 +1400,7 @@
19DCCA871C9A95E70072C3BF
/* View */
=
{
19DCCA871C9A95E70072C3BF
/* View */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
1929401A1CC8D9E600E377EE
/* InviteParterner */
,
19DC6B2F1CC0D5260064A9FD
/* CustomerManagement */
,
19DC6B2F1CC0D5260064A9FD
/* CustomerManagement */
,
19DC6B101CC0ACB70064A9FD
/* MyTeams */
,
19DC6B101CC0ACB70064A9FD
/* MyTeams */
,
1900A3431CB6156F00B2B7C4
/* StoreManagerment */
,
1900A3431CB6156F00B2B7C4
/* StoreManagerment */
,
...
@@ -1392,6 +1423,7 @@
...
@@ -1392,6 +1423,7 @@
19DCCA881C9A95E70072C3BF
/* ViewController */
=
{
19DCCA881C9A95E70072C3BF
/* ViewController */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
192940191CC8D9D500E377EE
/* InviteParterner */
,
19DC6B2E1CC0D5190064A9FD
/* CustomerManagement */
,
19DC6B2E1CC0D5190064A9FD
/* CustomerManagement */
,
19DC6B0C1CC0A9340064A9FD
/* MyTeams */
,
19DC6B0C1CC0A9340064A9FD
/* MyTeams */
,
199B4D901CAE6F3500451E0E
/* StoreManagerment */
,
199B4D901CAE6F3500451E0E
/* StoreManagerment */
,
...
@@ -1877,6 +1909,7 @@
...
@@ -1877,6 +1909,7 @@
19DC6B151CC0ACF40064A9FD
/* MyTeamTopView.xib in Resources */
,
19DC6B151CC0ACF40064A9FD
/* MyTeamTopView.xib in Resources */
,
19ADD37F1CA4D38B00EE6E5A
/* CommodityListCollectionViewCell.xib in Resources */
,
19ADD37F1CA4D38B00EE6E5A
/* CommodityListCollectionViewCell.xib in Resources */
,
1979753F1CAA15C700407E3F
/* CommodityTableViewCell.xib in Resources */
,
1979753F1CAA15C700407E3F
/* CommodityTableViewCell.xib in Resources */
,
192940201CC8DA5B00E377EE
/* InvitePartnerViewController.xib in Resources */
,
);
);
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
};
};
...
@@ -2114,6 +2147,7 @@
...
@@ -2114,6 +2147,7 @@
1900A33C1CB602D500B2B7C4
/* StoreNameViewController.m in Sources */
,
1900A33C1CB602D500B2B7C4
/* StoreNameViewController.m in Sources */
,
19DCCBCD1C9AA0450072C3BF
/* UIFont+Custom.m in Sources */
,
19DCCBCD1C9AA0450072C3BF
/* UIFont+Custom.m in Sources */
,
19DCCBE41C9AA0450072C3BF
/* ICRFunctionEntity.m in Sources */
,
19DCCBE41C9AA0450072C3BF
/* ICRFunctionEntity.m in Sources */
,
1929401F1CC8DA5B00E377EE
/* InvitePartnerViewController.m in Sources */
,
19632DA81CB356050024A8A1
/* UIImage+QRCode.m in Sources */
,
19632DA81CB356050024A8A1
/* UIImage+QRCode.m in Sources */
,
19DC6B2B1CC0CEDD0064A9FD
/* MBTextFieldWithFontAdapter.m in Sources */
,
19DC6B2B1CC0CEDD0064A9FD
/* MBTextFieldWithFontAdapter.m in Sources */
,
19DC6B2D1CC0CEDD0064A9FD
/* MBFontAdapter.m in Sources */
,
19DC6B2D1CC0CEDD0064A9FD
/* MBFontAdapter.m in Sources */
,
...
...
ALand/CodeClass/Home/View/Order/OrderDetailTopView.xib
View file @
7d16f628
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
<constraint
firstItem=
"nyc-Bh-qZx"
firstAttribute=
"leading"
secondItem=
"hQw-oZ-PUV"
secondAttribute=
"leading"
constant=
"22"
id=
"ecB-5T-290"
/>
<constraint
firstItem=
"nyc-Bh-qZx"
firstAttribute=
"leading"
secondItem=
"hQw-oZ-PUV"
secondAttribute=
"leading"
constant=
"22"
id=
"ecB-5T-290"
/>
</constraints>
</constraints>
</view>
</view>
<view
contentMode=
"scaleToFill"
misplaced=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"9kH-LK-wk8"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"9kH-LK-wk8"
>
<rect
key=
"frame"
x=
"0.0"
y=
"120"
width=
"320"
height=
"13
2
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"120"
width=
"320"
height=
"13
8
"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"收货人:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Xru-fq-ja3"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"收货人:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Xru-fq-ja3"
>
<rect
key=
"frame"
x=
"35"
y=
"22"
width=
"68"
height=
"21"
/>
<rect
key=
"frame"
x=
"35"
y=
"22"
width=
"68"
height=
"21"
/>
...
@@ -109,8 +109,8 @@
...
@@ -109,8 +109,8 @@
</mask>
</mask>
</variation>
</variation>
</view>
</view>
<view
contentMode=
"scaleToFill"
misplaced=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"kMe-iN-q0b"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"kMe-iN-q0b"
>
<rect
key=
"frame"
x=
"0.0"
y=
"26
0
"
width=
"320"
height=
"29"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"26
6
"
width=
"320"
height=
"29"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"商品信息"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"nUT-vO-b28"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"商品信息"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"nUT-vO-b28"
>
<rect
key=
"frame"
x=
"15"
y=
"4"
width=
"68"
height=
"21"
/>
<rect
key=
"frame"
x=
"15"
y=
"4"
width=
"68"
height=
"21"
/>
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
<outlet
property=
"labelName"
destination=
"J01-8B-y5r"
id=
"jwt-aT-2P0"
/>
<outlet
property=
"labelName"
destination=
"J01-8B-y5r"
id=
"jwt-aT-2P0"
/>
<outlet
property=
"labelPhoneNumber"
destination=
"v7R-er-zaD"
id=
"jiO-J8-KxV"
/>
<outlet
property=
"labelPhoneNumber"
destination=
"v7R-er-zaD"
id=
"jiO-J8-KxV"
/>
</connections>
</connections>
<point
key=
"canvasLocation"
x=
"
215"
y=
"302
.5"
/>
<point
key=
"canvasLocation"
x=
"
184"
y=
"361
.5"
/>
</view>
</view>
</objects>
</objects>
<resources>
<resources>
...
...
ALand/CodeClass/Home/ViewController/HomeCollectionViewController.m
View file @
7d16f628
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#import "StoreManagermentViewController.h"
#import "StoreManagermentViewController.h"
#import "MyTeamViewController.h"
#import "MyTeamViewController.h"
#import "CustomerManagementViewController.h"
#import "CustomerManagementViewController.h"
#import "InvitePartnerViewController.h"
#define kHomeCollectionViewID @"HomeCollectionViewID"
#define kHomeCollectionViewID @"HomeCollectionViewID"
#define kCollectionViewHeadHeight 350
#define kCollectionViewHeadHeight 350
...
@@ -171,7 +172,11 @@
...
@@ -171,7 +172,11 @@
break
;
break
;
case
5
:
//邀请合伙人
case
5
:
//邀请合伙人
{
{
InvitePartnerViewController
*
inviteVC
=
[[
InvitePartnerViewController
alloc
]
init
];
inviteVC
.
isShowNavigationBar
=
YES
;
inviteVC
.
title
=
@"邀请合伙人"
;
inviteVC
.
hidesBottomBarWhenPushed
=
YES
;
[
self
.
navigationController
pushViewController
:
inviteVC
animated
:
YES
];
}
}
break
;
break
;
...
...
ALand/CodeClass/Home/ViewController/InviteParterner/InvitePartnerViewController.h
0 → 100644
View file @
7d16f628
//
// InvitePartnerViewController.h
// ALand
//
// Created by Z on 16/4/21.
// Copyright © 2016年 Z. All rights reserved.
//
#import "IBTUIViewController.h"
@interface
InvitePartnerViewController
:
IBTUIViewController
@end
ALand/CodeClass/Home/ViewController/InviteParterner/InvitePartnerViewController.m
0 → 100644
View file @
7d16f628
//
// InvitePartnerViewController.m
// ALand
//
// Created by Z on 16/4/21.
// Copyright © 2016年 Z. All rights reserved.
//
#import "InvitePartnerViewController.h"
@interface
InvitePartnerViewController
()
@end
@implementation
InvitePartnerViewController
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
// Do any additional setup after loading the view from its nib.
}
-
(
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
ALand/CodeClass/Home/ViewController/InviteParterner/InvitePartnerViewController.xib
0 → 100644
View file @
7d16f628
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"9532"
systemVersion=
"15D21"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"9530"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"InvitePartnerViewController"
>
<connections>
<outlet
property=
"view"
destination=
"i5M-Pr-FkT"
id=
"sfx-zR-JGt"
/>
</connections>
</placeholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
clearsContextBeforeDrawing=
"NO"
contentMode=
"scaleToFill"
id=
"i5M-Pr-FkT"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"667"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"DOU-lM-mk6"
>
<rect
key=
"frame"
x=
"32"
y=
"560"
width=
"311"
height=
"44"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"300"
id=
"L0k-pB-2Td"
/>
<constraint
firstAttribute=
"width"
constant=
"311"
id=
"aCp-3e-AxW"
/>
<constraint
firstAttribute=
"height"
relation=
"greaterThanOrEqual"
constant=
"44"
id=
"eLL-bj-RVZ"
/>
<constraint
firstAttribute=
"height"
constant=
"44"
id=
"nwW-ZM-Q9Y"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"22"
/>
<state
key=
"normal"
title=
"立刻邀请"
backgroundImage=
"rigist_btn_bg"
>
<color
key=
"titleColor"
red=
"0.97254901959999995"
green=
"0.97254901959999995"
blue=
"0.97254901959999995"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</state>
<variation
key=
"default"
>
<mask
key=
"constraints"
>
<exclude
reference=
"L0k-pB-2Td"
/>
</mask>
</variation>
</button>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
<constraints>
<constraint
firstItem=
"DOU-lM-mk6"
firstAttribute=
"centerX"
secondItem=
"i5M-Pr-FkT"
secondAttribute=
"centerX"
id=
"2er-dC-vbh"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"DOU-lM-mk6"
secondAttribute=
"bottom"
constant=
"63"
id=
"j8V-cB-B4n"
/>
</constraints>
<simulatedScreenMetrics
key=
"simulatedDestinationMetrics"
type=
"retina47"
/>
<point
key=
"canvasLocation"
x=
"428.5"
y=
"112.5"
/>
</view>
</objects>
<resources>
<image
name=
"rigist_btn_bg"
width=
"490"
height=
"65"
/>
</resources>
</document>
ALand/CodeClass/Home/ViewController/StoreManagerment/StoreQRCodeViewController.m
View file @
7d16f628
...
@@ -34,11 +34,31 @@
...
@@ -34,11 +34,31 @@
[
self
.
navigationController
setNavigationBarHidden
:
NO
animated
:
YES
];
[
self
.
navigationController
setNavigationBarHidden
:
NO
animated
:
YES
];
}
}
-
(
IBAction
)
actionSafeToAlbum
:
(
id
)
sender
{
-
(
IBAction
)
actionSafeToAlbum
:
(
id
)
sender
{
UIImageWriteToSavedPhotosAlbum
(
self
.
imageViewQRCode
.
image
,
self
,
@selector
(
image
:
didFinishSavingWithError
:
contextInfo
:
)
,
nil
)
;
}
}
-
(
IBAction
)
actionShare
:
(
id
)
sender
{
-
(
IBAction
)
actionShare
:
(
id
)
sender
{
}
}
-
(
void
)
image
:
(
UIImage
*
)
image
didFinishSavingWithError
:
(
NSError
*
)
error
contextInfo
:
(
void
*
)
contextInfo
{
// Was there an error?
if
(
error
!=
NULL
)
{
// Show error message…
}
else
// No errors
{
[
MBProgressHUD
Javen_showSuccess
:
@"保存成功!"
onView
:
self
.
view
delay
:
0
.
4
complete
:
nil
];
// Show message image successfully saved
}
}
-
(
void
)
didReceiveMemoryWarning
{
-
(
void
)
didReceiveMemoryWarning
{
[
super
didReceiveMemoryWarning
];
[
super
didReceiveMemoryWarning
];
// Dispose of any resources that can be recreated.
// Dispose of any resources that can be recreated.
...
...
ALand/CodeClass/Home/ViewController/StoreManagerment/StoreQRCodeViewController.xib
View file @
7d16f628
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
<constraints>
<constraints>
<constraint
firstItem=
"bLf-3W-zks"
firstAttribute=
"top"
secondItem=
"RFH-hd-LUV"
secondAttribute=
"top"
id=
"FAS-oh-mxh"
/>
<constraint
firstItem=
"bLf-3W-zks"
firstAttribute=
"top"
secondItem=
"RFH-hd-LUV"
secondAttribute=
"top"
id=
"FAS-oh-mxh"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"bLf-3W-zks"
secondAttribute=
"trailing"
constant=
"67"
id=
"QLR-Uf-j7Q"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"bLf-3W-zks"
secondAttribute=
"trailing"
constant=
"67"
id=
"QLR-Uf-j7Q"
/>
<constraint
firstAttribute=
"height"
constant=
"349"
id=
"WbD-h8-Yh2"
/>
<constraint
firstItem=
"bLf-3W-zks"
firstAttribute=
"leading"
secondItem=
"RFH-hd-LUV"
secondAttribute=
"leading"
constant=
"67"
id=
"cZa-Uc-k0N"
/>
<constraint
firstItem=
"bLf-3W-zks"
firstAttribute=
"leading"
secondItem=
"RFH-hd-LUV"
secondAttribute=
"leading"
constant=
"67"
id=
"cZa-Uc-k0N"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"bLf-3W-zks"
secondAttribute=
"bottom"
id=
"myM-YP-fkq"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"bLf-3W-zks"
secondAttribute=
"bottom"
id=
"myM-YP-fkq"
/>
</constraints>
</constraints>
...
@@ -84,7 +85,6 @@
...
@@ -84,7 +85,6 @@
<constraint
firstItem=
"RFH-hd-LUV"
firstAttribute=
"leading"
secondItem=
"i5M-Pr-FkT"
secondAttribute=
"leading"
id=
"MIA-sU-jn5"
/>
<constraint
firstItem=
"RFH-hd-LUV"
firstAttribute=
"leading"
secondItem=
"i5M-Pr-FkT"
secondAttribute=
"leading"
id=
"MIA-sU-jn5"
/>
<constraint
firstItem=
"ViK-KX-ySY"
firstAttribute=
"leading"
secondItem=
"i5M-Pr-FkT"
secondAttribute=
"leading"
constant=
"32"
id=
"WS0-mD-3Ht"
/>
<constraint
firstItem=
"ViK-KX-ySY"
firstAttribute=
"leading"
secondItem=
"i5M-Pr-FkT"
secondAttribute=
"leading"
constant=
"32"
id=
"WS0-mD-3Ht"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"RFH-hd-LUV"
secondAttribute=
"trailing"
id=
"YtN-QY-ief"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"RFH-hd-LUV"
secondAttribute=
"trailing"
id=
"YtN-QY-ief"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"RFH-hd-LUV"
secondAttribute=
"bottom"
constant=
"318"
id=
"m2v-gS-1IT"
/>
<constraint
firstItem=
"x2U-B2-ts9"
firstAttribute=
"top"
secondItem=
"ViK-KX-ySY"
secondAttribute=
"bottom"
constant=
"33"
id=
"qvg-XY-VxV"
/>
<constraint
firstItem=
"x2U-B2-ts9"
firstAttribute=
"top"
secondItem=
"ViK-KX-ySY"
secondAttribute=
"bottom"
constant=
"33"
id=
"qvg-XY-VxV"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ViK-KX-ySY"
secondAttribute=
"trailing"
constant=
"32"
id=
"u1j-6W-nJr"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ViK-KX-ySY"
secondAttribute=
"trailing"
constant=
"32"
id=
"u1j-6W-nJr"
/>
</constraints>
</constraints>
...
...
ALand/General/Categories/MBProgressHUD+Javen.m
View file @
7d16f628
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
[
hud
show
:
YES
];
[
hud
show
:
YES
];
dispatch_after
(
dispatch_time
(
DISPATCH_TIME_NOW
,
(
int64_t
)(
time
*
NSEC_PER_SEC
)),
dispatch_get_main_queue
(),
^
{
dispatch_after
(
dispatch_time
(
DISPATCH_TIME_NOW
,
(
int64_t
)(
time
*
NSEC_PER_SEC
)),
dispatch_get_main_queue
(),
^
{
[
self
hideHUD
];
[
self
hideHUD
ForView
:
view
animated
:
YES
];
if
(
complete
)
{
if
(
complete
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment