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
3438b316
Commit
3438b316
authored
Nov 11, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补全分销商品管理弹窗UI
parent
d7cca550
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
2 deletions
+73
-2
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/AlertView/DistributorSettingAlertView.swift
...Platform/View/AlertView/DistributorSettingAlertView.swift
+41
-0
GeliBusinessPlatform/View/AlertView/DistributorSettingAlertView.xib
...ssPlatform/View/AlertView/DistributorSettingAlertView.xib
+30
-1
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
...essPlatform/ViewController/工作中心/WorkCViewController.swift
+2
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
3438b316
No preview for this file type
GeliBusinessPlatform/View/AlertView/DistributorSettingAlertView.swift
View file @
3438b316
...
@@ -9,6 +9,47 @@
...
@@ -9,6 +9,47 @@
import
UIKit
import
UIKit
class
DistributorSettingAlertView
:
UIView
{
class
DistributorSettingAlertView
:
UIView
{
@IBOutlet
weak
var
canYuBtn
:
UIButton
!
@IBAction
func
canyuAction
(
_
sender
:
UIButton
)
{
//参与
canYuBtn
.
setImage
(
UIImage
.
init
(
named
:
"yuxuan"
),
for
:
.
normal
)
nonCanYuBtn
.
setImage
(
UIImage
.
init
(
named
:
"daixuan"
),
for
:
.
normal
)
contentVheight
.
constant
=
300
}
@IBOutlet
weak
var
nonCanYuBtn
:
UIButton
!
@IBAction
func
nonCanyuAction
(
_
sender
:
UIButton
)
{
//不参与
canYuBtn
.
setImage
(
UIImage
.
init
(
named
:
"daixuan"
),
for
:
.
normal
)
nonCanYuBtn
.
setImage
(
UIImage
.
init
(
named
:
"yuxuan"
),
for
:
.
normal
)
contentVheight
.
constant
=
150
}
@IBOutlet
weak
var
moneyTx
:
UITextField
!
@IBOutlet
weak
var
contentVheight
:
NSLayoutConstraint
!
@IBOutlet
weak
var
payBiBtn
:
UIButton
!
@IBOutlet
weak
var
payJueBtn
:
UIButton
!
@IBAction
func
payAction
(
_
sender
:
UIButton
)
{
//佣金比例
}
@IBAction
func
payJueAction
(
_
sender
:
UIButton
)
{
//绝对值
}
@IBOutlet
weak
var
payTF
:
UITextField
!
@IBOutlet
weak
var
payNumTypelbl
:
UILabel
!
@IBAction
func
cancelAction
(
_
sender
:
Any
)
{
//取消
}
@IBAction
func
sureAction
(
_
sender
:
UIButton
)
{
//确定
}
var
contentView
:
UIView
!
var
contentView
:
UIView
!
...
...
GeliBusinessPlatform/View/AlertView/DistributorSettingAlertView.xib
View file @
3438b316
...
@@ -10,7 +10,18 @@
...
@@ -10,7 +10,18 @@
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
</dependencies>
<objects>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
/>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"DistributorSettingAlertView"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"canYuBtn"
destination=
"f2v-Db-np2"
id=
"tfN-y7-awg"
/>
<outlet
property=
"contentVheight"
destination=
"COR-sP-gvF"
id=
"FpO-6n-mdq"
/>
<outlet
property=
"moneyTx"
destination=
"hmc-1R-guq"
id=
"8WT-Ji-Vvv"
/>
<outlet
property=
"nonCanYuBtn"
destination=
"f0i-Vm-UAy"
id=
"2lM-2d-f4v"
/>
<outlet
property=
"payBiBtn"
destination=
"qLO-Gc-A3W"
id=
"Poc-fE-chE"
/>
<outlet
property=
"payJueBtn"
destination=
"puW-3j-GZy"
id=
"tKT-TY-Eje"
/>
<outlet
property=
"payNumTypelbl"
destination=
"acM-Ba-Vki"
id=
"zmV-zH-M0d"
/>
<outlet
property=
"payTF"
destination=
"Ysc-L7-nMy"
id=
"En1-Zp-I2f"
/>
</connections>
</placeholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
contentMode=
"scaleToFill"
id=
"iN0-l3-epB"
>
<view
contentMode=
"scaleToFill"
id=
"iN0-l3-epB"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
...
@@ -31,6 +42,9 @@
...
@@ -31,6 +42,9 @@
<state
key=
"normal"
title=
" 不参与"
image=
"daixuan"
>
<state
key=
"normal"
title=
" 不参与"
image=
"daixuan"
>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
</state>
</state>
<connections>
<action
selector=
"nonCanyuAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"YDM-1c-mCK"
/>
</connections>
</button>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"f2v-Db-np2"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"f2v-Db-np2"
>
<rect
key=
"frame"
x=
"86"
y=
"15"
width=
"54"
height=
"19"
/>
<rect
key=
"frame"
x=
"86"
y=
"15"
width=
"54"
height=
"19"
/>
...
@@ -38,6 +52,9 @@
...
@@ -38,6 +52,9 @@
<state
key=
"normal"
title=
" 参与"
image=
"yuxuan"
>
<state
key=
"normal"
title=
" 参与"
image=
"yuxuan"
>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
</state>
</state>
<connections>
<action
selector=
"canyuAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"NJs-t8-3Hs"
/>
</connections>
</button>
</button>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"参与分销:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"9SL-t2-xg8"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"参与分销:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"9SL-t2-xg8"
>
<rect
key=
"frame"
x=
"15"
y=
"15"
width=
"56"
height=
"19"
/>
<rect
key=
"frame"
x=
"15"
y=
"15"
width=
"56"
height=
"19"
/>
...
@@ -85,6 +102,9 @@
...
@@ -85,6 +102,9 @@
<state
key=
"normal"
title=
" 佣金比例"
image=
"yuxuan"
>
<state
key=
"normal"
title=
" 佣金比例"
image=
"yuxuan"
>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
</state>
</state>
<connections>
<action
selector=
"payAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"cSJ-1X-kkE"
/>
</connections>
</button>
</button>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
placeholder=
" 请输入比例"
textAlignment=
"natural"
minimumFontSize=
"13"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Ysc-L7-nMy"
>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
placeholder=
" 请输入比例"
textAlignment=
"natural"
minimumFontSize=
"13"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Ysc-L7-nMy"
>
<rect
key=
"frame"
x=
"86"
y=
"155"
width=
"90"
height=
"35"
/>
<rect
key=
"frame"
x=
"86"
y=
"155"
width=
"90"
height=
"35"
/>
...
@@ -114,6 +134,9 @@
...
@@ -114,6 +134,9 @@
<state
key=
"normal"
title=
" 绝对值"
image=
"daixuan"
>
<state
key=
"normal"
title=
" 绝对值"
image=
"daixuan"
>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
</state>
</state>
<connections>
<action
selector=
"payJueAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"3xK-vK-PMl"
/>
</connections>
</button>
</button>
</subviews>
</subviews>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
...
@@ -181,6 +204,9 @@
...
@@ -181,6 +204,9 @@
</fragment>
</fragment>
</attributedString>
</attributedString>
</state>
</state>
<connections>
<action
selector=
"cancelAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"0fT-X0-O4d"
/>
</connections>
</button>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
hasAttributedTitle=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"6cp-jK-IGN"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
hasAttributedTitle=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"6cp-jK-IGN"
>
<rect
key=
"frame"
x=
"148"
y=
"250"
width=
"147"
height=
"50"
/>
<rect
key=
"frame"
x=
"148"
y=
"250"
width=
"147"
height=
"50"
/>
...
@@ -194,6 +220,9 @@
...
@@ -194,6 +220,9 @@
</fragment>
</fragment>
</attributedString>
</attributedString>
</state>
</state>
<connections>
<action
selector=
"sureAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"TeG-Wk-2Sd"
/>
</connections>
</button>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"3vM-n2-ei0"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"3vM-n2-ei0"
>
<rect
key=
"frame"
x=
"0.0"
y=
"38"
width=
"295"
height=
"1"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"38"
width=
"295"
height=
"1"
/>
...
...
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
View file @
3438b316
...
@@ -633,7 +633,8 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
...
@@ -633,7 +633,8 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
HUD
.
flash
(
.
label
(
"敬请期待"
),
delay
:
1.2
)
HUD
.
flash
(
.
label
(
"敬请期待"
),
delay
:
1.2
)
return
return
case
137
:
//分销商品管理
case
137
:
//分销商品管理
HUD
.
flash
(
.
label
(
"敬请期待"
),
delay
:
1.2
)
let
vc
=
FX_Product_GuanLiVC
()
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
return
return
case
139
:
//分销分账设置
case
139
:
//分销分账设置
//只有当其为供应商才可以进入
//只有当其为供应商才可以进入
...
...
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