Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
X
xxsq
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
xxsq
Commits
75262c44
Commit
75262c44
authored
Jun 02, 2022
by
王雪伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[提交人]:王雪伟
[提交简述] :小象省钱 [实现方案] :调整史诗卡抽奖
parent
c4c83963
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
48 deletions
+8
-48
BoxResultDialog.kt
...src/main/java/com/zxbw/modulemain/view/BoxResultDialog.kt
+8
-48
No files found.
moduleMain/src/main/java/com/zxbw/modulemain/view/BoxResultDialog.kt
View file @
75262c44
...
@@ -462,58 +462,18 @@ object BoxResultDialog : LotteryContract.View, PopupWidowCloseCallBack {
...
@@ -462,58 +462,18 @@ object BoxResultDialog : LotteryContract.View, PopupWidowCloseCallBack {
return
return
}
}
this
.
page
=
"1"
this
.
page
=
"1"
var
ownCoin
=
SettingPreference
.
getUserCoinNum
().
toDouble
()
//钱数不够 去充值
if
(
ownCoin
<
onePrice
)
{
if
(
mDialog
!=
null
)
{
if
(
mDialog
!!
.
isShowing
)
{
mDialog
!!
.
dismiss
()
}
}
if
(
TextUtils
.
equals
(
Utils
.
getChannel
(
mActivity
),
"yyb"
))
{
showPayDialog
(
mActivity
,
(
onePrice
-
ownCoin
).
toString
(),
AdCallback
{
_
,
result
->
if
(
result
==
0
)
{
showEpicCardLotteryResult
(
mActivity
,
boxId
,
onePrice
,
fivePrice
)
}
})
}
else
{
JumpUtils
.
payJump
(
boxId
,
(
onePrice
-
ownCoin
).
toString
(),
Constant
.
Key
.
EPIC_CARD_LOTTERY
,
onePrice
.
toString
(),
fivePrice
.
toString
(),
""
,
page
)
}
return
}
else
if
(
Constant
.
Switch
.
isOpenLogin
&&
!
Constant
.
Switch
.
isBindLogin
&&
boxId
!=
"-2"
)
{
//开启登录开关 并且未登录绑定
JumpUtils
.
AfterLoginJump
(
boxId
,
(
onePrice
-
ownCoin
).
toString
(),
Constant
.
Key
.
ONE_LOTTERY
,
onePrice
.
toString
(),
fivePrice
.
toString
(),
""
,
page
)
return
}
this
.
mActivity
=
mActivity
this
.
mActivity
=
mActivity
this
.
boxId
=
boxId
this
.
boxId
=
boxId
this
.
onePrice
=
onePrice
this
.
onePrice
=
onePrice
this
.
fivePrice
=
fivePrice
this
.
fivePrice
=
fivePrice
mPresenter
.
epicCardLottery
(
boxId
)
showPayDialog
(
mActivity
,
(
onePrice
).
toString
(),
AdCallback
{
_
,
result
->
if
(
result
==
0
)
{
mPresenter
.
epicCardLottery
(
boxId
)
}
})
}
}
private
var
mDialog
:
Dialog
?
=
null
private
var
mDialog
:
Dialog
?
=
null
...
...
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