From fc54d71dd2b3773cf9d780cecc7ed69847b6a557 Mon Sep 17 00:00:00 2001 From: xiejun <467745540@qq.com> Date: Thu, 25 Jan 2024 18:07:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E5=B2=9B=E5=A4=BA=E5=AE=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/LingMaiMiJing/LingMaiMiJingPanel.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/LingMaiMiJing/LingMaiMiJingPanel.lua b/Assets/ManagedResources/~Lua/Modules/LingMaiMiJing/LingMaiMiJingPanel.lua index 83c641f97f..e663c7d74b 100644 --- a/Assets/ManagedResources/~Lua/Modules/LingMaiMiJing/LingMaiMiJingPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/LingMaiMiJing/LingMaiMiJingPanel.lua @@ -2,9 +2,9 @@ require("Base/BasePanel") local LingMaiMiJingPanel = Inherit(BasePanel) local lodeConfig = ConfigManager.GetConfig(ConfigName.LodeConfig) local TEXTLIST = { - [1] = "距抢夺期结束:%s", - [2] = "距宝岛开启:%s", - [3] = "距宝岛关闭:%s", + [1] = "距抢夺期结束:", + [2] = "距空岛开启:", + [3] = "距空岛关闭:", } local veinName = { [3] = "l_lmmj_huangjilingmai", @@ -35,6 +35,7 @@ function LingMaiMiJingPanel:InitComponent() --top self.topBar = Util.GetGameObject(self.gameObject,"topBar") self.leftTime = Util.GetGameObject(self.topBar,"Text"):GetComponent("Text") + self.leftDesTime = Util.GetGameObject(self.topBar,"text"):GetComponent("Text") --bottom self.bottom = Util.GetGameObject(self.gameObject,"bottomBar") self.time = Util.GetGameObject(self.bottom,"time") @@ -261,7 +262,9 @@ function LingMaiMiJingPanel:SetTime() end --self.leftTime.text = string.format("",TimeToHMS(time)) + self.leftTime.text = TimeToHMS(time) + self.leftDesTime.text = text self.timer = Timer.New(function () time = time - 1 timeStayAtHere = timeStayAtHere + 1