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
76e528cf
Commit
76e528cf
authored
5 years ago
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增规格
parent
8563d26b
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
406 additions
and
36 deletions
+406
-36
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+30
-22
GeliBusinessPlatform.xcodeproj/xcuserdata/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
...ta/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
+1
-1
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/Cell/ChangePriceNormalCell.swift
GeliBusinessPlatform/View/Cell/ChangePriceNormalCell.swift
+0
-0
GeliBusinessPlatform/View/Cell/ChangePriceNormalCell.xib
GeliBusinessPlatform/View/Cell/ChangePriceNormalCell.xib
+0
-0
GeliBusinessPlatform/View/Cell/DaiQueRenCell.swift
GeliBusinessPlatform/View/Cell/DaiQueRenCell.swift
+0
-0
GeliBusinessPlatform/View/Cell/DaiQueRenCell.xib
GeliBusinessPlatform/View/Cell/DaiQueRenCell.xib
+2
-2
GeliBusinessPlatform/View/Cell/GuanLianKeHuCell.swift
GeliBusinessPlatform/View/Cell/GuanLianKeHuCell.swift
+0
-0
GeliBusinessPlatform/View/Cell/GuanLianKeHuCell.xib
GeliBusinessPlatform/View/Cell/GuanLianKeHuCell.xib
+0
-0
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.swift
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.swift
+32
-0
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.xib
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.xib
+98
-0
GeliBusinessPlatform/View/Cell/TitleAndSwitchCell.swift
GeliBusinessPlatform/View/Cell/TitleAndSwitchCell.swift
+11
-3
GeliBusinessPlatform/View/Cell/TitleAndSwitchCell.xib
GeliBusinessPlatform/View/Cell/TitleAndSwitchCell.xib
+1
-0
GeliBusinessPlatform/View/Cell/TitleAndTFCell.swift
GeliBusinessPlatform/View/Cell/TitleAndTFCell.swift
+13
-3
GeliBusinessPlatform/View/Cell/TitleAndTFCell.xib
GeliBusinessPlatform/View/Cell/TitleAndTFCell.xib
+4
-0
GeliBusinessPlatform/View/Cell/WareHouseSpCell.swift
GeliBusinessPlatform/View/Cell/WareHouseSpCell.swift
+3
-1
GeliBusinessPlatform/View/Cell/WareHouseSpCell.xib
GeliBusinessPlatform/View/Cell/WareHouseSpCell.xib
+2
-2
GeliBusinessPlatform/ViewController/新增规格/CreatNewSpecsViewController.swift
...orm/ViewController/新增规格/CreatNewSpecsViewController.swift
+104
-0
GeliBusinessPlatform/ViewController/新增规格/CreatNewSpecsViewController.xib
...tform/ViewController/新增规格/CreatNewSpecsViewController.xib
+103
-0
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
...inessPlatform/ViewController/登录/LoginViewController.swift
+1
-1
Pods/Pods.xcodeproj/xcuserdata/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
...ta/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
+1
-1
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
76e528cf
...
...
@@ -18,6 +18,8 @@
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 */
;
};
E0336DD5244EC40000380BE9
/* CreatNewSpecsViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0336DD3244EC40000380BE9
/* CreatNewSpecsViewController.swift */
;
};
E0336DD6244EC40000380BE9
/* CreatNewSpecsViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0336DD4244EC40000380BE9
/* CreatNewSpecsViewController.xib */
;
};
E0516F772448003D00E373CE
/* PayViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F752448003D00E373CE
/* PayViewController.swift */
;
};
E0516F782448003D00E373CE
/* PayViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F762448003D00E373CE
/* PayViewController.xib */
;
};
E0516F7F244806C500E373CE
/* MsgCenterViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F7E244806C500E373CE
/* MsgCenterViewController.swift */
;
};
...
...
@@ -44,6 +46,8 @@
E0A7548B244A8F0F00A84B67
/* CheckWareHourseViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0A75489244A8F0F00A84B67
/* CheckWareHourseViewController.xib */
;
};
E0B6036E244D376900A56B38
/* KuWeiCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0B6036C244D376900A56B38
/* KuWeiCell.swift */
;
};
E0B6036F244D376900A56B38
/* KuWeiCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0B6036D244D376900A56B38
/* KuWeiCell.xib */
;
};
E0C4F4A7244EC82A00CC7E2F
/* TitleAndBtnCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0C4F4A5244EC82A00CC7E2F
/* TitleAndBtnCell.swift */
;
};
E0C4F4A8244EC82A00CC7E2F
/* TitleAndBtnCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0C4F4A6244EC82A00CC7E2F
/* TitleAndBtnCell.xib */
;
};
E0C9EF12244E922200277435
/* OrderDViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0C9EF10244E922200277435
/* OrderDViewController.swift */
;
};
E0C9EF13244E922200277435
/* OrderDViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0C9EF11244E922200277435
/* OrderDViewController.xib */
;
};
E0D197BA2448431C002B080C
/* BabyDefine.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D197A92448431B002B080C
/* BabyDefine.m */
;
};
...
...
@@ -129,6 +133,8 @@
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>"
;
};
E01C26BA2446D68500ADCC70
/* Bridge_Header.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
Bridge_Header.h
;
sourceTree
=
"<group>"
;
};
E0336DD3244EC40000380BE9
/* CreatNewSpecsViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CreatNewSpecsViewController.swift
;
sourceTree
=
"<group>"
;
};
E0336DD4244EC40000380BE9
/* CreatNewSpecsViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
CreatNewSpecsViewController.xib
;
sourceTree
=
"<group>"
;
};
E0516F752448003D00E373CE
/* PayViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PayViewController.swift
;
sourceTree
=
"<group>"
;
};
E0516F762448003D00E373CE
/* PayViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
PayViewController.xib
;
sourceTree
=
"<group>"
;
};
E0516F7E244806C500E373CE
/* MsgCenterViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MsgCenterViewController.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -155,6 +161,8 @@
E0A75489244A8F0F00A84B67
/* CheckWareHourseViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
CheckWareHourseViewController.xib
;
sourceTree
=
"<group>"
;
};
E0B6036C244D376900A56B38
/* KuWeiCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
KuWeiCell.swift
;
sourceTree
=
"<group>"
;
};
E0B6036D244D376900A56B38
/* KuWeiCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
KuWeiCell.xib
;
sourceTree
=
"<group>"
;
};
E0C4F4A5244EC82A00CC7E2F
/* TitleAndBtnCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
TitleAndBtnCell.swift
;
sourceTree
=
"<group>"
;
};
E0C4F4A6244EC82A00CC7E2F
/* TitleAndBtnCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
TitleAndBtnCell.xib
;
sourceTree
=
"<group>"
;
};
E0C9EF10244E922200277435
/* OrderDViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
OrderDViewController.swift
;
sourceTree
=
"<group>"
;
};
E0C9EF11244E922200277435
/* OrderDViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
OrderDViewController.xib
;
sourceTree
=
"<group>"
;
};
E0D197A82448431B002B080C
/* BabyCentralManager.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BabyCentralManager.h
;
sourceTree
=
"<group>"
;
};
...
...
@@ -340,6 +348,15 @@
path
=
"订单详情"
;
sourceTree
=
"<group>"
;
};
E0336DD2244EC3CA00380BE9
/* 新增规格 */
=
{
isa
=
PBXGroup
;
children
=
(
E0336DD3244EC40000380BE9
/* CreatNewSpecsViewController.swift */
,
E0336DD4244EC40000380BE9
/* CreatNewSpecsViewController.xib */
,
);
path
=
"新增规格"
;
sourceTree
=
"<group>"
;
};
E0516F742448000F00E373CE
/* 支付账号(设置,修改) */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -435,6 +452,7 @@
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
isa
=
PBXGroup
;
children
=
(
E0336DD2244EC3CA00380BE9
/* 新增规格 */
,
E022E131244D80EA00FEF5F7
/* 订单详情 */
,
E0DDCB0B244AD84500DF54C7
/* 订单管理 */
,
E0A75479244A894200A84B67
/* 新增、编辑(查看)仓库 */
,
...
...
@@ -560,24 +578,11 @@
E0DDCB0B244AD84500DF54C7
/* 订单管理 */
=
{
isa
=
PBXGroup
;
children
=
(
E0DDCB1A244AE7EF00DF54C7
/* 关联客户cell */
,
E0DDCB15244AE27500DF54C7
/* 预售价格修改 */
,
E0DDCB0C244AD8A400DF54C7
/* 待确认Cell */
,
);
path
=
"订单管理"
;
sourceTree
=
"<group>"
;
};
E0DDCB0C244AD8A400DF54C7
/* 待确认Cell */
=
{
isa
=
PBXGroup
;
children
=
(
E0DDCB0D244AD8C500DF54C7
/* DaiQueRenCell.swift */
,
E0DDCB0E244AD8C500DF54C7
/* DaiQueRenCell.xib */
,
E0DDCB11244ADF2C00DF54C7
/* ChangePriceNormalCell.swift */
,
E0DDCB12244ADF2C00DF54C7
/* ChangePriceNormalCell.xib */
,
);
path
=
"待确认Cell"
;
sourceTree
=
"<group>"
;
};
E0DDCB15244AE27500DF54C7
/* 预售价格修改 */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -587,15 +592,6 @@
path
=
"预售价格修改"
;
sourceTree
=
"<group>"
;
};
E0DDCB1A244AE7EF00DF54C7
/* 关联客户cell */
=
{
isa
=
PBXGroup
;
children
=
(
E0DDCB1B244AE81800DF54C7
/* GuanLianKeHuCell.swift */
,
E0DDCB1C244AE81800DF54C7
/* GuanLianKeHuCell.xib */
,
);
path
=
"关联客户cell"
;
sourceTree
=
"<group>"
;
};
F9023F5F2449996D00DD5A63
/* 仓库管理 */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -608,6 +604,12 @@
F9023F642449A3AE00DD5A63
/* Cell */
=
{
isa
=
PBXGroup
;
children
=
(
E0DDCB0D244AD8C500DF54C7
/* DaiQueRenCell.swift */
,
E0DDCB0E244AD8C500DF54C7
/* DaiQueRenCell.xib */
,
E0DDCB11244ADF2C00DF54C7
/* ChangePriceNormalCell.swift */
,
E0DDCB12244ADF2C00DF54C7
/* ChangePriceNormalCell.xib */
,
E0DDCB1B244AE81800DF54C7
/* GuanLianKeHuCell.swift */
,
E0DDCB1C244AE81800DF54C7
/* GuanLianKeHuCell.xib */
,
E08B0672244A98B2001D2E01
/* WareHouseSpCell.swift */
,
E08B0673244A98B2001D2E01
/* WareHouseSpCell.xib */
,
E0B6036C244D376900A56B38
/* KuWeiCell.swift */
,
...
...
@@ -624,6 +626,8 @@
F9023F6C2449A9B100DD5A63
/* TitleAndTFCell.xib */
,
F9023F6F2449ACA800DD5A63
/* TitleAndSwitchCell.swift */
,
F9023F702449ACA800DD5A63
/* TitleAndSwitchCell.xib */
,
E0C4F4A5244EC82A00CC7E2F
/* TitleAndBtnCell.swift */
,
E0C4F4A6244EC82A00CC7E2F
/* TitleAndBtnCell.xib */
,
);
path
=
Cell
;
sourceTree
=
"<group>"
;
...
...
@@ -792,6 +796,8 @@
F95D9B5024484FAE0080D6E3
/* GeliAlertView.xib in Resources */
,
E0DDCB1E244AE81800DF54C7
/* GuanLianKeHuCell.xib in Resources */
,
E0DDCB14244ADF2C00DF54C7
/* ChangePriceNormalCell.xib in Resources */
,
E0C4F4A8244EC82A00CC7E2F
/* TitleAndBtnCell.xib in Resources */
,
E0336DD6244EC40000380BE9
/* CreatNewSpecsViewController.xib in Resources */
,
E00D85E5244561FE00F5F816
/* Assets.xcassets in Resources */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
...
...
@@ -865,6 +871,7 @@
F9023F712449ACA800DD5A63
/* TitleAndSwitchCell.swift in Sources */
,
E0DDCB13244ADF2C00DF54C7
/* ChangePriceNormalCell.swift in Sources */
,
E09B03B62445B85A00211A51
/* LoginViewController.swift in Sources */
,
E0336DD5244EC40000380BE9
/* CreatNewSpecsViewController.swift in Sources */
,
E0DDCB18244AE2AC00DF54C7
/* XiuGaiYuShouJiaViewController.swift in Sources */
,
E0D197C12448431C002B080C
/* BabyToy.m in Sources */
,
E09B03C32445BD9500211A51
/* NavViewController.swift in Sources */
,
...
...
@@ -877,6 +884,7 @@
F95D9B522448530E0080D6E3
/* GeliAlertView.swift in Sources */
,
E0D197BB2448431C002B080C
/* BabyCallback.m in Sources */
,
E0D4166424483058008DCAB4
/* ChangePassViewController.swift in Sources */
,
E0C4F4A7244EC82A00CC7E2F
/* TitleAndBtnCell.swift in Sources */
,
E09B03C62445BF6700211A51
/* NavBarView.swift in Sources */
,
E0C9EF12244E922200277435
/* OrderDViewController.swift in Sources */
,
E0D197BD2448431C002B080C
/* BabySpeaker.m in Sources */
,
...
...
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform.xcodeproj/xcuserdata/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
76e528cf
...
...
@@ -7,7 +7,7 @@
<key>
GeliBusinessPlatform.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
2
1
</integer>
<integer>
2
2
</integer>
</dict>
</dict>
</dict>
...
...
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
76e528cf
No preview for this file type
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View
Controller/订单管理/待确认
Cell/ChangePriceNormalCell.swift
→
GeliBusinessPlatform/View
/
Cell/ChangePriceNormalCell.swift
View file @
76e528cf
File moved
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View
Controller/订单管理/待确认
Cell/ChangePriceNormalCell.xib
→
GeliBusinessPlatform/View
/
Cell/ChangePriceNormalCell.xib
View file @
76e528cf
File moved
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View
Controller/订单管理/待确认
Cell/DaiQueRenCell.swift
→
GeliBusinessPlatform/View
/
Cell/DaiQueRenCell.swift
View file @
76e528cf
File moved
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View
Controller/订单管理/待确认
Cell/DaiQueRenCell.xib
→
GeliBusinessPlatform/View
/
Cell/DaiQueRenCell.xib
View file @
76e528cf
...
...
@@ -233,13 +233,13 @@
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"企业、预售字体"
>
<color
red=
"1"
green=
"0.6
9019607843137254"
blue=
"0.47058823529411764
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"1"
green=
"0.6
8999999761581421"
blue=
"0.47099998593330383
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"按钮渐变色下,字体颜色"
>
<color
red=
"0.27450980392156865"
green=
"0.5607843137254902"
blue=
"0.88627450980392153"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"按钮背景颜色"
>
<color
red=
"0.219
6078431372549"
green=
"0.45490196078431372"
blue=
"0.82745098039215681
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.219
9999988079071"
green=
"0.45500001311302185"
blue=
"0.82700002193450928
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.1803921568627451"
green=
"0.1803921568627451"
blue=
"0.1803921568627451"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
...
...
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View
Controller/订单管理/关联客户c
ell/GuanLianKeHuCell.swift
→
GeliBusinessPlatform/View
/C
ell/GuanLianKeHuCell.swift
View file @
76e528cf
File moved
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View
Controller/订单管理/关联客户c
ell/GuanLianKeHuCell.xib
→
GeliBusinessPlatform/View
/C
ell/GuanLianKeHuCell.xib
View file @
76e528cf
File moved
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.swift
0 → 100644
View file @
76e528cf
//
// TitleAndBtnCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/21.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
@objc
protocol
TitleAndBtnCellDelegate
{
@objc
optional
func
btnClick
(
content
:
String
,
cell
:
TitleAndBtnCell
)
}
class
TitleAndBtnCell
:
UITableViewCell
{
var
delegate
:
TitleAndBtnCellDelegate
?
@IBOutlet
weak
var
contentLbl
:
UILabel
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
// Initialization code
}
@IBAction
func
btnClick
(
_
sender
:
Any
)
{
delegate
?
.
btnClick
?(
content
:
contentLbl
.
text
!
,
cell
:
self
)
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
// Configure the view for the selected state
}
}
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.xib
0 → 100644
View file @
76e528cf
<?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"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<tableViewCell
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
id=
"KGk-i7-Jjw"
customClass=
"TitleAndBtnCell"
customModule=
"GeliBusinessPlatform"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"44"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"KGk-i7-Jjw"
id=
"H2p-sc-9uM"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"44"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"标题"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"EfU-Eu-amU"
>
<rect
key=
"frame"
x=
"15"
y=
"0.0"
width=
"27"
height=
"44"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
verticalHuggingPriority=
"251"
text=
"内容"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"7nL-vu-Tdl"
>
<rect
key=
"frame"
x=
"42"
y=
"0.0"
width=
"246"
height=
"44"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"灰色字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"jinruDetail"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Gf0-pG-ZDj"
>
<rect
key=
"frame"
x=
"300"
y=
"17.5"
width=
"5"
height=
"9"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"5"
id=
"FcN-tC-b7l"
/>
<constraint
firstAttribute=
"height"
constant=
"9"
id=
"OJd-GH-oPz"
/>
</constraints>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"VXU-ef-rsF"
>
<rect
key=
"frame"
x=
"224"
y=
"0.0"
width=
"96"
height=
"44"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"96"
id=
"Bcj-fx-b9m"
/>
</constraints>
<connections>
<action
selector=
"btnClick:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"RtE-HM-56z"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"rLc-3F-snj"
>
<rect
key=
"frame"
x=
"15"
y=
"43"
width=
"305"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"tUg-7c-ise"
/>
</constraints>
</view>
</subviews>
<constraints>
<constraint
firstItem=
"7nL-vu-Tdl"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"0CE-BN-7lF"
/>
<constraint
firstItem=
"Gf0-pG-ZDj"
firstAttribute=
"centerY"
secondItem=
"7nL-vu-Tdl"
secondAttribute=
"centerY"
id=
"49r-TK-2VM"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"7nL-vu-Tdl"
secondAttribute=
"trailing"
constant=
"32"
id=
"6yZ-7e-lVf"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"VXU-ef-rsF"
secondAttribute=
"trailing"
id=
"8Eh-s6-8m8"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"rLc-3F-snj"
secondAttribute=
"trailing"
id=
"9HT-gJ-mta"
/>
<constraint
firstItem=
"rLc-3F-snj"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"EUi-Y9-d4w"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"EfU-Eu-amU"
secondAttribute=
"bottom"
id=
"GNM-bW-vwe"
/>
<constraint
firstItem=
"EfU-Eu-amU"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"HWT-ay-wjB"
/>
<constraint
firstItem=
"EfU-Eu-amU"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"IHP-9a-fhs"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
<constraint
firstAttribute=
"trailing"
secondItem=
"Gf0-pG-ZDj"
secondAttribute=
"trailing"
constant=
"15"
id=
"kO1-WA-Gey"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"VXU-ef-rsF"
secondAttribute=
"bottom"
id=
"n4S-aO-XLT"
/>
<constraint
firstItem=
"VXU-ef-rsF"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"poY-Yq-IFn"
/>
<constraint
firstItem=
"7nL-vu-Tdl"
firstAttribute=
"leading"
secondItem=
"EfU-Eu-amU"
secondAttribute=
"trailing"
id=
"s1W-ZL-Aso"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"rLc-3F-snj"
secondAttribute=
"bottom"
id=
"z7b-6d-7aF"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"7nL-vu-Tdl"
secondAttribute=
"bottom"
id=
"zGG-y9-TeV"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"contentLbl"
destination=
"7nL-vu-Tdl"
id=
"sEW-G5-GaR"
/>
<outlet
property=
"nameLbl"
destination=
"EfU-Eu-amU"
id=
"XOH-Zx-SHi"
/>
</connections>
<point
key=
"canvasLocation"
x=
"131.8840579710145"
y=
"129.91071428571428"
/>
</tableViewCell>
</objects>
<resources>
<image
name=
"jinruDetail"
width=
"4.5"
height=
"9"
/>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.1803921568627451"
green=
"0.1803921568627451"
blue=
"0.1803921568627451"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"灰色分界线"
>
<color
red=
"0.92941176470588238"
green=
"0.92941176470588238"
blue=
"0.92941176470588238"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"灰色字体颜色"
>
<color
red=
"0.59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View/Cell/TitleAndSwitchCell.swift
View file @
76e528cf
...
...
@@ -7,15 +7,23 @@
//
import
UIKit
@objc
protocol
TitleAndSwitchCellDelegate
{
@objc
optional
func
switchClick
(
content
:
UISwitch
,
cell
:
TitleAndSwitchCell
)
}
class
TitleAndSwitchCell
:
UITableViewCell
{
var
delegate
:
TitleAndSwitchCellDelegate
?
@IBOutlet
weak
var
namelbl
:
UILabel
!
@IBOutlet
weak
var
infoSw
:
UISwitch
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
// Initialization code
infoSw
.
transform
=
CGAffineTransform
(
scaleX
:
0.8
,
y
:
0.8
)
infoSw
.
addTarget
(
self
,
action
:
#selector(
switchChange(sender:)
)
,
for
:
.
valueChanged
)
self
.
selectionStyle
=
.
none
}
@objc
func
switchChange
(
sender
:
UISwitch
){
delegate
?
.
switchClick
?(
content
:
sender
,
cell
:
self
)
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
...
...
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View/Cell/TitleAndSwitchCell.xib
View file @
76e528cf
...
...
@@ -48,6 +48,7 @@
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"infoSw"
destination=
"FvZ-bw-uC0"
id=
"qJb-jc-KCl"
/>
<outlet
property=
"namelbl"
destination=
"fA1-yF-28i"
id=
"Jew-JX-3ML"
/>
</connections>
<point
key=
"canvasLocation"
x=
"-74"
y=
"82"
/>
</tableViewCell>
...
...
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View/Cell/TitleAndTFCell.swift
View file @
76e528cf
...
...
@@ -7,14 +7,24 @@
//
import
UIKit
@objc
protocol
TitleAndTFCellDelegate
{
@objc
optional
func
textFieldContent
(
content
:
String
,
cell
:
TitleAndTFCell
)
}
class
TitleAndTFCell
:
UITableViewCell
{
var
delegate
:
TitleAndTFCellDelegate
?
@IBOutlet
weak
var
textTF
:
UITextField
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
textTF
.
addTarget
(
self
,
action
:
#selector(
textEditing(sender:)
)
,
for
:
.
allEditingEvents
)
// Initialization code
}
@objc
func
textEditing
(
sender
:
UITextField
){
if
sender
.
text
!.
count
>
0
{
delegate
?
.
textFieldContent
?(
content
:
sender
.
text
!
,
cell
:
self
)
}
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
...
...
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View/Cell/TitleAndTFCell.xib
View file @
76e528cf
...
...
@@ -49,6 +49,10 @@
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"nameLbl"
destination=
"6wI-Bk-Hnz"
id=
"W9P-gn-wOa"
/>
<outlet
property=
"textTF"
destination=
"Q6V-I9-aNd"
id=
"Qep-Os-9qk"
/>
</connections>
<point
key=
"canvasLocation"
x=
"133"
y=
"104"
/>
</tableViewCell>
</objects>
...
...
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View/Cell/WareHouseSpCell.swift
View file @
76e528cf
...
...
@@ -24,6 +24,8 @@ class WareHouseSpCell: UITableViewCell {
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
whSwitch
.
transform
=
CGAffineTransform
(
scaleX
:
0.8
,
y
:
0.8
)
// Initialization code
}
...
...
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View/Cell/WareHouseSpCell.xib
View file @
76e528cf
...
...
@@ -54,7 +54,7 @@
</connections>
</button>
<switch
opaque=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"750"
verticalHuggingPriority=
"750"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
on=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"GUA-N4-Rgf"
>
<rect
key=
"frame"
x=
"25
8
"
y=
"6.5"
width=
"49"
height=
"31"
/>
<rect
key=
"frame"
x=
"25
9
"
y=
"6.5"
width=
"49"
height=
"31"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"47"
id=
"8ML-UL-R2l"
/>
<constraint
firstAttribute=
"height"
constant=
"31"
id=
"m01-R5-2E5"
/>
...
...
@@ -79,7 +79,7 @@
<constraint
firstItem=
"zsG-fB-Zeb"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"kT5-VR-Vqg"
/>
<constraint
firstItem=
"GUA-N4-Rgf"
firstAttribute=
"centerY"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerY"
id=
"n0g-sO-UI3"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"uEc-pe-iBV"
secondAttribute=
"trailing"
id=
"riL-Qy-yIc"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"GUA-N4-Rgf"
secondAttribute=
"trailing"
constant=
"1
5
"
id=
"zP6-ZR-myY"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"GUA-N4-Rgf"
secondAttribute=
"trailing"
constant=
"1
4
"
id=
"zP6-ZR-myY"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
...
...
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/新增规格/CreatNewSpecsViewController.swift
0 → 100644
View file @
76e528cf
//
// CreatNewSpecsViewController.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/21.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
import
LGButton
class
CreatNewSpecsViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
TitleAndTFCellDelegate
,
TitleAndBtnCellDelegate
,
TitleAndSwitchCellDelegate
{
var
dataArr
=
NSMutableArray
()
let
titleArray
=
[
"售价:"
,
"规格:"
,
"重量:"
,
"温藏:"
,
"单位:"
]
let
pliceHolderArr
=
[
"请输入商品售价"
,
"请输入商品规格"
,
"请输入商品重量"
,
"请选择商品温藏"
,
"请选择商品单位"
]
@IBOutlet
weak
var
bottomBtn
:
LGButton
!
@IBOutlet
weak
var
listTbv
:
UITableView
!
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
navbar
.
title
=
"新增规格"
self
.
view
.
addSubview
(
navbar
)
listTbv
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
bottom
.
equalTo
(
bottomBtn
.
snp_top
)
}
for
_
in
0
..<
7
{
dataArr
.
add
(
"0"
)
}
listTbv
?
.
register
(
UINib
(
nibName
:
"TitleAndTFCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndTF"
)
listTbv
?
.
register
(
UINib
(
nibName
:
"TitleAndBtnCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndBtn"
)
listTbv
?
.
register
(
UINib
(
nibName
:
"TitleAndSwitchCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndSwitch"
)
}
@IBAction
func
saveAction
(
_
sender
:
Any
)
{
print
(
"save"
)
print
(
dataArr
)
}
//MARK: - cell delegate
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
3
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
if
section
==
0
{
return
titleArray
.
count
}
return
1
}
func
tableView
(
_
tableView
:
UITableView
,
heightForHeaderInSection
section
:
Int
)
->
CGFloat
{
if
section
!=
0
{
return
10
}
return
0.01
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
indexPath
.
section
==
0
{
if
indexPath
.
row
<
3
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndTF"
)
as!
TitleAndTFCell
cell
.
nameLbl
.
text
=
titleArray
[
indexPath
.
row
]
cell
.
tag
=
indexPath
.
row
let
str
=
NSAttributedString
(
string
:
pliceHolderArr
[
indexPath
.
row
],
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
(
named
:
"灰色字体颜色"
)])
cell
.
textTF
.
attributedPlaceholder
=
str
cell
.
delegate
=
self
return
cell
}
else
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndBtn"
)
as!
TitleAndBtnCell
cell
.
tag
=
indexPath
.
row
cell
.
delegate
=
self
cell
.
nameLbl
.
text
=
titleArray
[
indexPath
.
row
]
cell
.
contentLbl
.
text
=
pliceHolderArr
[
indexPath
.
row
]
return
cell
}
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndSwitch"
)
as!
TitleAndSwitchCell
cell
.
delegate
=
self
if
indexPath
.
section
==
1
{
cell
.
namelbl
.
text
=
"预售设置"
cell
.
tag
=
5
}
if
indexPath
.
section
==
2
{
cell
.
namelbl
.
text
=
"阶梯价设置"
cell
.
tag
=
6
}
return
cell
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
49
}
//MARK: - NEW CELL DELEGATE
func
textFieldContent
(
content
:
String
,
cell
:
TitleAndTFCell
)
{
dataArr
.
replaceObject
(
at
:
cell
.
tag
,
with
:
content
)
}
func
btnClick
(
content
:
String
,
cell
:
TitleAndBtnCell
)
{
dataArr
.
replaceObject
(
at
:
cell
.
tag
,
with
:
content
)
}
func
switchClick
(
content
:
UISwitch
,
cell
:
TitleAndSwitchCell
)
{
dataArr
.
replaceObject
(
at
:
cell
.
tag
,
with
:
"
\(
content
.
isOn
)
"
)
}
}
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/新增规格/CreatNewSpecsViewController.xib
0 → 100644
View file @
76e528cf
<?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=
"CreatNewSpecsViewController"
customModule=
"GeliBusinessPlatform"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"bottomBtn"
destination=
"dGJ-ea-Bx5"
id=
"VIT-dc-ndT"
/>
<outlet
property=
"listTbv"
destination=
"bSh-mx-Kzg"
id=
"xwd-1s-qv3"
/>
<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=
"dGJ-ea-Bx5"
customClass=
"LGButton"
customModule=
"LGButton"
>
<rect
key=
"frame"
x=
"0.0"
y=
"813"
width=
"414"
height=
"49"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"49"
id=
"TYQ-WT-LRq"
/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
<color
key=
"value"
name=
"按钮渐变色上"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientEndColor"
>
<color
key=
"value"
name=
"按钮渐变色下,字体颜色"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"gradientHorizontal"
value=
"YES"
/>
<userDefinedRuntimeAttribute
type=
"string"
keyPath=
"titleString"
value=
"保存"
/>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"titleFontSize"
>
<real
key=
"value"
value=
"17"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action
selector=
"saveAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"XQQ-ow-RNc"
/>
</connections>
</view>
<view
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"8JZ-TM-4Gj"
customClass=
"LGButton"
customModule=
"LGButton"
>
<rect
key=
"frame"
x=
"0.0"
y=
"862"
width=
"414"
height=
"40"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"40"
id=
"xOF-sg-cpN"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
<color
key=
"value"
name=
"按钮渐变色上"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientEndColor"
>
<color
key=
"value"
name=
"按钮渐变色下,字体颜色"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"gradientHorizontal"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</view>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
style=
"plain"
separatorStyle=
"none"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"28"
sectionFooterHeight=
"28"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bSh-mx-Kzg"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"414"
height=
"769"
/>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<connections>
<outlet
property=
"dataSource"
destination=
"-1"
id=
"Qbd-QF-oNN"
/>
<outlet
property=
"delegate"
destination=
"-1"
id=
"Ogi-cZ-Pq2"
/>
</connections>
</tableView>
</subviews>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint
firstItem=
"bSh-mx-Kzg"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"0fJ-Bh-Hih"
/>
<constraint
firstItem=
"bSh-mx-Kzg"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"1sc-Tr-aDe"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"8JZ-TM-4Gj"
secondAttribute=
"trailing"
id=
"5nJ-hq-GzC"
/>
<constraint
firstItem=
"dGJ-ea-Bx5"
firstAttribute=
"top"
secondItem=
"bSh-mx-Kzg"
secondAttribute=
"bottom"
id=
"Ijr-6F-Wc6"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"dGJ-ea-Bx5"
secondAttribute=
"trailing"
id=
"UjZ-PD-0IP"
/>
<constraint
firstItem=
"8JZ-TM-4Gj"
firstAttribute=
"top"
secondItem=
"dGJ-ea-Bx5"
secondAttribute=
"bottom"
id=
"Wcn-RI-W8x"
/>
<constraint
firstItem=
"dGJ-ea-Bx5"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"jYa-O4-JEm"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"bottom"
secondItem=
"dGJ-ea-Bx5"
secondAttribute=
"bottom"
id=
"oYF-GV-YdD"
/>
<constraint
firstItem=
"8JZ-TM-4Gj"
firstAttribute=
"leading"
secondItem=
"i5M-Pr-FkT"
secondAttribute=
"leading"
id=
"vF1-xh-KYL"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"bSh-mx-Kzg"
secondAttribute=
"trailing"
id=
"zb7-xi-DTh"
/>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<point
key=
"canvasLocation"
x=
"131.8840579710145"
y=
"129.91071428571428"
/>
</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.3880000114440918"
green=
"0.62400001287460327"
blue=
"0.90200001001358032"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"按钮渐变色下,字体颜色"
>
<color
red=
"0.27450980392156865"
green=
"0.5607843137254902"
blue=
"0.88627450980392153"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
View file @
76e528cf
...
...
@@ -82,7 +82,7 @@ class LoginViewController: BaseViewController {
@IBAction
func
loginAction
(
_
sender
:
Any
)
{
print
(
"loginAction"
)
let
vc
=
C
heckWareHourse
ViewController
()
let
vc
=
C
reatNewSpecs
ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
// let alertView = GeliAlertView(frame: self.view.window!.bounds)
// alertView.tishiLbl.text = "202121";
...
...
This diff is collapsed.
Click to expand it.
Pods/Pods.xcodeproj/xcuserdata/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
76e528cf
...
...
@@ -110,7 +110,7 @@
<key>
SVProgressHUD.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
2
2
</integer>
<integer>
2
1
</integer>
</dict>
<key>
SkeletonView.xcscheme
</key>
<dict>
...
...
This diff is collapsed.
Click to expand it.
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