Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rire-tool
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
逄仁秀
rire-tool
Commits
b8aaa061
提交
b8aaa061
authored
1月 05, 2024
作者:
逄仁秀
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
918a0374
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
32 行增加
和
56 行删除
+32
-56
UserInterfaceState.xcuserstate
...ata/renxiupang.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Breakpoints_v2.xcbkptlist
...nxiupang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
+0
-48
KJRechargeModel.swift
iOS-2kj/home/model/KJRechargeModel.swift
+1
-0
KJTransferViewController.swift
iOS-2kj/home/subC/KJTransferViewController.swift
+10
-2
KJEnterPayCodeView.swift
iOS-2kj/home/view/KJEnterPayCodeView.swift
+14
-1
KJGotoPayView.swift
iOS-2kj/home/view/KJGotoPayView.swift
+7
-5
没有找到文件。
iOS-2kj.xcworkspace/xcuserdata/renxiupang.xcuserdatad/UserInterfaceState.xcuserstate
浏览文件 @
b8aaa061
No preview for this file type
iOS-2kj.xcworkspace/xcuserdata/renxiupang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
浏览文件 @
b8aaa061
...
@@ -52,53 +52,5 @@
...
@@ -52,53 +52,5 @@
</Locations>
</Locations>
</BreakpointContent>
</BreakpointContent>
</BreakpointProxy>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID =
"Xcode.Breakpoint.FileBreakpoint"
>
<BreakpointContent
uuid =
"9B032B8C-6F19-44E7-8A9C-C22D77B774A1"
shouldBeEnabled =
"Yes"
ignoreCount =
"0"
continueAfterRunningActions =
"No"
filePath =
"iOS-2kj/home/subC/KJTransferViewController.swift"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"143"
endingLineNumber =
"143"
landmarkName =
"transferAction(_:)"
landmarkType =
"7"
>
<Locations>
<Location
uuid =
"9B032B8C-6F19-44E7-8A9C-C22D77B774A1 - 8d18ad34097b784a"
shouldBeEnabled =
"Yes"
ignoreCount =
"0"
continueAfterRunningActions =
"No"
symbolName =
"closure #1 @Sendable (Swift.Optional<Foundation.Data>, Swift.Optional<__C.NSURLResponse>, Swift.Optional<Swift.Error>) -> () in iOS_2kj.KJTransferViewController.transferAction(Any) -> ()"
moduleName =
"iOS-2kj"
usesParentBreakpointCondition =
"Yes"
urlString =
"file:///Users/renxiupang/Documents/rire-tool/iOS-2kj/home/subC/KJTransferViewController.swift"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"143"
endingLineNumber =
"143"
offsetFromSymbolStart =
"1172"
>
</Location>
<Location
uuid =
"9B032B8C-6F19-44E7-8A9C-C22D77B774A1 - 8d18ad34097b784a"
shouldBeEnabled =
"Yes"
ignoreCount =
"0"
continueAfterRunningActions =
"No"
symbolName =
"closure #1 @Sendable (Swift.Optional<Foundation.Data>, Swift.Optional<__C.NSURLResponse>, Swift.Optional<Swift.Error>) -> () in iOS_2kj.KJTransferViewController.transferAction(Any) -> ()"
moduleName =
"iOS-2kj"
usesParentBreakpointCondition =
"Yes"
urlString =
"file:///Users/renxiupang/Documents/rire-tool/iOS-2kj/home/subC/KJTransferViewController.swift"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"143"
endingLineNumber =
"143"
offsetFromSymbolStart =
"1896"
>
</Location>
</Locations>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Breakpoints>
</Bucket>
</Bucket>
iOS-2kj/home/model/KJRechargeModel.swift
浏览文件 @
b8aaa061
...
@@ -19,6 +19,7 @@ class KJBasicData: HandyJSON {
...
@@ -19,6 +19,7 @@ class KJBasicData: HandyJSON {
var
business_no
:
String
?
var
business_no
:
String
?
var
channel_code
:
String
?
var
channel_code
:
String
?
var
channel_extr_param
:
String
?
var
channel_extr_param
:
String
?
var
conv_no
:
String
?
var
fee
:
String
?
var
fee
:
String
?
required
init
()
{}
required
init
()
{}
}
}
...
...
iOS-2kj/home/subC/KJTransferViewController.swift
浏览文件 @
b8aaa061
...
@@ -140,8 +140,16 @@ class KJTransferViewController: KJBaseViewController, UITextFieldDelegate {
...
@@ -140,8 +140,16 @@ class KJTransferViewController: KJBaseViewController, UITextFieldDelegate {
let
dataString
=
String
(
data
:
data
,
encoding
:
String
.
Encoding
.
utf8
)
let
dataString
=
String
(
data
:
data
,
encoding
:
String
.
Encoding
.
utf8
)
let
dict
=
self
.
getDictionaryFromJSONString
(
jsonString
:
dataString
!
)
let
dict
=
self
.
getDictionaryFromJSONString
(
jsonString
:
dataString
!
)
print
(
dict
)
print
(
dict
)
if
let
arr
=
[
KJBankCodeListModel
]
.
deserialize
(
from
:
dict
[
"ret"
]
as!
NSArray
)
{
if
let
model
=
KJRechargeModel
.
deserialize
(
from
:
dict
[
"ret"
]
as?
NSDictionary
)
{
self
.
bankCodeList
=
arr
DispatchQueue
.
main
.
async
{
let
alert
=
KJGotoPayView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
kjWidth
,
height
:
kjHeight
))
alert
.
conv_no
=
model
.
basic_data
?
.
conv_no
??
""
alert
.
show
()
}
}
else
{
DispatchQueue
.
main
.
async
{
self
.
mc_text
(
dict
[
"msg"
]
as!
String
,
duration
:
2
)
}
}
}
}
}
task
.
resume
()
task
.
resume
()
...
...
iOS-2kj/home/view/KJEnterPayCodeView.swift
浏览文件 @
b8aaa061
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
import
UIKit
import
UIKit
class
KJEnterPayCodeView
:
UIView
{
class
KJEnterPayCodeView
:
UIView
,
UITextFieldDelegate
{
var
conv_no
:
String
=
""
var
conv_no
:
String
=
""
let
backView
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
kjHeight
-
170
,
width
:
kjWidth
,
height
:
170
))
let
backView
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
kjHeight
-
170
,
width
:
kjWidth
,
height
:
170
))
...
@@ -41,6 +41,7 @@ class KJEnterPayCodeView: UIView {
...
@@ -41,6 +41,7 @@ class KJEnterPayCodeView: UIView {
tf1
.
textAlignment
=
.
center
tf1
.
textAlignment
=
.
center
tf1
.
font
=
.
systemFont
(
ofSize
:
18
)
tf1
.
font
=
.
systemFont
(
ofSize
:
18
)
tf1
.
keyboardType
=
.
decimalPad
tf1
.
keyboardType
=
.
decimalPad
tf1
.
delegate
=
self
backView
.
addSubview
(
tf1
)
backView
.
addSubview
(
tf1
)
tf2
.
backgroundColor
=
.
white
tf2
.
backgroundColor
=
.
white
...
@@ -49,6 +50,7 @@ class KJEnterPayCodeView: UIView {
...
@@ -49,6 +50,7 @@ class KJEnterPayCodeView: UIView {
tf2
.
textAlignment
=
.
center
tf2
.
textAlignment
=
.
center
tf2
.
font
=
.
systemFont
(
ofSize
:
18
)
tf2
.
font
=
.
systemFont
(
ofSize
:
18
)
tf2
.
keyboardType
=
.
decimalPad
tf2
.
keyboardType
=
.
decimalPad
tf2
.
delegate
=
self
backView
.
addSubview
(
tf2
)
backView
.
addSubview
(
tf2
)
tf3
.
backgroundColor
=
.
white
tf3
.
backgroundColor
=
.
white
...
@@ -57,6 +59,7 @@ class KJEnterPayCodeView: UIView {
...
@@ -57,6 +59,7 @@ class KJEnterPayCodeView: UIView {
tf3
.
textAlignment
=
.
center
tf3
.
textAlignment
=
.
center
tf3
.
font
=
.
systemFont
(
ofSize
:
18
)
tf3
.
font
=
.
systemFont
(
ofSize
:
18
)
tf3
.
keyboardType
=
.
decimalPad
tf3
.
keyboardType
=
.
decimalPad
tf3
.
delegate
=
self
backView
.
addSubview
(
tf3
)
backView
.
addSubview
(
tf3
)
tf4
.
backgroundColor
=
.
white
tf4
.
backgroundColor
=
.
white
...
@@ -65,6 +68,7 @@ class KJEnterPayCodeView: UIView {
...
@@ -65,6 +68,7 @@ class KJEnterPayCodeView: UIView {
tf4
.
textAlignment
=
.
center
tf4
.
textAlignment
=
.
center
tf4
.
font
=
.
systemFont
(
ofSize
:
18
)
tf4
.
font
=
.
systemFont
(
ofSize
:
18
)
tf4
.
keyboardType
=
.
decimalPad
tf4
.
keyboardType
=
.
decimalPad
tf4
.
delegate
=
self
backView
.
addSubview
(
tf4
)
backView
.
addSubview
(
tf4
)
tf5
.
backgroundColor
=
.
white
tf5
.
backgroundColor
=
.
white
...
@@ -73,6 +77,7 @@ class KJEnterPayCodeView: UIView {
...
@@ -73,6 +77,7 @@ class KJEnterPayCodeView: UIView {
tf5
.
textAlignment
=
.
center
tf5
.
textAlignment
=
.
center
tf5
.
font
=
.
systemFont
(
ofSize
:
18
)
tf5
.
font
=
.
systemFont
(
ofSize
:
18
)
tf5
.
keyboardType
=
.
decimalPad
tf5
.
keyboardType
=
.
decimalPad
tf5
.
delegate
=
self
backView
.
addSubview
(
tf5
)
backView
.
addSubview
(
tf5
)
tf6
.
backgroundColor
=
.
white
tf6
.
backgroundColor
=
.
white
...
@@ -81,8 +86,15 @@ class KJEnterPayCodeView: UIView {
...
@@ -81,8 +86,15 @@ class KJEnterPayCodeView: UIView {
tf6
.
textAlignment
=
.
center
tf6
.
textAlignment
=
.
center
tf6
.
font
=
.
systemFont
(
ofSize
:
18
)
tf6
.
font
=
.
systemFont
(
ofSize
:
18
)
tf6
.
keyboardType
=
.
decimalPad
tf6
.
keyboardType
=
.
decimalPad
tf6
.
delegate
=
self
backView
.
addSubview
(
tf6
)
backView
.
addSubview
(
tf6
)
let
closeBtn
=
UIButton
(
type
:
.
custom
)
backView
.
addSubview
(
closeBtn
)
closeBtn
.
setImage
(
UIImage
(
named
:
"close"
),
for
:
.
normal
)
closeBtn
.
frame
=
CGRect
(
x
:
kjWidth
-
47
,
y
:
21.8
,
width
:
31
,
height
:
31
)
closeBtn
.
addTarget
(
self
,
action
:
#selector(
dismiss
)
,
for
:
.
touchUpInside
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
keyboardWillShow(_:)
)
,
name
:
UIResponder
.
keyboardWillChangeFrameNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
keyboardWillShow(_:)
)
,
name
:
UIResponder
.
keyboardWillChangeFrameNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
keyboardDidHide
)
,
name
:
UIResponder
.
keyboardDidHideNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
keyboardDidHide
)
,
name
:
UIResponder
.
keyboardDidHideNotification
,
object
:
nil
)
}
}
...
@@ -95,6 +107,7 @@ class KJEnterPayCodeView: UIView {
...
@@ -95,6 +107,7 @@ class KJEnterPayCodeView: UIView {
// 根据键盘高度进行相应的操作
// 根据键盘高度进行相应的操作
print
(
"键盘高度为
\(
keyboardHeight
)
"
)
print
(
"键盘高度为
\(
keyboardHeight
)
"
)
backView
.
frame
=
CGRect
(
x
:
0
,
y
:
kjHeight
-
170
-
keyboardHeight
,
width
:
kjWidth
,
height
:
170
)
}
}
}
}
}
}
...
...
iOS-2kj/home/view/KJGotoPayView.swift
浏览文件 @
b8aaa061
...
@@ -76,25 +76,27 @@ class KJGotoPayView: UIView {
...
@@ -76,25 +76,27 @@ class KJGotoPayView: UIView {
getData
()
getData
()
self
.
backgroundColor
=
UIColor
(
white
:
0
,
alpha
:
0.8
)
self
.
backgroundColor
=
UIColor
(
white
:
0
,
alpha
:
0.8
)
whiteView
.
backgroundColor
=
.
white
addSubview
(
whiteView
)
addSubview
(
whiteView
)
titleL
.
font
=
.
systemFont
(
ofSize
:
16
)
titleL
.
font
=
.
systemFont
(
ofSize
:
16
)
titleL
.
textAlignment
=
.
center
titleL
.
textAlignment
=
.
center
addSubview
(
titleL
)
whiteView
.
addSubview
(
titleL
)
titleL
.
text
=
"支付金额"
titleL
.
text
=
"支付金额"
moneyL
.
font
=
.
systemFont
(
ofSize
:
28
,
weight
:
.
medium
)
moneyL
.
font
=
.
systemFont
(
ofSize
:
28
,
weight
:
.
medium
)
moneyL
.
textAlignment
=
.
center
moneyL
.
textAlignment
=
.
center
addSubview
(
moneyL
)
whiteView
.
addSubview
(
moneyL
)
addSubview
(
yueBackView
)
whiteView
.
addSubview
(
yueBackView
)
yueBackView
.
backgroundColor
=
.
white
yueBackView
.
backgroundColor
=
.
white
yueBackView
.
addSubview
(
yueL
)
yueBackView
.
addSubview
(
yueL
)
yueL
.
textColor
=
UIColor
(
hex
:
"#333333"
)
yueL
.
textColor
=
UIColor
(
hex
:
"#333333"
)
yueL
.
font
=
.
systemFont
(
ofSize
:
16
)
yueL
.
font
=
.
systemFont
(
ofSize
:
16
)
addSubview
(
toRechargeBack
)
whiteView
.
addSubview
(
toRechargeBack
)
toRechargeBack
.
backgroundColor
=
.
white
toRechargeBack
.
backgroundColor
=
.
white
toRechargeBack
.
addSubview
(
toRechargeBtn
)
toRechargeBack
.
addSubview
(
toRechargeBtn
)
toRechargeBtn
.
frame
=
CGRect
(
x
:
20
,
y
:
0
,
width
:
kjWidth
-
35
,
height
:
40
)
toRechargeBtn
.
frame
=
CGRect
(
x
:
20
,
y
:
0
,
width
:
kjWidth
-
35
,
height
:
40
)
...
@@ -114,7 +116,7 @@ class KJGotoPayView: UIView {
...
@@ -114,7 +116,7 @@ class KJGotoPayView: UIView {
toRechargeL
.
text
=
"去充值 >"
toRechargeL
.
text
=
"去充值 >"
toRechargeL
.
font
=
.
systemFont
(
ofSize
:
16
)
toRechargeL
.
font
=
.
systemFont
(
ofSize
:
16
)
addSubview
(
btn
)
whiteView
.
addSubview
(
btn
)
btn
.
frame
=
CGRect
(
x
:
17.5
,
y
:
255
,
width
:
kjWidth
-
35
,
height
:
49
)
btn
.
frame
=
CGRect
(
x
:
17.5
,
y
:
255
,
width
:
kjWidth
-
35
,
height
:
49
)
btn
.
backgroundColor
=
UIColor
(
hex
:
"#6747CD"
)
btn
.
backgroundColor
=
UIColor
(
hex
:
"#6747CD"
)
btn
.
setTitle
(
"立即支付"
,
for
:
.
normal
)
btn
.
setTitle
(
"立即支付"
,
for
:
.
normal
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论