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
8785e523
Commit
8785e523
authored
May 11, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阿斯顿发送到发斯蒂芬2323
parent
d5201b65
Changes
26
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
921 additions
and
96 deletions
+921
-96
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+32
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/AppDelegate.swift
GeliBusinessPlatform/AppDelegate.swift
+2
-2
GeliBusinessPlatform/Assets.xcassets/工作中心/下拉11.imageset/Contents.json
...Platform/Assets.xcassets/工作中心/下拉11.imageset/Contents.json
+23
-0
GeliBusinessPlatform/Assets.xcassets/工作中心/下拉11.imageset/下拉.png
...usinessPlatform/Assets.xcassets/工作中心/下拉11.imageset/下拉.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/工作中心/下拉11.imageset/下拉@2x.png
...nessPlatform/Assets.xcassets/工作中心/下拉11.imageset/下拉@2x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/工作中心/下拉11.imageset/下拉@3x.png
...nessPlatform/Assets.xcassets/工作中心/下拉11.imageset/下拉@3x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/工作中心/收回111.imageset/Contents.json
...latform/Assets.xcassets/工作中心/收回111.imageset/Contents.json
+23
-0
GeliBusinessPlatform/Assets.xcassets/工作中心/收回111.imageset/收回.png
...sinessPlatform/Assets.xcassets/工作中心/收回111.imageset/收回.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/工作中心/收回111.imageset/收回@2x.png
...essPlatform/Assets.xcassets/工作中心/收回111.imageset/收回@2x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/工作中心/收回111.imageset/收回@3x.png
...essPlatform/Assets.xcassets/工作中心/收回111.imageset/收回@3x.png
+0
-0
GeliBusinessPlatform/View/Cell/GYS_FX_ProductCellTableViewCell.xib
...essPlatform/View/Cell/GYS_FX_ProductCellTableViewCell.xib
+6
-6
GeliBusinessPlatform/View/HeaderSelectView/HeaderSelectView.swift
...nessPlatform/View/HeaderSelectView/HeaderSelectView.swift
+4
-4
GeliBusinessPlatform/View/HeaderSelectView/HeaderSelectView.xib
...sinessPlatform/View/HeaderSelectView/HeaderSelectView.xib
+9
-9
GeliBusinessPlatform/View/HeaderSelectView/SelectContentView.swift
...essPlatform/View/HeaderSelectView/SelectContentView.swift
+2
-2
GeliBusinessPlatform/View/HeaderSelectView/SelectContentView.xib
...inessPlatform/View/HeaderSelectView/SelectContentView.xib
+2
-2
GeliBusinessPlatform/ViewController/New分销商品/FXSZ_View.swift
GeliBusinessPlatform/ViewController/New分销商品/FXSZ_View.swift
+46
-0
GeliBusinessPlatform/ViewController/New分销商品/FXSZ_View.xib
GeliBusinessPlatform/ViewController/New分销商品/FXSZ_View.xib
+204
-0
GeliBusinessPlatform/ViewController/New分销商品/New_Fx_Cell.swift
...BusinessPlatform/ViewController/New分销商品/New_Fx_Cell.swift
+49
-0
GeliBusinessPlatform/ViewController/New分销商品/New_Fx_Cell.xib
GeliBusinessPlatform/ViewController/New分销商品/New_Fx_Cell.xib
+191
-0
GeliBusinessPlatform/ViewController/上游代理商管理/SY_DLS_GL_VC.swift
...usinessPlatform/ViewController/上游代理商管理/SY_DLS_GL_VC.swift
+34
-2
GeliBusinessPlatform/ViewController/上游代理商管理/SY_DLS_GL_VC.xib
GeliBusinessPlatform/ViewController/上游代理商管理/SY_DLS_GL_VC.xib
+4
-0
GeliBusinessPlatform/ViewController/上游代理商管理/SY_SLS_GL_VC_Cell.swift
...ssPlatform/ViewController/上游代理商管理/SY_SLS_GL_VC_Cell.swift
+31
-0
GeliBusinessPlatform/ViewController/上游代理商管理/SY_SLS_GL_VC_Cell.xib
...nessPlatform/ViewController/上游代理商管理/SY_SLS_GL_VC_Cell.xib
+179
-0
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
...sPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
+69
-58
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.xib
...essPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.xib
+11
-11
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
8785e523
...
...
@@ -36,6 +36,10 @@
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 */
;
};
E00F71FA264A2F1200CFB15A
/* FXSZ_View.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00F71F9264A2F1200CFB15A
/* FXSZ_View.swift */
;
};
E00F71FF264A2F1A00CFB15A
/* FXSZ_View.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00F71FE264A2F1A00CFB15A
/* FXSZ_View.xib */
;
};
E0122C61264A13DD00E15289
/* SY_SLS_GL_VC_Cell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0122C5F264A13DD00E15289
/* SY_SLS_GL_VC_Cell.swift */
;
};
E0122C62264A13DD00E15289
/* SY_SLS_GL_VC_Cell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0122C60264A13DD00E15289
/* SY_SLS_GL_VC_Cell.xib */
;
};
E01313DB25C0048C006CFA5D
/* Add_Report_View.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01313DA25C0048C006CFA5D
/* Add_Report_View.swift */
;
};
E01313E025C00496006CFA5D
/* Add_Report_View.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01313DF25C00496006CFA5D
/* Add_Report_View.xib */
;
};
E013D7882484B1B90092DE46
/* CRKXiangQVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E013D7862484B1B90092DE46
/* CRKXiangQVC.swift */
;
};
...
...
@@ -48,6 +52,8 @@
E01613DE2601B47700E55497
/* Location_Cell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01613DC2601B47700E55497
/* Location_Cell.xib */
;
};
E01614062601E78B00E55497
/* DZSH_Date_Cell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01614042601E78B00E55497
/* DZSH_Date_Cell.swift */
;
};
E01614072601E78B00E55497
/* DZSH_Date_Cell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01614052601E78B00E55497
/* DZSH_Date_Cell.xib */
;
};
E016E761264A531400E2A9C5
/* New_Fx_Cell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E016E75F264A531400E2A9C5
/* New_Fx_Cell.swift */
;
};
E016E762264A531400E2A9C5
/* New_Fx_Cell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E016E760264A531400E2A9C5
/* New_Fx_Cell.xib */
;
};
E0190A2D2487696F00B1E067
/* NewSelectItemVc.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0190A2B2487696F00B1E067
/* NewSelectItemVc.swift */
;
};
E0190A2E2487696F00B1E067
/* NewSelectItemVc.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0190A2C2487696F00B1E067
/* NewSelectItemVc.xib */
;
};
E019E98124A975920086C565
/* brandListModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E019E98024A975920086C565
/* brandListModel.swift */
;
};
...
...
@@ -832,6 +838,10 @@
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>"
;
};
E00F71F9264A2F1200CFB15A
/* FXSZ_View.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
FXSZ_View.swift
;
sourceTree
=
"<group>"
;
};
E00F71FE264A2F1A00CFB15A
/* FXSZ_View.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
FXSZ_View.xib
;
sourceTree
=
"<group>"
;
};
E0122C5F264A13DD00E15289
/* SY_SLS_GL_VC_Cell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
SY_SLS_GL_VC_Cell.swift
;
sourceTree
=
"<group>"
;
};
E0122C60264A13DD00E15289
/* SY_SLS_GL_VC_Cell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
SY_SLS_GL_VC_Cell.xib
;
sourceTree
=
"<group>"
;
};
E01313DA25C0048C006CFA5D
/* Add_Report_View.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Add_Report_View.swift
;
sourceTree
=
"<group>"
;
};
E01313DF25C00496006CFA5D
/* Add_Report_View.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
Add_Report_View.xib
;
sourceTree
=
"<group>"
;
};
E013D7862484B1B90092DE46
/* CRKXiangQVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CRKXiangQVC.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -844,6 +854,8 @@
E01613DC2601B47700E55497
/* Location_Cell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
Location_Cell.xib
;
sourceTree
=
"<group>"
;
};
E01614042601E78B00E55497
/* DZSH_Date_Cell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
DZSH_Date_Cell.swift
;
sourceTree
=
"<group>"
;
};
E01614052601E78B00E55497
/* DZSH_Date_Cell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
DZSH_Date_Cell.xib
;
sourceTree
=
"<group>"
;
};
E016E75F264A531400E2A9C5
/* New_Fx_Cell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
New_Fx_Cell.swift
;
sourceTree
=
"<group>"
;
};
E016E760264A531400E2A9C5
/* New_Fx_Cell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
New_Fx_Cell.xib
;
sourceTree
=
"<group>"
;
};
E0190A2B2487696F00B1E067
/* NewSelectItemVc.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NewSelectItemVc.swift
;
sourceTree
=
"<group>"
;
};
E0190A2C2487696F00B1E067
/* NewSelectItemVc.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
NewSelectItemVc.xib
;
sourceTree
=
"<group>"
;
};
E019E98024A975920086C565
/* brandListModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
brandListModel.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -1862,6 +1874,17 @@
path
=
GeliBusinessPlatformUITests
;
sourceTree
=
"<group>"
;
};
E0122C66264A221C00E15289
/* New分销商品 */
=
{
isa
=
PBXGroup
;
children
=
(
E00F71F9264A2F1200CFB15A
/* FXSZ_View.swift */
,
E00F71FE264A2F1A00CFB15A
/* FXSZ_View.xib */
,
E016E75F264A531400E2A9C5
/* New_Fx_Cell.swift */
,
E016E760264A531400E2A9C5
/* New_Fx_Cell.xib */
,
);
path
=
"New分销商品"
;
sourceTree
=
"<group>"
;
};
E0190A292487691200B1E067
/* 入库 */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -2518,6 +2541,7 @@
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
isa
=
PBXGroup
;
children
=
(
E0122C66264A221C00E15289
/* New分销商品 */
,
E0F503DD2648DE22000F9633
/* 上游代理商管理 */
,
E05AEFA3261577C600FB7CF4
/* 拼拼货group */
,
E083F0B826047B8200627DBE
/* 店长管理 */
,
...
...
@@ -3097,6 +3121,8 @@
children
=
(
E0F503DE2648DE52000F9633
/* SY_DLS_GL_VC.swift */
,
E0F503DF2648DE52000F9633
/* SY_DLS_GL_VC.xib */
,
E0122C5F264A13DD00E15289
/* SY_SLS_GL_VC_Cell.swift */
,
E0122C60264A13DD00E15289
/* SY_SLS_GL_VC_Cell.xib */
,
);
path
=
"上游代理商管理"
;
sourceTree
=
"<group>"
;
...
...
@@ -4030,6 +4056,7 @@
E0BE8A9D245A9E5900E80134
/* YingFuZhangKuanXQCell.xib in Resources */
,
F96A5856247BBFFF0070A057
/* AddGuiGeCell.xib in Resources */
,
E02EE126259AD6FB00733764
/* FXSY_Cell.xib in Resources */
,
E016E762264A531400E2A9C5
/* New_Fx_Cell.xib in Resources */
,
E0A2E82824555B4400D6DB34
/* KuCunShangPinCell.xib in Resources */
,
E0974D6625C12FAA00E3C86B
/* scv_cell.xib in Resources */
,
E0239203249069FD00C4C632
/* CGDXQVc.xib in Resources */
,
...
...
@@ -4051,6 +4078,7 @@
E027E36A25B5686D00CBCA65
/* print_top_btn_cell.xib in Resources */
,
F9A4F25024C9689600D1DD13
/* OtherDemandViewController.xib in Resources */
,
E09B03C12445B96500211A51
/* FgPassViewController.xib in Resources */
,
E00F71FF264A2F1A00CFB15A
/* FXSZ_View.xib in Resources */
,
F970B3702551280B0026F9D5
/* TimeShowDownView.xib in Resources */
,
F96E48A824CA90DC000AB8D4
/* DriverItemTableViewCell.xib in Resources */
,
E06524F624580BB600CA22E2
/* BaoZhiQiCell.xib in Resources */
,
...
...
@@ -4148,6 +4176,7 @@
E09A735F261EAF7400CB2D70
/* PPH_YDXQ_VC.xib in Resources */
,
E007B1D5248F6880004D14CC
/* CGDDayCell.xib in Resources */
,
E07B1E63245921A60055BA3C
/* KeHuXQCell.xib in Resources */
,
E0122C62264A13DD00E15289
/* SY_SLS_GL_VC_Cell.xib in Resources */
,
E00D85EB244561FE00F5F816
/* LaunchScreen.storyboard in Resources */
,
E05AEFA7261577EA00FB7CF4
/* P_P_H_Adr_VC.xib in Resources */
,
E0AD92EA2550E50500D82C17
/* GYS_FX_Product_VC.xib in Resources */
,
...
...
@@ -4353,6 +4382,7 @@
E0CC8482248239F6009B1FE9
/* OutGoodsDetailModel.swift in Sources */
,
F933F6D22452DAE100189561
/* TabBarContentClassView.swift in Sources */
,
F933F6C82452C68B00189561
/* PKHUDTextView.swift in Sources */
,
E00F71FA264A2F1200CFB15A
/* FXSZ_View.swift in Sources */
,
F956D5AF246A2D9C003FF510
/* LMNCheckboxLine.m in Sources */
,
E04025FB259C142E00EDF182
/* KHXQ_ViewController.swift in Sources */
,
E0A409C82464010D00CFF109
/* FirstCell.swift in Sources */
,
...
...
@@ -4635,6 +4665,7 @@
E07B1E6B245926330055BA3C
/* GYSGLCell.swift in Sources */
,
F956D5AC246A2D9C003FF510
/* LMNImageLine.m in Sources */
,
E09B03C02445B96500211A51
/* FgPassViewController.swift in Sources */
,
E016E761264A531400E2A9C5
/* New_Fx_Cell.swift in Sources */
,
E02392062490819600C4C632
/* CGDListCell.swift in Sources */
,
F950FDAB2451634B00C40530
/* LocationGeliPayModel.swift in Sources */
,
E0CC84802482378D009B1FE9
/* IoGoodsDetailModel.swift in Sources */
,
...
...
@@ -4668,6 +4699,7 @@
E0E341EA246E95EE0060AC20
/* PingLunCell.swift in Sources */
,
F950FDDF24518B9500C40530
/* FSCalendarSeparatorDecorationView.m in Sources */
,
F9023F692449A50900DD5A63
/* TitleContentCell.swift in Sources */
,
E0122C61264A13DD00E15289
/* SY_SLS_GL_VC_Cell.swift in Sources */
,
F95A9ED8245520E500867849
/* OrderListVC.swift in Sources */
,
F995CEA62547CAC000202BA8
/* InvoiceInfoModel.swift in Sources */
,
E06FBAA325BFEFB200E9C2BA
/* S_Y_View.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
8785e523
No preview for this file type
GeliBusinessPlatform/AppDelegate.swift
View file @
8785e523
...
...
@@ -282,8 +282,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate,loginDelegate,UITabBarCont
let
v2
=
GoodsManageListVC
()
let
v3
=
WorkCViewController
()
// let v3 = SY_DLS_GL_
VC()
//
let v3 = WorkCViewController()
let
v3
=
FX_Product_GuanLi
VC
()
let
v4
=
WarehoseMangementListVC
()
...
...
GeliBusinessPlatform/Assets.xcassets/工作中心/下拉11.imageset/Contents.json
0 → 100644
View file @
8785e523
{
"images"
:
[
{
"filename"
:
"下拉.png"
,
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"下拉@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"下拉@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
GeliBusinessPlatform/Assets.xcassets/工作中心/下拉11.imageset/下拉.png
0 → 100644
View file @
8785e523
221 Bytes
GeliBusinessPlatform/Assets.xcassets/工作中心/下拉11.imageset/下拉@2x.png
0 → 100644
View file @
8785e523
358 Bytes
GeliBusinessPlatform/Assets.xcassets/工作中心/下拉11.imageset/下拉@3x.png
0 → 100644
View file @
8785e523
634 Bytes
GeliBusinessPlatform/Assets.xcassets/工作中心/收回111.imageset/Contents.json
0 → 100644
View file @
8785e523
{
"images"
:
[
{
"filename"
:
"收回.png"
,
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"收回@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"收回@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
GeliBusinessPlatform/Assets.xcassets/工作中心/收回111.imageset/收回.png
0 → 100644
View file @
8785e523
217 Bytes
GeliBusinessPlatform/Assets.xcassets/工作中心/收回111.imageset/收回@2x.png
0 → 100644
View file @
8785e523
358 Bytes
GeliBusinessPlatform/Assets.xcassets/工作中心/收回111.imageset/收回@3x.png
0 → 100644
View file @
8785e523
619 Bytes
GeliBusinessPlatform/View/Cell/GYS_FX_ProductCellTableViewCell.xib
View file @
8785e523
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
156
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
701
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
125
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
703
"
/>
<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"
/>
...
...
@@ -105,7 +105,7 @@
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"分销价"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"N0T-3l-rU8"
>
<rect
key=
"frame"
x=
"115"
y=
"92"
width=
"39
.5
"
height=
"13"
/>
<rect
key=
"frame"
x=
"115"
y=
"92"
width=
"39"
height=
"13"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"13"
id=
"gG9-lj-bd4"
/>
</constraints>
...
...
@@ -114,7 +114,7 @@
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"原价"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Bjz-wA-QCI"
>
<rect
key=
"frame"
x=
"159
.5
"
y=
"91"
width=
"22.5"
height=
"15"
/>
<rect
key=
"frame"
x=
"159"
y=
"91"
width=
"22.5"
height=
"15"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"15"
id=
"QHA-N0-RpE"
/>
</constraints>
...
...
@@ -123,7 +123,7 @@
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"tnU-5r-Jfg"
>
<rect
key=
"frame"
x=
"159
.5
"
y=
"98"
width=
"22.5"
height=
"1"
/>
<rect
key=
"frame"
x=
"159"
y=
"98"
width=
"22.5"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"标题字颜色"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"9xG-aS-jTC"
/>
...
...
@@ -226,7 +226,7 @@
<resources>
<image
name=
"daixuan"
width=
"19"
height=
"19"
/>
<namedColor
name=
"#FAA376"
>
<color
red=
"0.98000001907348633"
green=
"0.63899999856948853"
blue=
"0.46299999952316284"
alpha=
"0.
68999999761581421
"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.98000001907348633"
green=
"0.63899999856948853"
blue=
"0.46299999952316284"
alpha=
"0.
80000001192092896
"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"app底色"
>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
...
...
GeliBusinessPlatform/View/HeaderSelectView/HeaderSelectView.swift
View file @
8785e523
...
...
@@ -23,10 +23,10 @@ class HeaderSelectView: UIView {
@IBOutlet
weak
var
thereBtn
:
UIButton
!
var
contentView
:
UIView
!
let
upImg
=
UIImage
.
init
(
named
:
"
shangla
"
)
let
dowImg
=
UIImage
.
init
(
named
:
"
xiala
"
)
let
upColor
=
UIColor
.
init
(
named
:
"
蓝色字体
颜色"
)
let
dowColor
=
UIColor
.
init
(
named
:
"
标题字颜色
"
)
let
upImg
=
UIImage
.
init
(
named
:
"
收回111
"
)
let
dowImg
=
UIImage
.
init
(
named
:
"
下拉11
"
)
let
upColor
=
UIColor
.
init
(
named
:
"
标题字
颜色"
)
let
dowColor
=
UIColor
.
init
(
named
:
"
#999999
"
)
@IBAction
func
fristBtnAction
(
_
sender
:
UIButton
)
{
...
...
GeliBusinessPlatform/View/HeaderSelectView/HeaderSelectView.xib
View file @
8785e523
...
...
@@ -24,8 +24,8 @@
<button
opaque=
"NO"
contentMode=
"scaleToFill"
semanticContentAttribute=
"forceRightToLeft"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"NPE-os-75s"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"134.5"
height=
"166"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<state
key=
"normal"
title=
"全部商品 "
image=
"
xiala
"
>
<color
key=
"titleColor"
name=
"
标题字颜色
"
/>
<state
key=
"normal"
title=
"全部商品 "
image=
"
下拉11
"
>
<color
key=
"titleColor"
name=
"
#999999
"
/>
</state>
<connections>
<action
selector=
"fristBtnAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"6g3-xa-mrO"
/>
...
...
@@ -34,8 +34,8 @@
<button
opaque=
"NO"
contentMode=
"scaleToFill"
semanticContentAttribute=
"forceRightToLeft"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"fJG-vM-HVA"
>
<rect
key=
"frame"
x=
"134.5"
y=
"0.0"
width=
"135"
height=
"166"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<state
key=
"normal"
title=
"全部 "
image=
"
xiala
"
>
<color
key=
"titleColor"
name=
"
标题字颜色
"
/>
<state
key=
"normal"
title=
"全部 "
image=
"
下拉11
"
>
<color
key=
"titleColor"
name=
"
#999999
"
/>
</state>
<connections>
<action
selector=
"secBtnAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"Ixk-Ze-f1L"
/>
...
...
@@ -44,8 +44,8 @@
<button
opaque=
"NO"
contentMode=
"scaleToFill"
semanticContentAttribute=
"forceRightToLeft"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qBG-jC-B4y"
userLabel=
"排序"
>
<rect
key=
"frame"
x=
"269.5"
y=
"0.0"
width=
"134.5"
height=
"166"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<state
key=
"normal"
title=
"排序 "
image=
"
xiala
"
>
<color
key=
"titleColor"
name=
"
标题字颜色
"
/>
<state
key=
"normal"
title=
"排序 "
image=
"
下拉11
"
>
<color
key=
"titleColor"
name=
"
#999999
"
/>
</state>
<connections>
<action
selector=
"thereBtnAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"oCp-ME-OZP"
/>
...
...
@@ -72,9 +72,9 @@
</view>
</objects>
<resources>
<image
name=
"
xiala"
width=
"9"
height=
"4.5
"
/>
<namedColor
name=
"
标题字颜色
"
>
<color
red=
"0.
18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<image
name=
"
下拉11"
width=
"14"
height=
"14
"
/>
<namedColor
name=
"
#999999
"
>
<color
red=
"0.
60000002384185791"
green=
"0.60000002384185791"
blue=
"0.60000002384185791
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
...
...
GeliBusinessPlatform/View/HeaderSelectView/SelectContentView.swift
View file @
8785e523
...
...
@@ -68,9 +68,9 @@ class SelectContentView: UIView, UITableViewDelegate, UITableViewDataSource {
cell
.
contentLbl
.
text
=
""
cell
.
titleLbl
.
text
=
titleStr
if
selectIndx
==
indexPath
.
row
{
cell
.
titleLbl
.
textColor
=
UIColor
.
init
(
named
:
"蓝色字体颜色"
)
}
else
{
cell
.
titleLbl
.
textColor
=
UIColor
.
init
(
named
:
"标题字颜色"
)
}
else
{
cell
.
titleLbl
.
textColor
=
UIColor
.
init
(
named
:
"#999999"
)
}
return
cell
...
...
GeliBusinessPlatform/View/HeaderSelectView/SelectContentView.xib
View file @
8785e523
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
156
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
701
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina4_7"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
125
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
703
"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
...
...
GeliBusinessPlatform/ViewController/New分销商品/FXSZ_View.swift
0 → 100644
View file @
8785e523
//
// FXSZ_View.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2021/5/11.
// Copyright © 2021 junye lu. All rights reserved.
//
import
UIKit
class
FXSZ_View
:
UIView
{
@IBAction
func
close_alt_action
(
_
sender
:
Any
)
{
self
.
removeFromSuperview
()
}
var
contentView
:
UIView
!
var
is_all_select_mode
=
false
//初始化时将xib中的view添加进来
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
contentView
=
loadViewFromNib
()
addSubview
(
contentView
)
contentView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
top
.
right
.
bottom
.
equalToSuperview
()
}
}
// /初始化时将xib中的view添加进来
required
init
?(
coder
aDecoder
:
NSCoder
)
{
super
.
init
(
coder
:
aDecoder
)
contentView
=
loadViewFromNib
()
addSubview
(
contentView
)
contentView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
top
.
right
.
bottom
.
equalToSuperview
()
}
}
//加载xib
func
loadViewFromNib
()
->
UIView
{
let
className
=
type
(
of
:
self
)
let
bundle
=
Bundle
(
for
:
className
)
let
name
=
NSStringFromClass
(
className
)
.
components
(
separatedBy
:
"."
)
.
last
let
nib
=
UINib
(
nibName
:
name
!
,
bundle
:
bundle
)
let
view
=
nib
.
instantiate
(
withOwner
:
self
,
options
:
nil
)
.
first
as!
UIView
return
view
}
}
GeliBusinessPlatform/ViewController/New分销商品/FXSZ_View.xib
0 → 100644
View file @
8785e523
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17701"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.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=
"FXSZ_View"
customModule=
"TestClass"
customModuleProvider=
"target"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
contentMode=
"scaleToFill"
id=
"iN0-l3-epB"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<button
opaque=
"NO"
alpha=
"0.40000000000000002"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Ama-Fc-9bZ"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<color
key=
"backgroundColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
key=
"tintColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<state
key=
"normal"
>
<color
key=
"titleColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</state>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ucZ-GP-m2V"
>
<rect
key=
"frame"
x=
"38"
y=
"341"
width=
"338"
height=
"214"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"分销设置"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qrD-g0-MpT"
>
<rect
key=
"frame"
x=
"137"
y=
"25"
width=
"64"
height=
"23"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"16"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"设置商品价格:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"3EA-c1-D8X"
>
<rect
key=
"frame"
x=
"15"
y=
"77"
width=
"91"
height=
"18.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"提示语字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"提成设置:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"jrm-RY-phQ"
>
<rect
key=
"frame"
x=
"15"
y=
"133.5"
width=
"65"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"提示语字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"分销价"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"kwu-OI-wNj"
>
<rect
key=
"frame"
x=
"106"
y=
"77"
width=
"39"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"固定提成"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qHB-Qk-Ty0"
>
<rect
key=
"frame"
x=
"80"
y=
"133.5"
width=
"52"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"元"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"RAX-qu-ni2"
>
<rect
key=
"frame"
x=
"305"
y=
"77"
width=
"13"
height=
"18.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"元"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"GqC-1y-8CE"
>
<rect
key=
"frame"
x=
"305"
y=
"134"
width=
"13"
height=
"18.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
textAlignment=
"center"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hMS-x0-bGV"
>
<rect
key=
"frame"
x=
"155"
y=
"69"
width=
"140"
height=
"35"
/>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"35"
id=
"jxD-3K-qiU"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<textInputTraits
key=
"textInputTraits"
keyboardType=
"decimalPad"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"5"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</textField>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
textAlignment=
"center"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"GVh-yF-SJ3"
>
<rect
key=
"frame"
x=
"142"
y=
"125.5"
width=
"153"
height=
"35"
/>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"35"
id=
"97y-xa-4Jr"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<textInputTraits
key=
"textInputTraits"
keyboardType=
"decimalPad"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"5"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</textField>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"BtH-d1-XVK"
>
<rect
key=
"frame"
x=
"0.0"
y=
"169.5"
width=
"338"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"pdd-ar-gaz"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ebG-Rk-q3j"
>
<rect
key=
"frame"
x=
"168.5"
y=
"170.5"
width=
"1"
height=
"43.5"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"1"
id=
"bMf-vq-q2v"
/>
</constraints>
</view>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"z7q-zP-lFo"
>
<rect
key=
"frame"
x=
"0.0"
y=
"170.5"
width=
"168.5"
height=
"43.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"14"
/>
<state
key=
"normal"
title=
"取消"
>
<color
key=
"titleColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</state>
<connections>
<action
selector=
"close_alt_action:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"9tK-3O-h5C"
/>
</connections>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ENw-RL-N4t"
>
<rect
key=
"frame"
x=
"169.5"
y=
"170.5"
width=
"168.5"
height=
"43.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"14"
/>
<state
key=
"normal"
title=
"确定"
>
<color
key=
"titleColor"
red=
"0.2784313725"
green=
"0.56078431370000004"
blue=
"0.89019607840000003"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</state>
</button>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstItem=
"jrm-RY-phQ"
firstAttribute=
"top"
secondItem=
"3EA-c1-D8X"
secondAttribute=
"bottom"
constant=
"38"
id=
"06x-LY-vLC"
/>
<constraint
firstItem=
"GqC-1y-8CE"
firstAttribute=
"leading"
secondItem=
"GVh-yF-SJ3"
secondAttribute=
"trailing"
constant=
"10"
id=
"6Ze-aH-IOc"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ENw-RL-N4t"
secondAttribute=
"trailing"
id=
"6sf-ED-00f"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"ENw-RL-N4t"
secondAttribute=
"bottom"
id=
"71S-yB-xbP"
/>
<constraint
firstItem=
"ENw-RL-N4t"
firstAttribute=
"top"
secondItem=
"BtH-d1-XVK"
secondAttribute=
"bottom"
id=
"7nm-BO-fv1"
/>
<constraint
firstItem=
"qrD-g0-MpT"
firstAttribute=
"centerX"
secondItem=
"ucZ-GP-m2V"
secondAttribute=
"centerX"
id=
"8RY-fM-hTv"
/>
<constraint
firstItem=
"3EA-c1-D8X"
firstAttribute=
"top"
secondItem=
"ucZ-GP-m2V"
secondAttribute=
"top"
constant=
"77"
id=
"FIp-M7-2Ci"
/>
<constraint
firstItem=
"GVh-yF-SJ3"
firstAttribute=
"leading"
secondItem=
"qHB-Qk-Ty0"
secondAttribute=
"trailing"
constant=
"10"
id=
"IwO-j0-bv0"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"RAX-qu-ni2"
secondAttribute=
"trailing"
constant=
"20"
id=
"Lpm-cF-9Ot"
/>
<constraint
firstItem=
"GqC-1y-8CE"
firstAttribute=
"centerX"
secondItem=
"RAX-qu-ni2"
secondAttribute=
"centerX"
id=
"NcA-uL-xOy"
/>
<constraint
firstItem=
"3EA-c1-D8X"
firstAttribute=
"leading"
secondItem=
"ucZ-GP-m2V"
secondAttribute=
"leading"
constant=
"15"
id=
"NsY-Ss-aSE"
/>
<constraint
firstItem=
"jrm-RY-phQ"
firstAttribute=
"leading"
secondItem=
"3EA-c1-D8X"
secondAttribute=
"leading"
id=
"PfO-Uh-eYT"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"BtH-d1-XVK"
secondAttribute=
"trailing"
id=
"RcH-lR-kO1"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"BtH-d1-XVK"
secondAttribute=
"bottom"
constant=
"43.5"
id=
"TSL-L5-pLj"
/>
<constraint
firstItem=
"RAX-qu-ni2"
firstAttribute=
"leading"
secondItem=
"hMS-x0-bGV"
secondAttribute=
"trailing"
constant=
"10"
id=
"UmX-Qa-Bwe"
/>
<constraint
firstItem=
"hMS-x0-bGV"
firstAttribute=
"leading"
secondItem=
"kwu-OI-wNj"
secondAttribute=
"trailing"
constant=
"10"
id=
"Wru-Dk-hxw"
/>
<constraint
firstItem=
"z7q-zP-lFo"
firstAttribute=
"leading"
secondItem=
"ucZ-GP-m2V"
secondAttribute=
"leading"
id=
"Xuf-vt-MAp"
/>
<constraint
firstItem=
"ebG-Rk-q3j"
firstAttribute=
"top"
secondItem=
"BtH-d1-XVK"
secondAttribute=
"bottom"
id=
"Zu1-4W-EZp"
/>
<constraint
firstAttribute=
"height"
constant=
"214"
id=
"a2O-YB-ena"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"ebG-Rk-q3j"
secondAttribute=
"bottom"
id=
"a82-RC-oR4"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"z7q-zP-lFo"
secondAttribute=
"bottom"
id=
"aRT-cU-Yln"
/>
<constraint
firstItem=
"qHB-Qk-Ty0"
firstAttribute=
"leading"
secondItem=
"jrm-RY-phQ"
secondAttribute=
"trailing"
id=
"bHt-wg-jLS"
/>
<constraint
firstItem=
"GVh-yF-SJ3"
firstAttribute=
"centerY"
secondItem=
"qHB-Qk-Ty0"
secondAttribute=
"centerY"
id=
"bYb-6g-ZJf"
/>
<constraint
firstItem=
"BtH-d1-XVK"
firstAttribute=
"leading"
secondItem=
"ucZ-GP-m2V"
secondAttribute=
"leading"
id=
"cxB-fq-bc3"
/>
<constraint
firstItem=
"RAX-qu-ni2"
firstAttribute=
"centerY"
secondItem=
"kwu-OI-wNj"
secondAttribute=
"centerY"
id=
"dua-Nn-9Vn"
/>
<constraint
firstItem=
"ebG-Rk-q3j"
firstAttribute=
"leading"
secondItem=
"z7q-zP-lFo"
secondAttribute=
"trailing"
id=
"ej8-Kg-2uv"
/>
<constraint
firstItem=
"hMS-x0-bGV"
firstAttribute=
"centerY"
secondItem=
"kwu-OI-wNj"
secondAttribute=
"centerY"
id=
"ggJ-8w-tR2"
/>
<constraint
firstItem=
"GqC-1y-8CE"
firstAttribute=
"centerY"
secondItem=
"qHB-Qk-Ty0"
secondAttribute=
"centerY"
id=
"hO7-0g-F7P"
/>
<constraint
firstItem=
"kwu-OI-wNj"
firstAttribute=
"centerY"
secondItem=
"3EA-c1-D8X"
secondAttribute=
"centerY"
id=
"jjD-Xz-tb8"
/>
<constraint
firstItem=
"kwu-OI-wNj"
firstAttribute=
"leading"
secondItem=
"3EA-c1-D8X"
secondAttribute=
"trailing"
id=
"juQ-WW-zxB"
/>
<constraint
firstItem=
"z7q-zP-lFo"
firstAttribute=
"top"
secondItem=
"BtH-d1-XVK"
secondAttribute=
"bottom"
id=
"pKy-mg-WtR"
/>
<constraint
firstItem=
"qHB-Qk-Ty0"
firstAttribute=
"centerY"
secondItem=
"jrm-RY-phQ"
secondAttribute=
"centerY"
id=
"q2V-Xx-JvC"
/>
<constraint
firstItem=
"qrD-g0-MpT"
firstAttribute=
"top"
secondItem=
"ucZ-GP-m2V"
secondAttribute=
"top"
constant=
"25"
id=
"uTf-op-C2W"
/>
<constraint
firstItem=
"ENw-RL-N4t"
firstAttribute=
"leading"
secondItem=
"ebG-Rk-q3j"
secondAttribute=
"trailing"
id=
"w4z-24-JUg"
/>
<constraint
firstItem=
"ebG-Rk-q3j"
firstAttribute=
"centerX"
secondItem=
"ucZ-GP-m2V"
secondAttribute=
"centerX"
id=
"xSe-ex-nWl"
/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"10"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<viewLayoutGuide
key=
"safeArea"
id=
"vUN-kp-3ea"
/>
<constraints>
<constraint
firstItem=
"Ama-Fc-9bZ"
firstAttribute=
"top"
secondItem=
"iN0-l3-epB"
secondAttribute=
"top"
id=
"29g-sU-mHK"
/>
<constraint
firstItem=
"Ama-Fc-9bZ"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
id=
"C7c-fv-ZgR"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Ama-Fc-9bZ"
secondAttribute=
"bottom"
id=
"Els-hS-nsP"
/>
<constraint
firstItem=
"ucZ-GP-m2V"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
constant=
"38"
id=
"OtK-nO-2aP"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"Ama-Fc-9bZ"
secondAttribute=
"trailing"
id=
"hQX-ij-qIk"
/>
<constraint
firstItem=
"ucZ-GP-m2V"
firstAttribute=
"centerY"
secondItem=
"iN0-l3-epB"
secondAttribute=
"centerY"
id=
"n6G-k3-aD9"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"ucZ-GP-m2V"
secondAttribute=
"trailing"
constant=
"38"
id=
"vbh-eP-XIb"
/>
</constraints>
<point
key=
"canvasLocation"
x=
"-49.275362318840585"
y=
"71.651785714285708"
/>
</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.70588235294117652"
green=
"0.70588235294117652"
blue=
"0.70588235294117652"
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>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/New分销商品/New_Fx_Cell.swift
0 → 100644
View file @
8785e523
//
// New_Fx_Cell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2021/5/11.
// Copyright © 2021 junye lu. All rights reserved.
//
import
UIKit
protocol
New_Fx_Cell_Delegate
{
func
New_Fx_Cell_btnClick
(
idx
:
Int
,
cell
:
New_Fx_Cell
)
func
New_Fx_Cell_btnSelect
(
idx
:
Int
,
cell
:
New_Fx_Cell
)
}
class
New_Fx_Cell
:
UITableViewCell
{
@IBAction
func
btn_select_action
(
_
sender
:
UIButton
)
{
delegate
?
.
New_Fx_Cell_btnSelect
(
idx
:
self
.
tag
,
cell
:
self
)
}
var
delegate
:
New_Fx_Cell_Delegate
?
@IBAction
func
btn_click_action
(
_
sender
:
UIButton
)
{
print
(
sender
.
tag
,
self
.
tag
)
delegate
?
.
New_Fx_Cell_btnClick
(
idx
:
sender
.
tag
,
cell
:
self
)
}
@IBOutlet
weak
var
btn1
:
UIButton
!
@IBOutlet
weak
var
btn2
:
UIButton
!
@IBOutlet
weak
var
btn3
:
UIButton
!
@IBOutlet
weak
var
price
:
UILabel
!
@IBOutlet
weak
var
spec
:
UILabel
!
@IBOutlet
weak
var
name
:
UILabel
!
@IBOutlet
weak
var
icon
:
UIImageView
!
@IBOutlet
weak
var
select_img
:
UIImageView
!
@IBOutlet
weak
var
leftBtn
:
UIButton
!
@IBOutlet
weak
var
leftValue
:
NSLayoutConstraint
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
btn1
.
tag
=
0
btn2
.
tag
=
1
btn3
.
tag
=
2
self
.
selectionStyle
=
.
none
// Initialization code
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
// Configure the view for the selected state
}
}
GeliBusinessPlatform/ViewController/New分销商品/New_Fx_Cell.xib
0 → 100644
View file @
8785e523
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17701"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.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"
rowHeight=
"96"
id=
"KGk-i7-Jjw"
customClass=
"New_Fx_Cell"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"145"
/>
<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=
"375"
height=
"145"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ake-No-EJq"
>
<rect
key=
"frame"
x=
"45"
y=
"0.0"
width=
"330"
height=
"138"
/>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"IGJ-s9-LDX"
>
<rect
key=
"frame"
x=
"15"
y=
"15"
width=
"65"
height=
"65"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"65"
id=
"VIz-a4-DIw"
/>
<constraint
firstAttribute=
"height"
constant=
"65"
id=
"gaS-kt-JG7"
/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"5"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"7aE-3v-snx"
>
<rect
key=
"frame"
x=
"90"
y=
"15"
width=
"225"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"15"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"W0u-zF-uZB"
>
<rect
key=
"frame"
x=
"90"
y=
"39"
width=
"225"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"textColor"
name=
"#999999"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"f2B-iB-HCW"
>
<rect
key=
"frame"
x=
"90"
y=
"59"
width=
"225"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"textColor"
name=
"#F57575"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"eWY-tS-v5O"
>
<rect
key=
"frame"
x=
"15"
y=
"95"
width=
"300"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"Eht-HZ-Sk9"
/>
</constraints>
</view>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"DBn-jO-CLD"
>
<rect
key=
"frame"
x=
"90"
y=
"96"
width=
"80"
height=
"42"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"80"
id=
"s1M-0D-mhe"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<state
key=
"normal"
title=
"取消分组"
>
<color
key=
"titleColor"
red=
"0.2784313725"
green=
"0.56078431370000004"
blue=
"0.89019607840000003"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</state>
<connections>
<action
selector=
"btn_click_action:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"h3d-0D-udS"
/>
</connections>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"57i-o6-UBs"
>
<rect
key=
"frame"
x=
"170"
y=
"96"
width=
"80"
height=
"42"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"80"
id=
"n9p-Ap-AMW"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<state
key=
"normal"
title=
"商品下架"
>
<color
key=
"titleColor"
red=
"0.2784313725"
green=
"0.56078431370000004"
blue=
"0.89019607840000003"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</state>
<connections>
<action
selector=
"btn_click_action:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"TJJ-iD-Hgk"
/>
</connections>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Jl0-KS-dlY"
>
<rect
key=
"frame"
x=
"250"
y=
"96"
width=
"80"
height=
"42"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"80"
id=
"gCH-2X-Hdf"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<state
key=
"normal"
title=
"分销设置"
>
<color
key=
"titleColor"
red=
"0.2784313725"
green=
"0.56078431370000004"
blue=
"0.89019607840000003"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</state>
<connections>
<action
selector=
"btn_click_action:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"mO2-s4-Q9j"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstItem=
"f2B-iB-HCW"
firstAttribute=
"top"
secondItem=
"W0u-zF-uZB"
secondAttribute=
"bottom"
constant=
"3"
id=
"1jd-Ld-jZu"
/>
<constraint
firstItem=
"57i-o6-UBs"
firstAttribute=
"leading"
secondItem=
"DBn-jO-CLD"
secondAttribute=
"trailing"
id=
"89g-Y4-A05"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"DBn-jO-CLD"
secondAttribute=
"bottom"
id=
"Aw3-Sb-Qbh"
/>
<constraint
firstItem=
"7aE-3v-snx"
firstAttribute=
"top"
secondItem=
"IGJ-s9-LDX"
secondAttribute=
"top"
id=
"Bnf-25-jba"
/>
<constraint
firstItem=
"57i-o6-UBs"
firstAttribute=
"top"
secondItem=
"eWY-tS-v5O"
secondAttribute=
"bottom"
id=
"IDr-xS-DGu"
/>
<constraint
firstItem=
"7aE-3v-snx"
firstAttribute=
"leading"
secondItem=
"IGJ-s9-LDX"
secondAttribute=
"trailing"
constant=
"10"
id=
"Jok-gW-UvU"
/>
<constraint
firstItem=
"DBn-jO-CLD"
firstAttribute=
"top"
secondItem=
"eWY-tS-v5O"
secondAttribute=
"bottom"
id=
"MUu-jo-gg9"
/>
<constraint
firstItem=
"W0u-zF-uZB"
firstAttribute=
"top"
secondItem=
"7aE-3v-snx"
secondAttribute=
"bottom"
constant=
"3"
id=
"Szz-UI-RMo"
/>
<constraint
firstItem=
"IGJ-s9-LDX"
firstAttribute=
"leading"
secondItem=
"ake-No-EJq"
secondAttribute=
"leading"
constant=
"15"
id=
"YLG-qj-TsC"
/>
<constraint
firstItem=
"eWY-tS-v5O"
firstAttribute=
"top"
secondItem=
"IGJ-s9-LDX"
secondAttribute=
"bottom"
constant=
"15"
id=
"ZXk-OZ-ZhQ"
/>
<constraint
firstItem=
"W0u-zF-uZB"
firstAttribute=
"leading"
secondItem=
"7aE-3v-snx"
secondAttribute=
"leading"
id=
"aYr-mX-HGn"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"W0u-zF-uZB"
secondAttribute=
"trailing"
constant=
"15"
id=
"eRf-mf-ty4"
/>
<constraint
firstItem=
"Jl0-KS-dlY"
firstAttribute=
"top"
secondItem=
"eWY-tS-v5O"
secondAttribute=
"bottom"
id=
"fIu-Zf-UbS"
/>
<constraint
firstItem=
"f2B-iB-HCW"
firstAttribute=
"leading"
secondItem=
"W0u-zF-uZB"
secondAttribute=
"leading"
id=
"fR9-DF-izr"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"eWY-tS-v5O"
secondAttribute=
"trailing"
constant=
"15"
id=
"faS-n7-UQn"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Jl0-KS-dlY"
secondAttribute=
"trailing"
id=
"gZe-rT-plY"
/>
<constraint
firstItem=
"Jl0-KS-dlY"
firstAttribute=
"leading"
secondItem=
"57i-o6-UBs"
secondAttribute=
"trailing"
id=
"lQq-6X-Kr5"
/>
<constraint
firstItem=
"IGJ-s9-LDX"
firstAttribute=
"top"
secondItem=
"ake-No-EJq"
secondAttribute=
"top"
constant=
"15"
id=
"rYQ-aB-SNa"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Jl0-KS-dlY"
secondAttribute=
"bottom"
id=
"sNR-nz-Nor"
/>
<constraint
firstItem=
"eWY-tS-v5O"
firstAttribute=
"leading"
secondItem=
"ake-No-EJq"
secondAttribute=
"leading"
constant=
"15"
id=
"yOe-j5-VPW"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"57i-o6-UBs"
secondAttribute=
"bottom"
id=
"yr8-qP-bWd"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"f2B-iB-HCW"
secondAttribute=
"trailing"
constant=
"15"
id=
"zAx-GH-qK9"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"7aE-3v-snx"
secondAttribute=
"trailing"
constant=
"15"
id=
"zPG-fn-yYB"
/>
</constraints>
</view>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"daixuan"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"pov-V8-qSh"
>
<rect
key=
"frame"
x=
"15"
y=
"59"
width=
"20"
height=
"20"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"20"
id=
"4Z5-OH-COv"
/>
<constraint
firstAttribute=
"height"
constant=
"20"
id=
"Kh8-4O-6gn"
/>
</constraints>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"AW8-jN-SAm"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"45"
height=
"145"
/>
<connections>
<action
selector=
"btn_select_action:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"Ust-JU-sjc"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<constraints>
<constraint
firstItem=
"ake-No-EJq"
firstAttribute=
"leading"
secondItem=
"AW8-jN-SAm"
secondAttribute=
"trailing"
id=
"3ME-9H-BSd"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ake-No-EJq"
secondAttribute=
"trailing"
id=
"RFW-aQ-Hwg"
/>
<constraint
firstItem=
"ake-No-EJq"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"VdF-lM-KWK"
/>
<constraint
firstItem=
"AW8-jN-SAm"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
id=
"aJq-l8-NYd"
/>
<constraint
firstItem=
"AW8-jN-SAm"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"bmR-uw-0f8"
/>
<constraint
firstItem=
"pov-V8-qSh"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"cas-Lu-sjI"
/>
<constraint
firstItem=
"ake-No-EJq"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"45"
id=
"g83-Fj-7PL"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"ake-No-EJq"
secondAttribute=
"bottom"
constant=
"7"
id=
"hEZ-3Q-dBq"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"AW8-jN-SAm"
secondAttribute=
"bottom"
id=
"rQh-u1-xPn"
/>
<constraint
firstItem=
"pov-V8-qSh"
firstAttribute=
"centerY"
secondItem=
"ake-No-EJq"
secondAttribute=
"centerY"
id=
"sxy-3Z-kS1"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"btn1"
destination=
"DBn-jO-CLD"
id=
"765-HQ-FUO"
/>
<outlet
property=
"btn2"
destination=
"57i-o6-UBs"
id=
"2GU-Fx-42B"
/>
<outlet
property=
"btn3"
destination=
"Jl0-KS-dlY"
id=
"UY5-9K-yZB"
/>
<outlet
property=
"icon"
destination=
"IGJ-s9-LDX"
id=
"XdV-xV-64x"
/>
<outlet
property=
"leftBtn"
destination=
"AW8-jN-SAm"
id=
"JZ1-I7-1M0"
/>
<outlet
property=
"leftValue"
destination=
"g83-Fj-7PL"
id=
"iVa-Xo-icg"
/>
<outlet
property=
"name"
destination=
"7aE-3v-snx"
id=
"OSe-xa-TD7"
/>
<outlet
property=
"price"
destination=
"f2B-iB-HCW"
id=
"PJ8-B5-Xnn"
/>
<outlet
property=
"select_img"
destination=
"pov-V8-qSh"
id=
"nNm-8N-cDH"
/>
<outlet
property=
"spec"
destination=
"W0u-zF-uZB"
id=
"dI0-nX-fJO"
/>
</connections>
<point
key=
"canvasLocation"
x=
"157.24637681159422"
y=
"96.763392857142847"
/>
</tableViewCell>
</objects>
<resources>
<image
name=
"daixuan"
width=
"19"
height=
"19"
/>
<namedColor
name=
"#999999"
>
<color
red=
"0.60000002384185791"
green=
"0.60000002384185791"
blue=
"0.60000002384185791"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"#F57575"
>
<color
red=
"0.96100002527236938"
green=
"0.45899999141693115"
blue=
"0.45899999141693115"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<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.92941176470588238"
green=
"0.92941176470588238"
blue=
"0.92941176470588238"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/上游代理商管理/SY_DLS_GL_VC.swift
View file @
8785e523
...
...
@@ -8,16 +8,46 @@
import
UIKit
class
SY_DLS_GL_VC
:
BaseViewController
,
UISearchBarDelegate
,
SearchBarViewDelegate
{
class
SY_DLS_GL_VC
:
BaseViewController
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
UITableViewDelegate
,
UITableViewDataSource
{
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
var
keyword
=
""
//MARK: - TABLEVIEWDELEGATE
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
165
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
3
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"SY_SLS_GL_VC_Cell"
)
as!
SY_SLS_GL_VC_Cell
return
cell
}
var
gys_centers
:
Array
<
getSupShopDataModel
>
=
[]
func
rightBtnClick
()
{
print
(
"新增代理商"
)
getSupShop
([
"user_token"
:
UserToken
as
Any
])
{
(
data
)
in
let
model
=
data
as!
getSupShopModel
model
.
data
?
.
forEach
({
(
item
)
in
self
.
gys_centers
.
append
(
item
)
})
HUD
.
hide
()
let
alertView
=
GLAlertTbAddView
(
frame
:
self
.
view
.
bounds
)
alertView
.
is_gys
=
true
alertView
.
bottom_tableview
.
isHidden
=
true
alertView
.
gys_centers
=
self
.
gys_centers
self
.
view
.
addSubview
(
alertView
)
}
failture
:
{
(
err
)
in
}
}
@IBOutlet
weak
var
list_view
:
UITableView
!
@IBOutlet
weak
var
contentV
:
UIView
!
var
keyword
=
""
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
@@ -39,7 +69,9 @@ class SY_DLS_GL_VC: BaseViewController, UISearchBarDelegate, SearchBarViewDelega
make
.
centerY
.
equalToSuperview
()
make
.
height
.
equalTo
(
35
)
}
list_view
.
separatorStyle
=
.
none
list_view
.
register
(
UINib
(
nibName
:
"SY_SLS_GL_VC_Cell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"SY_SLS_GL_VC_Cell"
)
headerMJ
.
setRefreshingTarget
(
self
,
refreshingAction
:
#selector(
loadData
)
)
list_view
.
mj_header
=
self
.
headerMJ
...
...
GeliBusinessPlatform/ViewController/上游代理商管理/SY_DLS_GL_VC.xib
View file @
8785e523
...
...
@@ -31,6 +31,10 @@
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
style=
"plain"
separatorStyle=
"default"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"28"
sectionFooterHeight=
"28"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"JGX-pe-Vih"
>
<rect
key=
"frame"
x=
"0.0"
y=
"89"
width=
"414"
height=
"807"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<connections>
<outlet
property=
"dataSource"
destination=
"-1"
id=
"1Gq-6Z-TxE"
/>
<outlet
property=
"delegate"
destination=
"-1"
id=
"7Rz-4b-yjr"
/>
</connections>
</tableView>
</subviews>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
...
...
GeliBusinessPlatform/ViewController/上游代理商管理/SY_SLS_GL_VC_Cell.swift
0 → 100644
View file @
8785e523
//
// SY_SLS_GL_VC_Cell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2021/5/11.
// Copyright © 2021 junye lu. All rights reserved.
//
import
UIKit
class
SY_SLS_GL_VC_Cell
:
UITableViewCell
{
@IBOutlet
weak
var
icon
:
UIImageView
!
@IBOutlet
weak
var
name
:
UILabel
!
@IBOutlet
weak
var
income
:
UILabel
!
@IBOutlet
weak
var
status
:
UILabel
!
@IBOutlet
weak
var
time
:
UILabel
!
@IBOutlet
weak
var
adress
:
UILabel
!
@IBOutlet
weak
var
btn
:
UIButton
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
// Initialization code
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
// Configure the view for the selected state
}
}
GeliBusinessPlatform/ViewController/上游代理商管理/SY_SLS_GL_VC_Cell.xib
0 → 100644
View file @
8785e523
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17701"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.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=
"SY_SLS_GL_VC_Cell"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"165"
/>
<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=
"375"
height=
"165"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"tkE-qv-ZSe"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"158"
/>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Nb5-7m-6W4"
>
<rect
key=
"frame"
x=
"15"
y=
"15"
width=
"45"
height=
"45"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"45"
id=
"2Rz-RP-FKK"
/>
<constraint
firstAttribute=
"height"
constant=
"45"
id=
"l5L-63-P49"
/>
</constraints>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"title"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"VYq-rU-qAR"
>
<rect
key=
"frame"
x=
"70"
y=
"15"
width=
"290"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"15"
/>
<color
key=
"textColor"
white=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
usesAttributedText=
"YES"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Opk-Z5-kmf"
>
<rect
key=
"frame"
x=
"70"
y=
"41"
width=
"290"
height=
"35"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"35"
id=
"gbC-0Q-S4M"
/>
</constraints>
<attributedString
key=
"attributedText"
>
<fragment>
<string
key=
"content"
>
广东省广州市荔湾区环市西路37号富力鞋业贸易中心
</string>
<attributes>
<color
key=
"NSColor"
red=
"0.59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<font
key=
"NSFont"
size=
"12"
name=
"PingFangSC-Regular"
/>
</attributes>
</fragment>
<fragment
content=
"38号2008室"
>
<attributes>
<color
key=
"NSColor"
red=
"0.59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<font
key=
"NSFont"
size=
"12"
name=
"PingFangSC-Regular"
/>
<paragraphStyle
key=
"NSParagraphStyle"
alignment=
"natural"
lineBreakMode=
"wordWrapping"
baseWritingDirection=
"natural"
paragraphSpacingBefore=
"1"
tighteningFactorForTruncation=
"0.0"
/>
</attributes>
</fragment>
</attributedString>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"合作开始时间:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"cQQ-2E-xil"
>
<rect
key=
"frame"
x=
"15"
y=
"85"
width=
"84"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"textColor"
name=
"#999999"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"合作状态:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"30X-gX-x4u"
>
<rect
key=
"frame"
x=
"15"
y=
"110"
width=
"60"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"textColor"
name=
"#999999"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"累计分销收入:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"UpE-Es-gsw"
>
<rect
key=
"frame"
x=
"15"
y=
"135"
width=
"84"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"textColor"
name=
"#999999"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"tPj-OA-asA"
>
<rect
key=
"frame"
x=
"99"
y=
"85"
width=
"30.5"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"U3m-7P-Wf4"
>
<rect
key=
"frame"
x=
"75"
y=
"110"
width=
"30.5"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"fz8-BM-kDW"
>
<rect
key=
"frame"
x=
"99"
y=
"135"
width=
"30.5"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"5S5-0c-UMW"
>
<rect
key=
"frame"
x=
"280"
y=
"114"
width=
"80"
height=
"29"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"80"
id=
"HGa-d2-Nhe"
/>
<constraint
firstAttribute=
"height"
constant=
"29"
id=
"hIR-1H-KGx"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"tintColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<state
key=
"normal"
title=
"终止合作"
>
<color
key=
"titleColor"
name=
"#999999"
/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"5"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</button>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstItem=
"VYq-rU-qAR"
firstAttribute=
"top"
secondItem=
"Nb5-7m-6W4"
secondAttribute=
"top"
id=
"14G-CS-3cd"
/>
<constraint
firstItem=
"Opk-Z5-kmf"
firstAttribute=
"leading"
secondItem=
"VYq-rU-qAR"
secondAttribute=
"leading"
id=
"2ce-1o-ETP"
/>
<constraint
firstItem=
"cQQ-2E-xil"
firstAttribute=
"top"
secondItem=
"Nb5-7m-6W4"
secondAttribute=
"bottom"
constant=
"25"
id=
"40L-Wa-11h"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"5S5-0c-UMW"
secondAttribute=
"trailing"
constant=
"15"
id=
"5UE-Q9-tBO"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"5S5-0c-UMW"
secondAttribute=
"bottom"
constant=
"15"
id=
"8Ia-pr-vTA"
/>
<constraint
firstItem=
"fz8-BM-kDW"
firstAttribute=
"centerY"
secondItem=
"UpE-Es-gsw"
secondAttribute=
"centerY"
id=
"8om-Cc-vpY"
/>
<constraint
firstItem=
"UpE-Es-gsw"
firstAttribute=
"top"
secondItem=
"30X-gX-x4u"
secondAttribute=
"bottom"
constant=
"8"
id=
"BL1-fd-oi5"
/>
<constraint
firstItem=
"fz8-BM-kDW"
firstAttribute=
"leading"
secondItem=
"UpE-Es-gsw"
secondAttribute=
"trailing"
id=
"Gqb-kM-F9m"
/>
<constraint
firstItem=
"30X-gX-x4u"
firstAttribute=
"leading"
secondItem=
"tkE-qv-ZSe"
secondAttribute=
"leading"
constant=
"15"
id=
"IRT-if-T5m"
/>
<constraint
firstItem=
"cQQ-2E-xil"
firstAttribute=
"leading"
secondItem=
"tkE-qv-ZSe"
secondAttribute=
"leading"
constant=
"15"
id=
"QLu-R7-vc4"
/>
<constraint
firstItem=
"Nb5-7m-6W4"
firstAttribute=
"top"
secondItem=
"tkE-qv-ZSe"
secondAttribute=
"top"
constant=
"15"
id=
"Tc9-F6-cb2"
/>
<constraint
firstItem=
"UpE-Es-gsw"
firstAttribute=
"leading"
secondItem=
"tkE-qv-ZSe"
secondAttribute=
"leading"
constant=
"15"
id=
"akG-wA-ZcQ"
/>
<constraint
firstItem=
"tPj-OA-asA"
firstAttribute=
"centerY"
secondItem=
"cQQ-2E-xil"
secondAttribute=
"centerY"
id=
"c9I-od-gGp"
/>
<constraint
firstItem=
"U3m-7P-Wf4"
firstAttribute=
"leading"
secondItem=
"30X-gX-x4u"
secondAttribute=
"trailing"
id=
"cF2-Fb-l7H"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"VYq-rU-qAR"
secondAttribute=
"trailing"
constant=
"15"
id=
"eDG-3M-VPO"
/>
<constraint
firstItem=
"tPj-OA-asA"
firstAttribute=
"leading"
secondItem=
"cQQ-2E-xil"
secondAttribute=
"trailing"
id=
"fJL-ks-Gsn"
/>
<constraint
firstItem=
"Opk-Z5-kmf"
firstAttribute=
"top"
secondItem=
"VYq-rU-qAR"
secondAttribute=
"bottom"
constant=
"5"
id=
"fjM-Ai-Y8t"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Opk-Z5-kmf"
secondAttribute=
"trailing"
constant=
"15"
id=
"nmP-Gk-mLQ"
/>
<constraint
firstItem=
"U3m-7P-Wf4"
firstAttribute=
"centerY"
secondItem=
"30X-gX-x4u"
secondAttribute=
"centerY"
id=
"oip-oe-45J"
/>
<constraint
firstItem=
"VYq-rU-qAR"
firstAttribute=
"leading"
secondItem=
"Nb5-7m-6W4"
secondAttribute=
"trailing"
constant=
"10"
id=
"sjm-a8-pl2"
/>
<constraint
firstItem=
"Nb5-7m-6W4"
firstAttribute=
"leading"
secondItem=
"tkE-qv-ZSe"
secondAttribute=
"leading"
constant=
"15"
id=
"wiK-93-jCF"
/>
<constraint
firstItem=
"30X-gX-x4u"
firstAttribute=
"top"
secondItem=
"cQQ-2E-xil"
secondAttribute=
"bottom"
constant=
"8"
id=
"zSH-jo-25F"
/>
</constraints>
</view>
</subviews>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<constraints>
<constraint
firstItem=
"tkE-qv-ZSe"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
id=
"7Bu-iu-RIW"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"tkE-qv-ZSe"
secondAttribute=
"trailing"
id=
"AVc-f2-DY4"
/>
<constraint
firstItem=
"tkE-qv-ZSe"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"W25-JT-YrQ"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"tkE-qv-ZSe"
secondAttribute=
"bottom"
constant=
"7"
id=
"ylR-lS-MTc"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"adress"
destination=
"Opk-Z5-kmf"
id=
"f1V-I4-w28"
/>
<outlet
property=
"btn"
destination=
"5S5-0c-UMW"
id=
"2Wl-h4-1Oz"
/>
<outlet
property=
"icon"
destination=
"Nb5-7m-6W4"
id=
"ehp-os-hD9"
/>
<outlet
property=
"income"
destination=
"fz8-BM-kDW"
id=
"hMu-QQ-DdA"
/>
<outlet
property=
"name"
destination=
"VYq-rU-qAR"
id=
"N0p-Pe-DyB"
/>
<outlet
property=
"status"
destination=
"U3m-7P-Wf4"
id=
"CK7-e1-kxZ"
/>
<outlet
property=
"time"
destination=
"tPj-OA-asA"
id=
"cX8-Bh-Qpx"
/>
</connections>
<point
key=
"canvasLocation"
x=
"141"
y=
"80"
/>
</tableViewCell>
</objects>
<resources>
<namedColor
name=
"#999999"
>
<color
red=
"0.60000002384185791"
green=
"0.60000002384185791"
blue=
"0.60000002384185791"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<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.92941176470588238"
green=
"0.92941176470588238"
blue=
"0.92941176470588238"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
View file @
8785e523
...
...
@@ -9,16 +9,46 @@
import
UIKit
class
FX_Product_GuanLiVC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
GYS_FX_ProductCellDelegate
,
SelectContentViewDelegate
,
HeaderSelectViewDelegate
,
DistributorSettingAlertViewDelegate
{
class
FX_Product_GuanLiVC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
SelectContentViewDelegate
,
HeaderSelectViewDelegate
,
DistributorSettingAlertViewDelegate
,
New_Fx_Cell_Delegate
{
func
New_Fx_Cell_btnSelect
(
idx
:
Int
,
cell
:
New_Fx_Cell
)
{
let
model
=
datas
[
idx
]
if
selectItem
.
contains
(
model
.
sku_id
!
){
let
index
=
selectItem
.
firstIndex
(
of
:
model
.
sku_id
!
)
selectItem
.
remove
(
at
:
index
!
)
}
else
{
selectItem
.
append
(
model
.
sku_id
!
)
}
all_select_btn
.
isSelected
=
false
all_select_btn
.
setTitle
(
" 全选(已选 "
+
StringByInt
(
number
:
selectItem
.
count
)
+
" 件商品)"
,
for
:
.
normal
)
home_list_tbv
.
reloadData
()
}
func
New_Fx_Cell_btnClick
(
idx
:
Int
,
cell
:
New_Fx_Cell
)
{
switch
idx
{
case
0
:
break
case
1
:
break
default
:
//分销设置
let
view
=
FXSZ_View
(
frame
:
self
.
view
.
bounds
)
self
.
view
.
addSubview
(
view
)
break
}
}
@IBOutlet
weak
var
all_select_btn
:
UIButton
!
@IBAction
func
select_mode_Action
(
_
sender
:
UIButton
)
{
if
selectItem
.
count
==
0
{
return
}
let
vc
=
DistributorSettingAlertView
(
frame
:
self
.
view
.
bounds
)
vc
.
delegate
=
self
let
vc
=
FXSZ_View
(
frame
:
self
.
view
.
bounds
)
// let vc = DistributorSettingAlertView(frame: self.view.bounds)
// vc.delegate = self
//
if
selectItem
.
count
>
1
{
vc
.
is_all_select_mode
=
is_Edit
}
...
...
@@ -77,13 +107,13 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
}
failture
:
{
(
err
)
in
}
}
func
GYS_FX_ProductCellTableViewCellBtnAction
(
idx
:
Int
)
{
let
vc
=
DistributorSettingAlertView
(
frame
:
self
.
view
.
bounds
)
vc
.
tag
=
idx
vc
.
data
=
datas
[
idx
]
vc
.
delegate
=
self
self
.
view
.
addSubview
(
vc
)
}
// func new_
GYS_FX_ProductCellTableViewCellBtnAction(idx: Int) {
//
let vc = DistributorSettingAlertView(frame: self.view.bounds)
//
vc.tag = idx
//
vc.data = datas[idx]
//
vc.delegate = self
//
self.view.addSubview(vc)
//
}
var
datas
:
Array
<
supGoodsListResDataModel
>
=
[]
var
selectIndexArr
=
[
0
,
0
]
...
...
@@ -301,7 +331,7 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
initHeaderSelectView
()
home_list_tbv
.
register
(
UINib
(
nibName
:
"
GYS_FX_ProductCellTableViewCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"GYS_FX_ProductCellTableView
Cell"
)
home_list_tbv
.
register
(
UINib
(
nibName
:
"
New_Fx_Cell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"New_Fx_
Cell"
)
home_list_tbv
.
separatorStyle
=
.
none
// Do any additional setup after loading the view.
//下拉刷新相关设置
...
...
@@ -320,88 +350,69 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
model
=
datas
[
indexPath
.
row
]
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"GYS_FX_ProductCellTableViewCell"
)
as!
GYS_FX_ProductCellTableViewCell
cell
.
submitBtn
.
setTitle
(
"设置"
,
for
:
.
normal
)
cell
.
submitBtn
.
setTitleColor
(
UIColor
(
named
:
"按钮背景颜色"
),
for
:
.
normal
)
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"New_Fx_Cell"
)
as!
New_Fx_Cell
cell
.
tag
=
indexPath
.
row
cell
.
delegate
=
self
if
is_Edit
{
cell
.
leftValue
.
constant
=
45
cell
.
submit_Btn_W
.
constant
=
10
cell
.
submitBtn
.
isHidden
=
true
cell
.
left_btn
.
isUserInteractionEnabled
=
true
cell
.
select_Img
.
isHidden
=
false
cell
.
select_Img
.
image
=
UIImage
(
named
:
"daixuan"
)
cell
.
leftBtn
.
isUserInteractionEnabled
=
true
cell
.
select_img
.
isHidden
=
false
cell
.
select_img
.
image
=
UIImage
(
named
:
"daixuan"
)
selectItem
.
forEach
{
(
idx
)
in
if
idx
==
model
.
sku_id
{
cell
.
select_
I
mg
.
image
=
UIImage
(
named
:
"yuxuan"
)
cell
.
select_
i
mg
.
image
=
UIImage
(
named
:
"yuxuan"
)
}
}
}
else
{
cell
.
leftValue
.
constant
=
0
cell
.
submit_Btn_W
.
constant
=
50
cell
.
submitBtn
.
isHidden
=
false
cell
.
left_btn
.
isUserInteractionEnabled
=
false
cell
.
select_Img
.
isHidden
=
true
cell
.
leftBtn
.
isUserInteractionEnabled
=
false
cell
.
select_img
.
isHidden
=
true
}
cell
.
old_price_line
.
isHidden
=
false
cell
.
new_price_Lbl
.
isHidden
=
false
//
cell.old_price_line.isHidden = false
//
cell.new_price_Lbl.isHidden = false
if
model
.
dbt_price
==
nil
{
cell
.
old_price_line
.
isHidden
=
true
cell
.
new_price_Lbl
.
text
=
""
//
cell.old_price_line.isHidden = true
//
cell.new_price_Lbl.text = ""
}
else
{
cell
.
new_price_Lbl
.
text
=
"¥"
+
model
.
dbt_price
!
//
cell.new_price_Lbl.text = "¥" + model.dbt_price!
}
cell
.
old_price_Lbl
.
text
=
"¥"
+
model
.
price
!
//
cell.old_price_Lbl.text = "¥" + model.price!
if
model
.
commission_type
==
1
{
cell
.
FX_Percent_Lbl
.
isHidden
=
false
//
cell.FX_Percent_Lbl.isHidden = false
cell
.
FX_Percent_Lbl
.
text
=
"分销("
+
StringByInt
(
number
:
model
.
commission_per
!
)
+
"%)"
//
cell.FX_Percent_Lbl.text = "分销(" + StringByInt(number: model.commission_per!) + "%)"
}
else
if
model
.
commission_type
==
2
{
cell
.
FX_Percent_Lbl
.
isHidden
=
false
cell
.
FX_Percent_Lbl
.
text
=
"分销("
+
model
.
commission_val
!
+
"元)"
//
cell.FX_Percent_Lbl.isHidden = false
//
cell.FX_Percent_Lbl.text = "分销(" + model.commission_val! + "元)"
}
else
{
cell
.
FX_Percent_Lbl
.
isHidden
=
true
//
cell.FX_Percent_Lbl.isHidden = true
}
cell
.
title_Lbl
.
text
=
model
.
goods_name
cell
.
sell_total_Lbl
.
text
=
"销量:-"
//
cell.title_Lbl.text = model.goods_name
//
cell.sell_total_Lbl.text = "销量:-"
if
model
.
dbt_sale
!=
nil
{
cell
.
sell_total_Lbl
.
text
=
"销量:"
+
StringByInt
(
number
:
model
.
dbt_sale
!
)
//
cell.sell_total_Lbl.text = "销量:" + StringByInt(number: model.dbt_sale!)
}
cell
.
store_lbl
.
text
=
"库存:-"
//
cell.store_lbl.text = "库存:-"
if
model
.
inventory
!=
nil
{
cell
.
store_lbl
.
text
=
"库存:"
+
StringByInt
(
number
:
model
.
inventory
!
)
//
cell.store_lbl.text = "库存:" + StringByInt(number: model.inventory!)
}
if
model
.
goods_thumb
!=
nil
{
cell
.
i
tem_Icon_Img
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
model
.
goods_thumb
!
),
placeholderImage
:
nil
,
options
:
.
allowInvalidSSLCertificates
)
cell
.
i
con
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
model
.
goods_thumb
!
),
placeholderImage
:
nil
,
options
:
.
allowInvalidSSLCertificates
)
}
cell
.
color_lbl
.
isHidden
=
cell
.
FX_Percent_Lbl
.
isHidden
cell
.
color_lbl
.
text
=
cell
.
FX_Percent_Lbl
.
text
return
cell
}
var
selectItem
:
Array
<
Int
>
=
[]
func
GYS_FX_ProductCellTableViewCellSelect
(
idx
:
Int
)
{
let
model
=
datas
[
idx
]
if
selectItem
.
contains
(
model
.
sku_id
!
){
let
index
=
selectItem
.
firstIndex
(
of
:
model
.
sku_id
!
)
selectItem
.
remove
(
at
:
index
!
)
}
else
{
selectItem
.
append
(
model
.
sku_id
!
)
}
all_select_btn
.
isSelected
=
false
all_select_btn
.
setTitle
(
" 全选(已选 "
+
StringByInt
(
number
:
selectItem
.
count
)
+
" 件商品)"
,
for
:
.
normal
)
home_list_tbv
.
reloadData
()
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
1
2
5
return
1
4
5
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
...
...
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.xib
View file @
8785e523
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
156
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
701
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
125
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
703
"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
...
...
@@ -55,11 +55,11 @@
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"
down_black
"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"vA6-ms-fq4"
>
<rect
key=
"frame"
x=
"125.5"
y=
"1
8"
width=
"9.5"
height=
"
4"
/>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"
下拉11
"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"vA6-ms-fq4"
>
<rect
key=
"frame"
x=
"125.5"
y=
"1
3"
width=
"14"
height=
"1
4"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"
9.5
"
id=
"8Hv-7Z-Jgw"
/>
<constraint
firstAttribute=
"height"
constant=
"4"
id=
"XAk-3r-Fte"
/>
<constraint
firstAttribute=
"width"
constant=
"
14
"
id=
"8Hv-7Z-Jgw"
/>
<constraint
firstAttribute=
"height"
constant=
"
1
4"
id=
"XAk-3r-Fte"
/>
</constraints>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"上架"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qvp-uj-CDO"
>
...
...
@@ -71,11 +71,11 @@
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"
down_black
"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"lKN-gq-uKz"
>
<rect
key=
"frame"
x=
"319"
y=
"1
8"
width=
"9.5"
height=
"
4"
/>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"
下拉11
"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"lKN-gq-uKz"
>
<rect
key=
"frame"
x=
"319"
y=
"1
3"
width=
"14"
height=
"1
4"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"4"
id=
"HDk-Uf-VaE"
/>
<constraint
firstAttribute=
"width"
constant=
"
9.5
"
id=
"WVn-ZN-4L8"
/>
<constraint
firstAttribute=
"height"
constant=
"
1
4"
id=
"HDk-Uf-VaE"
/>
<constraint
firstAttribute=
"width"
constant=
"
14
"
id=
"WVn-ZN-4L8"
/>
</constraints>
</imageView>
</subviews>
...
...
@@ -226,8 +226,8 @@
</objects>
<resources>
<image
name=
"daixuan"
width=
"19"
height=
"19"
/>
<image
name=
"down_black"
width=
"11.5"
height=
"6"
/>
<image
name=
"yuxuan"
width=
"19"
height=
"19"
/>
<image
name=
"下拉11"
width=
"14"
height=
"14"
/>
<namedColor
name=
"#F57575"
>
<color
red=
"0.96100002527236938"
green=
"0.45899999141693115"
blue=
"0.45899999141693115"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
...
...
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