android
This commit is contained in:
@@ -62,7 +62,7 @@ end
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPNewFollowTask
|
||||
function TRPNewFollowTask:setData(paras)
|
||||
if paras and paras.taskId then
|
||||
if paras and paras.bookingNote then
|
||||
self.mdata = paras
|
||||
self.isNewFollow = false
|
||||
else
|
||||
@@ -77,6 +77,24 @@ function TRPNewFollowTask:setData(paras)
|
||||
end
|
||||
end
|
||||
|
||||
---public 当有通用背板显示时的回调
|
||||
---@param cs Coolape.CLPanelLua
|
||||
function TRPNewFollowTask:onShowFrame(cs)
|
||||
if cs.frameObj then
|
||||
---@type _BGFrame1Param
|
||||
local d = {}
|
||||
-- d.title = LGet(cs.titleKeyName)
|
||||
if self.isNewFollow then
|
||||
d.title = "新建预约"
|
||||
else
|
||||
d.title = "预约详情"
|
||||
end
|
||||
d.panel = cs
|
||||
cs.frameObj:init(d)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPNewFollowTask:show()
|
||||
self:refreshContent()
|
||||
|
||||
Reference in New Issue
Block a user