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
886b84be
Commit
886b84be
authored
Apr 18, 2016
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
界面修改
parent
4543bc8c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
SalesInputViewController.m
...emplates/salesInput/Controller/SalesInputViewController.m
+6
-5
SalesInputTableViewCell.xib
...one/templates/salesInput/View/SalesInputTableViewCell.xib
+2
-2
SalesInputTopView.xib
...ew_iPhone/templates/salesInput/View/SalesInputTopView.xib
+3
-3
No files found.
vanke/view_iPhone/templates/salesInput/Controller/SalesInputViewController.m
View file @
886b84be
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
[
super
viewDidLoad
];
[
super
viewDidLoad
];
self
.
view
.
backgroundColor
=
[
UIColor
whiteColor
];
self
.
view
.
backgroundColor
=
[
UIColor
whiteColor
];
[
self
setUpNavigationBar
];
[
self
setUpNavigationBar
];
[
self
setUpTopView
];
[
self
setUpTableView
];
[
self
setUpTableView
];
[
self
setUpTopView
];
// Do any additional setup after loading the view.
// Do any additional setup after loading the view.
}
}
...
@@ -32,12 +32,13 @@
...
@@ -32,12 +32,13 @@
ON_WILL_APPEAR
(
signal
)
ON_WILL_APPEAR
(
signal
)
{
{
[[
VankeAppBoard_iPhone
sharedInstance
]
hideMenu
];
[[
VankeAppBoard_iPhone
sharedInstance
]
hideMenu
];
}
}
-
(
void
)
setUpTableView
{
-
(
void
)
setUpTableView
{
self
.
tableView
=
[[
UITableView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
364
,
SCREEN_WIDTH
,
SCREEN_HEIGHT
-
364
)
style
:
UITableViewStylePlain
];
self
.
tableView
=
[[
UITableView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
SCREEN_WIDTH
,
SCREEN_HEIGHT
)
style
:
UITableViewStylePlain
];
self
.
tableView
.
contentInset
=
UIEdgeInsetsMake
(
364
,
0
,
0
,
0
);
self
.
tableView
.
delegate
=
self
;
self
.
tableView
.
delegate
=
self
;
self
.
tableView
.
dataSource
=
self
;
self
.
tableView
.
dataSource
=
self
;
self
.
tableView
.
separatorStyle
=
UITableViewCellSeparatorStyleNone
;
self
.
tableView
.
separatorStyle
=
UITableViewCellSeparatorStyleNone
;
...
@@ -71,8 +72,8 @@ ON_WILL_APPEAR( signal )
...
@@ -71,8 +72,8 @@ ON_WILL_APPEAR( signal )
-
(
void
)
setUpTopView
{
-
(
void
)
setUpTopView
{
SalesInputTopView
*
topView
=
[
self
viewWithNibName
:
@"SalesInputTopView"
];
SalesInputTopView
*
topView
=
[
self
viewWithNibName
:
@"SalesInputTopView"
];
topView
.
frame
=
CGRectMake
(
0
,
64
,
0
,
300
);
topView
.
frame
=
CGRectMake
(
0
,
-
300
,
SCREEN_WIDTH
,
300
);
[
self
.
v
iew
addSubview
:
topView
];
[
self
.
tableV
iew
addSubview
:
topView
];
}
}
-
(
id
)
viewWithNibName
:
(
NSString
*
)
viewName
{
-
(
id
)
viewWithNibName
:
(
NSString
*
)
viewName
{
...
...
vanke/view_iPhone/templates/salesInput/View/SalesInputTableViewCell.xib
View file @
886b84be
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<constraint
firstAttribute=
"height"
constant=
"45"
id=
"vCb-q8-qdd"
/>
<constraint
firstAttribute=
"height"
constant=
"45"
id=
"vCb-q8-qdd"
/>
</constraints>
</constraints>
<nil
key=
"textColor"
/>
<nil
key=
"textColor"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"1
2
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"1
8
"
/>
<textInputTraits
key=
"textInputTraits"
/>
<textInputTraits
key=
"textInputTraits"
/>
</textField>
</textField>
<textField
opaque=
"NO"
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
borderStyle=
"roundedRect"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"IOd-nI-Sgk"
>
<textField
opaque=
"NO"
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
borderStyle=
"roundedRect"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"IOd-nI-Sgk"
>
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<constraint
firstAttribute=
"height"
constant=
"45"
id=
"Tti-cq-XrO"
/>
<constraint
firstAttribute=
"height"
constant=
"45"
id=
"Tti-cq-XrO"
/>
</constraints>
</constraints>
<nil
key=
"textColor"
/>
<nil
key=
"textColor"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"1
2
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"1
8
"
/>
<textInputTraits
key=
"textInputTraits"
/>
<textInputTraits
key=
"textInputTraits"
/>
</textField>
</textField>
</subviews>
</subviews>
...
...
vanke/view_iPhone/templates/salesInput/View/SalesInputTopView.xib
View file @
886b84be
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"星巴克【A01-01】"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"dRE-Ph-BBH"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"星巴克【A01-01】"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"dRE-Ph-BBH"
>
<rect
key=
"frame"
x=
"1
51"
y=
"31"
width=
"191
"
height=
"21"
/>
<rect
key=
"frame"
x=
"1
29"
y=
"31"
width=
"213
"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<color
key=
"textColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
<color
key=
"textColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
</constraints>
</constraints>
</imageView>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"2016-3-28"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bGh-xS-xLq"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"2016-3-28"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bGh-xS-xLq"
>
<rect
key=
"frame"
x=
"1
51"
y=
"84"
width=
"191
"
height=
"21"
/>
<rect
key=
"frame"
x=
"1
29"
y=
"84"
width=
"213
"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<color
key=
"textColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
<color
key=
"textColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<constraint
firstItem=
"stJ-qB-AhQ"
firstAttribute=
"centerY"
secondItem=
"dRE-Ph-BBH"
secondAttribute=
"centerY"
id=
"Nlr-iN-hXh"
/>
<constraint
firstItem=
"stJ-qB-AhQ"
firstAttribute=
"centerY"
secondItem=
"dRE-Ph-BBH"
secondAttribute=
"centerY"
id=
"Nlr-iN-hXh"
/>
<constraint
firstItem=
"dRE-Ph-BBH"
firstAttribute=
"centerY"
secondItem=
"dB4-mG-z77"
secondAttribute=
"centerY"
id=
"Nx9-24-pxo"
/>
<constraint
firstItem=
"dRE-Ph-BBH"
firstAttribute=
"centerY"
secondItem=
"dB4-mG-z77"
secondAttribute=
"centerY"
id=
"Nx9-24-pxo"
/>
<constraint
firstItem=
"dRE-Ph-BBH"
firstAttribute=
"centerY"
secondItem=
"ilW-3S-WXQ"
secondAttribute=
"centerY"
id=
"OIS-ei-9Mh"
/>
<constraint
firstItem=
"dRE-Ph-BBH"
firstAttribute=
"centerY"
secondItem=
"ilW-3S-WXQ"
secondAttribute=
"centerY"
id=
"OIS-ei-9Mh"
/>
<constraint
firstItem=
"dRE-Ph-BBH"
firstAttribute=
"leading"
secondItem=
"ilW-3S-WXQ"
secondAttribute=
"trailing"
constant=
"
72
"
id=
"Sne-cr-Yhv"
/>
<constraint
firstItem=
"dRE-Ph-BBH"
firstAttribute=
"leading"
secondItem=
"ilW-3S-WXQ"
secondAttribute=
"trailing"
constant=
"
50
"
id=
"Sne-cr-Yhv"
/>
<constraint
firstItem=
"bGh-xS-xLq"
firstAttribute=
"leading"
secondItem=
"dRE-Ph-BBH"
secondAttribute=
"leading"
id=
"Ubn-UP-A5o"
/>
<constraint
firstItem=
"bGh-xS-xLq"
firstAttribute=
"leading"
secondItem=
"dRE-Ph-BBH"
secondAttribute=
"leading"
id=
"Ubn-UP-A5o"
/>
<constraint
firstItem=
"KyU-0A-D7m"
firstAttribute=
"top"
secondItem=
"ilW-3S-WXQ"
secondAttribute=
"bottom"
constant=
"17"
id=
"b0W-Du-na6"
/>
<constraint
firstItem=
"KyU-0A-D7m"
firstAttribute=
"top"
secondItem=
"ilW-3S-WXQ"
secondAttribute=
"bottom"
constant=
"17"
id=
"b0W-Du-na6"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"dB4-mG-z77"
secondAttribute=
"trailing"
constant=
"10"
id=
"dh9-wa-yXK"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"dB4-mG-z77"
secondAttribute=
"trailing"
constant=
"10"
id=
"dh9-wa-yXK"
/>
...
...
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