Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
31ddb37d
Commit
31ddb37d
authored
May 08, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转商品分类Cell的ui
parent
f072bf03
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/分类Cell/SecondCell.xib
GeliBusinessPlatform/ViewController/分类Cell/SecondCell.xib
+2
-2
GeliBusinessPlatform/ViewController/分类Cell/ThirdCell.xib
GeliBusinessPlatform/ViewController/分类Cell/ThirdCell.xib
+2
-2
GeliBusinessPlatform/ViewController/商品分类/GoodsClassViewController.swift
...atform/ViewController/商品分类/GoodsClassViewController.swift
+3
-3
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
31ddb37d
No preview for this file type
GeliBusinessPlatform/ViewController/分类Cell/SecondCell.xib
View file @
31ddb37d
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"nBn-qe-PSC"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"nBn-qe-PSC"
>
<rect
key=
"frame"
x=
"
15"
y=
"48"
width=
"360
"
height=
"1"
/>
<rect
key=
"frame"
x=
"
40"
y=
"48"
width=
"335
"
height=
"1"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"5gC-ff-FPN"
/>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"5gC-ff-FPN"
/>
...
@@ -36,13 +36,13 @@
...
@@ -36,13 +36,13 @@
</subviews>
</subviews>
<color
key=
"backgroundColor"
name=
"分类Cell背景色"
/>
<color
key=
"backgroundColor"
name=
"分类Cell背景色"
/>
<constraints>
<constraints>
<constraint
firstItem=
"nBn-qe-PSC"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"8Uf-Le-cBK"
/>
<constraint
firstItem=
"QuV-c4-Eqm"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"40"
id=
"BBA-3E-o65"
/>
<constraint
firstItem=
"QuV-c4-Eqm"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"40"
id=
"BBA-3E-o65"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"nBn-qe-PSC"
secondAttribute=
"bottom"
id=
"D3Z-iL-5Pp"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"nBn-qe-PSC"
secondAttribute=
"bottom"
id=
"D3Z-iL-5Pp"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"QuV-c4-Eqm"
secondAttribute=
"trailing"
id=
"XjE-Nj-mIz"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"QuV-c4-Eqm"
secondAttribute=
"trailing"
id=
"XjE-Nj-mIz"
/>
<constraint
firstItem=
"uwp-3N-xwZ"
firstAttribute=
"centerY"
secondItem=
"QuV-c4-Eqm"
secondAttribute=
"centerY"
id=
"bTm-qV-KOP"
/>
<constraint
firstItem=
"uwp-3N-xwZ"
firstAttribute=
"centerY"
secondItem=
"QuV-c4-Eqm"
secondAttribute=
"centerY"
id=
"bTm-qV-KOP"
/>
<constraint
firstItem=
"QuV-c4-Eqm"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"dfv-qv-WTO"
/>
<constraint
firstItem=
"QuV-c4-Eqm"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"dfv-qv-WTO"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"uwp-3N-xwZ"
secondAttribute=
"trailing"
constant=
"15"
id=
"eix-ed-vK0"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"uwp-3N-xwZ"
secondAttribute=
"trailing"
constant=
"15"
id=
"eix-ed-vK0"
/>
<constraint
firstItem=
"nBn-qe-PSC"
firstAttribute=
"leading"
secondItem=
"QuV-c4-Eqm"
secondAttribute=
"leading"
id=
"foN-Sk-hRP"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"nBn-qe-PSC"
secondAttribute=
"trailing"
id=
"mno-LZ-yHw"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"nBn-qe-PSC"
secondAttribute=
"trailing"
id=
"mno-LZ-yHw"
/>
<constraint
firstItem=
"nBn-qe-PSC"
firstAttribute=
"top"
secondItem=
"QuV-c4-Eqm"
secondAttribute=
"bottom"
id=
"tF5-Po-dnO"
/>
<constraint
firstItem=
"nBn-qe-PSC"
firstAttribute=
"top"
secondItem=
"QuV-c4-Eqm"
secondAttribute=
"bottom"
id=
"tF5-Po-dnO"
/>
</constraints>
</constraints>
...
...
GeliBusinessPlatform/ViewController/分类Cell/ThirdCell.xib
View file @
31ddb37d
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<rect
key=
"frame"
x=
"341"
y=
"15"
width=
"19"
height=
"19"
/>
<rect
key=
"frame"
x=
"341"
y=
"15"
width=
"19"
height=
"19"
/>
</imageView>
</imageView>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"SfC-2S-YPK"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"SfC-2S-YPK"
>
<rect
key=
"frame"
x=
"
15"
y=
"48"
width=
"36
0"
height=
"1"
/>
<rect
key=
"frame"
x=
"
75"
y=
"48"
width=
"30
0"
height=
"1"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"B43-AZ-cpc"
/>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"B43-AZ-cpc"
/>
...
@@ -43,8 +43,8 @@
...
@@ -43,8 +43,8 @@
<constraint
firstAttribute=
"bottom"
secondItem=
"82I-NG-ea8"
secondAttribute=
"bottom"
id=
"JSt-Om-bYm"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"82I-NG-ea8"
secondAttribute=
"bottom"
id=
"JSt-Om-bYm"
/>
<constraint
firstItem=
"82I-NG-ea8"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"75"
id=
"UPU-yV-uNp"
/>
<constraint
firstItem=
"82I-NG-ea8"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"75"
id=
"UPU-yV-uNp"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"SfC-2S-YPK"
secondAttribute=
"bottom"
id=
"VJ3-L9-F2F"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"SfC-2S-YPK"
secondAttribute=
"bottom"
id=
"VJ3-L9-F2F"
/>
<constraint
firstItem=
"SfC-2S-YPK"
firstAttribute=
"leading"
secondItem=
"82I-NG-ea8"
secondAttribute=
"leading"
id=
"ZfN-kc-mVn"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"4da-tb-aTt"
secondAttribute=
"trailing"
constant=
"15"
id=
"fKX-Hk-WnR"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"4da-tb-aTt"
secondAttribute=
"trailing"
constant=
"15"
id=
"fKX-Hk-WnR"
/>
<constraint
firstItem=
"SfC-2S-YPK"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"i9H-nA-jJN"
/>
</constraints>
</constraints>
</tableViewCellContentView>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
...
...
GeliBusinessPlatform/ViewController/商品分类/GoodsClassViewController.swift
View file @
31ddb37d
...
@@ -17,7 +17,7 @@ class GoodsClassViewController: BaseViewController , UITableViewDelegate, UITabl
...
@@ -17,7 +17,7 @@ class GoodsClassViewController: BaseViewController , UITableViewDelegate, UITabl
self
.
view
.
addSubview
(
navbar
)
self
.
view
.
addSubview
(
navbar
)
for
i
in
0
..<
5
{
for
i
in
0
..<
5
{
let
model_1
=
GoodsClassModel
()
let
model_1
=
GoodsClassModel
()
model_1
.
name
=
"商品=
\(
i
)
"
model_1
.
name
=
"
第一级
商品=
\(
i
)
"
model_1
.
isExpand
=
false
model_1
.
isExpand
=
false
model_1
.
isCanExpand
=
false
model_1
.
isCanExpand
=
false
model_1
.
isCanSelect
=
false
model_1
.
isCanSelect
=
false
...
@@ -28,7 +28,7 @@ class GoodsClassViewController: BaseViewController , UITableViewDelegate, UITabl
...
@@ -28,7 +28,7 @@ class GoodsClassViewController: BaseViewController , UITableViewDelegate, UITabl
model_1
.
isCanExpand
=
true
model_1
.
isCanExpand
=
true
for
j
in
0
..<
3
{
for
j
in
0
..<
3
{
let
model_2
=
GoodsClassModel
()
let
model_2
=
GoodsClassModel
()
model_2
.
name
=
"第二商品=
\(
j
)
"
model_2
.
name
=
"第二
级
商品=
\(
j
)
"
model_2
.
isExpand
=
false
model_2
.
isExpand
=
false
model_2
.
isCanExpand
=
false
model_2
.
isCanExpand
=
false
model_2
.
isCanSelect
=
false
model_2
.
isCanSelect
=
false
...
@@ -40,7 +40,7 @@ class GoodsClassViewController: BaseViewController , UITableViewDelegate, UITabl
...
@@ -40,7 +40,7 @@ class GoodsClassViewController: BaseViewController , UITableViewDelegate, UITabl
model_2
.
isCanExpand
=
true
model_2
.
isCanExpand
=
true
for
k
in
0
..<
2
{
for
k
in
0
..<
2
{
let
model_3
=
GoodsClassModel
()
let
model_3
=
GoodsClassModel
()
model_3
.
name
=
"第三商品=
\(
k
)
"
model_3
.
name
=
"第三
级
商品=
\(
k
)
"
model_3
.
isExpand
=
false
model_3
.
isExpand
=
false
model_3
.
isCanExpand
=
false
model_3
.
isCanExpand
=
false
model_3
.
isCanSelect
=
true
model_3
.
isCanSelect
=
true
...
...
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