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
d9e459cc
Commit
d9e459cc
authored
Jul 09, 2021
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改背景图片
parent
c61f5e2c
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
35 additions
and
6 deletions
+35
-6
底-19.png
...ts/Game/Main/Resource/LeePic/ZhongCaiTiXianPanel/底-19.png
+0
-0
底.png
Assets/Game/Main/Resource/LeePic/ZhongCaiTiXianPanel/底.png
+0
-0
底.png.meta
.../Game/Main/Resource/LeePic/ZhongCaiTiXianPanel/底.png.meta
+1
-1
TiXianCell.cs
Assets/Game/Main/Resource/LeeScripts/TiXianCell.cs
+5
-3
AdUtils.cs
Assets/Game/Main/Scripts/Utils/AdUtils.cs
+6
-0
DialogControl.cs
Assets/Game/Main/Scripts/View/DialogControl.cs
+22
-1
Cell.prefab
Assets/Resources/Cell.prefab
+1
-1
No files found.
Assets/Game/Main/Resource/LeePic/ZhongCaiTiXianPanel/底-19.png
deleted
100644 → 0
View file @
c61f5e2c
7.43 KB
Assets/Game/Main/Resource/LeePic/ZhongCaiTiXianPanel/底.png
0 → 100644
View file @
d9e459cc
3.35 KB
Assets/Game/Main/Resource/LeePic/ZhongCaiTiXianPanel/底
-19
.png.meta
→
Assets/Game/Main/Resource/LeePic/ZhongCaiTiXianPanel/底.png.meta
View file @
d9e459cc
fileFormatVersion: 2
fileFormatVersion: 2
guid:
c5b6f259535934fe590c6be2094e4d9c
guid:
2beb17b131fd94929a57c7ed87367555
TextureImporter:
TextureImporter:
internalIDToNameTable: []
internalIDToNameTable: []
externalObjects: {}
externalObjects: {}
...
...
Assets/Game/Main/Resource/LeeScripts/TiXianCell.cs
View file @
d9e459cc
...
@@ -15,7 +15,7 @@ public class TiXianCell : BasePanel
...
@@ -15,7 +15,7 @@ public class TiXianCell : BasePanel
public
Text
tv_process
,
tv_countdown
;
public
Text
tv_process
,
tv_countdown
;
public
void
Init
(
HomeTitleInfo
info
)
public
void
Init
(
HomeTitleInfo
info
)
{
{
GetControl
<
Text
>(
"txtMoney"
).
text
=
info
.
yuan
.
ToString
();
if
(
info
.
countdown
>
0
)
if
(
info
.
countdown
>
0
)
{
{
countdown
.
SetActive
(
true
);
countdown
.
SetActive
(
true
);
...
@@ -49,6 +49,7 @@ public class TiXianCell : BasePanel
...
@@ -49,6 +49,7 @@ public class TiXianCell : BasePanel
{
{
bg
.
sprite
=
sprites
[
1
];
bg
.
sprite
=
sprites
[
1
];
}
}
GetControl
<
Text
>(
"txtMoney"
).
text
=
info
.
yuan
.
ToString
();
switch
(
info
.
status
)
switch
(
info
.
status
)
{
{
case
0
:
case
0
:
...
@@ -69,6 +70,8 @@ public class TiXianCell : BasePanel
...
@@ -69,6 +70,8 @@ public class TiXianCell : BasePanel
DialogControl
.
Instance
.
NetWorkRequest
<
WithDrawDialogBean
>(
false
,
"app/v3/cscmnq/do_wd"
,
new
Dictionary
<
string
,
object
>()
{
{
"wdId"
,(
int
)
info
.
id
}
},(
obj
)=>
DialogControl
.
Instance
.
NetWorkRequest
<
WithDrawDialogBean
>(
false
,
"app/v3/cscmnq/do_wd"
,
new
Dictionary
<
string
,
object
>()
{
{
"wdId"
,(
int
)
info
.
id
}
},(
obj
)=>
{
{
EventCenter
.
Broadcast
(
MyEventType
.
RefreshPlantTreeWithDraw
);
LeeMainController
.
Instance
.
UpdateZhongCaiTiXianPanel
();
if
((
int
)
info
.
id
==
1
)
if
((
int
)
info
.
id
==
1
)
{
{
//如果id为1 则提现0.3元
//如果id为1 则提现0.3元
...
@@ -92,8 +95,7 @@ public class TiXianCell : BasePanel
...
@@ -92,8 +95,7 @@ public class TiXianCell : BasePanel
case
7
:
case
7
:
return
;
return
;
}
}
EventCenter
.
Broadcast
(
MyEventType
.
RefreshPlantTreeWithDraw
);
LeeMainController
.
Instance
.
UpdateZhongCaiTiXianPanel
();
EventUtils
.
OnEvent
(
"jy_ts_click"
);
EventUtils
.
OnEvent
(
"jy_ts_click"
);
DialogControl
.
Instance
.
nme
.
Show
(
info
.
id
,
obj
);
DialogControl
.
Instance
.
nme
.
Show
(
info
.
id
,
obj
);
});
});
...
...
Assets/Game/Main/Scripts/Utils/AdUtils.cs
View file @
d9e459cc
...
@@ -259,6 +259,12 @@ public class AdUtils
...
@@ -259,6 +259,12 @@ public class AdUtils
else
if
(
actionName
.
Equals
(
"dt_tttx_rw_show"
))
else
if
(
actionName
.
Equals
(
"dt_tttx_rw_show"
))
{
{
EventUtils
.
OnEvent
(
"dt_tttx_rw_show"
);
EventUtils
.
OnEvent
(
"dt_tttx_rw_show"
);
}
else
if
(
actionName
.
Equals
(
"cs_video_show"
))
{
EventUtils
.
OnEvent
(
"cs_ljlq_show"
);
}
else
if
(
actionName
.
Equals
(
"hb_video_show"
))
{
EventUtils
.
OnEvent
(
"hb_sblq_show"
);
}
}
}
}
...
...
Assets/Game/Main/Scripts/View/DialogControl.cs
View file @
d9e459cc
...
@@ -765,6 +765,7 @@ public class DialogControl : MonoBehaviour
...
@@ -765,6 +765,7 @@ public class DialogControl : MonoBehaviour
{
{
//
//
sid
=
bean
.
sid
;
sid
=
bean
.
sid
;
action
=
2
;
showNewHappyGetDialog
(
bean
.
cash
.
ToString
());
showNewHappyGetDialog
(
bean
.
cash
.
ToString
());
}
}
else
else
...
@@ -839,22 +840,41 @@ public class DialogControl : MonoBehaviour
...
@@ -839,22 +840,41 @@ public class DialogControl : MonoBehaviour
newhappygetDialog
.
SetActive
(
true
);
newhappygetDialog
.
SetActive
(
true
);
tv_new_cash
.
text
=
cash
;
tv_new_cash
.
text
=
cash
;
}
}
private
int
action
;
//关闭带双倍领取的开心收下弹窗
//关闭带双倍领取的开心收下弹窗
public
void
closeNewHappyGetDialog
()
public
void
closeNewHappyGetDialog
()
{
{
if
(
action
==
1
)
{
EventUtils
.
OnEvent
(
"cs_ljlq_click"
);
}
else
if
(
action
==
2
)
{
EventUtils
.
OnEvent
(
"hb_ljlq_click"
);
}
AudioUtils
.
ins
.
PlayBtnAudio
();
AudioUtils
.
ins
.
PlayBtnAudio
();
newhappygetDialog
.
SetActive
(
false
);
newhappygetDialog
.
SetActive
(
false
);
EventCenter
.
Broadcast
(
MyEventType
.
FlyHongbao
);
EventCenter
.
Broadcast
(
MyEventType
.
FlyHongbao
);
EventCenter
.
Broadcast
(
MyEventType
.
RefreshHomeInfo
);
EventCenter
.
Broadcast
(
MyEventType
.
RefreshHomeInfo
);
}
}
private
string
action_name
;
//双倍领取
//双倍领取
public
void
doubleGetReceive
()
public
void
doubleGetReceive
()
{
{
AudioUtils
.
ins
.
PlayBtnAudio
();
AudioUtils
.
ins
.
PlayBtnAudio
();
if
(
action
==
1
)
{
EventUtils
.
OnEvent
(
"cs_sblq_click"
);
action_name
=
"cs_video_show"
;
}
else
if
(
action
==
2
)
{
EventUtils
.
OnEvent
(
"hb_sblq_click"
);
action_name
=
"hb_video_show"
;
}
newhappygetDialog
.
SetActive
(
false
);
newhappygetDialog
.
SetActive
(
false
);
parm
.
Clear
();
parm
.
Clear
();
parm
[
"sid"
]
=
sid
;
parm
[
"sid"
]
=
sid
;
AdUtils
.
PlayRewardAd
(
"double_reward"
,
new
Action
<
bool
>((
cb
)
=>
AdUtils
.
PlayRewardAd
(
action_name
,
new
Action
<
bool
>((
cb
)
=>
{
{
if
(
cb
)
if
(
cb
)
{
{
...
@@ -1011,6 +1031,7 @@ public class DialogControl : MonoBehaviour
...
@@ -1011,6 +1031,7 @@ public class DialogControl : MonoBehaviour
{
{
//
//
sid
=
bean
.
sid
;
sid
=
bean
.
sid
;
action
=
1
;
showNewHappyGetDialog
(
bean
.
cash
.
ToString
());
showNewHappyGetDialog
(
bean
.
cash
.
ToString
());
}
}
else
else
...
...
Assets/Resources/Cell.prefab
View file @
d9e459cc
...
@@ -440,7 +440,7 @@ MonoBehaviour:
...
@@ -440,7 +440,7 @@ MonoBehaviour:
withdraw
:
{
fileID
:
7752375703414735778
}
withdraw
:
{
fileID
:
7752375703414735778
}
sprites
:
sprites
:
-
{
fileID
:
21300000
,
guid
:
87bd69ddaefeb51499b29739a7258483
,
type
:
3
}
-
{
fileID
:
21300000
,
guid
:
87bd69ddaefeb51499b29739a7258483
,
type
:
3
}
-
{
fileID
:
21300000
,
guid
:
c5b6f259535934fe590c6be2094e4d9c
,
type
:
3
}
-
{
fileID
:
21300000
,
guid
:
2beb17b131fd94929a57c7ed87367555
,
type
:
3
}
img_process
:
{
fileID
:
6884567047368652589
}
img_process
:
{
fileID
:
6884567047368652589
}
tv_process
:
{
fileID
:
7169505402414716405
}
tv_process
:
{
fileID
:
7169505402414716405
}
tv_countdown
:
{
fileID
:
793209000852770342
}
tv_countdown
:
{
fileID
:
793209000852770342
}
...
...
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