This commit is contained in:
2020-08-05 20:46:00 +08:00
parent 9a943f7598
commit ea021d6d73
74 changed files with 1263 additions and 1041 deletions

View File

@@ -32,7 +32,12 @@ function _cell.show(go, data)
uiobjs.boxCollider.size = Vector3(mData.width, 150, 0)
uiobjs.Background.spriteName = mData.Background
uiobjs.Checkmark.spriteName = mData.Checkmark
_cell.setReddotNum(0)
if mData.id == 1 then
local unreadNum = DBMessage.getUnreadNum(DBMessage.MsgType.Sys)
_cell.setReddotNum(unreadNum)
else
_cell.setReddotNum(0)
end
end
function _cell.setReddotNum(num)