From d25daeb9bf71a614c38de8e902c4bbe7664f3422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=AE=B6=E7=82=9C?= <2029049582@qq.com> Date: Sun, 22 Jun 2025 03:03:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=91=E5=BE=97=E5=BF=AB=E6=89=98=E7=AE=A1?= =?UTF-8?q?=E5=80=92=E8=AE=A1=E6=97=B6=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base_project/Game/View/PlayerInfoView.lua | 37 ++++++++---------- .../component/RunFast_Main_2.xml | 2 +- .../Extend_Poker_RunFastNew/component/bg.png | Bin 0 -> 6885 bytes .../component/head/PlayerHead_1.xml | 14 ++++++- .../component/head/PlayerHead_2.xml | 14 ++++++- .../component/pb_tuoGuan_Bg.xml | 9 +++++ .../component/pb_tuoGuan_Border.xml | 12 ++++++ .../component/tuoguan.png | Bin 0 -> 3399 bytes .../Extend_Poker_RunFastNew/package.xml | 4 ++ .../component/Main/component/PlayerHead_1.xml | 6 +-- 10 files changed, 69 insertions(+), 29 deletions(-) create mode 100644 wb_new_ui/assets/Extend_Poker_RunFastNew/component/bg.png create mode 100644 wb_new_ui/assets/Extend_Poker_RunFastNew/component/pb_tuoGuan_Bg.xml create mode 100644 wb_new_ui/assets/Extend_Poker_RunFastNew/component/pb_tuoGuan_Border.xml create mode 100644 wb_new_ui/assets/Extend_Poker_RunFastNew/component/tuoguan.png diff --git a/lua_probject/base_project/Game/View/PlayerInfoView.lua b/lua_probject/base_project/Game/View/PlayerInfoView.lua index 7d9ccf7b..ef0300b2 100644 --- a/lua_probject/base_project/Game/View/PlayerInfoView.lua +++ b/lua_probject/base_project/Game/View/PlayerInfoView.lua @@ -101,12 +101,11 @@ function M:init() end end - function M:showmmm() - if self.totalTime>0 then + if self.totalTime > 0 then self.starttimeflag = false self.totalTime = self.totalTime - 0.0165 - if self.totalTime<60 then + if self.totalTime < 60 then if self.PlayerTGBg and self.PlayerTGBg.displayObject.gameObject then self.PlayerTGBg.displayObject.gameObject:SetActive(true) end @@ -114,29 +113,26 @@ function M:showmmm() self.PlayerTGBorder.displayObject.gameObject:SetActive(true) end if self.PlayerTGBg then - self.PlayerTGBg.max = self.maxTime - self.PlayerTGBg.value =self.maxTime - self.totalTime + self.PlayerTGBg.max = self.maxTime + self.PlayerTGBg.value = self.maxTime - self.totalTime end if self.PlayerTGBorder then self.PlayerTGBorder.max = self.maxTime self.PlayerTGBorder.value = self.totalTime end - end - else if self.PlayerTGBg and self.PlayerTGBg.displayObject.gameObject then self.PlayerTGBg.displayObject.gameObject:SetActive(false) end - if self.PlayerTGBorder and self.PlayerTGBorder.displayObject.gameObject then + if self.PlayerTGBorder and self.PlayerTGBorder.displayObject.gameObject then self.PlayerTGBorder.displayObject.gameObject:SetActive(false) - end + end end - end function M:IsShowTGTips(isShow, time) - printlog("isShowisShowisShow==== ",isShow," time ",time) + printlog("isShowisShowisShow==== ", isShow, " time ", time) if time == nil then time = 0 end self.totalTime = time self.isShowTGTimer = isShow @@ -150,7 +146,7 @@ function M:IsShowTGTips(isShow, time) self.PlayerTGBorder.displayObject.gameObject:SetActive(false) end self.currentTime = 0 - + if isShow then if self.PlayerTGTips then self.PlayerTGTips.text = "开启托管剩余时间" .. time .. "s" @@ -158,17 +154,17 @@ function M:IsShowTGTips(isShow, time) self.maxTime = time - if self.timer~=nil then + if self.timer ~= nil then self.timer:Stop() end self.timer = FrameTimer.New(function() self:showmmm() end, 0.1, -1, false) self.timer:Start() - - - - --[[ if self.PlayerTGBg then + + + + --[[ if self.PlayerTGBg then self.PlayerTGBg.max = time end if self.PlayerTGBorder then @@ -179,16 +175,15 @@ function M:IsShowTGTips(isShow, time) --UpdateBeat:Add(self.OnUpdate,self) -- printlog("aaaaaaaaa111111111111111111111111111111") --TimerManager.RemoveTimer(self.OnUpdate) - -- TimerManager.AddTimer(self.OnUpdate, self) + -- TimerManager.AddTimer(self.OnUpdate, self) --printlog(self) else - - if self.timer~=nil then + if self.timer ~= nil then self.timer:Stop() end -- printlog("移除IsShowTGTips",self.isShow) --UpdateBeat:Remove(self.OnUpdate,self) - -- TimerManager.RemoveTimer(self.OnUpdate, self) + -- TimerManager.RemoveTimer(self.OnUpdate, self) end end diff --git a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/RunFast_Main_2.xml b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/RunFast_Main_2.xml index 6bead898..8d9d4664 100644 --- a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/RunFast_Main_2.xml +++ b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/RunFast_Main_2.xml @@ -2,7 +2,7 @@ - + diff --git a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/bg.png b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/bg.png new file mode 100644 index 0000000000000000000000000000000000000000..0e11f5b38a5c3773ca457cb3120e58e9e6292fee GIT binary patch literal 6885 zcmeAS@N?(olHy`uVBq!ia0y~yV6gyU4mP038-bjDAjMc5RtvY3H^?=T269?xHq!oVO^<>}%WQW5v|gd-<|0mG3EKh5|09+1>n zGQt1+dnTZ!BWF2*WPp)6kaRdX2S_rg7K0?FoEeoE4U*BsFq#cUONP-hakMrVtsqC6 z2BVFl(RLy*7mPNFMjJ(=jiS+PFxn^@Z4`~x2BVFl(MHi|qiA%%baV`Pbo3lp4vaR6 gMjJ)IWFYw5?s!`5wgRjBlR=e(r>mdKI;Vst0B3Zy761SM literal 0 HcmV?d00001 diff --git a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/head/PlayerHead_1.xml b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/head/PlayerHead_1.xml index de9fbcac..4709e55d 100644 --- a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/head/PlayerHead_1.xml +++ b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/head/PlayerHead_1.xml @@ -10,6 +10,7 @@ + @@ -19,9 +20,12 @@ - + + + + @@ -55,11 +59,17 @@ - + + + + + + + \ No newline at end of file diff --git a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/head/PlayerHead_2.xml b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/head/PlayerHead_2.xml index 3c6cad9b..d979c737 100644 --- a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/head/PlayerHead_2.xml +++ b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/head/PlayerHead_2.xml @@ -11,6 +11,7 @@ + @@ -20,7 +21,7 @@ - + @@ -59,11 +60,20 @@ - + + + + + + + + + + \ No newline at end of file diff --git a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/pb_tuoGuan_Bg.xml b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/pb_tuoGuan_Bg.xml new file mode 100644 index 00000000..e7ccd639 --- /dev/null +++ b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/pb_tuoGuan_Bg.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/pb_tuoGuan_Border.xml b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/pb_tuoGuan_Border.xml new file mode 100644 index 00000000..4156a356 --- /dev/null +++ b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/pb_tuoGuan_Border.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/wb_new_ui/assets/Extend_Poker_RunFastNew/component/tuoguan.png b/wb_new_ui/assets/Extend_Poker_RunFastNew/component/tuoguan.png new file mode 100644 index 0000000000000000000000000000000000000000..b4abc879841c6c83a3e5b71e1090eca613a804a3 GIT binary patch literal 3399 zcma)wcsdOJ=B%a$dUsHh+Xek80uJ0gZJ||_EiYTVLV6DTrk7M34`@DjMzC{XqCDa( zqEa0p2__~)cK&Clv5E2_ zcSv)Ne<-rm9@+N6uuv|jevlKD+7Io+1?jC39PmgeY3WC zzLADx-wV}tF;iqf(3z;f+4_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%rEz7vAVR@SC7GpYhp@t}{F6a`P0<9in9mQU~ z(&*{KvZ7ERYgUzSP?B2AMUb?8$jw=5R&E!EH-jO^W6h$Cm+v9L8i#s%VsB1_bm_+hkR% zQ$DG_LsboypU6kI^piy_4c6+9Pyh;Do}edZCdikPZ7$v;f?=oidK{R+N6L!tcepE> z#i6cJSp+f^XHurMeib)c+>jS?-NriOkm)5RL;%J)ZbokPV=KsHX_D_fA)&f~;;unnqgHA{oWz+umgG6I$XlYP=6Bh9=(2-lb literal 0 HcmV?d00001 diff --git a/wb_new_ui/assets/Extend_Poker_RunFastNew/package.xml b/wb_new_ui/assets/Extend_Poker_RunFastNew/package.xml index 0be9aad1..f3cbea8b 100644 --- a/wb_new_ui/assets/Extend_Poker_RunFastNew/package.xml +++ b/wb_new_ui/assets/Extend_Poker_RunFastNew/package.xml @@ -463,6 +463,10 @@ + + + + \ No newline at end of file diff --git a/wb_new_ui/assets/Main_RunBeard/component/Main/component/PlayerHead_1.xml b/wb_new_ui/assets/Main_RunBeard/component/Main/component/PlayerHead_1.xml index 17eedf15..93b6363a 100644 --- a/wb_new_ui/assets/Main_RunBeard/component/Main/component/PlayerHead_1.xml +++ b/wb_new_ui/assets/Main_RunBeard/component/Main/component/PlayerHead_1.xml @@ -6,7 +6,7 @@ - + @@ -25,7 +25,7 @@ - + @@ -43,7 +43,7 @@ - +