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
0d5050c0
Commit
0d5050c0
authored
May 19, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增订单详情自定义输入框
parent
74026d4d
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
513 additions
and
0 deletions
+513
-0
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+16
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/AlertView/GeliAlertTextFiled.swift
GeliBusinessPlatform/View/AlertView/GeliAlertTextFiled.swift
+54
-0
GeliBusinessPlatform/View/AlertView/GeliAlertTextFiled.xib
GeliBusinessPlatform/View/AlertView/GeliAlertTextFiled.xib
+182
-0
GeliBusinessPlatform/View/AlertView/GeliAlertTextView.swift
GeliBusinessPlatform/View/AlertView/GeliAlertTextView.swift
+67
-0
GeliBusinessPlatform/View/AlertView/GeliAlertTextView.xib
GeliBusinessPlatform/View/AlertView/GeliAlertTextView.xib
+194
-0
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
0d5050c0
...
@@ -330,6 +330,10 @@
...
@@ -330,6 +330,10 @@
F93E32062473C9C200524DFC
/* jcore-ios-2.2.5.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E32032473C9C200524DFC
/* jcore-ios-2.2.5.a */
;
};
F93E32062473C9C200524DFC
/* jcore-ios-2.2.5.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E32032473C9C200524DFC
/* jcore-ios-2.2.5.a */
;
};
F93E32072473C9C200524DFC
/* jpush-ios-3.3.3.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E32042473C9C200524DFC
/* jpush-ios-3.3.3.a */
;
};
F93E32072473C9C200524DFC
/* jpush-ios-3.3.3.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E32042473C9C200524DFC
/* jpush-ios-3.3.3.a */
;
};
F93E32092473CD6500524DFC
/* libresolv.tbd in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E32082473CD6500524DFC
/* libresolv.tbd */
;
};
F93E32092473CD6500524DFC
/* libresolv.tbd in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E32082473CD6500524DFC
/* libresolv.tbd */
;
};
F93E320B2473D83D00524DFC
/* GeliAlertTextFiled.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E320A2473D83D00524DFC
/* GeliAlertTextFiled.xib */
;
};
F93E320D2473DA1C00524DFC
/* GeliAlertTextFiled.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E320C2473DA1C00524DFC
/* GeliAlertTextFiled.swift */
;
};
F93E320F2473DF2300524DFC
/* GeliAlertTextView.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E320E2473DF2300524DFC
/* GeliAlertTextView.xib */
;
};
F93E32112473E05C00524DFC
/* GeliAlertTextView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F93E32102473E05C00524DFC
/* GeliAlertTextView.swift */
;
};
F94A314724624E9500FEC38E
/* GetGelipayInfoModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F94A314624624E9500FEC38E
/* GetGelipayInfoModel.swift */
;
};
F94A314724624E9500FEC38E
/* GetGelipayInfoModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F94A314624624E9500FEC38E
/* GetGelipayInfoModel.swift */
;
};
F94A314924624FA400FEC38E
/* ShopAdministratorInfoModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F94A314824624FA400FEC38E
/* ShopAdministratorInfoModel.swift */
;
};
F94A314924624FA400FEC38E
/* ShopAdministratorInfoModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F94A314824624FA400FEC38E
/* ShopAdministratorInfoModel.swift */
;
};
F94A314B246250DB00FEC38E
/* GoodsDetailModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F94A314A246250DB00FEC38E
/* GoodsDetailModel.swift */
;
};
F94A314B246250DB00FEC38E
/* GoodsDetailModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F94A314A246250DB00FEC38E
/* GoodsDetailModel.swift */
;
};
...
@@ -824,6 +828,10 @@
...
@@ -824,6 +828,10 @@
F93E32032473C9C200524DFC
/* jcore-ios-2.2.5.a */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
archive.ar
;
path
=
"jcore-ios-2.2.5.a"
;
sourceTree
=
"<group>"
;
};
F93E32032473C9C200524DFC
/* jcore-ios-2.2.5.a */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
archive.ar
;
path
=
"jcore-ios-2.2.5.a"
;
sourceTree
=
"<group>"
;
};
F93E32042473C9C200524DFC
/* jpush-ios-3.3.3.a */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
archive.ar
;
path
=
"jpush-ios-3.3.3.a"
;
sourceTree
=
"<group>"
;
};
F93E32042473C9C200524DFC
/* jpush-ios-3.3.3.a */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
archive.ar
;
path
=
"jpush-ios-3.3.3.a"
;
sourceTree
=
"<group>"
;
};
F93E32082473CD6500524DFC
/* libresolv.tbd */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"sourcecode.text-based-dylib-definition"
;
name
=
libresolv.tbd
;
path
=
usr/lib/libresolv.tbd
;
sourceTree
=
SDKROOT
;
};
F93E32082473CD6500524DFC
/* libresolv.tbd */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"sourcecode.text-based-dylib-definition"
;
name
=
libresolv.tbd
;
path
=
usr/lib/libresolv.tbd
;
sourceTree
=
SDKROOT
;
};
F93E320A2473D83D00524DFC
/* GeliAlertTextFiled.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
GeliAlertTextFiled.xib
;
sourceTree
=
"<group>"
;
};
F93E320C2473DA1C00524DFC
/* GeliAlertTextFiled.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GeliAlertTextFiled.swift
;
sourceTree
=
"<group>"
;
};
F93E320E2473DF2300524DFC
/* GeliAlertTextView.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
GeliAlertTextView.xib
;
sourceTree
=
"<group>"
;
};
F93E32102473E05C00524DFC
/* GeliAlertTextView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GeliAlertTextView.swift
;
sourceTree
=
"<group>"
;
};
F94A314624624E9500FEC38E
/* GetGelipayInfoModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GetGelipayInfoModel.swift
;
sourceTree
=
"<group>"
;
};
F94A314624624E9500FEC38E
/* GetGelipayInfoModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GetGelipayInfoModel.swift
;
sourceTree
=
"<group>"
;
};
F94A314824624FA400FEC38E
/* ShopAdministratorInfoModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ShopAdministratorInfoModel.swift
;
sourceTree
=
"<group>"
;
};
F94A314824624FA400FEC38E
/* ShopAdministratorInfoModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ShopAdministratorInfoModel.swift
;
sourceTree
=
"<group>"
;
};
F94A314A246250DB00FEC38E
/* GoodsDetailModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GoodsDetailModel.swift
;
sourceTree
=
"<group>"
;
};
F94A314A246250DB00FEC38E
/* GoodsDetailModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GoodsDetailModel.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2254,6 +2262,10 @@
...
@@ -2254,6 +2262,10 @@
F95D9B4F24484FAE0080D6E3
/* GeliAlertView.xib */
,
F95D9B4F24484FAE0080D6E3
/* GeliAlertView.xib */
,
E0F97B012451228A001BD600
/* GLAlertSelectView.swift */
,
E0F97B012451228A001BD600
/* GLAlertSelectView.swift */
,
E0F97B0324512299001BD600
/* GLAlertSelectView.xib */
,
E0F97B0324512299001BD600
/* GLAlertSelectView.xib */
,
F93E320C2473DA1C00524DFC
/* GeliAlertTextFiled.swift */
,
F93E320A2473D83D00524DFC
/* GeliAlertTextFiled.xib */
,
F93E32102473E05C00524DFC
/* GeliAlertTextView.swift */
,
F93E320E2473DF2300524DFC
/* GeliAlertTextView.xib */
,
);
);
path
=
AlertView
;
path
=
AlertView
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -2499,6 +2511,7 @@
...
@@ -2499,6 +2511,7 @@
E06524F624580BB600CA22E2
/* BaoZhiQiCell.xib in Resources */
,
E06524F624580BB600CA22E2
/* BaoZhiQiCell.xib in Resources */
,
E07C7F87246BD8AB000B0714
/* EditProductViewController.xib in Resources */
,
E07C7F87246BD8AB000B0714
/* EditProductViewController.xib in Resources */
,
E0D197C7244845FD002B080C
/* PersonCenterViewController.xib in Resources */
,
E0D197C7244845FD002B080C
/* PersonCenterViewController.xib in Resources */
,
F93E320B2473D83D00524DFC
/* GeliAlertTextFiled.xib in Resources */
,
E07B1E5F24591AA50055BA3C
/* KeHuXQViewController.xib in Resources */
,
E07B1E5F24591AA50055BA3C
/* KeHuXQViewController.xib in Resources */
,
E0707DD624624B5200E039A8
/* AMap.bundle in Resources */
,
E0707DD624624B5200E039A8
/* AMap.bundle in Resources */
,
E02DDD83244FD15B00ABB707
/* TitleAndSwitchHeaderView.xib in Resources */
,
E02DDD83244FD15B00ABB707
/* TitleAndSwitchHeaderView.xib in Resources */
,
...
@@ -2586,6 +2599,7 @@
...
@@ -2586,6 +2599,7 @@
E02DDD962450106C00ABB707
/* PuTongJieTiCell.xib in Resources */
,
E02DDD962450106C00ABB707
/* PuTongJieTiCell.xib in Resources */
,
E07B1E79245966E60055BA3C
/* XinCaiGouViewController.xib in Resources */
,
E07B1E79245966E60055BA3C
/* XinCaiGouViewController.xib in Resources */
,
E0BE8A88245A7A1500E80134
/* JiBenXinXiCell.xib in Resources */
,
E0BE8A88245A7A1500E80134
/* JiBenXinXiCell.xib in Resources */
,
F93E320F2473DF2300524DFC
/* GeliAlertTextView.xib in Resources */
,
E0A2E81B24552E3C00D6DB34
/* XinZengPinPaiViewController.xib in Resources */
,
E0A2E81B24552E3C00D6DB34
/* XinZengPinPaiViewController.xib in Resources */
,
F94A315C24628C7E00FEC38E
/* WorkItemTableViewCell.xib in Resources */
,
F94A315C24628C7E00FEC38E
/* WorkItemTableViewCell.xib in Resources */
,
E0A7548B244A8F0F00A84B67
/* CheckWareHourseViewController.xib in Resources */
,
E0A7548B244A8F0F00A84B67
/* CheckWareHourseViewController.xib in Resources */
,
...
@@ -2813,6 +2827,7 @@
...
@@ -2813,6 +2827,7 @@
E0D4166424483058008DCAB4
/* ChangePassViewController.swift in Sources */
,
E0D4166424483058008DCAB4
/* ChangePassViewController.swift in Sources */
,
F933F6C12452C68B00189561
/* PKHUDAnimation.swift in Sources */
,
F933F6C12452C68B00189561
/* PKHUDAnimation.swift in Sources */
,
E0C4F4A7244EC82A00CC7E2F
/* TitleAndBtnCell.swift in Sources */
,
E0C4F4A7244EC82A00CC7E2F
/* TitleAndBtnCell.swift in Sources */
,
F93E320D2473DA1C00524DFC
/* GeliAlertTextFiled.swift in Sources */
,
E0A2E81A24552E3C00D6DB34
/* XinZengPinPaiViewController.swift in Sources */
,
E0A2E81A24552E3C00D6DB34
/* XinZengPinPaiViewController.swift in Sources */
,
F956D5A8246A2D9C003FF510
/* LMNSpecialLine.m in Sources */
,
F956D5A8246A2D9C003FF510
/* LMNSpecialLine.m in Sources */
,
E0B530882472917F00FFCC15
/* ShopWarehouseDetailModel.swift in Sources */
,
E0B530882472917F00FFCC15
/* ShopWarehouseDetailModel.swift in Sources */
,
...
@@ -2922,6 +2937,7 @@
...
@@ -2922,6 +2937,7 @@
F950FDE024518B9500C40530
/* FSCalendarExtensions.m in Sources */
,
F950FDE024518B9500C40530
/* FSCalendarExtensions.m in Sources */
,
E09B03A32445AF9500211A51
/* NetworkRequest.swift in Sources */
,
E09B03A32445AF9500211A51
/* NetworkRequest.swift in Sources */
,
E0D46C5624503EC50087B564
/* TitleAndSelectCell.swift in Sources */
,
E0D46C5624503EC50087B564
/* TitleAndSelectCell.swift in Sources */
,
F93E32112473E05C00524DFC
/* GeliAlertTextView.swift in Sources */
,
E0F97B022451228A001BD600
/* GLAlertSelectView.swift in Sources */
,
E0F97B022451228A001BD600
/* GLAlertSelectView.swift in Sources */
,
F96E9D5C246656A700B5B94A
/* HGImagePickerCell.swift in Sources */
,
F96E9D5C246656A700B5B94A
/* HGImagePickerCell.swift in Sources */
,
F95567AB2453E40B009674AB
/* OrderListViewController.swift in Sources */
,
F95567AB2453E40B009674AB
/* OrderListViewController.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
0d5050c0
No preview for this file type
GeliBusinessPlatform/View/AlertView/GeliAlertTextFiled.swift
0 → 100644
View file @
0d5050c0
//
// GeliAlertTextFiled.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/5/19.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
protocol
GeliAlertTextFiledDelegate
{
func
sureAction
(
sender
:
String
)
}
class
GeliAlertTextFiled
:
UIView
{
var
delegate
:
GeliAlertTextFiledDelegate
?
@IBOutlet
weak
var
textTF
:
UITextField
!
var
contentView
:
UIView
!
@IBAction
func
leftAction
(
_
sender
:
UIButton
)
{
self
.
removeFromSuperview
()
}
@IBAction
func
rightAction
(
_
sender
:
UIButton
)
{
self
.
delegate
?
.
sureAction
(
sender
:
textTF
.
text
)
print
(
"GeliAlertTextFiled
\(
textTF
.
text
)
"
)
self
.
removeFromSuperview
()
}
//初始化时将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/View/AlertView/GeliAlertTextFiled.xib
0 → 100644
View file @
0d5050c0
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/View/AlertView/GeliAlertTextView.swift
0 → 100644
View file @
0d5050c0
//
// GeliAlertTextView.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/5/19.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
protocol
GeliAlertTextViewDelegate
{
func
sureAction
(
sender
:
String
)
}
class
GeliAlertTextView
:
UIView
,
UITextViewDelegate
{
var
delegate
:
GeliAlertTextViewDelegate
?
@IBOutlet
weak
var
placerLbl
:
UILabel
!
@IBOutlet
weak
var
textview
:
UITextView
!
@IBAction
func
leftAction
(
_
sender
:
UIButton
)
{
self
.
removeFromSuperview
()
}
@IBAction
func
rightAction
(
_
sender
:
UIButton
)
{
self
.
delegate
?
.
sureAction
(
sender
:
textview
.
text
)
self
.
removeFromSuperview
()
}
func
textViewDidBeginEditing
(
_
textView
:
UITextView
)
{
placerLbl
.
isHidden
=
true
}
func
textViewDidEndEditing
(
_
textView
:
UITextView
)
{
if
textView
.
text
.
count
==
0
{
placerLbl
.
isHidden
=
false
}
}
var
contentView
:
UIView
!
//初始化时将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
()
}
textview
.
delegate
=
self
}
// /初始化时将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
()
}
textview
.
delegate
=
self
}
//加载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/View/AlertView/GeliAlertTextView.xib
0 → 100644
View file @
0d5050c0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment