Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
W
wdlc_mjb_unity
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
王雪伟
wdlc_mjb_unity
Commits
d1bc7306
Commit
d1bc7306
authored
Jun 30, 2021
by
LiLiuZhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
9c60d905
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
TiXianCell.cs
Assets/Game/Main/Resource/LeeScripts/TiXianCell.cs
+9
-1
LeeAllModel.cs
Assets/Game/Main/Scripts/Model/LeeAllModel.cs
+1
-1
DialogControl.cs
Assets/Game/Main/Scripts/View/DialogControl.cs
+1
-5
No files found.
Assets/Game/Main/Resource/LeeScripts/TiXianCell.cs
View file @
d1bc7306
...
...
@@ -5,6 +5,7 @@ using UnityEngine.UI;
public
class
TiXianCell
:
BasePanel
{
private
HomeTitleInfo
info
;
public
void
Init
(
HomeTitleInfo
info
)
{
GetControl
<
Text
>(
"txtMoney"
).
text
=
info
.
yuan
.
ToString
();
...
...
@@ -20,7 +21,14 @@ public class TiXianCell : BasePanel
GetControl
<
Button
>(
"btnIng"
).
gameObject
.
SetActive
(
false
);
break
;
case
2
:
GetControl
<
Button
>(
"btnGo"
).
onClick
.
AddListener
(()
=>
{
});
GetControl
<
Button
>(
"btnGo"
).
onClick
.
AddListener
(()
=>
{
Debug
.
LogError
(
info
.
id
);
DialogControl
.
Instance
.
NetWorkRequest
<
object
>(
false
,
"app/v2/cscmnq/do_wd"
,
new
Dictionary
<
string
,
object
>()
{
{
"wdId"
,(
int
)
info
.
id
}
},(
obj
)=>
{
});
});
GetControl
<
Button
>(
"btnIng"
).
gameObject
.
SetActive
(
false
);
GetControl
<
Button
>(
"btnHad"
).
gameObject
.
SetActive
(
false
);
...
...
Assets/Game/Main/Scripts/Model/LeeAllModel.cs
View file @
d1bc7306
...
...
@@ -27,5 +27,5 @@ public class CashOutInfo
public
class
LeeAllModel
:
MonoBehaviour
{
// 冲冲冲 奥利给
}
Assets/Game/Main/Scripts/View/DialogControl.cs
View file @
d1bc7306
...
...
@@ -541,12 +541,8 @@ public class DialogControl : MonoBehaviour
EventUtils
.
OnEvent
(
"addDiamond_click"
,
"点击钻石加号"
);
HttpTool
.
Instance
.
_Get
(
"app/v2/cscmnq/diamond_by_video_status"
,
null
,
new
Action
<
DiamondStatusBean
>((
bean
)
=>
{
DiamondplayNum
=
bean
.
playNum
;
<<<<<<<
HEAD
=======
DiamondRewardNum
=
bean
.
rewardDiamondNum
;
>>>>>>>
93f
f45fb604960c0d9e04b58f0749838d58dde01
if
(
DiamondplayNum
>
0
)
{
rdp
.
Show
(
bean
.
rewardDiamondNum
);
...
...
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