This commit is contained in:
2020-08-17 11:13:33 +08:00
parent 19e730574b
commit 21eb68aeab
93 changed files with 6713 additions and 143 deletions

View File

@@ -35,7 +35,7 @@ function _cell.show(go, data)
SetActive(uiobjs.DownloadProgress.gameObject, false)
--//TODO:权限判断,如果有权限的可以考虑直接显示图片
if DBTextures.hadDownloaded(mData.name) then
if DBAttachment.hadDownloaded(mData.name) then
SetActive(uiobjs.ButtonDownload, false)
SetActive(uiobjs.SpriteRight, true)
else
@@ -57,7 +57,7 @@ function _cell.download()
isDownLoading = true
SetActive(uiobjs.ButtonDownload, false)
www =
DBTextures.download(
DBAttachment.download(
mData.name,
mData.url,
function(content, localPath)