Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FMVip_LXJ
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhenfei.zhang
FMVip_LXJ
Commits
327ffb73
Commit
327ffb73
authored
Apr 21, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 修复网络模块中error没有重置的bug。 2. 调整数字键盘的界面展示。
parent
5fc70a5d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
FMVip_LXJ/task/fmtask.cpp
+2
-0
FMVip_LXJ/windows/fmviplogin.cpp
+7
-3
FMVip_LXJ/windows/fmviporder.cpp
+7
-3
No files found.
FMVip_LXJ/task/fmtask.cpp
View file @
327ffb73
...
...
@@ -133,6 +133,8 @@ bool FMTask::sendToServer(bool isShowMsg)
// 服务器返回的错误
if
(
serverRspJsonObj
.
contains
(
"errcode"
))
{
setError
(
FM_API_SERVERERROR
,
serverRspJsonObj
[
"errcode"
].
toInt
(),
serverRspJsonObj
[
"errmsg"
].
toString
());
}
else
{
setError
(
FM_API_SUCCESS
);
}
}
}
...
...
FMVip_LXJ/windows/fmviplogin.cpp
View file @
327ffb73
...
...
@@ -151,15 +151,19 @@ void FMVipLogin::on_login_key_clicked()
{
if
(
numpad
==
NULL
)
{
numpad
=
new
FMNumPad
();
numpad
=
new
FMNumPad
(
this
);
connect
(
numpad
,
&
FMNumPad
::
finished
,
this
,
&
FMVipLogin
::
on_clean_numpad
);
connect
(
numpad
,
&
FMNumPad
::
digit_click
,
this
,
&
FMVipLogin
::
on_edit_change
);
connect
(
numpad
,
&
FMNumPad
::
digit_delete
,
this
,
&
FMVipLogin
::
on_delete_clicked
);
connect
(
numpad
,
&
FMNumPad
::
digit_clear
,
this
,
&
FMVipLogin
::
on_clear_clicked
);
connect
(
numpad
,
&
FMNumPad
::
digit_confirm
,
this
,
&
FMVipLogin
::
on_confirm_clicked
);
}
numpad
->
show
();
numpad
->
setGeometry
(
x
()
+
(
width
()
+
640
)
/
2
,
numpad
->
y
(),
numpad
->
width
(),
numpad
->
height
());
numpad
->
setGeometry
(
x
()
+
(
width
()
+
640
)
/
2
-
120
,
numpad
->
y
()
+
20
,
numpad
->
width
(),
numpad
->
height
());
}
else
{
numpad
->
close
();
delete
numpad
;
numpad
=
NULL
;
}
}
void
FMVipLogin
::
on_edit_change
(
QString
numkey
)
...
...
FMVip_LXJ/windows/fmviporder.cpp
View file @
327ffb73
...
...
@@ -203,15 +203,19 @@ void FMVipOrder::on_pay_key_clicked()
{
if
(
numpad
==
NULL
)
{
numpad
=
new
FMNumPad
();
numpad
=
new
FMNumPad
(
this
);
connect
(
numpad
,
&
FMNumPad
::
finished
,
this
,
&
FMVipOrder
::
on_clean_numpad
);
connect
(
numpad
,
&
FMNumPad
::
digit_click
,
this
,
&
FMVipOrder
::
on_edit_change
);
connect
(
numpad
,
&
FMNumPad
::
digit_delete
,
this
,
&
FMVipOrder
::
on_delete_clicked
);
connect
(
numpad
,
&
FMNumPad
::
digit_clear
,
this
,
&
FMVipOrder
::
on_clear_clicked
);
connect
(
numpad
,
&
FMNumPad
::
digit_confirm
,
this
,
&
FMVipOrder
::
on_confirm_clicked
);
}
numpad
->
show
();
numpad
->
setGeometry
(
x
()
+
(
width
()
+
950
)
/
2
,
numpad
->
y
(),
numpad
->
width
(),
numpad
->
height
());
numpad
->
setGeometry
(
x
()
+
width
()
/
2
-
20
,
numpad
->
y
()
+
100
,
numpad
->
width
(),
numpad
->
height
());
}
else
{
numpad
->
close
();
delete
numpad
;
numpad
=
NULL
;
}
}
void
FMVipOrder
::
on_clean_numpad
()
...
...
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