Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
万
万科
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
张杰
万科
Commits
167e7510
Commit
167e7510
authored
Oct 28, 2015
by
Achilles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add affairs tab page
parent
8e420aa4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
274 additions
and
3 deletions
+274
-3
project.pbxproj
vanke.xcodeproj/project.pbxproj
+52
-2
bill.png
vanke/view_iPhone/resource/img/bill.png
+0
-0
bill@2x.png
vanke/view_iPhone/resource/img/bill@2x.png
+0
-0
notice.png
vanke/view_iPhone/resource/img/notice.png
+0
-0
notice@2x.png
vanke/view_iPhone/resource/img/notice@2x.png
+0
-0
sale_input.png
vanke/view_iPhone/resource/img/sale_input.png
+0
-0
sale_input@2x.png
vanke/view_iPhone/resource/img/sale_input@2x.png
+0
-0
service_apply.png
vanke/view_iPhone/resource/img/service_apply.png
+0
-0
service_apply@2x.png
vanke/view_iPhone/resource/img/service_apply@2x.png
+0
-0
VankeAppBoard_iPhone.m
vanke/view_iPhone/templates/VankeAppBoard_iPhone.m
+7
-1
VankeAffairsBoard_iPhone.h
.../view_iPhone/templates/affairs/VankeAffairsBoard_iPhone.h
+29
-0
VankeAffairsBoard_iPhone.m
.../view_iPhone/templates/affairs/VankeAffairsBoard_iPhone.m
+109
-0
VankeAffairsBoard_iPhone.xml
...iew_iPhone/templates/affairs/VankeAffairsBoard_iPhone.xml
+77
-0
No files found.
vanke.xcodeproj/project.pbxproj
View file @
167e7510
This diff is collapsed.
Click to expand it.
vanke/view_iPhone/resource/img/bill.png
0 → 100755
View file @
167e7510
3.75 KB
vanke/view_iPhone/resource/img/bill@2x.png
0 → 100755
View file @
167e7510
5.65 KB
vanke/view_iPhone/resource/img/notice.png
0 → 100755
View file @
167e7510
3.29 KB
vanke/view_iPhone/resource/img/notice@2x.png
0 → 100755
View file @
167e7510
5.04 KB
vanke/view_iPhone/resource/img/sale_input.png
0 → 100755
View file @
167e7510
3.16 KB
vanke/view_iPhone/resource/img/sale_input@2x.png
0 → 100755
View file @
167e7510
4.39 KB
vanke/view_iPhone/resource/img/service_apply.png
0 → 100755
View file @
167e7510
3.41 KB
vanke/view_iPhone/resource/img/service_apply@2x.png
0 → 100755
View file @
167e7510
5.23 KB
vanke/view_iPhone/templates/VankeAppBoard_iPhone.m
View file @
167e7510
...
...
@@ -11,6 +11,7 @@
#import "VankeUtil.h"
#import "VankeMainBoard_iPhone.h"
#import "VankeLoginBoard_iPhone.h"
#import "VankeAffairsBoard_iPhone.h"
#import "VankeSettingsBoard_iPhone.h"
#import "VankeMainTabBoard_iPhone.h"
...
...
@@ -55,7 +56,7 @@ ON_CREATE_VIEWS( signal )
_router
.
parentBoard
=
self
;
_router
.
view
.
alpha
=
0
.
0
f
;
[
_router
map
:
@"home"
toClass
:[
VankeMainBoard_iPhone
class
]];
// [_router map:@"affairs" toClass:[About
Board_iPhone class]];
[
_router
map
:
@"affairs"
toClass
:[
VankeAffairs
Board_iPhone
class
]];
[
_router
map
:
@"me"
toClass
:[
VankeSettingsBoard_iPhone
class
]];
[
self
.
view
addSubview
:
_router
.
view
];
...
...
@@ -152,6 +153,11 @@ ON_SIGNAL3( VankeMainTabBoard_iPhone, home, signal )
[
_router
open
:
@"home"
animated
:
YES
];
}
ON_SIGNAL3
(
VankeMainTabBoard_iPhone
,
affairs
,
signal
)
{
[
_router
open
:
@"affairs"
animated
:
YES
];
}
ON_SIGNAL3
(
VankeMainTabBoard_iPhone
,
me
,
signal
)
{
[
_router
open
:
@"me"
animated
:
YES
];
...
...
vanke/view_iPhone/templates/affairs/VankeAffairsBoard_iPhone.h
0 → 100644
View file @
167e7510
//
// ______ ______ ______
// /\ __ \ /\ ___\ /\ ___\
// \ \ __< \ \ __\_ \ \ __\_
// \ \_____\ \ \_____\ \ \_____\
// \/_____/ \/_____/ \/_____/
//
// Powered by BeeFramework
//
//
// VankeAffairsBoard_iPhone.h
// vanke
//
// Created by xiaomi on 15/10/28.
// Copyright © 2015年 gomore. All rights reserved.
//
#import "Bee.h"
#pragma mark -
@interface
VankeAffairsBoard_iPhone
:
BeeUIBoard
AS_OUTLET
(
BeeUIButton
,
btnNotice
)
AS_OUTLET
(
BeeUIButton
,
btnBill
)
AS_OUTLET
(
BeeUIButton
,
btnSaleInput
)
AS_OUTLET
(
BeeUIButton
,
btnServiceApply
)
@end
vanke/view_iPhone/templates/affairs/VankeAffairsBoard_iPhone.m
0 → 100644
View file @
167e7510
//
// ______ ______ ______
// /\ __ \ /\ ___\ /\ ___\
// \ \ __< \ \ __\_ \ \ __\_
// \ \_____\ \ \_____\ \ \_____\
// \/_____/ \/_____/ \/_____/
//
// Powered by BeeFramework
//
//
// VankeAffairsBoard_iPhone.m
// vanke
//
// Created by xiaomi on 15/10/28.
// Copyright © 2015年 gomore. All rights reserved.
//
#import "VankeAffairsBoard_iPhone.h"
#pragma mark -
@interface
VankeAffairsBoard_iPhone
()
{
//<#@private var#>
}
@end
@implementation
VankeAffairsBoard_iPhone
SUPPORT_AUTOMATIC_LAYOUT
(
YES
)
SUPPORT_RESOURCE_LOADING
(
YES
)
DEF_OUTLET
(
BeeUIButton
,
btnNotice
)
DEF_OUTLET
(
BeeUIButton
,
btnBill
)
DEF_OUTLET
(
BeeUIButton
,
btnSaleInput
)
DEF_OUTLET
(
BeeUIButton
,
btnServiceApply
)
-
(
void
)
load
{
}
-
(
void
)
unload
{
}
#pragma mark - Signal
ON_CREATE_VIEWS
(
signal
)
{
self
.
navigationBarShown
=
YES
;
self
.
navigationBarTitle
=
@"事务"
;
UIColor
*
color
=
[
UIColor
colorWithRed
:
237
/
255
.
0
green
:
27
/
255
.
0
blue
:
35
/
255
.
0
alpha
:
1
.
0
];
if
(
IOS7_OR_LATER
)
{
self
.
navigationController
.
navigationBar
.
barTintColor
=
color
;
}
else
{
self
.
navigationController
.
navigationBar
.
tintColor
=
color
;
}
}
ON_DELETE_VIEWS
(
signal
)
{
}
ON_LAYOUT_VIEWS
(
signal
)
{
}
ON_WILL_APPEAR
(
signal
)
{
}
ON_DID_APPEAR
(
signal
)
{
}
ON_WILL_DISAPPEAR
(
signal
)
{
}
ON_DID_DISAPPEAR
(
signal
)
{
}
ON_SIGNAL3
(
VankeAffairsBoard_iPhone
,
btnNotice
,
signal
)
{
// VankeServiceBoardCell_iPhone *cell = (VankeServiceBoardCell_iPhone *)signal.sourceCell;
// if ([@"当前客流" eq:[cell name]]) {
// [[VankeAppBoard_iPhone sharedInstance] hideMenu];
// [self showListView: CELL_TYPE_PASSENGER];
// } else {
// [GEToast showWithText:@"正在研发中..." bottomOffset:50.0f duration:1.0f];
// }
INFO
(
@"button notice pressed."
);
}
ON_SIGNAL3
(
VankeAffairsBoard_iPhone
,
btnBill
,
signal
)
{
INFO
(
@"button bill pressed."
);
}
ON_SIGNAL3
(
VankeAffairsBoard_iPhone
,
btnSaleInput
,
signal
)
{
INFO
(
@"button sale input pressed."
);
}
ON_SIGNAL3
(
VankeAffairsBoard_iPhone
,
btnServiceApply
,
signal
)
{
INFO
(
@"button service apply pressed."
);
}
@end
vanke/view_iPhone/templates/affairs/VankeAffairsBoard_iPhone.xml
0 → 100644
View file @
167e7510
<?xml version="1.0" encoding="UTF-8"?>
<ui
namespace=
"VankeAffairsBoard_iPhone"
>
<linear
orientation=
"v"
class=
"wrapper"
>
<image
class=
"bg"
/>
<linear
orientation=
"h"
class=
"row row1"
>
<linear
orientation=
"v"
class=
"cell notice"
>
<button
id=
"btnNotice"
class=
"mask"
/>
<image
src=
"notice.png"
/>
</linear>
<linear
orientation=
"v"
class=
"cell"
>
<button
id=
"btnBill"
class=
"mask"
/>
<image
src=
"bill.png"
/>
</linear>
</linear>
<linear
orientation=
"h"
class=
"row row2"
>
<linear
orientation=
"v"
class=
"cell sale-input"
>
<button
id=
"btnSaleInput"
class=
"mask"
/>
<image
src=
"sale_input.png"
/>
</linear>
<linear
orientation=
"v"
class=
"cell"
>
<button
id=
"btnServiceApply"
class=
"mask"
/>
<image
src=
"service_apply.png"
/>
</linear>
</linear>
</linear>
<style
type=
"text/css"
>
.wrapper {
width: 100%;
height: 100%;
margin-top: 64px;
padding: 5px;
}
.wrapper > .bg {
position: absolute;
width: 100%;
height: 100%;
background-color: #f6f6f6;
}
.wrapper > .row {
width: 100%;
height: 135px;
margin-bottom: 5px;
}
.row > .cell {
width: 50%;
height: 100%;
}
.row > .cell > .mask {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
}
.row > .cell > image {
image-mode: fill;
}
.row1 > .notice,
.row2 > .sale-input {
padding-right: 5px;
}
</style>
</ui>
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