From 6d38527065a405f0231cbd9bc26e994e51d245c4 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Tue, 27 Apr 2021 20:44:45 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BA=91=E6=B8=B8=E5=95=86=E4=BA=BA?= =?UTF-8?q?=E3=80=91=E6=8E=92=E5=BA=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/NewActivity/CommonActPageManager.lua | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/NewActivity/CommonActPageManager.lua b/Assets/ManagedResources/~Lua/Modules/NewActivity/CommonActPageManager.lua index df2c79f2de..bc0850fae0 100644 --- a/Assets/ManagedResources/~Lua/Modules/NewActivity/CommonActPageManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/NewActivity/CommonActPageManager.lua @@ -23,11 +23,17 @@ local TypeUpdateFunc = { end end table.sort(dataList[ActivityTypeDef.YunYouShangRen].rewards,function (a,b) - if a.progress == b.progress then - return a.missionId < b.missionId - else - return a.progress > b.progress + if a.progress == 0 and b.progress > 0 then + return false end + if a.progress > 0 and b.progress == 0 then + return true + end + return a.missionId < b.missionId + -- if a.progress == b.progress then + -- else + -- return a.progress > b.progress + -- end end) end, [ActivityTypeDef.ContinuityRecharge] = function ()