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
375fc9d6
Commit
375fc9d6
authored
Apr 28, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库存商品详情
parent
b6a0d9fb
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
312 additions
and
9 deletions
+312
-9
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+8
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/SceneDelegate.swift
GeliBusinessPlatform/SceneDelegate.swift
+5
-5
GeliBusinessPlatform/ViewController/库存商品/ChuKuViewController.xib
...inessPlatform/ViewController/库存商品/ChuKuViewController.xib
+1
-1
GeliBusinessPlatform/ViewController/库存商品/KuCunShangPinXQViewController.swift
...m/ViewController/库存商品/KuCunShangPinXQViewController.swift
+122
-0
GeliBusinessPlatform/ViewController/库存商品/KuCunShangPinXQViewController.xib
...orm/ViewController/库存商品/KuCunShangPinXQViewController.xib
+150
-0
GeliBusinessPlatform/ViewController/库存商品/KuCunXiangQingCell.swift
...nessPlatform/ViewController/库存商品/KuCunXiangQingCell.swift
+11
-2
GeliBusinessPlatform/ViewController/库存商品/KuCunXiangQingCell.xib
...sinessPlatform/ViewController/库存商品/KuCunXiangQingCell.xib
+15
-1
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
375fc9d6
...
...
@@ -19,6 +19,8 @@
E00E48BF2457BAC700F16545
/* XuanZeShangPinCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00E48BD2457BAC700F16545
/* XuanZeShangPinCell.xib */
;
};
E00E48C22457C0D600F16545
/* XuanZeShangPinViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00E48C02457C0D600F16545
/* XuanZeShangPinViewController.swift */
;
};
E00E48C32457C0D600F16545
/* XuanZeShangPinViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00E48C12457C0D600F16545
/* XuanZeShangPinViewController.xib */
;
};
E00E48C62457C99900F16545
/* KuCunShangPinXQViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00E48C42457C99900F16545
/* KuCunShangPinXQViewController.swift */
;
};
E00E48C72457C99900F16545
/* KuCunShangPinXQViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00E48C52457C99900F16545
/* KuCunShangPinXQViewController.xib */
;
};
E01C26B12446989700ADCC70
/* Interface_Z.plist in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01C26B02446989700ADCC70
/* Interface_Z.plist */
;
};
E01C26B62446AF3100ADCC70
/* DemoViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01C26B42446AF3100ADCC70
/* DemoViewController.swift */
;
};
E01C26B72446AF3100ADCC70
/* DemoViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01C26B52446AF3100ADCC70
/* DemoViewController.xib */
;
};
...
...
@@ -287,6 +289,8 @@
E00E48BD2457BAC700F16545
/* XuanZeShangPinCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
XuanZeShangPinCell.xib
;
sourceTree
=
"<group>"
;
};
E00E48C02457C0D600F16545
/* XuanZeShangPinViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
XuanZeShangPinViewController.swift
;
sourceTree
=
"<group>"
;
};
E00E48C12457C0D600F16545
/* XuanZeShangPinViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
XuanZeShangPinViewController.xib
;
sourceTree
=
"<group>"
;
};
E00E48C42457C99900F16545
/* KuCunShangPinXQViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
KuCunShangPinXQViewController.swift
;
sourceTree
=
"<group>"
;
};
E00E48C52457C99900F16545
/* KuCunShangPinXQViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
KuCunShangPinXQViewController.xib
;
sourceTree
=
"<group>"
;
};
E01C26B02446989700ADCC70
/* Interface_Z.plist */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
text.plist.xml
;
path
=
Interface_Z.plist
;
sourceTree
=
"<group>"
;
};
E01C26B42446AF3100ADCC70
/* DemoViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
DemoViewController.swift
;
sourceTree
=
"<group>"
;
};
E01C26B52446AF3100ADCC70
/* DemoViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
DemoViewController.xib
;
sourceTree
=
"<group>"
;
};
...
...
@@ -996,6 +1000,8 @@
E0A2E82A24555D8600D6DB34
/* KuCunXiangQingCell.xib */
,
E02FD9EA2455627300E10E27
/* ChuKuViewController.swift */
,
E02FD9EB2455627300E10E27
/* ChuKuViewController.xib */
,
E00E48C42457C99900F16545
/* KuCunShangPinXQViewController.swift */
,
E00E48C52457C99900F16545
/* KuCunShangPinXQViewController.xib */
,
);
path
=
"库存商品"
;
sourceTree
=
"<group>"
;
...
...
@@ -1539,6 +1545,7 @@
E0F97B112451728D001BD600
/* AddGuiGeCell.xib in Resources */
,
E0C9EF13244E922200277435
/* OrderDViewController.xib in Resources */
,
F95567AC2453E40B009674AB
/* OrderListViewController.xib in Resources */
,
E00E48C72457C99900F16545
/* KuCunShangPinXQViewController.xib in Resources */
,
E02FD9F22455705F00E10E27
/* ChuRuKuJiLuCell.xib in Resources */
,
F961D26924500550007FBE70
/* HeaderSelectView.xib in Resources */
,
E088CC942447124D000DAA8A
/* BindViewController.xib in Resources */
,
...
...
@@ -1704,6 +1711,7 @@
F950FDD924518B9500C40530
/* FSCalendarDelegationFactory.m in Sources */
,
E0A2E82B24555D8600D6DB34
/* KuCunXiangQingCell.swift in Sources */
,
F933F6C22452C68B00189561
/* PKHUDAnimating.swift in Sources */
,
E00E48C62457C99900F16545
/* KuCunShangPinXQViewController.swift in Sources */
,
E02C882A2456B4BA00925766
/* WLGZCell.swift in Sources */
,
F950FDE824518CD800C40530
/* TimeSelectView.swift in Sources */
,
F933F6C72452C68B00189561
/* PKHUDWideBaseView.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
375fc9d6
No preview for this file type
GeliBusinessPlatform/SceneDelegate.swift
View file @
375fc9d6
...
...
@@ -35,12 +35,12 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, UITabBarControllerDeleg
}
//MARK:--loginVC
func
addLoginVc
(
isAgain
:
Bool
){
//
let vc = LoginViewController()
//
vc.delegate = self
//
let contentView = vc
let
vc
=
LoginViewController
()
vc
.
delegate
=
self
let
contentView
=
vc
let
vc
=
XuanZeShangPin
ViewController
()
let
contentView
=
vc
// let vc = KuCunShangPinXQ
ViewController()
//
let contentView = vc
if
let
windowScene
=
sceneC
as?
UIWindowScene
{
if
isAgain
{
...
...
GeliBusinessPlatform/ViewController/库存商品/ChuKuViewController.xib
View file @
375fc9d6
...
...
@@ -103,7 +103,7 @@
<color
red=
"0.3880000114440918"
green=
"0.62400001287460327"
blue=
"0.90200001001358032"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"按钮渐变色下,字体颜色"
>
<color
red=
"0.27
450980392156865"
green=
"0.5607843137254902"
blue=
"0.88627450980392153
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.27
843137254901962"
green=
"0.5607843137254902"
blue=
"0.8901960784313725
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/库存商品/KuCunShangPinXQViewController.swift
0 → 100644
View file @
375fc9d6
//
// KuCunShangPinXQViewController.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/28.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
KuCunShangPinXQViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
@IBOutlet
weak
var
topView
:
UIView
!
@IBOutlet
weak
var
listView
:
UITableView
!
@IBOutlet
weak
var
detailLbl2
:
UILabel
!
@IBOutlet
weak
var
detailLbl
:
UILabel
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
@IBOutlet
weak
var
imgView
:
UIImageView
!
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
navbar
.
title
=
"商品-xxxx"
self
.
view
.
addSubview
(
navbar
)
topView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
make
.
right
.
left
.
equalTo
(
0
)
make
.
height
.
equalTo
(
120
)
}
listView
.
separatorStyle
=
.
none
listView
.
register
(
UINib
(
nibName
:
"KuCunXiangQingCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"KuCunXiangQingCell"
)
}
//MARK: - CELL DELEGATE
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
fullScreenWidth
,
height
:
70
))
view
.
backgroundColor
=
UIColor
(
named
:
"app底色"
)
let
t1
=
UILabel
()
t1
.
text
=
"商品可售库存:"
t1
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
t1
.
textColor
=
UIColor
(
named
:
"标题字颜色"
)
t1
.
sizeToFit
()
view
.
addSubview
(
t1
)
t1
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
left
.
equalTo
(
15
)
make
.
width
.
equalTo
(
t1
.
bounds
.
size
.
width
)
make
.
height
.
equalTo
(
18.5
)
}
let
kcL
=
UILabel
()
//可售库存
kcL
.
text
=
"1010"
kcL
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
kcL
.
textColor
=
UIColor
(
named
:
"蓝色字体颜色"
)
view
.
addSubview
(
kcL
)
kcL
.
snp
.
makeConstraints
{
(
make
)
in
make
.
centerY
.
equalTo
(
t1
.
snp_centerY
)
make
.
left
.
equalTo
(
t1
.
snp_right
)
make
.
height
.
equalTo
(
18.5
)
}
let
zkcL
=
UILabel
()
//总库存
zkcL
.
text
=
"10111110"
zkcL
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
zkcL
.
textColor
=
UIColor
(
named
:
"蓝色字体颜色"
)
zkcL
.
sizeToFit
()
view
.
addSubview
(
zkcL
)
zkcL
.
snp
.
makeConstraints
{
(
make
)
in
make
.
centerY
.
equalTo
(
t1
.
snp_centerY
)
make
.
right
.
equalTo
(
-
15
)
make
.
width
.
equalTo
(
zkcL
.
bounds
.
size
.
width
)
make
.
height
.
equalTo
(
18.5
)
}
let
t2
=
UILabel
()
t2
.
text
=
"商品总库存:"
t2
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
t2
.
textColor
=
UIColor
(
named
:
"标题字颜色"
)
view
.
addSubview
(
t2
)
t2
.
snp
.
makeConstraints
{
(
make
)
in
make
.
centerY
.
equalTo
(
t1
.
snp_centerY
)
make
.
height
.
equalTo
(
18.5
)
make
.
right
.
equalTo
(
zkcL
.
snp_left
)
}
let
title
=
UILabel
()
title
.
text
=
"库存详情"
title
.
font
=
UIFont
.
boldSystemFont
(
ofSize
:
17
)
title
.
textColor
=
UIColor
(
named
:
"标题字颜色"
)
view
.
addSubview
(
title
)
title
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
t1
.
snp_bottom
)
.
offset
(
15
)
make
.
left
.
right
.
equalTo
(
15
)
make
.
height
.
equalTo
(
21
)
}
return
view
}
func
tableView
(
_
tableView
:
UITableView
,
heightForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
70
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
3
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
280
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"KuCunXiangQingCell"
)
as!
KuCunXiangQingCell
cell
.
shengChanLbl
.
attributedText
=
self
.
setStrLine
(
lbl
:
cell
.
shengChanLbl
)
cell
.
guoQiLbl
.
attributedText
=
self
.
setStrLine
(
lbl
:
cell
.
guoQiLbl
)
cell
.
ruKuLbl
.
attributedText
=
self
.
setStrLine
(
lbl
:
cell
.
ruKuLbl
)
cell
.
baoZhiQiLbl
.
attributedText
=
self
.
setStrLine
(
lbl
:
cell
.
baoZhiQiLbl
)
return
cell
}
func
setStrLine
(
lbl
:
UILabel
)
->
NSAttributedString
{
let
attributedString
=
NSMutableAttributedString
(
string
:
lbl
.
text
!
)
let
arr
=
lbl
.
text
?
.
components
(
separatedBy
:
":"
)
let
string
=
arr
?
.
first
let
str
=
arr
?
.
last
attributedString
.
addAttribute
(
.
underlineStyle
,
value
:
NSUnderlineStyle
.
single
.
rawValue
,
range
:
NSRange
(
location
:
string
!.
count
+
1
,
length
:
str
!.
count
))
return
attributedString
}
}
GeliBusinessPlatform/ViewController/库存商品/KuCunShangPinXQViewController.xib
0 → 100644
View file @
375fc9d6
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"15702"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"15704"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"KuCunShangPinXQViewController"
customModule=
"GeliBusinessPlatform"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"detailLbl"
destination=
"NIg-1W-Ft3"
id=
"r9r-3S-gLC"
/>
<outlet
property=
"detailLbl2"
destination=
"fGa-Hf-PbK"
id=
"6mo-ib-sNY"
/>
<outlet
property=
"imgView"
destination=
"30r-5L-JSv"
id=
"VaK-Ft-SwU"
/>
<outlet
property=
"listView"
destination=
"dNg-Tz-SQG"
id=
"CKb-gi-QEh"
/>
<outlet
property=
"nameLbl"
destination=
"fyx-Te-XG9"
id=
"MIh-I6-eQ7"
/>
<outlet
property=
"topView"
destination=
"8c7-ax-tc2"
id=
"S7o-SJ-peG"
/>
<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=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"8c7-ax-tc2"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"414"
height=
"120"
/>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"30r-5L-JSv"
>
<rect
key=
"frame"
x=
"15"
y=
"15"
width=
"90"
height=
"90"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"90"
id=
"k9k-r0-Th8"
/>
<constraint
firstAttribute=
"height"
constant=
"90"
id=
"oPU-4A-duq"
/>
</constraints>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
usesAttributedText=
"YES"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"fyx-Te-XG9"
>
<rect
key=
"frame"
x=
"115"
y=
"15"
width=
"274"
height=
"37"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"37"
id=
"3bq-zM-db7"
/>
</constraints>
<attributedString
key=
"attributedText"
>
<fragment
content=
"六和川香鸡柳"
>
<attributes>
<color
key=
"NSColor"
name=
"标题字颜色"
/>
<font
key=
"NSFont"
size=
"13"
name=
".PingFangSC-Regular"
/>
<paragraphStyle
key=
"NSParagraphStyle"
alignment=
"left"
lineBreakMode=
"wordWrapping"
baseWritingDirection=
"natural"
lineSpacing=
"4"
tighteningFactorForTruncation=
"0.0"
/>
</attributes>
</fragment>
<fragment
content=
"2.5kg/"
>
<attributes>
<color
key=
"NSColor"
name=
"标题字颜色"
/>
<font
key=
"NSFont"
size=
"13"
name=
".SFNS-Regular"
/>
<paragraphStyle
key=
"NSParagraphStyle"
alignment=
"left"
lineBreakMode=
"wordWrapping"
baseWritingDirection=
"natural"
lineSpacing=
"4"
tighteningFactorForTruncation=
"0.0"
/>
</attributes>
</fragment>
<fragment
content=
"新疆和田大红枣鸡柳"
>
<attributes>
<color
key=
"NSColor"
name=
"标题字颜色"
/>
<font
key=
"NSFont"
size=
"13"
name=
".PingFangSC-Regular"
/>
<paragraphStyle
key=
"NSParagraphStyle"
alignment=
"left"
lineBreakMode=
"wordWrapping"
baseWritingDirection=
"natural"
lineSpacing=
"4"
tighteningFactorForTruncation=
"0.0"
/>
</attributes>
</fragment>
<fragment
content=
"2.5kg/"
>
<attributes>
<color
key=
"NSColor"
name=
"标题字颜色"
/>
<font
key=
"NSFont"
size=
"13"
name=
".SFNS-Regular"
/>
<paragraphStyle
key=
"NSParagraphStyle"
alignment=
"left"
lineBreakMode=
"wordWrapping"
baseWritingDirection=
"natural"
lineSpacing=
"4"
tighteningFactorForTruncation=
"0.0"
/>
</attributes>
</fragment>
<fragment
content=
"新疆和"
>
<attributes>
<color
key=
"NSColor"
name=
"标题字颜色"
/>
<font
key=
"NSFont"
size=
"13"
name=
".PingFangSC-Regular"
/>
<paragraphStyle
key=
"NSParagraphStyle"
alignment=
"left"
lineBreakMode=
"wordWrapping"
baseWritingDirection=
"natural"
lineSpacing=
"4"
tighteningFactorForTruncation=
"0.0"
/>
</attributes>
</fragment>
</attributedString>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"5kg/箱/袋"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"NIg-1W-Ft3"
>
<rect
key=
"frame"
x=
"115"
y=
"67"
width=
"284"
height=
"15"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"15"
id=
"69W-Mi-nCZ"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"灰色字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"库存数:10000"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"fGa-Hf-PbK"
>
<rect
key=
"frame"
x=
"115"
y=
"87"
width=
"284"
height=
"15"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"15"
id=
"Vw9-8S-BCN"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"灰色字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"120"
id=
"1JR-5v-xQ8"
/>
<constraint
firstItem=
"30r-5L-JSv"
firstAttribute=
"centerY"
secondItem=
"8c7-ax-tc2"
secondAttribute=
"centerY"
id=
"3Nh-ce-Yvq"
/>
<constraint
firstItem=
"30r-5L-JSv"
firstAttribute=
"leading"
secondItem=
"8c7-ax-tc2"
secondAttribute=
"leading"
constant=
"15"
id=
"9y2-qG-8Eo"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"NIg-1W-Ft3"
secondAttribute=
"trailing"
constant=
"15"
id=
"GLG-KC-8Vx"
/>
<constraint
firstItem=
"fGa-Hf-PbK"
firstAttribute=
"leading"
secondItem=
"NIg-1W-Ft3"
secondAttribute=
"leading"
id=
"Lca-7I-jSb"
/>
<constraint
firstItem=
"fyx-Te-XG9"
firstAttribute=
"top"
secondItem=
"30r-5L-JSv"
secondAttribute=
"top"
id=
"Olt-PF-U0k"
/>
<constraint
firstItem=
"NIg-1W-Ft3"
firstAttribute=
"top"
secondItem=
"fyx-Te-XG9"
secondAttribute=
"bottom"
constant=
"15"
id=
"buB-1j-SJf"
/>
<constraint
firstItem=
"fGa-Hf-PbK"
firstAttribute=
"top"
secondItem=
"NIg-1W-Ft3"
secondAttribute=
"bottom"
constant=
"5"
id=
"jpb-i4-Ojv"
/>
<constraint
firstItem=
"NIg-1W-Ft3"
firstAttribute=
"leading"
secondItem=
"fyx-Te-XG9"
secondAttribute=
"leading"
id=
"oDF-Ls-2d9"
/>
<constraint
firstItem=
"fyx-Te-XG9"
firstAttribute=
"leading"
secondItem=
"30r-5L-JSv"
secondAttribute=
"trailing"
constant=
"10"
id=
"vat-a3-tOm"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"fGa-Hf-PbK"
secondAttribute=
"trailing"
constant=
"15"
id=
"wBU-kW-ziF"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"fyx-Te-XG9"
secondAttribute=
"trailing"
constant=
"25"
id=
"wdO-OI-iel"
/>
</constraints>
</view>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
showsHorizontalScrollIndicator=
"NO"
showsVerticalScrollIndicator=
"NO"
style=
"grouped"
separatorStyle=
"default"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"18"
sectionFooterHeight=
"18"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"dNg-Tz-SQG"
>
<rect
key=
"frame"
x=
"0.0"
y=
"164"
width=
"414"
height=
"698"
/>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<connections>
<outlet
property=
"dataSource"
destination=
"-1"
id=
"g7N-Ir-1AQ"
/>
<outlet
property=
"delegate"
destination=
"-1"
id=
"UAS-9t-c8x"
/>
</connections>
</tableView>
</subviews>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<constraints>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"bottom"
secondItem=
"dNg-Tz-SQG"
secondAttribute=
"bottom"
id=
"CXy-I7-FJY"
/>
<constraint
firstItem=
"8c7-ax-tc2"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"JZT-0d-HKp"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"8c7-ax-tc2"
secondAttribute=
"trailing"
id=
"Ker-3f-H9m"
/>
<constraint
firstItem=
"dNg-Tz-SQG"
firstAttribute=
"top"
secondItem=
"8c7-ax-tc2"
secondAttribute=
"bottom"
id=
"Win-Ys-QdA"
/>
<constraint
firstItem=
"dNg-Tz-SQG"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"WvE-Lt-IKv"
/>
<constraint
firstItem=
"8c7-ax-tc2"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"gib-Ce-IES"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"dNg-Tz-SQG"
secondAttribute=
"trailing"
id=
"nkQ-66-CTw"
/>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<point
key=
"canvasLocation"
x=
"132"
y=
"122"
/>
</view>
</objects>
<resources>
<namedColor
name=
"app底色"
>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"灰色字体颜色"
>
<color
red=
"0.40000000596046448"
green=
"0.40000000596046448"
blue=
"0.40000000596046448"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/库存商品/KuCunXiangQingCell.swift
View file @
375fc9d6
...
...
@@ -9,11 +9,20 @@
import
UIKit
class
KuCunXiangQingCell
:
UITableViewCell
{
@IBAction
func
checkAction
(
_
sender
:
Any
)
{
}
@IBAction
func
chuKuAction
(
_
sender
:
Any
)
{
}
///库存
@IBOutlet
weak
var
kcLbl
:
UILabel
!
@IBOutlet
weak
var
statusLbl
:
UILabel
!
@IBOutlet
weak
var
shengChanLbl
:
UILabel
!
@IBOutlet
weak
var
guoQiLbl
:
UILabel
!
@IBOutlet
weak
var
ruKuLbl
:
UILabel
!
@IBOutlet
weak
var
baoZhiQiLbl
:
UILabel
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
// Initialization code
}
...
...
GeliBusinessPlatform/ViewController/库存商品/KuCunXiangQingCell.xib
View file @
375fc9d6
...
...
@@ -123,6 +123,9 @@
<state
key=
"normal"
title=
"检测报告"
>
<color
key=
"titleColor"
name=
"蓝色字体颜色"
/>
</state>
<connections>
<action
selector=
"checkAction:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"gap-SI-pht"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"43E-oa-0YQ"
>
<rect
key=
"frame"
x=
"15"
y=
"155"
width=
"320"
height=
"1"
/>
...
...
@@ -160,6 +163,9 @@
<real
key=
"value"
value=
"3"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action
selector=
"chuKuAction:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"vWV-DJ-KLL"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
...
...
@@ -203,7 +209,7 @@
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"
5
"
/>
<real
key=
"value"
value=
"
10
"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
...
...
@@ -219,6 +225,14 @@
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"baoZhiQiLbl"
destination=
"R3Z-yf-g4C"
id=
"9Fn-59-S5C"
/>
<outlet
property=
"guoQiLbl"
destination=
"hE7-KG-Utr"
id=
"C1e-Ap-swZ"
/>
<outlet
property=
"kcLbl"
destination=
"Jh6-QP-5kO"
id=
"TKB-DJ-ja0"
/>
<outlet
property=
"ruKuLbl"
destination=
"56r-c5-tbq"
id=
"c43-9l-zpJ"
/>
<outlet
property=
"shengChanLbl"
destination=
"COk-aR-ifm"
id=
"36z-0h-84Z"
/>
<outlet
property=
"statusLbl"
destination=
"rRd-rR-m14"
id=
"GsB-z3-y1m"
/>
</connections>
<point
key=
"canvasLocation"
x=
"157.24637681159422"
y=
"127.90178571428571"
/>
</tableViewCell>
</objects>
...
...
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