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
8615453b
Commit
8615453b
authored
May 19, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改方法名
parent
0d5050c0
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
11 deletions
+11
-11
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/AlertView/GeliAlertTextFiled.swift
GeliBusinessPlatform/View/AlertView/GeliAlertTextFiled.swift
+2
-2
GeliBusinessPlatform/View/AlertView/GeliAlertTextView.swift
GeliBusinessPlatform/View/AlertView/GeliAlertTextView.swift
+2
-2
GeliBusinessPlatform/View/AlertView/GeliAlertView.swift
GeliBusinessPlatform/View/AlertView/GeliAlertView.swift
+2
-2
GeliBusinessPlatform/ViewController/支付账号(设置,修改)/PayViewController.swift
...atform/ViewController/支付账号(设置,修改)/PayViewController.swift
+1
-1
GeliBusinessPlatform/ViewController/新增、编辑(查看)仓库/CheckWareHourseViewController.swift
...ontroller/新增、编辑(查看)仓库/CheckWareHourseViewController.swift
+1
-1
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
...inessPlatform/ViewController/登录/LoginViewController.swift
+1
-1
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
+1
-1
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
...ssPlatform/ViewController/订单详情/OrderDViewController.swift
+1
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
8615453b
No preview for this file type
GeliBusinessPlatform/View/AlertView/GeliAlertTextFiled.swift
View file @
8615453b
...
...
@@ -8,7 +8,7 @@
import
UIKit
protocol
GeliAlertTextFiledDelegate
{
func
sureAction
(
sender
:
String
)
func
sure
GeliAlertTextFiled
Action
(
sender
:
String
)
}
class
GeliAlertTextFiled
:
UIView
{
...
...
@@ -20,7 +20,7 @@ class GeliAlertTextFiled: UIView {
self
.
removeFromSuperview
()
}
@IBAction
func
rightAction
(
_
sender
:
UIButton
)
{
self
.
delegate
?
.
sure
Action
(
sender
:
textTF
.
text
)
self
.
delegate
?
.
sure
GeliAlertTextFiledAction
(
sender
:
textTF
.
text
!
)
print
(
"GeliAlertTextFiled
\(
textTF
.
text
)
"
)
self
.
removeFromSuperview
()
}
...
...
GeliBusinessPlatform/View/AlertView/GeliAlertTextView.swift
View file @
8615453b
...
...
@@ -8,7 +8,7 @@
import
UIKit
protocol
GeliAlertTextViewDelegate
{
func
sureAction
(
sender
:
String
)
func
sure
GeliAlertTextView
Action
(
sender
:
String
)
}
class
GeliAlertTextView
:
UIView
,
UITextViewDelegate
{
var
delegate
:
GeliAlertTextViewDelegate
?
...
...
@@ -19,7 +19,7 @@ class GeliAlertTextView: UIView, UITextViewDelegate {
self
.
removeFromSuperview
()
}
@IBAction
func
rightAction
(
_
sender
:
UIButton
)
{
self
.
delegate
?
.
sureAction
(
sender
:
textview
.
text
)
self
.
delegate
?
.
sure
GeliAlertTextView
Action
(
sender
:
textview
.
text
)
self
.
removeFromSuperview
()
}
...
...
GeliBusinessPlatform/View/AlertView/GeliAlertView.swift
View file @
8615453b
...
...
@@ -8,7 +8,7 @@
import
UIKit
protocol
GeliAlertViewDelegate
{
func
sureAction
(
sender
:
UIButton
)
func
sure
GeliAlertView
Action
(
sender
:
UIButton
)
}
class
GeliAlertView
:
UIView
{
var
contentView
:
UIView
!
...
...
@@ -24,7 +24,7 @@ class GeliAlertView: UIView {
}
@IBAction
func
rightAction
(
_
sender
:
UIButton
)
{
print
(
"右→边按钮响应"
)
self
.
delegate
?
.
sureAction
(
sender
:
sender
)
self
.
delegate
?
.
sure
GeliAlertView
Action
(
sender
:
sender
)
self
.
removeFromSuperview
()
}
...
...
GeliBusinessPlatform/ViewController/支付账号(设置,修改)/PayViewController.swift
View file @
8615453b
...
...
@@ -124,7 +124,7 @@ class PayViewController: BaseViewController ,GeliAlertViewDelegate{
}
}
func
sureAction
(
sender
:
UIButton
)
{
func
sure
GeliAlertView
Action
(
sender
:
UIButton
)
{
UIApplication
.
shared
.
openURL
(
NSURL
.
init
(
string
:
"tel://020-81338860"
)
!
as
URL
)
}
...
...
GeliBusinessPlatform/ViewController/新增、编辑(查看)仓库/CheckWareHourseViewController.swift
View file @
8615453b
...
...
@@ -262,7 +262,7 @@ class CheckWareHourseViewController: BaseViewController,UITableViewDelegate,UITa
self
.
view
.
window
?
.
addSubview
(
alertView
)
}
func
sureAction
(
sender
:
UIButton
)
{
func
sure
GeliAlertView
Action
(
sender
:
UIButton
)
{
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
@objc
func
removeActin
(
sender
:
UIButton
){
...
...
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
View file @
8615453b
...
...
@@ -61,7 +61,7 @@ class LoginViewController: BaseViewController, CodeViewDelegate,GeliAlertViewDel
alertView
.
titileLbl
.
text
=
"如忘记密码,请联系后台人员修改密码,请联系:"
self
.
view
.
window
?
.
addSubview
(
alertView
)
}
func
sureAction
(
sender
:
UIButton
)
{
func
sure
GeliAlertView
Action
(
sender
:
UIButton
)
{
UIApplication
.
shared
.
openURL
(
NSURL
.
init
(
string
:
"tel://020-81338860"
)
!
as
URL
)
}
...
...
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
View file @
8615453b
...
...
@@ -236,7 +236,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
}
}
func
sureAction
(
sender
:
UIButton
)
{
func
sure
GeliAlertView
Action
(
sender
:
UIButton
)
{
if
isSrueOrder
{
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
...
...
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
View file @
8615453b
...
...
@@ -737,7 +737,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
//MARK:--确认和取消订单
var
isSrueOrder
=
false
//MARK:--弹窗代理 --还有其他弹窗,根据tag分类
func
sureAction
(
sender
:
UIButton
)
{
func
sure
GeliAlertView
Action
(
sender
:
UIButton
)
{
if
isSrueOrder
{
HUD
.
flash
(
.
progress
)
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
...
...
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