upgrade
This commit is contained in:
@@ -1977,6 +1977,20 @@ MonoBehaviour:
|
||||
paddingTop: 0
|
||||
paddingBottom: 0
|
||||
path: trCRM/upgradeRes4Dev/other/uiAtlas/order/icon_1.png
|
||||
- name: work_yuyue
|
||||
x: 0
|
||||
y: 0
|
||||
width: 86
|
||||
height: 82
|
||||
borderLeft: 0
|
||||
borderRight: 0
|
||||
borderTop: 0
|
||||
borderBottom: 0
|
||||
paddingLeft: 0
|
||||
paddingRight: 0
|
||||
paddingTop: 0
|
||||
paddingBottom: 0
|
||||
path: trCRM/upgradeRes4Dev/other/uiAtlas/work/yuyue.png
|
||||
mPixelSize: 1
|
||||
mReplacement: {fileID: 0}
|
||||
mCoordinates: 0
|
||||
|
||||
@@ -48,7 +48,7 @@ _FieldMode = {
|
||||
inputOnly = 0, -- 纯输入
|
||||
showOnly = 1, -- 纯展示模式
|
||||
modifyOnly = 2, -- 修改模式
|
||||
showAndModify = 3, -- 展示械式,同时也可以modify
|
||||
showAndModify = 3, -- 展示模式,同时也可以modify
|
||||
button = 4 -- 类似按钮的功能
|
||||
}
|
||||
|
||||
|
||||
@@ -96,6 +96,10 @@ DBOrder.onGetFilter = function(data)
|
||||
}
|
||||
end
|
||||
|
||||
DBOrder.getUploadPath = function()
|
||||
return db.filters.uploadPath
|
||||
end
|
||||
|
||||
DBOrder.getFilter = function(popGroup)
|
||||
if popGroup then
|
||||
return db.filters[popGroup]
|
||||
|
||||
@@ -45,6 +45,9 @@ DBRoot.funcs = {
|
||||
[NetProto.cmds.selectProductInfo] = function(data)
|
||||
DBOrder.onGetProducts(data.result)
|
||||
end,
|
||||
[NetProto.cmds.personal_data_query] = function(data)
|
||||
DBUser.onPersonalData(data.result[1])
|
||||
end
|
||||
}
|
||||
|
||||
DBRoot.onReceiveData = function(cmd, data)
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
DBTextures = {}
|
||||
local db = {}
|
||||
|
||||
local dbUploadStatus = {}
|
||||
local isUploading = {}
|
||||
|
||||
function DBTextures.init()
|
||||
InvokeEx.cancelInvoke(DBTextures.releaseTimeout)
|
||||
InvokeEx.invoke(DBTextures.releaseTimeout, 60)
|
||||
@@ -12,6 +15,15 @@ function DBTextures.clean()
|
||||
GameObject.DestroyImmediate(v)
|
||||
end
|
||||
db = {}
|
||||
|
||||
---@param v UnityEngine.UnityWebRequest
|
||||
for k, www in pairs(dbUploadStatus) do
|
||||
if www then
|
||||
www.Dispose()
|
||||
www = nil
|
||||
end
|
||||
end
|
||||
dbUploadStatus = {}
|
||||
end
|
||||
|
||||
function DBTextures.releaseTimeout()
|
||||
@@ -50,4 +62,41 @@ function DBTextures.getByUrl(url, callback, orgs)
|
||||
return request
|
||||
end
|
||||
|
||||
function DBTextures.upload(path, uploadPath, finishCallback)
|
||||
local key = joinStr(path, "_", uploadPath)
|
||||
if (not dbUploadStatus[key]) and (not isUploading[key]) then
|
||||
local www =
|
||||
NetProto.uploadFile(
|
||||
path,
|
||||
uploadPath,
|
||||
function(result, orgs)
|
||||
isUploading[key] = nil
|
||||
if result then
|
||||
dbUploadStatus[key] = result
|
||||
end
|
||||
Utl.doCallback(finishCallback, result)
|
||||
end
|
||||
)
|
||||
isUploading[key] = www
|
||||
return www
|
||||
else
|
||||
if dbUploadStatus[key] then
|
||||
Utl.doCallback(finishCallback, dbUploadStatus[key])
|
||||
else
|
||||
printe("进到这里来了,有问题!!!!!!!")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function DBTextures.cancelUpload(path, uploadPath)
|
||||
local key = joinStr(path, "_", uploadPath)
|
||||
local www = isUploading[key]
|
||||
if www then
|
||||
www.Dispose()
|
||||
www = nil
|
||||
dbUploadStatus[key] = nil
|
||||
isUploading[key] = nil
|
||||
end
|
||||
end
|
||||
|
||||
return DBTextures
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
---@field loginName
|
||||
---@field groupId
|
||||
---@field imageUrl string 头像
|
||||
|
||||
DBUser = {}
|
||||
local db = {}
|
||||
local icons = {}
|
||||
@@ -65,6 +64,24 @@ function DBUser.getPopList(group)
|
||||
return poplist[group]
|
||||
end
|
||||
|
||||
function DBUser.refreshUserInfor(loginNo, loginName)
|
||||
local infor = DBUser.getPopList(DBUser.FilterGroup.user)
|
||||
for i, v in ipairs(infor.values) do
|
||||
if v == loginNo then
|
||||
infor.options[i] = loginName
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
local list = DBUser.getFilters(DBUser.FilterGroup.user)
|
||||
for i, v in ipairs(list) do
|
||||
if v.value == loginNo then
|
||||
v.name = loginNo
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
---@return _DBUser
|
||||
function DBUser.getUserById(loginNo)
|
||||
local user = db[loginNo]
|
||||
@@ -108,6 +125,7 @@ function DBUser.hadPermission(key)
|
||||
return rolePermission[key] or false
|
||||
end
|
||||
|
||||
---public 是否白名单
|
||||
function DBUser.isWhiteUser(userName, callback)
|
||||
if isNilOrEmpty(userName) then
|
||||
Utl.doCallback(callback, false)
|
||||
@@ -135,5 +153,43 @@ function DBUser.isWhiteUser(userName, callback)
|
||||
return DBUser.whiteNames[userName]
|
||||
end
|
||||
end
|
||||
---public 包装我的个人信息
|
||||
function DBUser.wrapMyinforData(myinfor)
|
||||
local currGroup = Prefs.getCurrGroup(Prefs.getUserName())
|
||||
local companyInfro = json.decode(currGroup)
|
||||
local user = DBUser.getUserById(companyInfro.login_no)
|
||||
myinfor.company_id = companyInfro.company_id
|
||||
myinfor.company_name = companyInfro.company_name
|
||||
myinfor.phoneNo = Prefs.getUserName()
|
||||
if user then
|
||||
myinfor.loginNo = user.loginNo
|
||||
myinfor.imageUrl = user.imageUrl
|
||||
end
|
||||
return myinfor
|
||||
end
|
||||
|
||||
function DBUser.onPersonalData(result)
|
||||
db.myinfor = result
|
||||
local currGroup = Prefs.getCurrGroup(Prefs.getUserName())
|
||||
local companyInfro = json.decode(currGroup)
|
||||
DBUser.refreshUserInfor(companyInfro.login_no, db.myinfor.loginName)
|
||||
local user = DBUser.getUserById(companyInfro.login_no)
|
||||
if user then
|
||||
-- 刷新数据
|
||||
user.loginName = db.myinfor.loginName
|
||||
user.imageUrl = db.myinfor.imageUrl
|
||||
Prefs.setUserName(db.myinfor.phoneNo)
|
||||
end
|
||||
db.myinfor = DBUser.wrapMyinforData(db.myinfor)
|
||||
end
|
||||
|
||||
---public 取得我的个人信息
|
||||
function DBUser.getMyInfor()
|
||||
if db.myinfor == nil then
|
||||
db.myinfor = DBUser.wrapMyinforData({})
|
||||
NetProto.send.personal_data_query()
|
||||
end
|
||||
return db.myinfor
|
||||
end
|
||||
|
||||
return DBUser
|
||||
|
||||
@@ -22,14 +22,14 @@ end
|
||||
|
||||
NetProto.setSeverDev = function()
|
||||
host = "app.ttf-cti.com"
|
||||
port = 29004
|
||||
port = 29000
|
||||
baseUrl = joinStr("http://", host, ":", port, "/open_api/")
|
||||
socketUrl = joinStr("ws://", host, ":", port, "/tr_socket/websocket/")
|
||||
end
|
||||
|
||||
NetProto.setSeverLocal = function()
|
||||
host = "192.168.1.100"
|
||||
port = 29004
|
||||
host = "192.168.1.11"
|
||||
port = 29000
|
||||
baseUrl = joinStr("http://", host, ":", port, "/open_api/")
|
||||
socketUrl = joinStr("ws://", host, ":", port, "/tr_socket/websocket/")
|
||||
end
|
||||
@@ -122,6 +122,49 @@ local onFailedSend = function(content, params)
|
||||
Utl.doCallback(failedCallback, nil, orgs)
|
||||
end
|
||||
|
||||
-- 上传头像
|
||||
NetProto.uploadUserHeadIcon = function(path, finishCallback)
|
||||
NetProto._uploadFile("updateUserImg", path, "", finishCallback)
|
||||
end
|
||||
|
||||
NetProto.uploadFile = function(path, uploadPath, finishCallback)
|
||||
NetProto._uploadFile("uploadFile", path, uploadPath, finishCallback)
|
||||
end
|
||||
|
||||
NetProto._uploadFile = function(methord, path, uploadPath, finishCallback)
|
||||
local params = {
|
||||
operator = NetProto.loginNo,
|
||||
uploadPath = uploadPath
|
||||
}
|
||||
|
||||
local url = joinStr(baseUrl, methord, "?", wrapSendData(params))
|
||||
local www =
|
||||
WWWEx.uploadFile(
|
||||
url,
|
||||
NetProto.httpHeader,
|
||||
"uploadFile",
|
||||
Path.GetFileName(path),
|
||||
File.ReadAllBytes(path),
|
||||
CLAssetType.text,
|
||||
function(content, orgs)
|
||||
content = json.decode(content)
|
||||
if content.success then
|
||||
Utl.doCallback(finishCallback, content)
|
||||
else
|
||||
printe(content.message)
|
||||
Utl.doCallback(finishCallback, content)
|
||||
end
|
||||
end,
|
||||
function(content, orgs)
|
||||
Utl.doCallback(finishCallback, nil)
|
||||
end,
|
||||
nil,
|
||||
true,
|
||||
1
|
||||
)
|
||||
return www
|
||||
end
|
||||
|
||||
NetProto.sendGet = function(cmd, map, callback, failedCallback, orgs, _baseUrl)
|
||||
if isNilOrEmpty(NetProto.sign) and (cmd ~= NetProto.cmds.getTokenForAPI) then
|
||||
MyUtl.toastW("与服务器失去联络,请重试!")
|
||||
@@ -263,6 +306,13 @@ NetProto.cmds = {
|
||||
delCustomerInfo = "delCustomerInfo", -- 删除客户
|
||||
loadProductType = "loadProductType", -- 产品类型
|
||||
pageGHQueryList = "pageGHQueryList", -- 公海列表
|
||||
getFromGH = "getFromGH", -- 获取客户
|
||||
list_followUp_tasks = "list_followUp_tasks", --预约记录
|
||||
personal_data_query = "personal_data_query", -- 个人信息
|
||||
updateUserInfo = "updateUserInfo", -- 更新用户信息
|
||||
updateUserPhone = "updateUserPhone", -- 更新用户手机号
|
||||
get_customerById = "get_customerById", -- 取得客户
|
||||
readNotice = "readNotice", -- 已读公告
|
||||
}
|
||||
---------------------------------------------------------------------------------------
|
||||
---------------------------------------------------------------------------------------
|
||||
@@ -554,7 +604,7 @@ NetProto.send.create_followUp_record = function(followUpRecordJson, callback, ti
|
||||
content.action = NetProto.cmds.create_followUp_record
|
||||
followUpRecordJson.loginNo = NetProto.loginNo
|
||||
followUpRecordJson.groupId = NetProto.groupId
|
||||
followUpRecordJson.recordingTime = DateEx.nowString()
|
||||
followUpRecordJson.recordingTime = followUpRecordJson.recordingTime or DateEx.nowString()
|
||||
content.followUpRecordJson = followUpRecordJson
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
@@ -649,5 +699,61 @@ NetProto.send.pageGHQueryList = function(filters, queryKey, page, callback, time
|
||||
content.current_page = page
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
NetProto.send.getFromGH = function(content, callback, timeOutSec)
|
||||
content = content or {}
|
||||
content.action = NetProto.cmds.getFromGH
|
||||
content.groupId = NetProto.groupId
|
||||
-- content.ids = ids
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
NetProto.send.list_followUp_tasks = function(filters, queryKey, page, callback, timeOutSec)
|
||||
local content = {}
|
||||
content.action = NetProto.cmds.list_followUp_tasks
|
||||
content.groupId = NetProto.groupId
|
||||
content.filters = filters
|
||||
content.keywords = queryKey
|
||||
content.current_page = page
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
NetProto.send.personal_data_query = function(callback, timeOutSec)
|
||||
local content = {}
|
||||
content.action = NetProto.cmds.personal_data_query
|
||||
content.groupId = NetProto.groupId
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
NetProto.send.updateUserInfo = function(content, callback, timeOutSec)
|
||||
content = content or {}
|
||||
content.action = NetProto.cmds.updateUserInfo
|
||||
content.groupId = NetProto.groupId
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
NetProto.send.updateUserPhone = function(content, callback, timeOutSec)
|
||||
content = content or {}
|
||||
content.action = NetProto.cmds.updateUserPhone
|
||||
content.groupId = NetProto.groupId
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
NetProto.send.get_customerById = function(custId, callback, timeOutSec)
|
||||
local content = {}
|
||||
content.action = NetProto.cmds.get_customerById
|
||||
content.custId = custId
|
||||
content.groupId = NetProto.groupId
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
NetProto.send.readNotice = function(id, callback, timeOutSec)
|
||||
local content = {}
|
||||
content.action = NetProto.cmds.readNotice
|
||||
content.id = id
|
||||
content.groupId = NetProto.groupId
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
------------------------------------------------------
|
||||
return NetProto
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
MyUtl = {}
|
||||
MyUtl.dampenStrength = 3 -- 惯性阻力
|
||||
|
||||
MyUtl.init = function(panel)
|
||||
MyUtl.getUIContent(panel)
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
-- xx单元
|
||||
local _cell = {}
|
||||
---@type Coolape.CLCellLua
|
||||
local csSelf = nil
|
||||
local transform = nil
|
||||
local mData = nil
|
||||
local uiobjs = {}
|
||||
|
||||
-- 初始化,只调用一次
|
||||
function _cell.init(csObj)
|
||||
csSelf = csObj
|
||||
transform = csSelf.transform
|
||||
uiobjs.Label = getCC(transform, "Label", "UILabel")
|
||||
uiobjs.ButtonDel = getChild(transform, "ButtonDel").gameObject
|
||||
uiobjs.SpriteIcon = getCC(transform, "SpriteIcon", "UISprite")
|
||||
end
|
||||
|
||||
-- 显示,
|
||||
-- 注意,c#侧不会在调用show时,调用refresh
|
||||
function _cell.show(go, data)
|
||||
mData = data
|
||||
uiobjs.Label.text = mData.name
|
||||
--//TODO:权限判断,如果有权限的可以考虑直接显示图片
|
||||
end
|
||||
|
||||
-- 取得数据
|
||||
function _cell.getData()
|
||||
return mData
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return _cell
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 278f1c6c3a34841fdb827858f0d72abc
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -26,17 +26,17 @@ end
|
||||
-- 注意,c#侧不会在调用show时,调用refresh
|
||||
function _cell.show(go, data)
|
||||
mData = data
|
||||
local optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.dealFlagList)
|
||||
local optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.followUpTypeList)
|
||||
uiobjs.LabelStatus:refreshItems(optionInfor.options, optionInfor.values)
|
||||
local optionInfor = DBUser.getPopList(DBUser.FilterGroup.user)
|
||||
uiobjs.LabelServerNo:refreshItems(optionInfor.options, optionInfor.values)
|
||||
|
||||
if tostring(mData.dealFlag) == "0" then
|
||||
SetActive(uiobjs.SpriteStatus.gameObject, true)
|
||||
else
|
||||
SetActive(uiobjs.SpriteStatus.gameObject, false)
|
||||
end
|
||||
uiobjs.LabelDate.text = string.sub(mData.createTime, 1, 10)
|
||||
-- if tostring(mData.dealFlag) == "0" then
|
||||
-- SetActive(uiobjs.SpriteStatus.gameObject, true)
|
||||
-- else
|
||||
-- SetActive(uiobjs.SpriteStatus.gameObject, false)
|
||||
-- end
|
||||
uiobjs.LabelDate.text = mData.recordingTime and string.sub(mData.recordingTime, 1, 10) or "无"
|
||||
|
||||
uiobjs.formRoot:setValue(mData)
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---@class _ParamCellImage
|
||||
---@field path string
|
||||
---@field onDelete function
|
||||
---@field uploadInfor table
|
||||
|
||||
-- xx单元
|
||||
local _cell = {}
|
||||
@@ -10,6 +11,7 @@ local transform = nil
|
||||
---@type _ParamCellImage
|
||||
local mData = nil
|
||||
local uiobjs = {}
|
||||
local www
|
||||
|
||||
-- 初始化,只调用一次
|
||||
function _cell.init(csObj)
|
||||
@@ -17,6 +19,10 @@ function _cell.init(csObj)
|
||||
transform = csSelf.transform
|
||||
---@type UITexture
|
||||
uiobjs.texture = csSelf:GetComponent("UITexture")
|
||||
uiobjs.SpriteProgress = getCC(transform, "SpriteProgress", "UISprite")
|
||||
uiobjs.LabelPersent = getCC(uiobjs.SpriteProgress.transform, "LabelPersent", "UILabel")
|
||||
uiobjs.Failed = getChild(transform, "Failed")
|
||||
uiobjs.success = getChild(transform, "success")
|
||||
end
|
||||
|
||||
-- 显示,
|
||||
@@ -29,12 +35,51 @@ function _cell.show(go, data)
|
||||
else
|
||||
url = mData.path
|
||||
end
|
||||
print(url)
|
||||
if uiobjs.texture.mainTexture and uiobjs.texture.mainTexture.name == mData.path then
|
||||
else
|
||||
_cell.release()
|
||||
DBTextures.getByUrl(url, _cell.onGetTextue, mData.path)
|
||||
end
|
||||
|
||||
SetActive(uiobjs.success.gameObject, false)
|
||||
_cell.upload()
|
||||
end
|
||||
|
||||
function _cell.upload()
|
||||
SetActive(uiobjs.Failed.gameObject, false)
|
||||
www =
|
||||
DBTextures.upload(
|
||||
mData.path,
|
||||
DBOrder.getUploadPath(),
|
||||
function(content)
|
||||
www = nil
|
||||
SetActive(uiobjs.SpriteProgress.gameObject, false)
|
||||
if content and content.success then
|
||||
mData.uploadInfor = content.result
|
||||
SetActive(uiobjs.success.gameObject, true)
|
||||
else
|
||||
-- 显示重传按钮
|
||||
SetActive(uiobjs.Failed.gameObject, true)
|
||||
local msg = content and content.message or "上传失败"
|
||||
MyUtl.toastW(msg)
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
_cell.refreshProgress()
|
||||
end
|
||||
|
||||
function _cell.refreshProgress()
|
||||
if www == nil then
|
||||
SetActive(uiobjs.SpriteProgress.gameObject, false)
|
||||
return
|
||||
end
|
||||
SetActive(uiobjs.SpriteProgress.gameObject, true)
|
||||
local progressVal = www.uploadProgress or 0 -- downloadProgress uploadProgress
|
||||
uiobjs.LabelPersent.text = PStr.b():a(math.floor(progressVal * 100)):a("%"):e()
|
||||
uiobjs.SpriteProgress.fillAmount = progressVal
|
||||
|
||||
csSelf:invoke4Lua(_cell.refreshProgress, 0.1)
|
||||
end
|
||||
|
||||
function _cell.onGetTextue(content, orgs)
|
||||
@@ -61,7 +106,12 @@ end
|
||||
|
||||
function _cell.uiEventDelegate(go)
|
||||
if go.name == "ButtonDel" then
|
||||
csSelf:cancelInvoke4Lua(_cell.refreshProgress)
|
||||
DBTextures.cancelUpload(mData.path, DBOrder.getUploadPath())
|
||||
www = nil
|
||||
Utl.doCallback(mData.onDelete, mData)
|
||||
elseif go.name == "ButtonReload" then
|
||||
_cell.upload()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ function _cell.init(csObj)
|
||||
uiobjs.LabelStatus = getCC(transform, "LabelStatus", "UIPopupList")
|
||||
---@type CLUIFormRoot
|
||||
uiobjs.formRoot = csSelf:GetComponent("CLUIFormRoot")
|
||||
uiobjs.SpriteStatus = getChild(transform, "SpriteStatus")
|
||||
end
|
||||
|
||||
-- 显示,
|
||||
@@ -24,14 +23,7 @@ function _cell.show(go, data)
|
||||
mData = data
|
||||
mData._phoneNo = MyUtl.hidePhone(mData.phoneNo)
|
||||
mData.lastFollowUpTime = isNilOrEmpty(mData.upTime) and "无" or mData.upTime
|
||||
local optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.dealFlagList)
|
||||
uiobjs.LabelStatus:refreshItems(optionInfor.options, optionInfor.values)
|
||||
uiobjs.formRoot:setValue(mData)
|
||||
if tostring(mData.dealFlag) == "0" then
|
||||
SetActive(uiobjs.SpriteStatus.gameObject, true)
|
||||
else
|
||||
SetActive(uiobjs.SpriteStatus.gameObject, false)
|
||||
end
|
||||
end
|
||||
|
||||
-- 取得数据
|
||||
@@ -39,5 +31,15 @@ function _cell.getData()
|
||||
return mData
|
||||
end
|
||||
|
||||
function _cell.uiEventDelegate(go)
|
||||
if go.name == "ButtonGet" then
|
||||
showHotWheel()
|
||||
local params = {
|
||||
ids = mData.id,
|
||||
oprType = "byId"
|
||||
}
|
||||
NetProto.send.getFromGH(params)
|
||||
end
|
||||
end
|
||||
--------------------------------------------
|
||||
return _cell
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
-- xx单元
|
||||
local _cell = {}
|
||||
---@type Coolape.CLCellLua
|
||||
local csSelf = nil
|
||||
local transform = nil
|
||||
---@type _DBCust
|
||||
local mData = nil
|
||||
local uiobjs = {}
|
||||
|
||||
-- 初始化,只调用一次
|
||||
function _cell.init(csObj)
|
||||
csSelf = csObj
|
||||
transform = csSelf.transform
|
||||
---@type UIPopupList
|
||||
uiobjs.LabelServerNo = getCC(transform, "LabelServerNo", "UIPopupList")
|
||||
---@type CLUIFormRoot
|
||||
uiobjs.formRoot = csSelf:GetComponent("CLUIFormRoot")
|
||||
uiobjs.SpriteStatus = getCC(transform, "SpriteStatus", "UISprite")
|
||||
uiobjs.SpriteHeadIcon = getCC(transform, "SpriteHeadBg/SpriteHeadIcon", "UITexture")
|
||||
end
|
||||
|
||||
-- 显示,
|
||||
-- 注意,c#侧不会在调用show时,调用refresh
|
||||
function _cell.show(go, data)
|
||||
mData = data
|
||||
-- mData.money = mData.prodNum * mData.salePrice
|
||||
mData._phoneNo = MyUtl.hidePhone(mData.phoneNo)
|
||||
local optionInfor = DBUser.getPopList(DBUser.FilterGroup.user)
|
||||
uiobjs.LabelServerNo:refreshItems(optionInfor.options, optionInfor.values)
|
||||
|
||||
uiobjs.formRoot:setValue(mData)
|
||||
if tonumber(mData.bookingDone) == 1 then
|
||||
uiobjs.SpriteStatus.color = ColorEx.getColor(0xff27ae60)
|
||||
else
|
||||
local bookingTime = DateTime.Parse(mData.bookingTime)
|
||||
if DateTime.Now:ToFileTime() > bookingTime:ToFileTime() then
|
||||
--- 超时
|
||||
uiobjs.SpriteStatus.color = ColorEx.getColor(0xfff15a4a)
|
||||
else
|
||||
uiobjs.SpriteStatus.color = ColorEx.getColor(0xff999999)
|
||||
end
|
||||
end
|
||||
|
||||
_cell.setHeadIcon()
|
||||
end
|
||||
|
||||
function _cell.setHeadIcon()
|
||||
---@type _DBUser
|
||||
local user = DBUser.getUserById(mData.loginNo)
|
||||
if user then
|
||||
DBUser.getIcon(
|
||||
mData.loginNo,
|
||||
function(texture)
|
||||
if texture and texture.name == user.imageUrl then
|
||||
uiobjs.SpriteHeadIcon.mainTexture = texture
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
-- 取得数据
|
||||
function _cell.getData()
|
||||
return mData
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return _cell
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 46397f5cd6dc9464fbc5e4e68a21ae14
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -18,17 +18,17 @@ local firstCell
|
||||
function CLLPPopTime.init(csObj)
|
||||
csSelf = csObj
|
||||
transform = csObj.transform
|
||||
table.insert(hours, joinStr(NumEx.nStrForLen(23, 2), "点"))
|
||||
for i = 0, 22 do
|
||||
table.insert(hours, joinStr(NumEx.nStrForLen(i, 2), "点"))
|
||||
end
|
||||
-- table.insert(hours, joinStr(NumEx.nStrForLen(23, 2), "点"))
|
||||
-- for i = 0, 22 do
|
||||
-- table.insert(hours, joinStr(NumEx.nStrForLen(i, 2), "点"))
|
||||
-- end
|
||||
|
||||
table.insert(minutes, joinStr(NumEx.nStrForLen(59, 2), "分"))
|
||||
table.insert(seconds, joinStr(NumEx.nStrForLen(59, 2), "秒"))
|
||||
for i = 0, 58 do
|
||||
table.insert(minutes, joinStr(NumEx.nStrForLen(i, 2), "分"))
|
||||
table.insert(seconds, joinStr(NumEx.nStrForLen(i, 2), "秒"))
|
||||
end
|
||||
-- table.insert(minutes, joinStr(NumEx.nStrForLen(59, 2), "分"))
|
||||
-- table.insert(seconds, joinStr(NumEx.nStrForLen(59, 2), "秒"))
|
||||
-- for i = 0, 58 do
|
||||
-- table.insert(minutes, joinStr(NumEx.nStrForLen(i, 2), "分"))
|
||||
-- table.insert(seconds, joinStr(NumEx.nStrForLen(i, 2), "秒"))
|
||||
-- end
|
||||
---@type UISprite
|
||||
uiobjs.SpriteBg = getCC(transform, "Bottom/offset/SpriteBg", "UISprite")
|
||||
local offset = getChild(transform, "Bottom/offset")
|
||||
@@ -52,6 +52,52 @@ function CLLPPopTime.setData(paras)
|
||||
hh = strs[1]
|
||||
mm = strs[2]
|
||||
ss = strs[3]
|
||||
CLLPPopTime.setPopList(hh, mm, ss)
|
||||
end
|
||||
|
||||
function CLLPPopTime.setPopList(hh, mm, ss)
|
||||
hours = {}
|
||||
local h = hh -1
|
||||
if h < 0 then
|
||||
h = 23
|
||||
end
|
||||
table.insert(hours, joinStr(NumEx.nStrForLen(h, 2), "点"))
|
||||
for i = 0, 22 do
|
||||
h = hh + i
|
||||
if h > 23 then
|
||||
h = h - 24
|
||||
end
|
||||
table.insert(hours, joinStr(NumEx.nStrForLen(h, 2), "点"))
|
||||
end
|
||||
|
||||
minutes = {}
|
||||
seconds = {}
|
||||
|
||||
local m = mm -1
|
||||
if m < 0 then
|
||||
m = 59
|
||||
end
|
||||
|
||||
local s = ss -1
|
||||
if s < 0 then
|
||||
s = 59
|
||||
end
|
||||
|
||||
table.insert(minutes, joinStr(NumEx.nStrForLen(m, 2), "分"))
|
||||
table.insert(seconds, joinStr(NumEx.nStrForLen(s, 2), "秒"))
|
||||
for i = 0, 58 do
|
||||
m = mm + i
|
||||
if m > 59 then
|
||||
m = m - 60
|
||||
end
|
||||
s = ss + i
|
||||
if s > 59 then
|
||||
s = s - 60
|
||||
end
|
||||
table.insert(minutes, joinStr(NumEx.nStrForLen(m, 2), "分"))
|
||||
table.insert(seconds, joinStr(NumEx.nStrForLen(s, 2), "秒"))
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
--当有通用背板显示时的回调
|
||||
|
||||
@@ -1,383 +1,419 @@
|
||||
--开始loading页面,处理资源更新、及相关初始化
|
||||
do
|
||||
---@type json
|
||||
local json = require("json.json")
|
||||
---@type json
|
||||
local json = require("json.json")
|
||||
local DBUser = require("db.DBUser")
|
||||
|
||||
---@type Coolape.CLPanelLua
|
||||
local csSelf = nil
|
||||
local transform = nil
|
||||
local gameObject = nil
|
||||
local progressBar = nil
|
||||
local progressBarTotal = nil
|
||||
local lbprogressBarTotal = nil
|
||||
local LabelTip = nil
|
||||
local LabelVer = nil
|
||||
local lbCustServer
|
||||
local loadedPanelCount = 0
|
||||
local server
|
||||
local user
|
||||
local bottom
|
||||
|
||||
local www4UpgradeCell = nil -- 更新时单个单元的www
|
||||
|
||||
-- 预先加载的页面(在热更新完成后,先把必要的公共页面先加载了,后面的处理可能会用到)
|
||||
local beforeLoadPanels = {
|
||||
"PanelHotWheel", -- 菊花
|
||||
"PanelBackplate", -- 背板遮罩
|
||||
"PanelConfirm", -- 确认提示页面
|
||||
"PanelMask4Panel", -- 遮挡
|
||||
"PanelWWWProgress" -- 显示网络请求资源的进度
|
||||
}
|
||||
|
||||
local CLLPSplash = {}
|
||||
|
||||
function CLLPSplash.init(go)
|
||||
csSelf = go
|
||||
transform = csSelf.transform
|
||||
gameObject = csSelf.gameObject
|
||||
bottom = getChild(transform, "Bottom")
|
||||
progressBar = getCC(bottom, "Progress Bar", "UISlider")
|
||||
NGUITools.SetActive(progressBar.gameObject, false)
|
||||
|
||||
progressBarTotal = getChild(transform, "Bottom", "Progress BarTotal")
|
||||
lbprogressBarTotal = getChild(progressBarTotal, "Thumb", "Label"):GetComponent("UILabel")
|
||||
progressBarTotal = progressBarTotal:GetComponent("UISlider")
|
||||
NGUITools.SetActive(progressBarTotal.gameObject, false)
|
||||
|
||||
LabelTip = getChild(bottom, "LabelTip")
|
||||
LabelTip = LabelTip:GetComponent("UILabel")
|
||||
NGUITools.SetActive(LabelTip.gameObject, false)
|
||||
LabelVer = getChild(transform, "TopLeft", "LabelVer")
|
||||
LabelVer = LabelVer:GetComponent("UILabel")
|
||||
|
||||
lbCustServer = getCC(transform, "TopLeft/LabelCustomerServer", "UILabel")
|
||||
end
|
||||
|
||||
function CLLPSplash.show()
|
||||
csSelf.panel.depth = 200
|
||||
loadedPanelCount = 0
|
||||
SetActive(progressBar.gameObject, false)
|
||||
SetActive(progressBarTotal.gameObject, false)
|
||||
|
||||
-- load alert
|
||||
CLLPSplash.addAlertHud()
|
||||
|
||||
-- 初始化需要提前加载的页面
|
||||
loadedPanelCount = 0
|
||||
for i, v in ipairs(beforeLoadPanels) do
|
||||
CLPanelManager.getPanelAsy(v, CLLPSplash.onLoadPanelBefore)
|
||||
end
|
||||
|
||||
-- Hide company panel
|
||||
csSelf:invoke4Lua(CLLPSplash.hideFirstPanel, 1.5)
|
||||
end
|
||||
|
||||
-- 关闭页面
|
||||
function CLLPSplash.hide()
|
||||
csSelf:cancelInvoke4Lua()
|
||||
CLLPSplash.hideFirstPanel()
|
||||
end
|
||||
|
||||
-- 刷新页面
|
||||
function CLLPSplash.refresh()
|
||||
LabelVer.text = joinStr(Localization.Get("Version"), __version__)
|
||||
lbCustServer.text = ""
|
||||
LabelTip.text = ""
|
||||
end
|
||||
|
||||
-- 加载hud alert
|
||||
function CLLPSplash.addAlertHud()
|
||||
-- local onGetObj = function(name, AlertRoot, orgs)
|
||||
-- AlertRoot.transform.parent = CLUIInit.self.uiPublicRoot
|
||||
-- AlertRoot.transform.localPosition = Vector3.zero
|
||||
-- AlertRoot.transform.localScale = Vector3.one
|
||||
-- NGUITools.SetActive(AlertRoot, true)
|
||||
-- end
|
||||
-- CLUIOtherObjPool.borrowObjAsyn("ToastRoot", onGetObj)
|
||||
getPanelAsy("ToastRoot", doShowPanel)
|
||||
end
|
||||
|
||||
function CLLPSplash.hideFirstPanel()
|
||||
do
|
||||
return
|
||||
end
|
||||
---@type Coolape.CLPanelLua
|
||||
local csSelf = nil
|
||||
local transform = nil
|
||||
local gameObject = nil
|
||||
local progressBar = nil
|
||||
local progressBarTotal = nil
|
||||
local lbprogressBarTotal = nil
|
||||
local LabelTip = nil
|
||||
local LabelVer = nil
|
||||
local lbCustServer
|
||||
local loadedPanelCount = 0
|
||||
local server
|
||||
local user
|
||||
local bottom
|
||||
local p = CLPanelManager.getPanel(MyMain.self.firstPanel)
|
||||
if (p ~= nil and p.gameObject.activeInHierarchy) then
|
||||
CLPanelManager.hidePanel(p)
|
||||
end
|
||||
end
|
||||
|
||||
local www4UpgradeCell = nil -- 更新时单个单元的www
|
||||
|
||||
-- 预先加载的页面(在热更新完成后,先把必要的公共页面先加载了,后面的处理可能会用到)
|
||||
local beforeLoadPanels = {
|
||||
"PanelHotWheel", -- 菊花
|
||||
"PanelBackplate", -- 背板遮罩
|
||||
"PanelConfirm", -- 确认提示页面
|
||||
"PanelMask4Panel", -- 遮挡
|
||||
"PanelWWWProgress", -- 显示网络请求资源的进度
|
||||
}
|
||||
|
||||
local CLLPSplash = {}
|
||||
|
||||
function CLLPSplash.init(go)
|
||||
csSelf = go
|
||||
transform = csSelf.transform
|
||||
gameObject = csSelf.gameObject
|
||||
bottom = getChild(transform, "Bottom")
|
||||
progressBar = getCC(bottom, "Progress Bar", "UISlider")
|
||||
NGUITools.SetActive(progressBar.gameObject, false)
|
||||
|
||||
progressBarTotal = getChild(transform, "Bottom", "Progress BarTotal")
|
||||
lbprogressBarTotal = getChild(progressBarTotal, "Thumb", "Label"):GetComponent("UILabel")
|
||||
progressBarTotal = progressBarTotal:GetComponent("UISlider")
|
||||
NGUITools.SetActive(progressBarTotal.gameObject, false)
|
||||
|
||||
LabelTip = getChild(bottom, "LabelTip")
|
||||
LabelTip = LabelTip:GetComponent("UILabel")
|
||||
NGUITools.SetActive(LabelTip.gameObject, false)
|
||||
LabelVer = getChild(transform, "TopLeft", "LabelVer")
|
||||
LabelVer = LabelVer:GetComponent("UILabel")
|
||||
|
||||
lbCustServer = getCC(transform, "TopLeft/LabelCustomerServer", "UILabel")
|
||||
function CLLPSplash.onLoadPanelBefore(p)
|
||||
p:init()
|
||||
loadedPanelCount = loadedPanelCount + 1
|
||||
if
|
||||
(p.name == "PanelConfirm" or p.name == "PanelHotWheel" or p.name == "PanelMask4Panel" or
|
||||
p.name == "PanelWWWProgress")
|
||||
then
|
||||
p.transform.parent = CLUIInit.self.uiPublicRoot
|
||||
p.transform.localScale = Vector3.one
|
||||
end
|
||||
|
||||
function CLLPSplash.show()
|
||||
csSelf.panel.depth = 200
|
||||
loadedPanelCount = 0
|
||||
SetActive(progressBar.gameObject, false)
|
||||
SetActive(progressBarTotal.gameObject, false)
|
||||
|
||||
-- load alert
|
||||
CLLPSplash.addAlertHud()
|
||||
|
||||
-- 初始化需要提前加载的页面
|
||||
loadedPanelCount = 0
|
||||
for i, v in ipairs(beforeLoadPanels) do
|
||||
CLPanelManager.getPanelAsy(v, CLLPSplash.onLoadPanelBefore)
|
||||
end
|
||||
|
||||
-- Hide company panel
|
||||
csSelf:invoke4Lua(CLLPSplash.hideFirstPanel, 1.5)
|
||||
if (p.name == "PanelWWWProgress") then
|
||||
CLPanelManager.showPanel(p)
|
||||
end
|
||||
|
||||
-- 关闭页面
|
||||
function CLLPSplash.hide()
|
||||
csSelf:cancelInvoke4Lua()
|
||||
CLLPSplash.hideFirstPanel()
|
||||
end
|
||||
|
||||
-- 刷新页面
|
||||
function CLLPSplash.refresh()
|
||||
LabelVer.text = joinStr(Localization.Get("Version"), __version__)
|
||||
lbCustServer.text = ""
|
||||
LabelTip.text = ""
|
||||
end
|
||||
|
||||
-- 加载hud alert
|
||||
function CLLPSplash.addAlertHud()
|
||||
-- local onGetObj = function(name, AlertRoot, orgs)
|
||||
-- AlertRoot.transform.parent = CLUIInit.self.uiPublicRoot
|
||||
-- AlertRoot.transform.localPosition = Vector3.zero
|
||||
-- AlertRoot.transform.localScale = Vector3.one
|
||||
-- NGUITools.SetActive(AlertRoot, true)
|
||||
-- end
|
||||
-- CLUIOtherObjPool.borrowObjAsyn("ToastRoot", onGetObj)
|
||||
getPanelAsy("ToastRoot", doShowPanel)
|
||||
end
|
||||
|
||||
function CLLPSplash.hideFirstPanel()
|
||||
do return end
|
||||
---@type Coolape.CLPanelLua
|
||||
local p = CLPanelManager.getPanel(MyMain.self.firstPanel)
|
||||
if (p ~= nil and p.gameObject.activeInHierarchy) then
|
||||
CLPanelManager.hidePanel(p)
|
||||
CLLPSplash.onProgress(#(beforeLoadPanels), loadedPanelCount)
|
||||
if (loadedPanelCount >= #(beforeLoadPanels)) then
|
||||
-- 页面已经加载完成,处理热更新
|
||||
if (not Application.isEditor) then
|
||||
CLLPSplash.checkNewVersion()
|
||||
else
|
||||
csSelf:invoke4Lua(CLLPSplash.updateRes, 0.2)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function CLLPSplash.onLoadPanelBefore(p)
|
||||
p:init()
|
||||
loadedPanelCount = loadedPanelCount + 1
|
||||
if (p.name == "PanelConfirm" or
|
||||
p.name == "PanelHotWheel" or
|
||||
p.name == "PanelMask4Panel" or
|
||||
p.name == "PanelWWWProgress") then
|
||||
p.transform.parent = CLUIInit.self.uiPublicRoot
|
||||
p.transform.localScale = Vector3.one
|
||||
end
|
||||
|
||||
if (p.name == "PanelWWWProgress") then
|
||||
CLPanelManager.showPanel(p)
|
||||
end
|
||||
CLLPSplash.onProgress(#(beforeLoadPanels), loadedPanelCount)
|
||||
if (loadedPanelCount >= #(beforeLoadPanels)) then
|
||||
-- 页面已经加载完成,处理热更新
|
||||
if (not Application.isEditor) then
|
||||
CLLPSplash.checkNewVersion()
|
||||
else
|
||||
csSelf:invoke4Lua(CLLPSplash.updateRes, 0.2)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
--[[
|
||||
-- 更新版本
|
||||
--{"ver":"1.0","force":true,"url":"http://"}
|
||||
--]]
|
||||
function CLLPSplash.checkNewVersion()
|
||||
local oldVer = __version__
|
||||
local onGetVer = function(content, orgs)
|
||||
local map = JSON.DecodeMap(content)
|
||||
local newVer = MapEx.getString(map, "ver")
|
||||
if (tonumber(newVer) > tonumber(oldVer)) then
|
||||
local doUpgradeApp = function()
|
||||
CLLPSplash.upgradeGame(MapEx.getString(map, "url"))
|
||||
end
|
||||
if MapEx.getBool(map, "force") then
|
||||
CLUIUtl.showConfirm(LGet("MsgHadNewVerApp"), true, "更新", doUpgradeApp, "", nil)
|
||||
else
|
||||
CLUIUtl.showConfirm(LGet("MsgHadNewVerApp"), false, "更新", doUpgradeApp, "忽略", CLLPSplash.updateRes)
|
||||
end
|
||||
else
|
||||
CLLPSplash.updateRes()
|
||||
function CLLPSplash.checkNewVersion()
|
||||
local oldVer = __version__
|
||||
local onGetVer = function(content, orgs)
|
||||
local map = JSON.DecodeMap(content)
|
||||
local newVer = MapEx.getString(map, "ver")
|
||||
if (tonumber(newVer) > tonumber(oldVer)) then
|
||||
local doUpgradeApp = function()
|
||||
CLLPSplash.upgradeGame(MapEx.getString(map, "url"))
|
||||
end
|
||||
end
|
||||
|
||||
local onGetVerError = function(msg, orgs)
|
||||
-- CLAlert.add(LGet("MsgCheckAppUpgradeFail"), Color.white, 1)
|
||||
if MapEx.getBool(map, "force") then
|
||||
CLUIUtl.showConfirm(LGet("MsgHadNewVerApp"), true, "更新", doUpgradeApp, "", nil)
|
||||
else
|
||||
CLUIUtl.showConfirm(LGet("MsgHadNewVerApp"), false, "更新", doUpgradeApp, "忽略", CLLPSplash.updateRes)
|
||||
end
|
||||
else
|
||||
CLLPSplash.updateRes()
|
||||
end
|
||||
|
||||
local chlCode = getChlCode()
|
||||
local url = Utl.urlAddTimes(joinStr(CLVerManager.self.baseUrl, "/appVer.", chlCode, ".json"))
|
||||
WWWEx.get(url, CLAssetType.text, onGetVer, onGetVerError, nil, true)
|
||||
end
|
||||
|
||||
-- 更新安装游戏
|
||||
function CLLPSplash.upgradeGame(url)
|
||||
if not isNilOrEmpty(url ) then
|
||||
Application.OpenURL(url)
|
||||
end
|
||||
local onGetVerError = function(msg, orgs)
|
||||
-- CLAlert.add(LGet("MsgCheckAppUpgradeFail"), Color.white, 1)
|
||||
CLLPSplash.updateRes()
|
||||
end
|
||||
|
||||
-- 处理热更新
|
||||
function CLLPSplash.updateRes()
|
||||
if CLCfgBase.self.isDirectEntry then
|
||||
-- 取得缓存的数据
|
||||
user = json.decode(Prefs.getUserInfor())
|
||||
server = json.decode(Prefs.getCurrServer())
|
||||
CLLPSplash.checkHotUpgrade()
|
||||
local chlCode = getChlCode()
|
||||
local url = Utl.urlAddTimes(joinStr(CLVerManager.self.baseUrl, "/appVer.", chlCode, ".json"))
|
||||
WWWEx.get(url, CLAssetType.text, onGetVer, onGetVerError, nil, true)
|
||||
end
|
||||
|
||||
-- 更新安装游戏
|
||||
function CLLPSplash.upgradeGame(url)
|
||||
if not isNilOrEmpty(url) then
|
||||
Application.OpenURL(url)
|
||||
end
|
||||
end
|
||||
|
||||
-- 处理热更新
|
||||
function CLLPSplash.updateRes()
|
||||
if CLCfgBase.self.isDirectEntry then
|
||||
-- 取得缓存的数据
|
||||
-- user = json.decode(Prefs.getUserInfor())
|
||||
server = json.decode(Prefs.getCurrServer())
|
||||
CLLPSplash.checkHotUpgrade()
|
||||
else
|
||||
if not CLCfgBase.self.hotUpgrade4EachServer then
|
||||
-- 更新资源
|
||||
print("更新资源")
|
||||
CLLVerManager.init(CLLPSplash.onProgress, CLLPSplash.onFinishResUpgrade, true, "")
|
||||
else
|
||||
if not CLCfgBase.self.hotUpgrade4EachServer then
|
||||
-- 更新资源
|
||||
print("更新资源")
|
||||
CLLVerManager.init(CLLPSplash.onProgress, CLLPSplash.onFinishResUpgrade, true, "")
|
||||
else
|
||||
--
|
||||
CLLPSplash.accountLogin()
|
||||
end
|
||||
-- 选择服务器
|
||||
CLLPSplash.selectServer(
|
||||
function(result)
|
||||
server = result
|
||||
Prefs.setCurrServer(json.encode(server))
|
||||
CLLPSplash.checkHotUpgrade()
|
||||
end
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function CLLPSplash.accountLogin()
|
||||
-- getPanelAsy("PanelLogin", onLoadedPanelTT, {CLLPSplash.onAccountLogin, true})
|
||||
CLLPSplash.selectServer = function(callback)
|
||||
local onGetServers = function(content, orgs)
|
||||
local content = json.decode(content)
|
||||
|
||||
local userName = Prefs.getUserName()
|
||||
DBUser.isWhiteUser(
|
||||
userName,
|
||||
function(iswhite)
|
||||
if iswhite then
|
||||
getPanelAsy("PanelSelectServer", onLoadedPanelTT, {servers = content.data, callback = callback})
|
||||
else
|
||||
--//TODO:取得正式环境的信息
|
||||
Utl.doCallback(callback)
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
local url = "" --//TODO:不要token验证,传appid,以便可以区分服务器
|
||||
WWWEx.get(
|
||||
url,
|
||||
nil,
|
||||
CLAssetType.text,
|
||||
onGetServers,
|
||||
function()
|
||||
CLUIUtl.showConfirm(
|
||||
"无法取得服务器,点击重试",
|
||||
function()
|
||||
CLLPSplash.selectServer(callback)
|
||||
end
|
||||
)
|
||||
end,
|
||||
nil,
|
||||
true,
|
||||
1
|
||||
)
|
||||
end
|
||||
|
||||
function CLLPSplash.accountLogin()
|
||||
-- getPanelAsy("PanelLogin", onLoadedPanelTT, {CLLPSplash.onAccountLogin, true})
|
||||
CLLPSplash.prepareStartGame()
|
||||
end
|
||||
|
||||
function CLLPSplash.checkHotUpgrade()
|
||||
if CLCfgBase.self.hotUpgrade4EachServer then
|
||||
local resMd5 = ""
|
||||
if CLPathCfg.self.platform == "IOS" then
|
||||
resMd5 = server.iosVer
|
||||
elseif CLPathCfg.self.platform == "Android" then
|
||||
resMd5 = server.androidVer
|
||||
end
|
||||
-- 更新资源
|
||||
CLLVerManager.init(CLLPSplash.onProgress, CLLPSplash.onFinishResUpgrade, true, resMd5)
|
||||
else
|
||||
CLLPSplash.prepareStartGame()
|
||||
end
|
||||
end
|
||||
|
||||
function CLLPSplash.onAccountLogin(_user, _server)
|
||||
Prefs.setUserInfor(json.encode(_user))
|
||||
Prefs.setCurrServer(json.encode(_server))
|
||||
user = _user
|
||||
server = _server
|
||||
CLLPSplash.checkHotUpgrade()
|
||||
--设置进度条
|
||||
function CLLPSplash.onProgress(...)
|
||||
local args = {...}
|
||||
local all = args[1] -- 总量
|
||||
local v = args[2] -- 当前值
|
||||
if (#(args) >= 3) then
|
||||
www4UpgradeCell = args[3]
|
||||
else
|
||||
www4UpgradeCell = nil
|
||||
end
|
||||
|
||||
function CLLPSplash.checkHotUpgrade()
|
||||
if CLCfgBase.self.hotUpgrade4EachServer then
|
||||
local resMd5 = ""
|
||||
if CLPathCfg.self.platform == "IOS" then
|
||||
resMd5 = server.iosVer
|
||||
else
|
||||
resMd5 = server.androidVer
|
||||
end
|
||||
-- 更新资源
|
||||
CLLVerManager.init(CLLPSplash.onProgress, CLLPSplash.onFinishResUpgrade, true, resMd5)
|
||||
else
|
||||
CLLPSplash.prepareStartGame()
|
||||
end
|
||||
end
|
||||
if (progressBarTotal ~= nil) then
|
||||
NGUITools.SetActive(progressBarTotal.gameObject, true)
|
||||
NGUITools.SetActive(LabelTip.gameObject, true)
|
||||
if (type(all) == "number") then
|
||||
if (all > 0) then
|
||||
local value = v / all
|
||||
progressBarTotal.value = value
|
||||
if (www4UpgradeCell ~= nil) then
|
||||
-- 说明有单个资源
|
||||
lbprogressBarTotal.text = joinStr(v, "/", all)
|
||||
end
|
||||
|
||||
--设置进度条
|
||||
function CLLPSplash.onProgress(...)
|
||||
local args = { ... }
|
||||
local all = args[1] -- 总量
|
||||
local v = args[2] -- 当前值
|
||||
if (#(args) >= 3) then
|
||||
www4UpgradeCell = args[3]
|
||||
else
|
||||
www4UpgradeCell = nil
|
||||
end
|
||||
|
||||
if (progressBarTotal ~= nil) then
|
||||
NGUITools.SetActive(progressBarTotal.gameObject, true)
|
||||
NGUITools.SetActive(LabelTip.gameObject, true)
|
||||
if (type(all) == "number") then
|
||||
if (all > 0) then
|
||||
local value = v / all
|
||||
progressBarTotal.value = value
|
||||
if (www4UpgradeCell ~= nil) then
|
||||
-- 说明有单个资源
|
||||
lbprogressBarTotal.text = joinStr(v, "/", all)
|
||||
end
|
||||
|
||||
-- 表明已经更新完成
|
||||
if (value == 1) then
|
||||
InvokeEx.cancelInvokeByUpdate(CLLPSplash.onProgressCell)
|
||||
NGUITools.SetActive(progressBarTotal.gameObject, false)
|
||||
NGUITools.SetActive(LabelTip.gameObject, false)
|
||||
NGUITools.SetActive(progressBar.gameObject, false)
|
||||
else
|
||||
-- 单个资源的进度
|
||||
CLLPSplash.onProgressCell()
|
||||
end
|
||||
else
|
||||
-- 表明已经更新完成
|
||||
if (value == 1) then
|
||||
InvokeEx.cancelInvokeByUpdate(CLLPSplash.onProgressCell)
|
||||
progressBarTotal.value = 0
|
||||
NGUITools.SetActive(progressBarTotal.gameObject, false)
|
||||
NGUITools.SetActive(LabelTip.gameObject, false)
|
||||
NGUITools.SetActive(progressBar.gameObject, false)
|
||||
else
|
||||
-- 单个资源的进度
|
||||
CLLPSplash.onProgressCell()
|
||||
end
|
||||
else
|
||||
print(joinStr("all====", all))
|
||||
InvokeEx.cancelInvokeByUpdate(CLLPSplash.onProgressCell)
|
||||
progressBarTotal.value = 0
|
||||
NGUITools.SetActive(progressBarTotal.gameObject, false)
|
||||
NGUITools.SetActive(LabelTip.gameObject, false)
|
||||
NGUITools.SetActive(progressBar.gameObject, false)
|
||||
end
|
||||
else
|
||||
print(joinStr("all====", all))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- 单个文件更新进度
|
||||
function CLLPSplash.onProgressCell(...)
|
||||
if (www4UpgradeCell ~= nil) then
|
||||
NGUITools.SetActive(progressBar.gameObject, true)
|
||||
progressBar.value = www4UpgradeCell.downloadProgress or 0
|
||||
InvokeEx.invokeByUpdate(CLLPSplash.onProgressCell, 0.02)
|
||||
else
|
||||
NGUITools.SetActive(progressBar.gameObject, false)
|
||||
InvokeEx.cancelInvokeByUpdate(CLLPSplash.onProgressCell)
|
||||
end
|
||||
-- 单个文件更新进度
|
||||
function CLLPSplash.onProgressCell(...)
|
||||
if (www4UpgradeCell ~= nil) then
|
||||
NGUITools.SetActive(progressBar.gameObject, true)
|
||||
progressBar.value = www4UpgradeCell.downloadProgress or 0
|
||||
InvokeEx.invokeByUpdate(CLLPSplash.onProgressCell, 0.02)
|
||||
else
|
||||
NGUITools.SetActive(progressBar.gameObject, false)
|
||||
InvokeEx.cancelInvokeByUpdate(CLLPSplash.onProgressCell)
|
||||
end
|
||||
end
|
||||
|
||||
-- 资源更新完成
|
||||
function CLLPSplash.onFinishResUpgrade(upgradeProcSuccess)
|
||||
print("CLLPSplash.onFinishResUpgrade")
|
||||
if (not upgradeProcSuccess) then
|
||||
print("UpgradeResFailed")
|
||||
else
|
||||
if (CLLVerManager.isHaveUpgrade()) then
|
||||
-- 说明有更新,重新启动
|
||||
if CLCfgBase.self.hotUpgrade4EachServer then
|
||||
CLCfgBase.self.isDirectEntry = true
|
||||
end
|
||||
csSelf:cancelInvoke4Lua()
|
||||
csSelf:invoke4Lua(CLLPSplash.reLoadGame, 0.1)
|
||||
return
|
||||
-- 资源更新完成
|
||||
function CLLPSplash.onFinishResUpgrade(upgradeProcSuccess)
|
||||
print("CLLPSplash.onFinishResUpgrade")
|
||||
if (not upgradeProcSuccess) then
|
||||
print("UpgradeResFailed")
|
||||
else
|
||||
if (CLLVerManager.isHaveUpgrade()) then
|
||||
-- 说明有更新,重新启动
|
||||
if CLCfgBase.self.hotUpgrade4EachServer then
|
||||
CLCfgBase.self.isDirectEntry = true
|
||||
end
|
||||
end
|
||||
|
||||
if CLCfgBase.self.hotUpgrade4EachServer then
|
||||
-- 准备开始游戏
|
||||
CLLPSplash.prepareStartGame()
|
||||
else
|
||||
--SetActive(ButtonEntry, true)
|
||||
CLLPSplash.accountLogin()
|
||||
end
|
||||
end
|
||||
|
||||
-- 重新启动lua
|
||||
function CLLPSplash.reLoadGame()
|
||||
--- 释放资源开始-------------------------------
|
||||
local cleanRes = function()
|
||||
if CLAlert ~= nil and CLAlert.csSelf ~= nil then
|
||||
GameObject.DestroyImmediate(CLAlert.csSelf.gameObject, true)
|
||||
end
|
||||
pcall(doSomethingBeforeRestart)
|
||||
pcall(releaseRes4GC, true)
|
||||
end
|
||||
--- 释放资源结束-------------------------------
|
||||
pcall(cleanRes)
|
||||
local panel = CLPanelManager.getPanel(CLMainBase.self.firstPanel)
|
||||
if panel then
|
||||
CLPanelManager.showPanel(panel)
|
||||
end
|
||||
CLMainBase.self:reStart()
|
||||
end
|
||||
|
||||
-- 准备开始游戏
|
||||
function CLLPSplash.prepareStartGame()
|
||||
CLLPSplash.checkSignCode()
|
||||
|
||||
if (progressBar ~= nil) then
|
||||
InvokeEx.cancelInvokeByUpdate(CLLPSplash.onProgressCell)
|
||||
NGUITools.SetActive(progressBar.gameObject, false)
|
||||
NGUITools.SetActive(progressBarTotal.gameObject, false)
|
||||
NGUITools.SetActive(LabelTip.gameObject, false)
|
||||
end
|
||||
|
||||
-- 播放背景音乐---------------
|
||||
-- SoundEx.playMainMusic()
|
||||
----------------------------
|
||||
end
|
||||
|
||||
function CLLPSplash.checkSignCode()
|
||||
-- 把热更新及加载ui完了后,再做验证签名
|
||||
if (not CLLPSplash.isSignCodeValid()) then
|
||||
CLUIUtl.showConfirm(Localization.Get("MsgTheVerIsNotCorrect"), nil)
|
||||
-- CLUIUtl.showConfirm("亲爱的玩家你所下载的版本可能是非官方版本,请到xxx去下载。非常感谢!", nil)
|
||||
csSelf:cancelInvoke4Lua()
|
||||
csSelf:invoke4Lua(CLLPSplash.reLoadGame, 0.1)
|
||||
return
|
||||
end
|
||||
|
||||
CLLPSplash.goNext()
|
||||
end
|
||||
|
||||
-- 签名是否有效(Only 4 android)
|
||||
function CLLPSplash.isSignCodeValid(...)
|
||||
if isNilOrEmpty(CLCfgBase.self.singinMd5Code) then
|
||||
return true
|
||||
end
|
||||
-- 取得签名串
|
||||
local md5Code = Utl.getSingInCodeAndroid()
|
||||
if CLCfgBase.self.hotUpgrade4EachServer then
|
||||
-- 准备开始游戏
|
||||
CLLPSplash.prepareStartGame()
|
||||
else
|
||||
--SetActive(ButtonEntry, true)
|
||||
CLLPSplash.accountLogin()
|
||||
end
|
||||
end
|
||||
|
||||
if (isNilOrEmpty(md5Code)) then
|
||||
if (string.lower(md5Code) ~= string.lower(CLCfgBase.self.singinMd5Code)) then
|
||||
return false
|
||||
end
|
||||
-- 重新启动lua
|
||||
function CLLPSplash.reLoadGame()
|
||||
--- 释放资源开始-------------------------------
|
||||
local cleanRes = function()
|
||||
if CLAlert ~= nil and CLAlert.csSelf ~= nil then
|
||||
GameObject.DestroyImmediate(CLAlert.csSelf.gameObject, true)
|
||||
end
|
||||
pcall(doSomethingBeforeRestart)
|
||||
pcall(releaseRes4GC, true)
|
||||
end
|
||||
--- 释放资源结束-------------------------------
|
||||
pcall(cleanRes)
|
||||
local panel = CLPanelManager.getPanel(CLMainBase.self.firstPanel)
|
||||
if panel then
|
||||
CLPanelManager.showPanel(panel)
|
||||
end
|
||||
CLMainBase.self:reStart()
|
||||
end
|
||||
|
||||
-- 准备开始游戏
|
||||
function CLLPSplash.prepareStartGame()
|
||||
CLLPSplash.checkSignCode()
|
||||
|
||||
if (progressBar ~= nil) then
|
||||
InvokeEx.cancelInvokeByUpdate(CLLPSplash.onProgressCell)
|
||||
NGUITools.SetActive(progressBar.gameObject, false)
|
||||
NGUITools.SetActive(progressBarTotal.gameObject, false)
|
||||
NGUITools.SetActive(LabelTip.gameObject, false)
|
||||
end
|
||||
|
||||
-- 播放背景音乐---------------
|
||||
-- SoundEx.playMainMusic()
|
||||
----------------------------
|
||||
end
|
||||
|
||||
function CLLPSplash.checkSignCode()
|
||||
-- 把热更新及加载ui完了后,再做验证签名
|
||||
if (not CLLPSplash.isSignCodeValid()) then
|
||||
CLUIUtl.showConfirm(Localization.Get("MsgTheVerIsNotCorrect"), nil)
|
||||
-- CLUIUtl.showConfirm("亲爱的玩家你所下载的版本可能是非官方版本,请到xxx去下载。非常感谢!", nil)
|
||||
return
|
||||
end
|
||||
|
||||
CLLPSplash.goNext()
|
||||
end
|
||||
|
||||
-- 签名是否有效(Only 4 android)
|
||||
function CLLPSplash.isSignCodeValid(...)
|
||||
if isNilOrEmpty(CLCfgBase.self.singinMd5Code) then
|
||||
return true
|
||||
end
|
||||
-- 取得签名串
|
||||
local md5Code = Utl.getSingInCodeAndroid()
|
||||
|
||||
function CLLPSplash.uiEventDelegate(go)
|
||||
end
|
||||
|
||||
function CLLPSplash.goNext()
|
||||
if CLCfgBase.self.isDirectEntry then
|
||||
CLCfgBase.self.isDirectEntry = false
|
||||
if (isNilOrEmpty(md5Code)) then
|
||||
if (string.lower(md5Code) ~= string.lower(CLCfgBase.self.singinMd5Code)) then
|
||||
return false
|
||||
end
|
||||
CLPanelManager.getPanelAsy("PanelStart", onLoadedPanel, { user, server })
|
||||
end
|
||||
|
||||
-- 当按了返回键时,关闭自己(返值为true时关闭)
|
||||
function CLLPSplash.hideSelfOnKeyBack( )
|
||||
return false
|
||||
end
|
||||
----------------------------------------------
|
||||
return CLLPSplash
|
||||
return true
|
||||
end
|
||||
|
||||
function CLLPSplash.uiEventDelegate(go)
|
||||
end
|
||||
|
||||
function CLLPSplash.goNext()
|
||||
if CLCfgBase.self.isDirectEntry then
|
||||
CLCfgBase.self.isDirectEntry = false
|
||||
end
|
||||
CLPanelManager.getPanelAsy("PanelStart", onLoadedPanel, {user, server})
|
||||
end
|
||||
|
||||
-- 当按了返回键时,关闭自己(返值为true时关闭)
|
||||
function CLLPSplash.hideSelfOnKeyBack()
|
||||
return false
|
||||
end
|
||||
----------------------------------------------
|
||||
return CLLPSplash
|
||||
|
||||
@@ -153,26 +153,22 @@ function CLLPStart.connectServer()
|
||||
-- Net.self:connect(selectedServer.host, bio2number(selectedServer.port))
|
||||
|
||||
isLogined = true
|
||||
CLLPStart.selectServer(
|
||||
function()
|
||||
NetProto.init(
|
||||
function(success)
|
||||
if success then
|
||||
CLLPStart.showGuid()
|
||||
else
|
||||
CLUIUtl.showConfirm(
|
||||
"与服务器失去联系",
|
||||
false,
|
||||
"重试",
|
||||
CLLPStart.connectServer,
|
||||
"退出",
|
||||
function()
|
||||
Application.Quit()
|
||||
end
|
||||
)
|
||||
NetProto.init(
|
||||
function(success)
|
||||
if success then
|
||||
CLLPStart.showGuid()
|
||||
else
|
||||
CLUIUtl.showConfirm(
|
||||
"与服务器失去联系",
|
||||
false,
|
||||
"重试",
|
||||
CLLPStart.connectServer,
|
||||
"退出",
|
||||
function()
|
||||
Application.Quit()
|
||||
end
|
||||
end
|
||||
)
|
||||
)
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
@@ -266,25 +262,6 @@ CLLPStart.showGuid = function()
|
||||
end
|
||||
end
|
||||
|
||||
CLLPStart.selectServer = function(callback)
|
||||
local userName = Prefs.getUserName()
|
||||
if isNilOrEmpty(userName) then
|
||||
Utl.doCallback(callback)
|
||||
return
|
||||
end
|
||||
|
||||
DBUser.isWhiteUser(
|
||||
userName,
|
||||
function(iswhite)
|
||||
if iswhite then
|
||||
getPanelAsy("PanelSelectServer", onLoadedPanelTT, {callback = callback})
|
||||
else
|
||||
Utl.doCallback(callback)
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
CLLPStart.hideSplash = function()
|
||||
local p2 = CLPanelManager.getPanel("PanelSplash")
|
||||
if (p2 ~= nil) then
|
||||
|
||||
@@ -6,7 +6,7 @@ local transform = nil
|
||||
CSPMine.sizeAdjust = 1
|
||||
CSPMine.contentRect = Vector4.zero
|
||||
local objs = {}
|
||||
local headData = {}
|
||||
local mdata = {}
|
||||
|
||||
-- 初始化,只会调用一次
|
||||
function CSPMine.init(csObj)
|
||||
@@ -29,30 +29,31 @@ end
|
||||
-- 设置数据
|
||||
function CSPMine.setData(paras)
|
||||
-- 初始化顶部数据
|
||||
local currGroup = Prefs.getCurrGroup(Prefs.getUserName())
|
||||
local companyInfro = json.decode(currGroup)
|
||||
local user = DBUser.getUserById(companyInfro.login_no)
|
||||
headData.company_id = companyInfro.company_id
|
||||
headData.company_name = companyInfro.company_name
|
||||
if user then
|
||||
headData.loginNo = user.loginNo
|
||||
headData.loginName = user.loginName
|
||||
headData.imageUrl = user.imageUrl
|
||||
else
|
||||
printe("账号信息未取得!")
|
||||
end
|
||||
-- local currGroup = Prefs.getCurrGroup(Prefs.getUserName())
|
||||
-- local companyInfro = json.decode(currGroup)
|
||||
-- local user = DBUser.getUserById(companyInfro.login_no)
|
||||
-- headData.company_id = companyInfro.company_id
|
||||
-- headData.company_name = companyInfro.company_name
|
||||
-- if user then
|
||||
-- headData.loginNo = user.loginNo
|
||||
-- headData.loginName = user.loginName
|
||||
-- headData.imageUrl = user.imageUrl
|
||||
-- else
|
||||
-- printe("账号信息未取得!")
|
||||
-- end
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function CSPMine.show()
|
||||
mdata = DBUser.getMyInfor()
|
||||
CSPMine.setHeadInfor()
|
||||
objs.scrollView:ResetPosition()
|
||||
end
|
||||
|
||||
function CSPMine.setHeadInfor()
|
||||
objs.Top:setValue(headData)
|
||||
objs.Top:setValue(mdata)
|
||||
DBUser.getIcon(
|
||||
headData.loginNo,
|
||||
mdata.loginNo,
|
||||
function(content)
|
||||
objs.HeadIcon.mainTexture = content
|
||||
end
|
||||
@@ -69,6 +70,11 @@ end
|
||||
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function CSPMine.procNetwork(cmd, succ, msg, paras)
|
||||
if (succ == NetSuccess) then
|
||||
if cmd == NetProto.cmds.personal_data_query then
|
||||
CSPMine.show()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- 处理ui上的事件,例如点击等
|
||||
|
||||
@@ -8,8 +8,8 @@ CSPMsg.contentRect = Vector4.zero
|
||||
local objs = {}
|
||||
local defaulList = {
|
||||
{icon="news_news_1", bgColor=0xfff1c40f,type=DBMessage.MsgType.Sys, name="公告"},
|
||||
{icon="news_news_2", bgColor=0xff2990dc,type=DBMessage.MsgType.SysNotice, name="系统消息"},
|
||||
{icon="news_news_3", bgColor=0xff1abc9c,type=DBMessage.MsgType.Task, name="待办任务"},
|
||||
-- {icon="news_news_2", bgColor=0xff2990dc,type=DBMessage.MsgType.SysNotice, name="系统消息"},
|
||||
-- {icon="news_news_3", bgColor=0xff1abc9c,type=DBMessage.MsgType.Task, name="待办任务"},
|
||||
}
|
||||
|
||||
-- 初始化,只会调用一次
|
||||
|
||||
@@ -13,7 +13,7 @@ function CSPTasks.init(csObj)
|
||||
csSelf = csObj
|
||||
transform = csObj.transform
|
||||
CSPTasks.setEventDelegate()
|
||||
CSPTasks.contentRect = MyUtl.getUIContent(csSelf, 360+220)
|
||||
CSPTasks.contentRect = MyUtl.getUIContent(csSelf, 360 + 220)
|
||||
|
||||
uiobjs.Content = getCC(transform, "PanelContent", "UIPanel")
|
||||
uiobjs.Content.transform.localPosition = Vector3.zero
|
||||
@@ -21,8 +21,15 @@ function CSPTasks.init(csObj)
|
||||
uiobjs.Content.baseClipRegion = CSPTasks.contentRect
|
||||
|
||||
uiobjs.TableContent = getCC(uiobjs.Content.transform, "Table", "UITable")
|
||||
|
||||
---@type UIGrid
|
||||
local CustManageGrid = getCC(uiobjs.TableContent.transform, "CustManage/grid", "UIGrid")
|
||||
CustManageGrid.cellWidth = NumEx.getIntPart((CSPTasks.contentRect.z - 100) / 4)
|
||||
local SellManageGrid = getCC(uiobjs.TableContent.transform, "SellManage/grid", "UIGrid")
|
||||
SellManageGrid.cellWidth = NumEx.getIntPart((CSPTasks.contentRect.z - 100) / 4)
|
||||
|
||||
---@type UIToggle
|
||||
uiobjs.ToggleCust = getCC(uiobjs.TableContent.transform, "Statistics/grid/ToggleCust", "UIToggle")
|
||||
uiobjs.ToggleOrder = getCC(uiobjs.TableContent.transform, "Statistics/grid/ToggleOrder", "UIToggle")
|
||||
uiobjs.Statistics = getChild(uiobjs.TableContent.transform, "Statistics")
|
||||
|
||||
---@type UIScrollView
|
||||
@@ -63,8 +70,8 @@ function CSPTasks.show()
|
||||
end
|
||||
-- uiobjs.TableTask:setList(list, nil)
|
||||
|
||||
uiobjs.ToggleCust:Set(true)
|
||||
CSPTasks.showReportform("reportform1")
|
||||
uiobjs.ToggleOrder:Set(true)
|
||||
CSPTasks.showReportform("reportform2")
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
|
||||
@@ -165,7 +172,9 @@ function CSPTasks.setEventDelegate()
|
||||
ButtonGoods = function()
|
||||
getPanelAsy("PanelProductList", onLoadedPanelTT)
|
||||
end,
|
||||
|
||||
ButtonTask = function()
|
||||
getPanelAsy("PanelTaskList", onLoadedPanelTT)
|
||||
end
|
||||
}
|
||||
end
|
||||
-- 处理ui上的事件,例如点击等
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
---@type IDBasePanel
|
||||
local TRBasePanel = require("ui.panel.TRBasePanel")
|
||||
---@class TRPBatchGetCusts:TRBasePanel 邮件列表
|
||||
local TRPBatchGetCusts = class("TRPBatchGetCusts", TRBasePanel)
|
||||
|
||||
local uiobjs = {}
|
||||
-- 初始化,只会调用一次
|
||||
function TRPBatchGetCusts:init(csObj)
|
||||
TRPBatchGetCusts.super.init(self, csObj)
|
||||
|
||||
self:setEventDelegate()
|
||||
---@type UIToggle
|
||||
uiobjs.Toggle10 = getCC(self.transform, "Toggle10", "UIToggle")
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPBatchGetCusts
|
||||
function TRPBatchGetCusts:setData(paras)
|
||||
self.mdata = paras
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPBatchGetCusts:show()
|
||||
uiobjs.Toggle10:Set(true)
|
||||
end
|
||||
|
||||
-- 刷新
|
||||
function TRPBatchGetCusts:refresh()
|
||||
end
|
||||
|
||||
-- 关闭页面
|
||||
function TRPBatchGetCusts:hide()
|
||||
end
|
||||
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function TRPBatchGetCusts:procNetwork(cmd, succ, msg, paras)
|
||||
if (succ == NetSuccess) then
|
||||
--[[
|
||||
if cmd == xx then
|
||||
end
|
||||
]]
|
||||
end
|
||||
end
|
||||
|
||||
function TRPBatchGetCusts:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
Toggle10 = function(go)
|
||||
---@type UIToggle
|
||||
local toggle = go:GetComponent("UIToggle")
|
||||
if toggle and toggle.value then
|
||||
self.number = 10
|
||||
end
|
||||
end,
|
||||
Toggle20 = function(go)
|
||||
---@type UIToggle
|
||||
local toggle = go:GetComponent("UIToggle")
|
||||
if toggle and toggle.value then
|
||||
self.number = 20
|
||||
end
|
||||
end,
|
||||
Toggle100 = function(go)
|
||||
---@type UIToggle
|
||||
local toggle = go:GetComponent("UIToggle")
|
||||
if toggle and toggle.value then
|
||||
self.number = 100
|
||||
end
|
||||
end,
|
||||
ButtonCancel = function()
|
||||
hideTopPanel(self.csSelf)
|
||||
end,
|
||||
ButtonOkay = function()
|
||||
showHotWheel()
|
||||
local params = {
|
||||
getNum = self.number,
|
||||
oprType = "byNum"
|
||||
}
|
||||
NetProto.send.getFromGH(
|
||||
params,
|
||||
function(content)
|
||||
if content.success then
|
||||
hideTopPanel(self.csSelf)
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
}
|
||||
end
|
||||
-- 处理ui上的事件,例如点击等
|
||||
function TRPBatchGetCusts:uiEventDelegate(go)
|
||||
local func = self.EventDelegate[go.name]
|
||||
if func then
|
||||
func(go)
|
||||
end
|
||||
end
|
||||
|
||||
-- 当顶层页面发生变化时回调
|
||||
function TRPBatchGetCusts:onTopPanelChange(topPanel)
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return TRPBatchGetCusts
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f6153d69187e14c91938a886e2430f2a
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -11,6 +11,7 @@ function TRPBindPhone:init(csObj)
|
||||
MyUtl.setContentView(uiobjs.content)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollview = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
uiobjs.formRoot = getCC(uiobjs.scrollview.transform, "Table", "CLUIFormRoot")
|
||||
self:setEventDelegate()
|
||||
end
|
||||
|
||||
@@ -18,6 +18,7 @@ function TRPComFilter:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 132 + 50, 190)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollview = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollview.dampenStrength = MyUtl.dampenStrength
|
||||
uiobjs.Table = getCC(self.transform, "PanelContent/Grid", "UITable")
|
||||
uiobjs.prefab = getChild(uiobjs.Table.transform, "00000").gameObject
|
||||
uiobjs.InputSeachKey = getCC(self.transform, "Top/InputSeachKey", "UIInput")
|
||||
|
||||
@@ -18,6 +18,7 @@ function TRPCustDetail:init(csObj)
|
||||
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
|
||||
@@ -79,6 +80,7 @@ function TRPCustDetail:prepareMoreData()
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.moreProcList, attr)
|
||||
|
||||
--[[
|
||||
attr = {}
|
||||
attr.id = "smsList"
|
||||
attr.attrName = "短信记录"
|
||||
@@ -96,6 +98,7 @@ function TRPCustDetail:prepareMoreData()
|
||||
attr.height = 180
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.moreProcList, attr)
|
||||
]]
|
||||
--------------------------------------------
|
||||
|
||||
self.sysFields = {}
|
||||
@@ -164,6 +167,7 @@ end
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPCustDetail
|
||||
function TRPCustDetail:setData(paras)
|
||||
---@type _DBCust
|
||||
self.mdata = paras
|
||||
self.mdata._phoneNo = MyUtl.hidePhone(self.mdata.phoneNo)
|
||||
if type(self.mdata.jsonStr) == "string" then
|
||||
@@ -248,6 +252,7 @@ function TRPCustDetail:showDetail()
|
||||
CLUIUtl.resetList4Lua(uiobjs.starGrid2, uiobjs.starGridPrefab2, stars, self:wrapFunc(self.initStarCell))
|
||||
|
||||
uiobjs.Table:Reposition()
|
||||
uiobjs.scrollView.restrictWithinPanel = true
|
||||
uiobjs.scrollView.disableDragIfFits = true
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
@@ -304,6 +309,11 @@ function TRPCustDetail:showRecords()
|
||||
SetActive(uiobjs.OrderRoot.gameObject, false)
|
||||
SetActive(uiobjs.Records.gameObject, true)
|
||||
SetActive(uiobjs.MoreRoot.gameObject, false)
|
||||
if self.records == nil or #(self.records.data) then
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, true)
|
||||
else
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, false)
|
||||
end
|
||||
if self.records then
|
||||
uiobjs.Records:setList(
|
||||
self.records.data or {},
|
||||
@@ -317,9 +327,7 @@ function TRPCustDetail:showRecords()
|
||||
uiobjs.Records:setList({}, self:wrapFunc(self.initRecordCell))
|
||||
end
|
||||
|
||||
uiobjs.Table:Reposition()
|
||||
uiobjs.scrollView.disableDragIfFits = false
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
self:reposition()
|
||||
end
|
||||
|
||||
function TRPCustDetail:initRecordCell(cell, data)
|
||||
@@ -350,6 +358,12 @@ function TRPCustDetail:showOrders()
|
||||
SetActive(uiobjs.Records.gameObject, false)
|
||||
SetActive(uiobjs.OrderRoot.gameObject, true)
|
||||
SetActive(uiobjs.MoreRoot.gameObject, false)
|
||||
|
||||
if self.orders == nil or #(self.orders.data) then
|
||||
SetActive(uiobjs.ButtonEndListOrder.gameObject, true)
|
||||
else
|
||||
SetActive(uiobjs.ButtonEndListOrder.gameObject, false)
|
||||
end
|
||||
if self.orders then
|
||||
uiobjs.OrderRoot:setList(
|
||||
self.orders.data or {},
|
||||
@@ -419,17 +433,19 @@ function TRPCustDetail:showMore()
|
||||
end
|
||||
|
||||
uiobjs.Table:Reposition()
|
||||
uiobjs.scrollView.restrictWithinPanel = true
|
||||
uiobjs.scrollView.disableDragIfFits = true
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
|
||||
---@param el CLUIElement
|
||||
function TRPCustDetail:onClickMoreProc(el)
|
||||
MyUtl.toastW("TODO:" .. el.jsonKey)
|
||||
if el.jsonKey == "follows" then
|
||||
-- 跟进记录
|
||||
getPanelAsy("PanelFollowList", onLoadedPanelTT, {custId = self.mdata.custId})
|
||||
elseif el.jsonKey == "followTasks" then
|
||||
-- 预约记录
|
||||
getPanelAsy("PanelTaskList", onLoadedPanelTT, {custId = self.mdata.custId})
|
||||
elseif el.jsonKey == "smsList" then
|
||||
-- 短信记录
|
||||
elseif el.jsonKey == "opList" then
|
||||
|
||||
@@ -0,0 +1,295 @@
|
||||
---@type IDBasePanel
|
||||
local TRBasePanel = require("ui.panel.TRBasePanel")
|
||||
---@class TRPCustDetailSimple:TRBasePanel
|
||||
local TRPCustDetailSimple = class("TRPCustDetailSimple", TRBasePanel)
|
||||
|
||||
local uiobjs = {}
|
||||
-- 初始化,只会调用一次
|
||||
function TRPCustDetailSimple:init(csObj)
|
||||
TRPCustDetailSimple.super.init(self, csObj)
|
||||
|
||||
self:prepareMoreData()
|
||||
self:setEventDelegate()
|
||||
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 400 + 40, 200)
|
||||
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
|
||||
uiobjs.Head = getCC(self.transform, "Top/SpriteHead", "CLUIFormRoot")
|
||||
---@type UIPopupList
|
||||
uiobjs.LabelStatus = getCC(uiobjs.Head.transform, "LabelStatus", "UIPopupList")
|
||||
uiobjs.LabelType = getCC(uiobjs.Head.transform, "LabelType", "UIPopupList")
|
||||
uiobjs.LabelLoginNo = getCC(uiobjs.Head.transform, "LabelLoginNo", "UIPopupList")
|
||||
uiobjs.starGrid = getCC(uiobjs.Head.transform, "LabelStars/Grid", "UIGrid")
|
||||
uiobjs.starGridPrefab = getChild(uiobjs.starGrid.transform, "00000").gameObject
|
||||
|
||||
---@type CLUIFormRoot
|
||||
uiobjs.DetailRoot = getCC(uiobjs.Table.transform, "DetailRoot", "CLUIFormRoot")
|
||||
uiobjs.InputTask = getCC(uiobjs.DetailRoot.transform, "InputTask", "UIPopupList")
|
||||
uiobjs.InputCustType = getCC(uiobjs.DetailRoot.transform, "InputCustType", "UIPopupList")
|
||||
uiobjs.InputStatus = getCC(uiobjs.DetailRoot.transform, "InputStatus", "UIPopupList")
|
||||
uiobjs.InputFrom = getCC(uiobjs.DetailRoot.transform, "InputFrom", "UIPopupList")
|
||||
uiobjs.InputLogin = getCC(uiobjs.DetailRoot.transform, "InputLogin", "UIPopupList")
|
||||
uiobjs.starGrid2 = getCC(uiobjs.DetailRoot.transform, "InputStars/Grid", "UIGrid")
|
||||
uiobjs.starGridPrefab2 = getChild(uiobjs.starGrid2.transform, "00000").gameObject
|
||||
uiobjs.ExtendRoot = getCC(uiobjs.Table.transform, "ExtendRoot", "CLCellLua")
|
||||
uiobjs.SysRoot = getCC(uiobjs.Table.transform, "SysRoot", "CLCellLua")
|
||||
end
|
||||
|
||||
function TRPCustDetailSimple:prepareMoreData()
|
||||
self.sysFields = {}
|
||||
---@type _ParamFieldAttr
|
||||
local attr = {}
|
||||
attr.id = "loginNo"
|
||||
attr.attrName = "创建人员"
|
||||
attr.attrType = DBCust.FieldType.popuplist
|
||||
attr.ifMust = 0
|
||||
attr.height = 180
|
||||
attr.donotJoinKey = true
|
||||
local popInfor = DBUser.getPopList(DBUser.FilterGroup.user)
|
||||
attr.popOptions = popInfor.options
|
||||
attr.popValues = popInfor.values
|
||||
table.insert(self.sysFields, attr)
|
||||
---@type _ParamFieldAttr
|
||||
attr = {}
|
||||
attr.id = "groupId"
|
||||
attr.attrName = "所属部门"
|
||||
attr.attrType = DBCust.FieldType.popuplist
|
||||
attr.ifMust = 0
|
||||
attr.height = 180
|
||||
attr.donotJoinKey = true
|
||||
local popInfor = DBUser.getPopList(DBUser.FilterGroup.group)
|
||||
attr.popOptions = popInfor.options
|
||||
attr.popValues = popInfor.values
|
||||
table.insert(self.sysFields, attr)
|
||||
---@type _ParamFieldAttr
|
||||
attr = {}
|
||||
attr.id = "createTime"
|
||||
attr.attrName = "创建时间"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.height = 180
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.sysFields, attr)
|
||||
---@type _ParamFieldAttr
|
||||
attr = {}
|
||||
attr.id = "updateTime"
|
||||
attr.attrName = "更新时间"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.height = 180
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.sysFields, attr)
|
||||
---@type _ParamFieldAttr
|
||||
attr = {}
|
||||
attr.id = "lastFollowUpTime"
|
||||
attr.attrName = "最后跟进"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.height = 180
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.sysFields, attr)
|
||||
---@type _ParamFieldAttr
|
||||
attr = {}
|
||||
attr.id = "followupTime"
|
||||
attr.attrName = "下次跟进"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.height = 180
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.sysFields, attr)
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPCustDetailSimple
|
||||
function TRPCustDetailSimple:setData(paras)
|
||||
---@type _DBCust
|
||||
self.mdata = paras
|
||||
self.mdata._phoneNo = MyUtl.hidePhone(self.mdata.phoneNo)
|
||||
if type(self.mdata.jsonStr) == "string" then
|
||||
self.mdata.jsonStr = json.decode(self.mdata.jsonStr)
|
||||
end
|
||||
end
|
||||
|
||||
---public 当有通用背板显示时的回调
|
||||
---@param cs Coolape.CLPanelLua
|
||||
function TRPCustDetailSimple:onShowFrame(cs)
|
||||
if cs.frameObj then
|
||||
---@type _BGFrame1Param
|
||||
local d = {}
|
||||
-- d.title = LGet(cs.titleKeyName)
|
||||
d.title = self.mdata.companyName
|
||||
d.panel = cs
|
||||
cs.frameObj:init(d)
|
||||
end
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPCustDetailSimple:show()
|
||||
self.records = nil
|
||||
self.orders = nil
|
||||
local optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.dealFlagList)
|
||||
uiobjs.LabelStatus:refreshItems(optionInfor.options, optionInfor.values)
|
||||
uiobjs.InputStatus:refreshItems(optionInfor.options, optionInfor.values)
|
||||
optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.custTypeList)
|
||||
uiobjs.LabelType:refreshItems(optionInfor.options, optionInfor.values)
|
||||
uiobjs.InputCustType:refreshItems(optionInfor.options, optionInfor.values)
|
||||
optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.custFromList)
|
||||
uiobjs.InputFrom:refreshItems(optionInfor.options, optionInfor.values)
|
||||
optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.taskList)
|
||||
uiobjs.InputTask:refreshItems(optionInfor.options, optionInfor.values)
|
||||
local poplist = DBUser.getPopList(DBUser.FilterGroup.user)
|
||||
uiobjs.InputLogin:refreshItems(poplist.options, poplist.values)
|
||||
uiobjs.LabelLoginNo:refreshItems(poplist.options, poplist.values)
|
||||
-- 设置星级
|
||||
local stars = {}
|
||||
for i = 1, 5 do
|
||||
table.insert(stars, i <= (self.mdata.customerLabel or 0) and true or false)
|
||||
end
|
||||
CLUIUtl.resetList4Lua(uiobjs.starGrid, uiobjs.starGridPrefab, stars, self:wrapFunc(self.initStarCell))
|
||||
|
||||
self:showDetail()
|
||||
end
|
||||
|
||||
function TRPCustDetailSimple:initStarCell(cell, data)
|
||||
local sp = cell:GetComponent("UISprite")
|
||||
if data then
|
||||
sp.color = ColorEx.getColor(0xffFFC000)
|
||||
CLUIUtl.setSpriteFit(sp, "cust_full_star")
|
||||
else
|
||||
sp.color = ColorEx.getColor(0xffd9d9d9)
|
||||
CLUIUtl.setSpriteFit(sp, "cust_star")
|
||||
end
|
||||
end
|
||||
|
||||
function TRPCustDetailSimple:showDetail()
|
||||
self:release()
|
||||
SetActive(uiobjs.DetailRoot.gameObject, true)
|
||||
SetActive(uiobjs.ExtendRoot.gameObject, true)
|
||||
SetActive(uiobjs.SysRoot.gameObject, true)
|
||||
uiobjs.DetailRoot:setValue(self.mdata)
|
||||
|
||||
-- uiobjs.ExtendRoot:init({data = self.mdata, isEditMode = false}, nil)
|
||||
self:showExtentFiles(self.mdata.taskId)
|
||||
self:showSysFiles()
|
||||
|
||||
-- 设置星级
|
||||
local stars = {}
|
||||
for i = 1, 5 do
|
||||
table.insert(stars, i <= (self.mdata.customerLabel or 0) and true or false)
|
||||
end
|
||||
CLUIUtl.resetList4Lua(uiobjs.starGrid, uiobjs.starGridPrefab, stars, self:wrapFunc(self.initStarCell))
|
||||
CLUIUtl.resetList4Lua(uiobjs.starGrid2, uiobjs.starGridPrefab2, stars, self:wrapFunc(self.initStarCell))
|
||||
|
||||
uiobjs.Table:Reposition()
|
||||
uiobjs.scrollView.restrictWithinPanel = true
|
||||
uiobjs.scrollView.disableDragIfFits = true
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
|
||||
function TRPCustDetailSimple:reposition()
|
||||
uiobjs.Table:Reposition()
|
||||
uiobjs.scrollView.disableDragIfFits = true
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
|
||||
---public 显示扩展字段
|
||||
function TRPCustDetailSimple:showExtentFiles(taskId)
|
||||
---@type _ParamCellExtendFiledRoot
|
||||
local param = {}
|
||||
param.data = self.mdata and self.mdata.jsonStr or {}
|
||||
-- param.onFinish = self:wrapFunc(self.setExtendFieldsMode)
|
||||
param.fields = {}
|
||||
local fields = DBCust.getFieldsByTask(taskId) or {}
|
||||
---@type _ParamCellExtendFiled
|
||||
local filedInfor
|
||||
for i, v in ipairs(fields) do
|
||||
filedInfor = {}
|
||||
filedInfor.attr = v
|
||||
filedInfor.showMode = _FieldMode.showOnly
|
||||
table.insert(param.fields, filedInfor)
|
||||
end
|
||||
uiobjs.ExtendRoot:init(param, nil)
|
||||
end
|
||||
|
||||
---public 显示扩展字段
|
||||
function TRPCustDetailSimple:showSysFiles()
|
||||
---@type _ParamCellExtendFiledRoot
|
||||
local param = {}
|
||||
param.data = self.mdata
|
||||
param.onFinish = self:wrapFunc(self.reposition)
|
||||
param.fields = {}
|
||||
local fields = self.sysFields
|
||||
---@type _ParamCellExtendFiled
|
||||
local filedInfor
|
||||
for i, v in ipairs(fields) do
|
||||
filedInfor = {}
|
||||
filedInfor.attr = v
|
||||
filedInfor.showMode = _FieldMode.showOnly
|
||||
table.insert(param.fields, filedInfor)
|
||||
end
|
||||
uiobjs.SysRoot:init(param, nil)
|
||||
end
|
||||
|
||||
-- 刷新
|
||||
function TRPCustDetailSimple:refresh()
|
||||
end
|
||||
|
||||
function TRPCustDetailSimple:release()
|
||||
if uiobjs.ExtendRoot.luaTable then
|
||||
uiobjs.ExtendRoot.luaTable.release()
|
||||
end
|
||||
if uiobjs.SysRoot.luaTable then
|
||||
uiobjs.SysRoot.luaTable.release()
|
||||
end
|
||||
self.hasSetMoreProc = false
|
||||
end
|
||||
|
||||
-- 关闭页面
|
||||
function TRPCustDetailSimple:hide()
|
||||
self:release()
|
||||
end
|
||||
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function TRPCustDetailSimple:procNetwork(cmd, succ, msg, paras)
|
||||
if (succ == NetSuccess) then
|
||||
end
|
||||
end
|
||||
|
||||
function TRPCustDetailSimple:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
ButtonGet = function()
|
||||
showHotWheel()
|
||||
local params = {
|
||||
ids = self.mdata.custId,
|
||||
oprType = "byId"
|
||||
}
|
||||
NetProto.send.getFromGH(
|
||||
params,
|
||||
function(content)
|
||||
if content.success then
|
||||
hideTopPanel(self.csSelf)
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
}
|
||||
end
|
||||
-- 处理ui上的事件,例如点击等
|
||||
function TRPCustDetailSimple:uiEventDelegate(go)
|
||||
local func = self.EventDelegate[go.name]
|
||||
if func then
|
||||
func()
|
||||
end
|
||||
end
|
||||
|
||||
-- 当顶层页面发生变化时回调
|
||||
function TRPCustDetailSimple:onTopPanelChange(topPanel)
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return TRPCustDetailSimple
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 18e98cb359e864eceba463ac0d59d4bf
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -15,6 +15,7 @@ function TRPCustList:init(csObj)
|
||||
uiobjs.ButtonFilterLb = getCC(uiobjs.ButtonFilterSp.transform, "Label", "UILabel")
|
||||
---@type CLUIScrollViewWithEvent
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "CLUIScrollViewWithEvent")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
uiobjs.scrollView:init(
|
||||
self:wrapFunc(self.onShowRefreshFlg),
|
||||
self:wrapFunc(self.onhideRefreshFlg),
|
||||
@@ -119,13 +120,16 @@ function TRPCustList:appList(list)
|
||||
end
|
||||
|
||||
function TRPCustList:onShowRefreshFlg()
|
||||
-- printe("TRPCustList:onShowRefreshFlg")
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 300, 0)
|
||||
if uiobjs.Grid.list.Count > 0 then
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 300, 0)
|
||||
else
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 100, 0)
|
||||
end
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, true)
|
||||
end
|
||||
function TRPCustList:onhideRefreshFlg()
|
||||
-- printe("TRPCustList:onhideRefreshFlg")
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, false)
|
||||
-- uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
function TRPCustList:refreshList()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
|
||||
@@ -12,6 +12,7 @@ function TRPCustListProc:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 30, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollview = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
uiobjs.grid = getCC(self.transform, "PanelContent/Grid", "CLUILoopGrid")
|
||||
end
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ function TRPFollowFilter:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 132 + 50, 190)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollview = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
uiobjs.Table = getCC(self.transform, "PanelContent/Grid", "UITable")
|
||||
uiobjs.prefab = getChild(uiobjs.Table.transform, "00000").gameObject
|
||||
uiobjs.InputSeachKey = getCC(self.transform, "Top/InputSeachKey", "UIInput")
|
||||
|
||||
@@ -10,11 +10,13 @@ function TRPFollowList:init(csObj)
|
||||
self:initFilters()
|
||||
self:setEventDelegate()
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 132 + 40, 0)
|
||||
---@type UIInput
|
||||
uiobjs.InputSeachKey = getCC(self.transform, "Top/InputSeachKey", "UIInput")
|
||||
uiobjs.ButtonFilterSp = getCC(self.transform, "Top/ButtonFilter", "UISprite")
|
||||
uiobjs.ButtonFilterLb = getCC(uiobjs.ButtonFilterSp.transform, "Label", "UILabel")
|
||||
---@type CLUIScrollViewWithEvent
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "CLUIScrollViewWithEvent")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
uiobjs.scrollView:init(
|
||||
self:wrapFunc(self.onShowRefreshFlg),
|
||||
self:wrapFunc(self.onhideRefreshFlg),
|
||||
@@ -91,8 +93,14 @@ end
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPFollowList:show()
|
||||
uiobjs.InputSeachKey.value = ""
|
||||
if self.mdata and self.mdata.custId then
|
||||
uiobjs.InputSeachKey.collider.enabled = false
|
||||
else
|
||||
uiobjs.InputSeachKey.collider.enabled = true
|
||||
end
|
||||
self:refreshFilterBtnStatus()
|
||||
self:showList({})
|
||||
self.filterValue = self:getFilterStr()
|
||||
showHotWheel()
|
||||
NetProto.send.list_followUp_records(self.filterValue, "", 1)
|
||||
end
|
||||
@@ -120,13 +128,16 @@ function TRPFollowList:appList(list)
|
||||
end
|
||||
|
||||
function TRPFollowList:onShowRefreshFlg()
|
||||
-- printe("TRPFollowList:onShowRefreshFlg")
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 395, 0)
|
||||
if uiobjs.Grid.list.Count > 0 then
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 395, 0)
|
||||
else
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 100, 0)
|
||||
end
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, true)
|
||||
end
|
||||
function TRPFollowList:onhideRefreshFlg()
|
||||
-- printe("TRPFollowList:onhideRefreshFlg")
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, false)
|
||||
-- uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
function TRPFollowList:refreshList()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
@@ -158,7 +169,7 @@ function TRPFollowList:initCell(cell, data)
|
||||
end
|
||||
|
||||
function TRPFollowList:onClickCell(cell, data)
|
||||
getPanelAsy("PanelCustDetail", onLoadedPanelTT, data)
|
||||
getPanelAsy("PanelNewFollow", onLoadedPanelTT, data)
|
||||
end
|
||||
|
||||
function TRPFollowList:refreshFilterBtnStatus()
|
||||
@@ -222,6 +233,7 @@ function TRPFollowList:setEventDelegate()
|
||||
"PanelComFilter",
|
||||
onLoadedPanelTT,
|
||||
{
|
||||
title = "跟进筛选",
|
||||
callback = self:wrapFunc(self.onSetFilter),
|
||||
queryKey = uiobjs.InputSeachKey.value,
|
||||
defautFilter = self.filters,
|
||||
@@ -237,20 +249,19 @@ function TRPFollowList:setEventDelegate()
|
||||
end
|
||||
|
||||
function TRPFollowList:getFilterStr()
|
||||
if not self.filters then
|
||||
return ""
|
||||
end
|
||||
local ret = {}
|
||||
if self.mdata and self.mdata.custId then
|
||||
ret.custId = self.mdata.custId
|
||||
end
|
||||
if not self.filters then
|
||||
return ret
|
||||
end
|
||||
for i, g in ipairs(self.filters) do
|
||||
local list = {}
|
||||
if g.list then
|
||||
for j, f in ipairs(g.list) do
|
||||
if f.selected and f.value ~= -1 then
|
||||
if g.key == DBCust.FilterGroup.opportunityList or g.key == DBCust.FilterGroup.followUpTypeList then
|
||||
table.insert(list, f.name)
|
||||
else
|
||||
table.insert(list, f.value)
|
||||
end
|
||||
table.insert(list, f.value)
|
||||
end
|
||||
end
|
||||
ret[g.key2] = table.concat(list, ",")
|
||||
|
||||
@@ -13,6 +13,7 @@ function TRPMyInfor:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 40 + 300, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
---@type CLUIFormRoot
|
||||
@@ -34,7 +35,7 @@ function TRPMyInfor:initFiledsAttr()
|
||||
attr.attrName = "姓名"
|
||||
attr.id = "loginName"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.ifMust = 1
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.baseFiledsAttr, attr)
|
||||
|
||||
@@ -49,7 +50,7 @@ function TRPMyInfor:initFiledsAttr()
|
||||
|
||||
attr = {}
|
||||
attr.attrName = "部门"
|
||||
attr.id = ""
|
||||
attr.id = "groupName"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.cannotEdit = true
|
||||
@@ -58,7 +59,7 @@ function TRPMyInfor:initFiledsAttr()
|
||||
|
||||
attr = {}
|
||||
attr.attrName = "角色"
|
||||
attr.id = ""
|
||||
attr.id = "roleName"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.cannotEdit = true
|
||||
@@ -72,7 +73,7 @@ function TRPMyInfor:initFiledsAttr()
|
||||
|
||||
attr = {}
|
||||
attr.attrName = "邮箱"
|
||||
attr.id = ""
|
||||
attr.id = "email"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.cannotEdit = true
|
||||
@@ -91,7 +92,7 @@ function TRPMyInfor:initFiledsAttr()
|
||||
|
||||
attr = {}
|
||||
attr.attrName = "分机号"
|
||||
attr.id = ""
|
||||
attr.id = "agentNo"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.cannotEdit = true
|
||||
@@ -102,7 +103,7 @@ function TRPMyInfor:initFiledsAttr()
|
||||
function(iswhite)
|
||||
if iswhite then
|
||||
attr = {}
|
||||
attr.attrName = "关闭日志"
|
||||
attr.attrName = "关闭日志(仅白名单))"
|
||||
attr.id = "closeLog"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
@@ -111,7 +112,7 @@ function TRPMyInfor:initFiledsAttr()
|
||||
table.insert(self.baseFiledsAttr, attr)
|
||||
|
||||
attr = {}
|
||||
attr.attrName = "打开日志"
|
||||
attr.attrName = "打开日志(仅白名单)"
|
||||
attr.id = "openLog"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
@@ -126,25 +127,11 @@ end
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPMyInfor
|
||||
function TRPMyInfor:setData(paras)
|
||||
self.mdata = {}
|
||||
-- 初始化顶部数据
|
||||
local currGroup = Prefs.getCurrGroup(Prefs.getUserName())
|
||||
local companyInfro = json.decode(currGroup)
|
||||
local user = DBUser.getUserById(companyInfro.login_no)
|
||||
self.mdata.company_id = companyInfro.company_id
|
||||
self.mdata.company_name = companyInfro.company_name
|
||||
self.mdata.phoneNo = Prefs.getUserName()
|
||||
if user then
|
||||
self.mdata.loginNo = user.loginNo
|
||||
self.mdata.loginName = user.loginName
|
||||
self.mdata.imageUrl = user.imageUrl
|
||||
else
|
||||
printe("账号信息未取得!")
|
||||
end
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPMyInfor:show()
|
||||
self.mdata = DBUser.getMyInfor()
|
||||
---@type _ParamCellExtendFiledRoot
|
||||
local fieldRootInfor = {}
|
||||
fieldRootInfor.fields = {}
|
||||
@@ -154,7 +141,7 @@ function TRPMyInfor:show()
|
||||
---@type _ParamCellExtendFiled
|
||||
local d = {}
|
||||
d.attr = v
|
||||
if d.attr.id == "loginNo" then
|
||||
if d.attr.id == "loginNo" or d.attr.id == "roleName" or d.attr.id == "groupName" or d.attr.id == "agentNo" then
|
||||
d.showMode = _FieldMode.showOnly
|
||||
else
|
||||
d.showMode = _FieldMode.showAndModify
|
||||
@@ -212,11 +199,28 @@ end
|
||||
|
||||
function TRPMyInfor:onFinishSetField(key, val)
|
||||
if tostring(val) ~= tostring(self.mdata[key]) then
|
||||
-- self:sendModifymsg(key, val, true)
|
||||
MyUtl.toastW("TODO:修改数据")
|
||||
self:sendModifymsg(key, val, true)
|
||||
end
|
||||
end
|
||||
|
||||
function TRPMyInfor:sendModifymsg(key, val, isExtend)
|
||||
local content = {}
|
||||
content.loginNo = self.mdata.loginNo
|
||||
content[key] = val
|
||||
showHotWheel()
|
||||
NetProto.send.updateUserInfo(
|
||||
content,
|
||||
function(result, orgs)
|
||||
hideHotWheel()
|
||||
if result.success then
|
||||
-- 更新本地数据
|
||||
NetProto.send.personal_data_query()
|
||||
MyUtl.toastS("修改成功")
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
function TRPMyInfor:onSelectField(go)
|
||||
end
|
||||
|
||||
@@ -238,10 +242,9 @@ end
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function TRPMyInfor:procNetwork(cmd, succ, msg, paras)
|
||||
if (succ == NetSuccess) then
|
||||
--[[
|
||||
if cmd == xx then
|
||||
if cmd == NetProto.cmds.personal_data_query then
|
||||
self:show()
|
||||
end
|
||||
]]
|
||||
end
|
||||
end
|
||||
|
||||
@@ -296,7 +299,19 @@ function TRPMyInfor:onGetImage(path)
|
||||
if isNilOrEmpty(path) then
|
||||
return
|
||||
end
|
||||
--//TODO:
|
||||
showHotWheel()
|
||||
NetProto.uploadUserHeadIcon(
|
||||
path,
|
||||
function(content)
|
||||
hideHotWheel()
|
||||
if content and content.success then
|
||||
NetProto.send.personal_data_query()
|
||||
MyUtl.toastS("头像更改成功")
|
||||
else
|
||||
MyUtl.toastW("头像更改失败")
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
-- 处理ui上的事件,例如点击等
|
||||
|
||||
@@ -14,6 +14,7 @@ function TRPNewCust:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
---@type CLUIFormRoot
|
||||
|
||||
@@ -14,6 +14,7 @@ function TRPNewFollow:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
---@type CLUIFormRoot
|
||||
@@ -54,7 +55,7 @@ function TRPNewFollow:initFiledsAttr()
|
||||
|
||||
attr = {}
|
||||
attr.attrName = "跟时时间"
|
||||
attr.id = ""
|
||||
attr.id = "recordingTime"
|
||||
attr.attrType = DBCust.FieldType.dateTime
|
||||
attr.ifMust = 1
|
||||
attr.ifTime = 1
|
||||
@@ -65,7 +66,7 @@ function TRPNewFollow:initFiledsAttr()
|
||||
attr.attrName = "客户名称"
|
||||
attr.id = "custName"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 1
|
||||
attr.ifMust = 0
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.baseFiledsAttr, attr)
|
||||
|
||||
@@ -92,12 +93,22 @@ end
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPNewFollow
|
||||
function TRPNewFollow:setData(paras)
|
||||
self.mdata = {}
|
||||
self.mdata.custId = paras.custId
|
||||
self.mdata.taskId = paras.taskId
|
||||
self.mdata.custName = paras.custName
|
||||
if paras.recordingTime then
|
||||
self.mdata = paras
|
||||
self.isNewFollow = false
|
||||
else
|
||||
self.mdata = {}
|
||||
self.mdata.custId = paras.custId
|
||||
self.mdata.taskId = paras.taskId
|
||||
self.mdata.custName = paras.custName
|
||||
|
||||
self.isNewFollow = true
|
||||
self.mdata.opportunity = "0"
|
||||
self.mdata.followUpType = "0"
|
||||
self.mdata.recordingTime = DateEx.nowString()
|
||||
self.mdata.dealFlag = "0"
|
||||
|
||||
self.isNewFollow = true
|
||||
end
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
@@ -127,7 +138,11 @@ function TRPNewFollow:showBaseFields()
|
||||
-- 工单模板
|
||||
filedInfor = {}
|
||||
filedInfor.attr = v
|
||||
filedInfor.isEditMode = true
|
||||
if self.isNewFollow then
|
||||
filedInfor.showMode = _FieldMode.inputOnly
|
||||
else
|
||||
filedInfor.showMode = _FieldMode.showOnly
|
||||
end
|
||||
if filedInfor.attr.attrType == DBCust.FieldType.multext then
|
||||
filedInfor.onMultTextInputChg = self:wrapFunc(self.reposition)
|
||||
end
|
||||
|
||||
@@ -14,6 +14,7 @@ function TRPNewFollowSimple:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
---@type CLUIFormRoot
|
||||
@@ -66,7 +67,8 @@ function TRPNewFollowSimple:setData(paras)
|
||||
self.mdata = {}
|
||||
self.mdata.custId = paras.custId
|
||||
self.mdata.taskId = paras.taskId
|
||||
|
||||
self.mdata.followUpType = "0"
|
||||
self.mdata.dealFlag = "0"
|
||||
self.isNewFollow = true
|
||||
end
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---@type IDBasePanel
|
||||
local TRBasePanel = require("ui.panel.TRBasePanel")
|
||||
---@class TRPNewFollowTask:TRBasePanel
|
||||
---@class TRPNewFollowTask:TRBasePanel
|
||||
local TRPNewFollowTask = class("TRPNewFollowTask", TRBasePanel)
|
||||
|
||||
local uiobjs = {}
|
||||
@@ -14,6 +14,7 @@ function TRPNewFollowTask:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
---@type CLUIFormRoot
|
||||
@@ -39,7 +40,7 @@ function TRPNewFollowTask:initFiledsAttr()
|
||||
|
||||
attr = {}
|
||||
attr.attrName = "预约时间"
|
||||
attr.id = "FollowUpTime"
|
||||
attr.id = "bookingTime"
|
||||
attr.attrType = DBCust.FieldType.dateTime
|
||||
attr.ifTime = 1
|
||||
attr.ifMust = 1
|
||||
@@ -61,12 +62,19 @@ end
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPNewFollowTask
|
||||
function TRPNewFollowTask:setData(paras)
|
||||
self.mdata = {}
|
||||
self.mdata.custId = paras.custId
|
||||
self.mdata.taskId = paras.taskId
|
||||
self.mdata.loginNo = NetProto.loginNo
|
||||
if paras and paras.taskId then
|
||||
self.mdata = paras
|
||||
self.isNewFollow = false
|
||||
else
|
||||
self.mdata = {}
|
||||
self.mdata.custId = paras.custId
|
||||
self.mdata.taskId = paras.taskId
|
||||
self.mdata.loginNo = NetProto.loginNo
|
||||
|
||||
self.isNewFollow = true
|
||||
self.mdata.bookingTime = DateEx.nowString()
|
||||
|
||||
self.isNewFollow = true
|
||||
end
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
@@ -95,7 +103,11 @@ function TRPNewFollowTask:showBaseFields()
|
||||
-- 工单模板
|
||||
filedInfor = {}
|
||||
filedInfor.attr = v
|
||||
filedInfor.isEditMode = true
|
||||
if self.isNewFollow then
|
||||
filedInfor.showMode = _FieldMode.inputOnly
|
||||
else
|
||||
filedInfor.showMode = _FieldMode.showOnly
|
||||
end
|
||||
if filedInfor.attr.attrType == DBCust.FieldType.multext then
|
||||
filedInfor.onMultTextInputChg = self:wrapFunc(self.reposition)
|
||||
end
|
||||
@@ -125,7 +137,7 @@ end
|
||||
function TRPNewFollowTask:setExtendFieldsMode(root)
|
||||
local elements = root:GetComponentsInChildren(typeof(CLUIElement), true)
|
||||
for i = 0, elements.Length - 1 do
|
||||
self:setElementMode(elements[i])
|
||||
-- self:setElementMode(elements[i])
|
||||
if elements[i].jsonKey == "followUpContent" then
|
||||
---@type CLUIElement
|
||||
uiobjs.followUpContent = elements[i]
|
||||
@@ -204,13 +216,16 @@ function TRPNewFollowTask:setEventDelegate()
|
||||
end
|
||||
self.mdata = uiobjs.DetailFromRoot:getValue(self.mdata, true)
|
||||
showHotWheel()
|
||||
NetProto.send.create_followUp_task(self.mdata, function(content)
|
||||
hideHotWheel()
|
||||
if content.success then
|
||||
MyUtl.toastS("创建成功")
|
||||
hideTopPanel(self.csSelf)
|
||||
NetProto.send.create_followUp_task(
|
||||
self.mdata,
|
||||
function(content)
|
||||
hideHotWheel()
|
||||
if content.success then
|
||||
MyUtl.toastS("创建成功")
|
||||
hideTopPanel(self.csSelf)
|
||||
end
|
||||
end
|
||||
end)
|
||||
)
|
||||
end
|
||||
}
|
||||
end
|
||||
|
||||
@@ -14,6 +14,7 @@ function TRPNewOrder:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
---@type CLUIFormRoot
|
||||
@@ -149,7 +150,9 @@ function TRPNewOrder:setData(paras)
|
||||
self.cust = paras
|
||||
self.mdata = {}
|
||||
local popInfor = DBOrder.getPopupList(DBOrder.PopListGroup.templateList)
|
||||
self.mdata.templetId = popInfor.values[0]
|
||||
if popInfor and #popInfor > 0 then
|
||||
self.mdata.templetId = popInfor.values[0]
|
||||
end
|
||||
popInfor = DBOrder.getPopupList(DBOrder.PopListGroup.urgencyLevels)
|
||||
self.mdata.urgency = popInfor.values[0]
|
||||
local templateInfor = DBOrder.getTemplateInfor(self.mdata.templetId)
|
||||
@@ -190,6 +193,8 @@ end
|
||||
function TRPNewOrder:refreshContent()
|
||||
self:showBaseFields()
|
||||
self:showProducts()
|
||||
-- 附件
|
||||
self:showImages()
|
||||
|
||||
self.csSelf:invoke4Lua(self:wrapFunc(self.reposition), 0.1)
|
||||
end
|
||||
@@ -309,9 +314,6 @@ function TRPNewOrder:showExtentFiles(templetId)
|
||||
local d = uiobjs.DetailFromRoot:getValue(true)
|
||||
d.content = cfgInfor.content
|
||||
uiobjs.DetailFromRoot:setValue(d)
|
||||
|
||||
-- 附件
|
||||
self:showImages()
|
||||
-----------------------------------
|
||||
uiobjs.StepRoot:Reposition()
|
||||
end
|
||||
@@ -528,6 +530,16 @@ function TRPNewOrder:setEventDelegate()
|
||||
MyUtl.toastW(err)
|
||||
return
|
||||
end
|
||||
|
||||
if self.images and #(self.images) > 0 then
|
||||
for i, v in ipairs(self.images) do
|
||||
if v.uploadInfor == nil then
|
||||
MyUtl.toastW("附件还未全部上传成功")
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local order = uiobjs.DetailFromRoot:getValue(true)
|
||||
if self.cust then
|
||||
order.phoneNo = self.cust.phoneNo
|
||||
@@ -562,6 +574,15 @@ function TRPNewOrder:setEventDelegate()
|
||||
end
|
||||
end
|
||||
order.wfType = "0" -- 0:正常工单,1:退货工单
|
||||
|
||||
-- 附件
|
||||
if self.images and #(self.images) > 0 then
|
||||
order.wfOptions = {}
|
||||
for i, v in ipairs(self.images) do
|
||||
table.insert(order.wfOptions, v.uploadInfor)
|
||||
end
|
||||
end
|
||||
-----------------------------------
|
||||
showHotWheel()
|
||||
NetProto.send.createWfInfo(
|
||||
order,
|
||||
@@ -641,7 +662,6 @@ function TRPNewOrder:onGetImage(path)
|
||||
return
|
||||
end
|
||||
end
|
||||
MyUtl.toastW("TODO:上传附件还没有做!!!!")
|
||||
table.insert(self.images, {path = path, onDelete = self:wrapFunc(self.onDelImage)})
|
||||
self:showImages()
|
||||
end
|
||||
|
||||
@@ -15,6 +15,7 @@ function TRPOceanList:init(csObj)
|
||||
uiobjs.ButtonFilterLb = getCC(uiobjs.ButtonFilterSp.transform, "Label", "UILabel")
|
||||
---@type CLUIScrollViewWithEvent
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "CLUIScrollViewWithEvent")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
uiobjs.scrollView:init(
|
||||
self:wrapFunc(self.onShowRefreshFlg),
|
||||
self:wrapFunc(self.onhideRefreshFlg),
|
||||
@@ -59,9 +60,9 @@ function TRPOceanList:initFilters()
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "跟进阶段"
|
||||
d.title = "客户状态"
|
||||
d.key = DBCust.FilterGroup.dealFlagList
|
||||
d.key2 = "payStatus"
|
||||
d.key2 = "dealFlag"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.dealFlagList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
@@ -108,13 +109,16 @@ function TRPOceanList:appList(list)
|
||||
end
|
||||
|
||||
function TRPOceanList:onShowRefreshFlg()
|
||||
-- printe("TRPOceanList:onShowRefreshFlg")
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 222, 0)
|
||||
if uiobjs.Grid.list.Count > 0 then
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 222, 0)
|
||||
else
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 100, 0)
|
||||
end
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, true)
|
||||
end
|
||||
function TRPOceanList:onhideRefreshFlg()
|
||||
-- printe("TRPOceanList:onhideRefreshFlg")
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, false)
|
||||
-- uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
function TRPOceanList:refreshList()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
@@ -146,8 +150,17 @@ function TRPOceanList:initCell(cell, data)
|
||||
end
|
||||
|
||||
function TRPOceanList:onClickCell(cell, data)
|
||||
--//TODO:
|
||||
-- getPanelAsy("PanelOrderDetail", onLoadedPanelTT, data)
|
||||
NetProto.send.get_customerById(
|
||||
data.id,
|
||||
function(content)
|
||||
if content.success then
|
||||
local cust = content.result
|
||||
if cust then
|
||||
getPanelAsy("PanelCustDetailSimple", onLoadedPanelTT, cust)
|
||||
end
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
function TRPOceanList:refreshFilterBtnStatus()
|
||||
@@ -198,9 +211,9 @@ function TRPOceanList:procNetwork(cmd, succ, msg, paras)
|
||||
self:showList(result.data)
|
||||
end
|
||||
hideHotWheel()
|
||||
elseif cmd == NetProto.cmds.update_customer then
|
||||
uiobjs.Grid:refreshContentOnly()
|
||||
elseif cmd == NetProto.cmds.save_customer then
|
||||
elseif cmd == NetProto.cmds.getFromGH then
|
||||
hideHotWheel()
|
||||
MyUtl.toastS("获取客户成功")
|
||||
self:refreshList()
|
||||
end
|
||||
end
|
||||
@@ -220,6 +233,9 @@ function TRPOceanList:setEventDelegate()
|
||||
}
|
||||
)
|
||||
end,
|
||||
ButtonMultGetCust = function()
|
||||
getPanelAsy("PanelBatchGetCusts", onLoadedPanelTT)
|
||||
end,
|
||||
InputSeachKey = function()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
NetProto.send.pageGHQueryList(self.filterValue, queryKey, 1)
|
||||
|
||||
@@ -28,6 +28,7 @@ function TRPOrderDetail:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 160 + 30, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
|
||||
@@ -40,7 +41,8 @@ function TRPOrderDetail:init(csObj)
|
||||
---@type Coolape.CLUILoopGrid
|
||||
uiobjs.Records = getCC(uiobjs.Table.transform, "Records", "CLUILoopGrid")
|
||||
uiobjs.ButtonEndList = getChild(uiobjs.Records.transform, "ButtonEndList")
|
||||
uiobjs.AttachmentRoot = getCC(uiobjs.Table.transform, "AttachmentRoot", "CLCellLua")
|
||||
uiobjs.AttachmentRoot = getCC(uiobjs.Table.transform, "AttachmentRoot", "UIGrid")
|
||||
uiobjs.AttachmentPrefab = getChild(uiobjs.AttachmentRoot.transform, "00000").gameObject
|
||||
|
||||
uiobjs.FinanceRoot = getCC(uiobjs.Table.transform, "FinanceRoot", "CLCellLua")
|
||||
---@type Coolape.CLUILoopGrid
|
||||
@@ -148,6 +150,10 @@ function TRPOrderDetail:setData(paras)
|
||||
if type(self.mdata.prodJson) == "string" then
|
||||
self.mdata.prodJson = json.decode(self.mdata.prodJson)
|
||||
end
|
||||
|
||||
if type(self.mdata.wfOptJson) == "string" then
|
||||
self.mdata.wfOptJson = json.decode(self.mdata.wfOptJson)
|
||||
end
|
||||
end
|
||||
|
||||
---public 当有通用背板显示时的回调
|
||||
@@ -267,10 +273,23 @@ function TRPOrderDetail:showAttachment()
|
||||
SetActive(uiobjs.FinanceRoot.gameObject, false)
|
||||
SetActive(uiobjs.SubOrders.gameObject, false)
|
||||
|
||||
MyUtl.toastW("TODO:还没有附件数据")
|
||||
CLUIUtl.resetList4Lua(
|
||||
uiobjs.AttachmentRoot,
|
||||
uiobjs.AttachmentPrefab,
|
||||
self.mdata.wfOptJson,
|
||||
self:wrapFunc(self.initAttachmentCell)
|
||||
)
|
||||
|
||||
self:reposition()
|
||||
end
|
||||
|
||||
function TRPOrderDetail:initAttachmentCell(cell, data)
|
||||
cell:init(data, self:wrapFunc(self.onClickAttachment))
|
||||
end
|
||||
|
||||
function TRPOrderDetail:onClickAttachment(cell, data)
|
||||
end
|
||||
|
||||
function TRPOrderDetail:showRecords()
|
||||
self:release()
|
||||
SetActive(uiobjs.DetailRoot.gameObject, false)
|
||||
|
||||
@@ -15,6 +15,7 @@ function TRPOrderList:init(csObj)
|
||||
uiobjs.ButtonFilterLb = getCC(uiobjs.ButtonFilterSp.transform, "Label", "UILabel")
|
||||
---@type CLUIScrollViewWithEvent
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "CLUIScrollViewWithEvent")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
uiobjs.scrollView:init(
|
||||
self:wrapFunc(self.onShowRefreshFlg),
|
||||
self:wrapFunc(self.onhideRefreshFlg),
|
||||
@@ -131,13 +132,16 @@ function TRPOrderList:appList(list)
|
||||
end
|
||||
|
||||
function TRPOrderList:onShowRefreshFlg()
|
||||
-- printe("TRPOrderList:onShowRefreshFlg")
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 222, 0)
|
||||
if uiobjs.Grid.list.Count > 0 then
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 222, 0)
|
||||
else
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 100, 0)
|
||||
end
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, true)
|
||||
end
|
||||
function TRPOrderList:onhideRefreshFlg()
|
||||
-- printe("TRPOrderList:onhideRefreshFlg")
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, false)
|
||||
-- uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
function TRPOrderList:refreshList()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
|
||||
@@ -13,6 +13,7 @@ function TRPProductDetail:init(csObj)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type UITable
|
||||
uiobjs.Table = getCC(uiobjs.scrollView.transform, "Table", "UITable")
|
||||
---@type CLUIFormRoot
|
||||
|
||||
@@ -15,6 +15,7 @@ function TRPProductList:init(csObj)
|
||||
uiobjs.InputSeachKey = getCC(self.transform, "Top/InputSeachKey", "UIInput")
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type Coolape.CLUILoopGrid
|
||||
uiobjs.Grid = getCC(uiobjs.scrollView.transform, "Grid", "CLUILoopGrid")
|
||||
|
||||
@@ -36,11 +37,15 @@ function TRPProductList:show()
|
||||
end
|
||||
|
||||
function TRPProductList:showList(products)
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, false)
|
||||
local list = {}
|
||||
for i, v in ipairs(products or {}) do
|
||||
table.insert(list, {data = v, isSelected = false})
|
||||
end
|
||||
if #list > 0 then
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, false)
|
||||
else
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, true)
|
||||
end
|
||||
uiobjs.Grid:setList(list, self:wrapFunc(self.initCell), nil, self:wrapFunc(self.onEndList))
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
|
||||
@@ -71,6 +71,11 @@ function TRPResetPasswordStep1:setEventDelegate()
|
||||
end
|
||||
|
||||
local d = uiobjs.formRoot:getValue(self.mData, true)
|
||||
d.phoneNo = d.phone
|
||||
if self.mData.isBindPhone then
|
||||
d.loginNo = DBUser.getMyInfor().loginNo
|
||||
d.oprType = "updatePho"
|
||||
end
|
||||
NetProto.sendVerMsg(
|
||||
d,
|
||||
function(data, orgs)
|
||||
|
||||
@@ -98,7 +98,17 @@ function TRPResetPasswordStep2:setEventDelegate()
|
||||
end
|
||||
if self.mData.isBindPhone then
|
||||
-- 绑定号码
|
||||
MyUtl.toastW("TODO:绑定号码")
|
||||
local data = uiobjs.formRoot:getValue(self.mData, true)
|
||||
NetProto.send.updateUserPhone(
|
||||
data,
|
||||
function(content)
|
||||
if content.success then
|
||||
hideTopPanel(self.csSelf)
|
||||
hideTopPanel()
|
||||
MyUtl.toastS("绑定手机号成功")
|
||||
end
|
||||
end
|
||||
)
|
||||
else
|
||||
local data = uiobjs.formRoot:getValue(self.mData, true)
|
||||
data.isModify = self.mData.isModify
|
||||
|
||||
@@ -15,6 +15,7 @@ function TRPSelectProduct:init(csObj)
|
||||
uiobjs.InputSeachKey = getCC(self.transform, "Top/InputSeachKey", "UIInput")
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
---@type Coolape.CLUILoopGrid
|
||||
uiobjs.Grid = getCC(uiobjs.scrollView.transform, "Grid", "CLUILoopGrid")
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ function TRPSelectServer:init(csObj)
|
||||
TRPSelectServer.super.init(self, csObj)
|
||||
|
||||
self:setEventDelegate()
|
||||
uiobjs.grid = getCC(self.transform, "Grid", "UIGrid")
|
||||
uiobjs.gridPrefab = getChild(uiobjs.grid, "00000").gameObject
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
@@ -19,6 +21,16 @@ end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPSelectServer:show()
|
||||
CLUIUtl.resetList4Lua(uiobjs.grid, uiobjs.gridPrefab, self.mdata.servers, self:wrapFunc(self.init))
|
||||
end
|
||||
|
||||
function TRPSelectServer:initCell(cell, data)
|
||||
cell:init(data, self:wrapFunc(self.onClickCell))
|
||||
end
|
||||
|
||||
function TRPSelectServer:onClickCell(cell, data)
|
||||
hideTopPanel(self.csSelf)
|
||||
Utl.doCallback(self.mdata.callback, data)
|
||||
end
|
||||
|
||||
-- 刷新
|
||||
@@ -41,21 +53,22 @@ end
|
||||
|
||||
function TRPSelectServer:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
ButtonServer = function()
|
||||
hideTopPanel(self.csSelf)
|
||||
NetProto.setSeverPublish()
|
||||
Utl.doCallback(self.mdata.callback)
|
||||
end,
|
||||
ButtonServerDev = function()
|
||||
hideTopPanel(self.csSelf)
|
||||
NetProto.setSeverDev()
|
||||
Utl.doCallback(self.mdata.callback)
|
||||
end,
|
||||
ButtonServerLoc = function()
|
||||
hideTopPanel(self.csSelf)
|
||||
NetProto.setSeverLocal()
|
||||
Utl.doCallback(self.mdata.callback)
|
||||
end
|
||||
-- ButtonServer = function()
|
||||
-- hideTopPanel(self.csSelf)
|
||||
-- -- NetProto.setSeverPublish()
|
||||
-- local server = {version = "11212222121"}
|
||||
-- Utl.doCallback(self.mdata.callback, server)
|
||||
-- end,
|
||||
-- ButtonServerDev = function()
|
||||
-- hideTopPanel(self.csSelf)
|
||||
-- -- NetProto.setSeverDev()
|
||||
-- Utl.doCallback(self.mdata.callback)
|
||||
-- end,
|
||||
-- ButtonServerLoc = function()
|
||||
-- hideTopPanel(self.csSelf)
|
||||
-- -- NetProto.setSeverLocal()
|
||||
-- Utl.doCallback(self.mdata.callback)
|
||||
-- end
|
||||
}
|
||||
end
|
||||
-- 处理ui上的事件,例如点击等
|
||||
@@ -70,5 +83,9 @@ end
|
||||
function TRPSelectServer:onTopPanelChange(topPanel)
|
||||
end
|
||||
|
||||
-- 当按了返回键时,关闭自己(返值为true时关闭)
|
||||
function TRPSelectServer:hideSelfOnKeyBack()
|
||||
return false
|
||||
end
|
||||
--------------------------------------------
|
||||
return TRPSelectServer
|
||||
|
||||
@@ -11,7 +11,7 @@ function TRPSetting:init(csObj)
|
||||
MyUtl.setContentView(uiobjs.content)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollview = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
self:setEventDelegate()
|
||||
uiobjs.LabelPhone = getCC(uiobjs.scrollview.transform, "Table/ButtonPhone/LabelPhone", "UILabel")
|
||||
end
|
||||
|
||||
@@ -12,10 +12,11 @@ function TRPSysMsgDetail:init(csObj)
|
||||
self.uiobjs = {}
|
||||
---@type UIScrollView
|
||||
self.uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
self.uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
MyUtl.setContentView(self.uiobjs.scrollView, 132 + 100 + 56 + 25 + 30 + 45, 0)
|
||||
self.uiobjs.LabelContent = getCC(self.uiobjs.scrollView.transform, "LabelContent", "UILabel")
|
||||
self.uiobjs.LabelTitle = getCC(self.transform, "LabelTitle", "UILabel")
|
||||
self.uiobjs.LabelTime = getCC(self.transform, "LabelTime", "UILabel")
|
||||
self.uiobjs.LabelTitle = getCC(self.transform, "Top/LabelTitle", "UILabel")
|
||||
self.uiobjs.LabelTime = getCC(self.transform, "Top/LabelTime", "UILabel")
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
|
||||
@@ -91,6 +91,11 @@ end
|
||||
---@param data _DBMessage
|
||||
function TRPSysMsgList:onClickCell(cell, data)
|
||||
if data.NOTICETYPE == DBMessage.MsgType.Sys then
|
||||
NetProto.send.readNotice(data.ID, function(content)
|
||||
if content.success then
|
||||
data.READFLAG = DBMessage.ReadFlag.readed
|
||||
end
|
||||
end)
|
||||
getPanelAsy("PanelSysMsgDetail", onLoadedPanelTT, data)
|
||||
elseif data.NOTICETYPE == DBMessage.MsgType.Task4Cust then
|
||||
getPanelAsy("PanelCustListProc", onLoadedPanelTT, data)
|
||||
|
||||
@@ -0,0 +1,346 @@
|
||||
---@type IDBasePanel
|
||||
local TRBasePanel = require("ui.panel.TRBasePanel")
|
||||
---@class TRPTaskList:TRBasePanel
|
||||
local TRPTaskList = class("TRPTaskList", TRBasePanel)
|
||||
|
||||
local uiobjs = {}
|
||||
-- 初始化,只会调用一次
|
||||
function TRPTaskList:init(csObj)
|
||||
TRPTaskList.super.init(self, csObj)
|
||||
self:setEventDelegate()
|
||||
self:initFilters()
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 132 + 40, 0)
|
||||
uiobjs.InputSeachKey = getCC(self.transform, "Top/InputSeachKey", "UIInput")
|
||||
uiobjs.ButtonFilterSp = getCC(self.transform, "Top/ButtonFilter", "UISprite")
|
||||
uiobjs.ButtonFilterLb = getCC(uiobjs.ButtonFilterSp.transform, "Label", "UILabel")
|
||||
---@type CLUIScrollViewWithEvent
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "CLUIScrollViewWithEvent")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
uiobjs.scrollView:init(
|
||||
self:wrapFunc(self.onShowRefreshFlg),
|
||||
self:wrapFunc(self.onhideRefreshFlg),
|
||||
self:wrapFunc(self.refreshList)
|
||||
)
|
||||
---@type Coolape.CLUILoopGrid
|
||||
uiobjs.Grid = getCC(uiobjs.scrollView.transform, "Grid", "CLUILoopGrid")
|
||||
uiobjs.ButtonEndList = getChild(uiobjs.Grid.transform, "ButtonEndList")
|
||||
uiobjs.ButtonEndListLb = getCC(uiobjs.ButtonEndList, "Label", "UILabel")
|
||||
uiobjs.ButtonHeadList = getChild(uiobjs.Grid.transform, "ButtonHeadList")
|
||||
---@type UIToggle
|
||||
uiobjs.ToggleTody = getCC(self.transform, "Top/SpriteToggle/ToggleTody", "UIToggle")
|
||||
end
|
||||
|
||||
function TRPTaskList:initFilters()
|
||||
self.filters = {}
|
||||
local d = {}
|
||||
d.title = "订单分类"
|
||||
d.key = DBOrder.PopListGroup.orderType
|
||||
d.key2 = "myWfType"
|
||||
d.list = DBOrder.getFilter(DBOrder.PopListGroup.orderType)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "订单状态"
|
||||
d.key = DBOrder.PopListGroup.orderStatus
|
||||
d.key2 = "status"
|
||||
d.list = DBOrder.getFilter(DBOrder.PopListGroup.orderStatus)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "回款订单"
|
||||
d.key = DBOrder.PopListGroup.payOrderStatus
|
||||
d.key2 = "payStatus"
|
||||
d.list = DBOrder.getFilter(DBOrder.PopListGroup.payOrderStatus)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "跟进人员"
|
||||
d.key = "loginNos"
|
||||
d.key2 = "createLoginNo"
|
||||
d.list = DBUser.getFilters(DBUser.FilterGroup.user)
|
||||
if d.list and #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "所属部门"
|
||||
d.key = DBUser.FilterGroup.group
|
||||
d.key2 = "groupId"
|
||||
d.list = DBUser.getFilters(DBUser.FilterGroup.group)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
end
|
||||
|
||||
function TRPTaskList:resetFilters()
|
||||
for i, v in ipairs(self.filters) do
|
||||
if v.list then
|
||||
for j, f in ipairs(v.list) do
|
||||
f.selected = false
|
||||
end
|
||||
else
|
||||
v.value = ""
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPTaskList
|
||||
function TRPTaskList:setData(paras)
|
||||
self.mdata = paras
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPTaskList:show()
|
||||
uiobjs.InputSeachKey.value = ""
|
||||
self:resetFilters()
|
||||
self:refreshFilterBtnStatus()
|
||||
self:showList({})
|
||||
if uiobjs.ToggleTody.value then
|
||||
self.filterValue = {}
|
||||
local date = DateEx.formatByMs(DateEx.nowMS, DateEx.fmt_yyyy_MM_dd)
|
||||
self.filterValue.startTime = joinStr(date, " 00:00:00")
|
||||
self.filterValue.endTime = joinStr(date, " 23:59:59")
|
||||
if self.mdata and self.mdata.custId then
|
||||
self.filterValue.custId = self.mdata.custId
|
||||
end
|
||||
NetProto.send.list_followUp_tasks(self.filterValue, "", 1)
|
||||
else
|
||||
uiobjs.ToggleTody:Set(true)
|
||||
end
|
||||
end
|
||||
|
||||
function TRPTaskList:showList(list)
|
||||
list = list or {}
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, false)
|
||||
if #list > 0 then
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, false)
|
||||
else
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, true)
|
||||
end
|
||||
uiobjs.Grid:setList(
|
||||
list or {},
|
||||
self:wrapFunc(self.initCell),
|
||||
self:wrapFunc(self.onHeadList),
|
||||
self:wrapFunc(self.onEndList)
|
||||
)
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
|
||||
function TRPTaskList:appList(list)
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, false)
|
||||
uiobjs.Grid:appendList(list)
|
||||
end
|
||||
|
||||
function TRPTaskList:onShowRefreshFlg()
|
||||
if uiobjs.Grid.list.Count > 0 then
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 222, 0)
|
||||
else
|
||||
uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 100, 0)
|
||||
end
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, true)
|
||||
end
|
||||
function TRPTaskList:onhideRefreshFlg()
|
||||
SetActive(uiobjs.ButtonHeadList.gameObject, false)
|
||||
-- uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
function TRPTaskList:refreshList()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
showHotWheel()
|
||||
NetProto.send.list_followUp_tasks(self.filterValue, queryKey, 1)
|
||||
end
|
||||
|
||||
function TRPTaskList:onHeadList(head)
|
||||
printw("到最顶端了")
|
||||
-- uiobjs.ButtonHeadList.transform.localPosition = Vector3(0, 250, 0)
|
||||
-- SetActive(uiobjs.ButtonHeadList.gameObject, true)
|
||||
end
|
||||
|
||||
function TRPTaskList:onEndList(tail)
|
||||
printw("到最后了==" .. tail.name)
|
||||
if self.pageInfo and self.pageInfo.current_page < self.pageInfo.total_pages then
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
showHotWheel()
|
||||
-- 取得下一页
|
||||
NetProto.send.list_followUp_tasks(self.filterValue, queryKey, self.pageInfo.current_page + 1)
|
||||
else
|
||||
uiobjs.ButtonEndList.localPosition = tail.transform.localPosition + Vector3.up * -235
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, true)
|
||||
end
|
||||
end
|
||||
|
||||
function TRPTaskList:initCell(cell, data)
|
||||
cell:init(data, self:wrapFunc(self.onClickCell))
|
||||
end
|
||||
|
||||
function TRPTaskList:onClickCell(cell, data)
|
||||
getPanelAsy("PanelNewFollowTask", onLoadedPanelTT, data)
|
||||
end
|
||||
|
||||
function TRPTaskList:refreshFilterBtnStatus()
|
||||
if self:hadFilterVal() then
|
||||
uiobjs.ButtonFilterLb.color = ColorEx.getColor(0xff2990dc)
|
||||
uiobjs.ButtonFilterSp.color = ColorEx.getColor(0xff2990dc)
|
||||
uiobjs.ButtonFilterSp.spriteName = "cust_funnel"
|
||||
else
|
||||
uiobjs.ButtonFilterLb.color = ColorEx.getColor(0xff999999)
|
||||
uiobjs.ButtonFilterSp.color = ColorEx.getColor(0xff999999)
|
||||
uiobjs.ButtonFilterSp.spriteName = "cust_screen"
|
||||
end
|
||||
end
|
||||
|
||||
function TRPTaskList:hadFilterVal()
|
||||
for i, v in ipairs(self.filters or {}) do
|
||||
for j, f in ipairs(v.list) do
|
||||
if f.selected then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
-- 刷新
|
||||
function TRPTaskList:refresh()
|
||||
end
|
||||
|
||||
-- 关闭页面
|
||||
function TRPTaskList:hide()
|
||||
self.filterValue = nil
|
||||
end
|
||||
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function TRPTaskList:procNetwork(cmd, succ, msg, paras)
|
||||
if (succ == NetSuccess) then
|
||||
if cmd == NetProto.cmds.list_followUp_tasks then
|
||||
local result = paras.result or {}
|
||||
self.pageInfo = result.meta
|
||||
if self.pageInfo and self.pageInfo.current_page > 1 then
|
||||
self:appList(result.data)
|
||||
else
|
||||
self:showList(result.data)
|
||||
end
|
||||
hideHotWheel()
|
||||
elseif cmd == NetProto.cmds.update_customer then
|
||||
uiobjs.Grid:refreshContentOnly()
|
||||
elseif cmd == NetProto.cmds.save_customer then
|
||||
self:refreshList()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function TRPTaskList:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
ButtonFilter = function()
|
||||
getPanelAsy(
|
||||
"PanelComFilter",
|
||||
onLoadedPanelTT,
|
||||
{
|
||||
title = "订单筛选",
|
||||
callback = self:wrapFunc(self.onSetFilter),
|
||||
queryKey = uiobjs.InputSeachKey.value,
|
||||
defautFilter = self.filters
|
||||
}
|
||||
)
|
||||
end,
|
||||
InputSeachKey = function()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
NetProto.send.list_followUp_tasks(self.filterValue, queryKey, 1)
|
||||
end,
|
||||
ToggleTody = function(go)
|
||||
local toggle = go:GetComponent("UIToggle")
|
||||
if toggle.value then
|
||||
self.filterValue = {}
|
||||
if self.mdata and self.mdata.custId then
|
||||
self.filterValue.custId = self.mdata.custId
|
||||
end
|
||||
local date = DateEx.formatByMs(DateEx.nowMS, DateEx.fmt_yyyy_MM_dd)
|
||||
self.filterValue.startTime = joinStr(date, " 00:00:00")
|
||||
self.filterValue.endTime = joinStr(date, " 23:59:59")
|
||||
NetProto.send.list_followUp_tasks(self.filterValue, "", 1)
|
||||
end
|
||||
end,
|
||||
ToggleNext = function(go)
|
||||
local toggle = go:GetComponent("UIToggle")
|
||||
if toggle.value then
|
||||
self.filterValue = {}
|
||||
if self.mdata and self.mdata.custId then
|
||||
self.filterValue.custId = self.mdata.custId
|
||||
end
|
||||
local date = DateEx.formatByMs(DateEx.nowMS, DateEx.fmt_yyyy_MM_dd)
|
||||
self.filterValue.startTime = joinStr(date, " 23:59:59")
|
||||
NetProto.send.list_followUp_tasks(self.filterValue, "", 1)
|
||||
end
|
||||
end,
|
||||
ToggleHis = function(go)
|
||||
local toggle = go:GetComponent("UIToggle")
|
||||
if toggle.value then
|
||||
self.filterValue = {}
|
||||
if self.mdata and self.mdata.custId then
|
||||
self.filterValue.custId = self.mdata.custId
|
||||
end
|
||||
local date = DateEx.formatByMs(DateEx.nowMS, DateEx.fmt_yyyy_MM_dd)
|
||||
self.filterValue.endTime = joinStr(date, " 00:00:00")
|
||||
NetProto.send.list_followUp_tasks(self.filterValue, "", 1)
|
||||
end
|
||||
end
|
||||
}
|
||||
end
|
||||
|
||||
function TRPTaskList:getFilterStr()
|
||||
if not self.filters then
|
||||
return ""
|
||||
end
|
||||
local ret = {}
|
||||
for i, g in ipairs(self.filters) do
|
||||
local list = {}
|
||||
for j, f in ipairs(g.list) do
|
||||
if f.selected and f.value ~= -1 then
|
||||
table.insert(list, f.value)
|
||||
end
|
||||
end
|
||||
ret[g.key2] = table.concat(list, ",")
|
||||
end
|
||||
return ret
|
||||
end
|
||||
|
||||
function TRPTaskList:onSetFilter(filters, queryKey)
|
||||
local oldqueryKey = uiobjs.InputSeachKey.value
|
||||
uiobjs.InputSeachKey.value = queryKey
|
||||
self.filters = filters
|
||||
self:refreshFilterBtnStatus()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
queryKey = trim(queryKey)
|
||||
showHotWheel()
|
||||
self.filterValue = self:getFilterStr()
|
||||
if oldqueryKey == queryKey then
|
||||
NetProto.send.list_followUp_tasks(self.filterValue, queryKey, 1)
|
||||
else
|
||||
-- 会触发input的onChange事件
|
||||
end
|
||||
end
|
||||
|
||||
-- 处理ui上的事件,例如点击等
|
||||
function TRPTaskList:uiEventDelegate(go)
|
||||
local func = self.EventDelegate[go.name]
|
||||
if func then
|
||||
func(go)
|
||||
end
|
||||
end
|
||||
|
||||
-- 当顶层页面发生变化时回调
|
||||
function TRPTaskList:onTopPanelChange(topPanel)
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return TRPTaskList
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ba1ac9025b46845d49a2c47bda0b6ca6
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc97da29aec1c4a9bb867868b34f59bb
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -5514,7 +5514,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3394064090498485763}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -0, z: 0}
|
||||
m_LocalPosition: {x: -150, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 6468453174562684848}
|
||||
@@ -5547,7 +5547,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 446d504799d99174383957fca80713c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
group: 20
|
||||
group: 21
|
||||
activeSprite: {fileID: 1406407071635265282}
|
||||
activeAnimation: {fileID: 0}
|
||||
animator: {fileID: 0}
|
||||
@@ -8398,7 +8398,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5135922011221053609}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -300, y: -0, z: 0}
|
||||
m_LocalPosition: {x: -450, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1877245950078372917}
|
||||
@@ -8431,13 +8431,13 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 446d504799d99174383957fca80713c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
group: 20
|
||||
group: 21
|
||||
activeSprite: {fileID: 666201631825707972}
|
||||
activeAnimation: {fileID: 0}
|
||||
animator: {fileID: 0}
|
||||
startsActive: 0
|
||||
instantTween: 0
|
||||
optionCanBeNone: 1
|
||||
optionCanBeNone: 0
|
||||
onChange: []
|
||||
checkSprite: {fileID: 0}
|
||||
checkAnimation: {fileID: 0}
|
||||
@@ -9334,7 +9334,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1856232569615896839
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -9343,7 +9343,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5680434417759651732}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -2550, y: -0, z: 0}
|
||||
m_LocalPosition: {x: 450, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1936380563759443670}
|
||||
@@ -9376,7 +9376,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 446d504799d99174383957fca80713c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
group: 20
|
||||
group: 21
|
||||
activeSprite: {fileID: 4576338716994114299}
|
||||
activeAnimation: {fileID: 0}
|
||||
animator: {fileID: 0}
|
||||
@@ -11502,7 +11502,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7246578445747532193}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 300, y: -0, z: 0}
|
||||
m_LocalPosition: {x: 150, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1011777952051138253}
|
||||
@@ -11535,7 +11535,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 446d504799d99174383957fca80713c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
group: 20
|
||||
group: 21
|
||||
activeSprite: {fileID: 5079195170935749427}
|
||||
activeAnimation: {fileID: 0}
|
||||
animator: {fileID: 0}
|
||||
@@ -14501,7 +14501,7 @@ MonoBehaviour:
|
||||
anchorOffset: 0
|
||||
softBorderPadding: 1
|
||||
renderQueue: 0
|
||||
startingRenderQueue: 3011
|
||||
startingRenderQueue: 3010
|
||||
mClipTexture: {fileID: 0}
|
||||
mAlpha: 1
|
||||
mClipping: 3
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fb4c96a427c7c47e69e8297ff4ffba17
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -2916,7 +2916,7 @@ MonoBehaviour:
|
||||
horizontalScrollBar: {fileID: 0}
|
||||
verticalScrollBar: {fileID: 0}
|
||||
showScrollBars: 1
|
||||
customMovement: {x: 0, y: 1}
|
||||
customMovement: {x: 0, y: 1.2}
|
||||
contentPivot: 1
|
||||
scale: {x: 0, y: 0, z: 0}
|
||||
relativePositionOnReset: {x: 0, y: 0}
|
||||
|
||||
@@ -113,7 +113,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: faeca5bfa217c493c8446b842f01a3fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey: createTime
|
||||
jsonKey: recordingTime
|
||||
formatValue:
|
||||
labeName: {fileID: 0}
|
||||
defaultName:
|
||||
@@ -2477,7 +2477,7 @@ MonoBehaviour:
|
||||
horizontalScrollBar: {fileID: 0}
|
||||
verticalScrollBar: {fileID: 0}
|
||||
showScrollBars: 1
|
||||
customMovement: {x: 0, y: 1}
|
||||
customMovement: {x: 0, y: 1.2}
|
||||
contentPivot: 1
|
||||
scale: {x: 0, y: 0, z: 0}
|
||||
relativePositionOnReset: {x: 0, y: 0}
|
||||
@@ -2808,7 +2808,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: faeca5bfa217c493c8446b842f01a3fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey: dealFlag
|
||||
jsonKey: followUpType
|
||||
formatValue:
|
||||
labeName: {fileID: 0}
|
||||
defaultName:
|
||||
|
||||
@@ -504,7 +504,7 @@ MonoBehaviour:
|
||||
oldParentClipOffset: {x: 0, y: 0}
|
||||
isLimitless: 0
|
||||
isReverse: 0
|
||||
dragSensitivity: 10
|
||||
dragSensitivity: 5
|
||||
page1: {fileID: 8203674786200340029}
|
||||
page2: {fileID: 3901995379544073836}
|
||||
page3: {fileID: 6126386713007076957}
|
||||
|
||||
@@ -2405,7 +2405,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!4 &7110669577002811748
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -71,7 +71,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: da6df6b770ac942ab8916dc960507b8f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
cellCount: 12
|
||||
cellCount: 20
|
||||
isPlayTween: 0
|
||||
twType: 0
|
||||
tweenSpeed: 0.01
|
||||
@@ -226,7 +226,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!4 &2515595241382578272
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -433,7 +433,7 @@ Transform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1797265047162537287}
|
||||
m_RootOrder: 6
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &7144764489389663441
|
||||
MonoBehaviour:
|
||||
@@ -472,7 +472,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2.9047618
|
||||
aspectRatio: 2.9166667
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -542,6 +542,7 @@ GameObject:
|
||||
- component: {fileID: 4066371802533196909}
|
||||
- component: {fileID: 8032342689119610644}
|
||||
- component: {fileID: 1635151545099400077}
|
||||
- component: {fileID: 436164608631292425}
|
||||
m_Layer: 5
|
||||
m_Name: 000000
|
||||
m_TagString: Untagged
|
||||
@@ -562,11 +563,10 @@ Transform:
|
||||
m_Children:
|
||||
- {fileID: 2986125266078277475}
|
||||
- {fileID: 6918786860223414672}
|
||||
- {fileID: 5245256511288079076}
|
||||
- {fileID: 1436185948540289783}
|
||||
- {fileID: 4325464401450937300}
|
||||
- {fileID: 6453125296782836696}
|
||||
- {fileID: 8428771093906199287}
|
||||
- {fileID: 7372495615493824659}
|
||||
m_Father: {fileID: 5913795297687135166}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -678,6 +678,21 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey:
|
||||
--- !u!114 &436164608631292425
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4201599764475398047}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0dbe6448146c445e5ae7040ea035c0fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
widget: {fileID: 4066371802533196909}
|
||||
offset: 50
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &4356942451796608325
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -771,17 +786,17 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
movement: 1
|
||||
dragEffect: 2
|
||||
restrictWithinPanel: 1
|
||||
restrictWithinPanel: 0
|
||||
disableDragIfFits: 0
|
||||
smoothDragStart: 1
|
||||
iOSDragEmulation: 1
|
||||
scrollWheelFactor: 0.25
|
||||
scrollWheelFactor: 0.5
|
||||
momentumAmount: 35
|
||||
dampenStrength: 9
|
||||
horizontalScrollBar: {fileID: 0}
|
||||
verticalScrollBar: {fileID: 0}
|
||||
showScrollBars: 1
|
||||
customMovement: {x: 0, y: 1}
|
||||
customMovement: {x: 0, y: 1.2}
|
||||
contentPivot: 1
|
||||
scale: {x: 0, y: 0, z: 0}
|
||||
relativePositionOnReset: {x: 0, y: 0}
|
||||
@@ -818,7 +833,7 @@ Transform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1797265047162537287}
|
||||
m_RootOrder: 4
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &8261675156757098469
|
||||
MonoBehaviour:
|
||||
@@ -913,90 +928,6 @@ MonoBehaviour:
|
||||
valueIsNumber: 0
|
||||
isPhoneNum: 0
|
||||
inValidColor: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
|
||||
--- !u!1 &5392020199045517287
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5245256511288079076}
|
||||
- component: {fileID: 5725194328039861782}
|
||||
m_Layer: 5
|
||||
m_Name: SpriteStatus
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5245256511288079076
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5392020199045517287}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -56, y: 84, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1797265047162537287}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &5725194328039861782
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5392020199045517287}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 1436185948540289783}
|
||||
relative: 0
|
||||
absolute: -30
|
||||
rightAnchor:
|
||||
target: {fileID: 1436185948540289783}
|
||||
relative: 1
|
||||
absolute: 30
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.8, g: 0.8, b: 0.8, a: 0.7058824}
|
||||
mPivot: 4
|
||||
mWidth: 204
|
||||
mHeight: 65
|
||||
mDepth: 3
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 3.1384616
|
||||
mType: 1
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
mInvert: 0
|
||||
mFlip: 0
|
||||
centerType: 1
|
||||
leftType: 1
|
||||
rightType: 1
|
||||
bottomType: 1
|
||||
topType: 1
|
||||
atlasName: atlasAllReal
|
||||
mAtlas: {fileID: 11400000, guid: 5ceb49909c25f471fb6d136b24c49d48, type: 3}
|
||||
mSpriteName: cust_input
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &5431930305969790061
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1118,7 +1049,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 1
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 1.8181819
|
||||
aspectRatio: 7.784091
|
||||
mType: 1
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
@@ -1393,12 +1324,13 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6153551275299050410}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 10001, z: 0}
|
||||
m_LocalPosition: {x: 0, y: 1152, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 6153551275605109861}
|
||||
- {fileID: 6153551274703883415}
|
||||
- {fileID: 8124004109823079534}
|
||||
- {fileID: 43765532041963125}
|
||||
m_Father: {fileID: 2359045519387336170}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -1591,7 +1523,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 1
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 0.5521803
|
||||
aspectRatio: 1.5
|
||||
--- !u!65 &6967469715053466074
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1648,7 +1580,7 @@ Transform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1797265047162537287}
|
||||
m_RootOrder: 5
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &5656910172658509130
|
||||
MonoBehaviour:
|
||||
@@ -1687,7 +1619,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 3
|
||||
aspectRatio: 4
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -1737,7 +1669,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!4 &8748586682604093815
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2038,6 +1970,155 @@ MonoBehaviour:
|
||||
mSpriteName: cust_search
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &7892449507126503647
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 43765532041963125}
|
||||
- component: {fileID: 3421217438541525890}
|
||||
- component: {fileID: 1155060253586207381}
|
||||
- component: {fileID: 3924204939422472566}
|
||||
m_Layer: 5
|
||||
m_Name: ButtonMultGetCust
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &43765532041963125
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7892449507126503647}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 511, y: -66, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6153551275299050411}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &3421217438541525890
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7892449507126503647}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 199.99998, y: 120, z: 0}
|
||||
m_Center: {x: -100, y: -0.2208252, z: 0}
|
||||
--- !u!114 &1155060253586207381
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7892449507126503647}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
tweenTarget: {fileID: 7892449507126503647}
|
||||
hover: {r: 0.88235295, g: 0.78431374, b: 0.5882353, a: 1}
|
||||
pressed: {r: 0.7176471, g: 0.6392157, b: 0.48235294, a: 1}
|
||||
disabledColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
duration: 0.2
|
||||
skipColorEffect: 1
|
||||
dragHighlight: 0
|
||||
hoverSprite:
|
||||
pressedSprite:
|
||||
disabledSprite:
|
||||
hoverSprite2D: {fileID: 0}
|
||||
pressedSprite2D: {fileID: 0}
|
||||
disabledSprite2D: {fileID: 0}
|
||||
pixelSnap: 0
|
||||
onClick:
|
||||
- mTarget: {fileID: 7986406470201499709}
|
||||
mMethodName: uiEventDelegate
|
||||
mParameters:
|
||||
- obj: {fileID: 0}
|
||||
field:
|
||||
name: go
|
||||
oneShot: 0
|
||||
--- !u!114 &3924204939422472566
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7892449507126503647}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 2359045519387336170}
|
||||
relative: 1
|
||||
absolute: -50
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 0
|
||||
mColor: {r: 0.16078432, g: 0.5647059, b: 0.8627451, a: 1}
|
||||
mPivot: 5
|
||||
mWidth: 200
|
||||
mHeight: 50
|
||||
mDepth: 5
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 4
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u6279\u91CF\u83B7\u53D6"
|
||||
mFontSize: 50
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 1
|
||||
mMaxLineCount: 0
|
||||
mEffectStyle: 0
|
||||
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
mSymbols: 1
|
||||
mEffectDistance: {x: 1, y: 1}
|
||||
mOverflow: 2
|
||||
mMaterial: {fileID: 0}
|
||||
mApplyGradient: 0
|
||||
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
|
||||
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
|
||||
mSpacingX: 0
|
||||
mSpacingY: 0
|
||||
mUseFloatSpacing: 0
|
||||
mFloatSpacingX: 0
|
||||
mFloatSpacingY: 0
|
||||
mShrinkToFit: 0
|
||||
mMaxLineWidth: 0
|
||||
mMaxLineHeight: 0
|
||||
mLineWidth: 0
|
||||
mMultiline: 1
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &7986406470201499708
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2146,199 +2227,6 @@ MonoBehaviour:
|
||||
frameName: Frame1
|
||||
frameObj: {fileID: 0}
|
||||
titleKeyName: "\u516C\u6D77\u7BA1\u7406"
|
||||
--- !u!1 &8041370538179974819
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1436185948540289783}
|
||||
- component: {fileID: 7272085564588672570}
|
||||
- component: {fileID: 6079482650825320516}
|
||||
- component: {fileID: 1576259250277603320}
|
||||
- component: {fileID: 8002302614673552313}
|
||||
m_Layer: 5
|
||||
m_Name: LabelStatus
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1436185948540289783
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8041370538179974819}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -56, y: 84, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1797265047162537287}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &7272085564588672570
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8041370538179974819}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 2986125266078277475}
|
||||
relative: 1
|
||||
absolute: 70
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.6, g: 0.6, b: 0.6, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 144
|
||||
mHeight: 36
|
||||
mDepth: 5
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 4
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u6B63\u5728\u8DDF\u8FDB"
|
||||
mFontSize: 36
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 1
|
||||
mMaxLineCount: 0
|
||||
mEffectStyle: 0
|
||||
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
mSymbols: 1
|
||||
mEffectDistance: {x: 1, y: 1}
|
||||
mOverflow: 2
|
||||
mMaterial: {fileID: 0}
|
||||
mApplyGradient: 0
|
||||
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
|
||||
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
|
||||
mSpacingX: 0
|
||||
mSpacingY: 0
|
||||
mUseFloatSpacing: 0
|
||||
mFloatSpacingX: 0
|
||||
mFloatSpacingY: 0
|
||||
mShrinkToFit: 0
|
||||
mMaxLineWidth: 0
|
||||
mMaxLineHeight: 0
|
||||
mLineWidth: 0
|
||||
mMultiline: 1
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!114 &6079482650825320516
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8041370538179974819}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: faeca5bfa217c493c8446b842f01a3fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey: dealFlag
|
||||
formatValue:
|
||||
labeName: {fileID: 0}
|
||||
defaultName:
|
||||
canNull: 0
|
||||
checkIDCard: 0
|
||||
minLen: 0
|
||||
maxLen: 0
|
||||
spriteBg: {fileID: 0}
|
||||
valueIsNumber: 0
|
||||
isPhoneNum: 0
|
||||
inValidColor: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
|
||||
--- !u!114 &1576259250277603320
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8041370538179974819}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 57e428c9b6087304da439ec665b56a2d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
atlasName:
|
||||
atlas: {fileID: 8379920634462272047, guid: 9aea3d2b5a77f4e84bd921688ff9ca99, type: 3}
|
||||
fontName:
|
||||
bitmapFont: {fileID: 0}
|
||||
trueTypeFont: {fileID: 12800000, guid: e49e0253465a54d1a83f684649c927ae, type: 3}
|
||||
fontSize: 46
|
||||
fontStyle: 0
|
||||
backgroundSprite: cust_star
|
||||
highlightSprite: cust_star
|
||||
position: 0
|
||||
alignment: 1
|
||||
items: []
|
||||
valueItems: []
|
||||
padding: {x: 4, y: 4}
|
||||
textColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
backgroundColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
highlightColor: {r: 0.88235295, g: 0.78431374, b: 0.5882353, a: 1}
|
||||
isAnimated: 1
|
||||
isLocalized: 0
|
||||
openOn: 0
|
||||
onChange:
|
||||
- mTarget: {fileID: 7272085564588672570}
|
||||
mMethodName: SetCurrentSelection
|
||||
mParameters:
|
||||
- obj: {fileID: 0}
|
||||
field:
|
||||
name: go
|
||||
oneShot: 0
|
||||
mSelectedItem:
|
||||
mPanel: {fileID: 0}
|
||||
mChild: {fileID: 0}
|
||||
mBackground: {fileID: 0}
|
||||
mHighlight: {fileID: 0}
|
||||
mHighlightedLabel: {fileID: 0}
|
||||
mLabelList: []
|
||||
mBgBorder: 0
|
||||
eventReceiver: {fileID: 0}
|
||||
functionName:
|
||||
textScale: 0
|
||||
font: {fileID: 0}
|
||||
textLabel: {fileID: 0}
|
||||
--- !u!114 &8002302614673552313
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8041370538179974819}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 864ebfdb17c38481296fc3f903fd594c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onSelect: []
|
||||
--- !u!1 &8267681012997022703
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2564,6 +2452,255 @@ MonoBehaviour:
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &8484499300566941138
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1411399150418837180}
|
||||
- component: {fileID: 2829767455826172565}
|
||||
m_Layer: 5
|
||||
m_Name: Label
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1411399150418837180
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8484499300566941138}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7372495615493824659}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &2829767455826172565
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8484499300566941138}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.16078432, g: 0.5647059, b: 0.8627451, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 84
|
||||
mHeight: 42
|
||||
mDepth: 3
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u83B7\u53D6"
|
||||
mFontSize: 42
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 1
|
||||
mMaxLineCount: 0
|
||||
mEffectStyle: 0
|
||||
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
mSymbols: 1
|
||||
mEffectDistance: {x: 1, y: 1}
|
||||
mOverflow: 2
|
||||
mMaterial: {fileID: 0}
|
||||
mApplyGradient: 0
|
||||
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
|
||||
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
|
||||
mSpacingX: 0
|
||||
mSpacingY: 0
|
||||
mUseFloatSpacing: 0
|
||||
mFloatSpacingX: 0
|
||||
mFloatSpacingY: 0
|
||||
mShrinkToFit: 0
|
||||
mMaxLineWidth: 0
|
||||
mMaxLineHeight: 0
|
||||
mLineWidth: 0
|
||||
mMultiline: 1
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &8489483126005569517
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7372495615493824659}
|
||||
- component: {fileID: 981207580011007545}
|
||||
- component: {fileID: 982764797611943103}
|
||||
- component: {fileID: 111498146516747063}
|
||||
- component: {fileID: 3337386311716982914}
|
||||
m_Layer: 5
|
||||
m_Name: ButtonGet
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &7372495615493824659
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8489483126005569517}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 362, y: -88, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1411399150418837180}
|
||||
m_Father: {fileID: 1797265047162537287}
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &981207580011007545
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8489483126005569517}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 199.99998, y: 100, z: 0}
|
||||
m_Center: {x: 0, y: -0.0957489, z: 0}
|
||||
--- !u!114 &982764797611943103
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8489483126005569517}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
tweenTarget: {fileID: 8489483126005569517}
|
||||
hover: {r: 0.88235295, g: 0.78431374, b: 0.5882353, a: 1}
|
||||
pressed: {r: 0.7176471, g: 0.6392157, b: 0.48235294, a: 1}
|
||||
disabledColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
duration: 0.2
|
||||
skipColorEffect: 0
|
||||
dragHighlight: 0
|
||||
hoverSprite:
|
||||
pressedSprite:
|
||||
disabledSprite:
|
||||
hoverSprite2D: {fileID: 0}
|
||||
pressedSprite2D: {fileID: 0}
|
||||
disabledSprite2D: {fileID: 0}
|
||||
pixelSnap: 0
|
||||
onClick:
|
||||
- mTarget: {fileID: 4308076652053611936}
|
||||
mMethodName: uiEventDelegate
|
||||
mParameters:
|
||||
- obj: {fileID: 0}
|
||||
field:
|
||||
name: go
|
||||
oneShot: 0
|
||||
--- !u!114 &111498146516747063
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8489483126005569517}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 1797265047162537287}
|
||||
relative: 1
|
||||
absolute: -250
|
||||
rightAnchor:
|
||||
target: {fileID: 1797265047162537287}
|
||||
relative: 1
|
||||
absolute: -50
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 0
|
||||
mColor: {r: 0.16078432, g: 0.5647059, b: 0.8627451, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 200
|
||||
mHeight: 80
|
||||
mDepth: 2
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2.5
|
||||
mType: 1
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
mInvert: 0
|
||||
mFlip: 0
|
||||
centerType: 1
|
||||
leftType: 1
|
||||
rightType: 1
|
||||
bottomType: 1
|
||||
topType: 1
|
||||
atlasName: atlasAllReal
|
||||
mAtlas: {fileID: 11400000, guid: 5ceb49909c25f471fb6d136b24c49d48, type: 3}
|
||||
mSpriteName: public_check
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!114 &3337386311716982914
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8489483126005569517}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f02842fa4878db54f9587ff4de7d9f2d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
scrollView: {fileID: 0}
|
||||
draggablePanel: {fileID: 0}
|
||||
--- !u!1 &8631893716084882119
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -1038,7 +1038,7 @@ MonoBehaviour:
|
||||
anchorOffset: 0
|
||||
softBorderPadding: 1
|
||||
renderQueue: 0
|
||||
startingRenderQueue: 3003
|
||||
startingRenderQueue: 3002
|
||||
mClipTexture: {fileID: 0}
|
||||
mAlpha: 1
|
||||
mClipping: 3
|
||||
@@ -1735,7 +1735,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4713050183387073493
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1744,7 +1744,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 890832598992335969}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -1104.9999, y: 0, z: 0}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1467516596806451442}
|
||||
@@ -1784,7 +1784,7 @@ MonoBehaviour:
|
||||
pivot: 1
|
||||
maxPerLine: 4
|
||||
cellWidth: 283.74
|
||||
cellHeight: 330
|
||||
cellHeight: 420
|
||||
animateSmoothly: 0
|
||||
hideInactive: 1
|
||||
keepWithinPanel: 0
|
||||
@@ -1991,6 +1991,106 @@ MonoBehaviour:
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &1217192100569320354
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4601844564519845584}
|
||||
- component: {fileID: 4736765470085241111}
|
||||
m_Layer: 5
|
||||
m_Name: Label
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4601844564519845584
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1217192100569320354}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -171.62, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1467516596806451442}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4736765470085241111
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1217192100569320354}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.6, g: 0.6, b: 0.6, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 245
|
||||
mHeight: 84
|
||||
mDepth: 6
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2.9166667
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u8FD9\u662F\u4E00\u4E2A\u9644\u4EF6\u7684\u540D\u5B57.png"
|
||||
mFontSize: 42
|
||||
mFontStyle: 1
|
||||
mAlignment: 0
|
||||
mEncoding: 1
|
||||
mMaxLineCount: 0
|
||||
mEffectStyle: 0
|
||||
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
mSymbols: 1
|
||||
mEffectDistance: {x: 1, y: 1}
|
||||
mOverflow: 1
|
||||
mMaterial: {fileID: 0}
|
||||
mApplyGradient: 0
|
||||
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
|
||||
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
|
||||
mSpacingX: 0
|
||||
mSpacingY: 0
|
||||
mUseFloatSpacing: 0
|
||||
mFloatSpacingX: 0
|
||||
mFloatSpacingY: 0
|
||||
mShrinkToFit: 0
|
||||
mMaxLineWidth: 0
|
||||
mMaxLineHeight: 0
|
||||
mLineWidth: 0
|
||||
mMultiline: 1
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &1219081092625388845
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -4705,7 +4805,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3926309906149336925
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -4747,7 +4847,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 446d504799d99174383957fca80713c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
group: 40
|
||||
group: 41
|
||||
activeSprite: {fileID: 1242004418260625241}
|
||||
activeAnimation: {fileID: 0}
|
||||
animator: {fileID: 0}
|
||||
@@ -4826,7 +4926,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!4 &4844495956727081413
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -5166,7 +5266,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 446d504799d99174383957fca80713c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
group: 40
|
||||
group: 41
|
||||
activeSprite: {fileID: 7874426947130662633}
|
||||
activeAnimation: {fileID: 0}
|
||||
animator: {fileID: 0}
|
||||
@@ -7324,13 +7424,13 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 446d504799d99174383957fca80713c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
group: 40
|
||||
group: 41
|
||||
activeSprite: {fileID: 830387933739021215}
|
||||
activeAnimation: {fileID: 0}
|
||||
animator: {fileID: 0}
|
||||
startsActive: 0
|
||||
instantTween: 0
|
||||
optionCanBeNone: 1
|
||||
optionCanBeNone: 0
|
||||
onChange: []
|
||||
checkSprite: {fileID: 0}
|
||||
checkAnimation: {fileID: 0}
|
||||
@@ -8233,7 +8333,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 446d504799d99174383957fca80713c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
group: 40
|
||||
group: 41
|
||||
activeSprite: {fileID: 4412006351698666144}
|
||||
activeAnimation: {fileID: 0}
|
||||
animator: {fileID: 0}
|
||||
@@ -8686,6 +8786,90 @@ MonoBehaviour:
|
||||
widget: {fileID: 3672607356051103172}
|
||||
offset: 50
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &5734003362335122161
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 593301531348764212}
|
||||
- component: {fileID: 4131656986972095250}
|
||||
m_Layer: 5
|
||||
m_Name: SpriteIcon
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &593301531348764212
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5734003362335122161}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1.5, y: 1.5, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1467516596806451442}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4131656986972095250
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5734003362335122161}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 1, g: 0.73178554, b: 0.0047169924, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 88
|
||||
mHeight: 94
|
||||
mDepth: 7
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 0.9361702
|
||||
mType: 0
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
mInvert: 0
|
||||
mFlip: 0
|
||||
centerType: 1
|
||||
leftType: 1
|
||||
rightType: 1
|
||||
bottomType: 1
|
||||
topType: 1
|
||||
atlasName: atlasAllReal
|
||||
mAtlas: {fileID: 11400000, guid: 5ceb49909c25f471fb6d136b24c49d48, type: 3}
|
||||
mSpriteName: mine_me_opinion
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &5937965850347534896
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -10697,7 +10881,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 446d504799d99174383957fca80713c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
group: 40
|
||||
group: 41
|
||||
activeSprite: {fileID: 4955119228073544552}
|
||||
activeAnimation: {fileID: 0}
|
||||
animator: {fileID: 0}
|
||||
@@ -11614,10 +11798,12 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7988814047750342368}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -141.87, y: -0, z: 0}
|
||||
m_LocalPosition: {x: -425.61, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 8958346099814627774}
|
||||
- {fileID: 4601844564519845584}
|
||||
- {fileID: 593301531348764212}
|
||||
m_Father: {fileID: 4713050183387073493}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -11634,7 +11820,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
isPause: 0
|
||||
luaPath: trCRM/upgradeRes/priority/lua/ui/cell/TRCellImage.lua
|
||||
luaPath: trCRM/upgradeRes/priority/lua/ui/cell/TRCellAttachment.lua
|
||||
isNeedResetAtlase: 1
|
||||
--- !u!114 &615197027365497756
|
||||
MonoBehaviour:
|
||||
@@ -12586,7 +12772,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8804607366196574388}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 141.87, y: -0, z: 0}
|
||||
m_LocalPosition: {x: -141.87, y: -420, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 5020464132629803277}
|
||||
@@ -13554,7 +13740,7 @@ MonoBehaviour:
|
||||
anchorOffset: 0
|
||||
softBorderPadding: 1
|
||||
renderQueue: 0
|
||||
startingRenderQueue: 3004
|
||||
startingRenderQueue: 3003
|
||||
mClipTexture: {fileID: 0}
|
||||
mAlpha: 1
|
||||
mClipping: 3
|
||||
|
||||
@@ -98,7 +98,7 @@ BoxCollider:
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1125, y: 2304, z: 0}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &5298718982170013365
|
||||
--- !u!1 &3633394705668891988
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -106,332 +106,54 @@ GameObject:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2597976407841131450}
|
||||
- component: {fileID: 3717174517520463622}
|
||||
- component: {fileID: 8247654029295935944}
|
||||
- component: {fileID: 1726142625362492797}
|
||||
m_Layer: 5
|
||||
m_Name: Label
|
||||
m_Name: Grid
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2597976407841131450
|
||||
--- !u!4 &8247654029295935944
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5298718982170013365}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7109500400804505203}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &3717174517520463622
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5298718982170013365}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 1, g: 0.1273585, b: 0.1273585, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 138
|
||||
mHeight: 46
|
||||
mDepth: 5
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u672C\u5730\u670D"
|
||||
mFontSize: 46
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 1
|
||||
mMaxLineCount: 0
|
||||
mEffectStyle: 0
|
||||
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
mSymbols: 1
|
||||
mEffectDistance: {x: 1, y: 1}
|
||||
mOverflow: 2
|
||||
mMaterial: {fileID: 0}
|
||||
mApplyGradient: 0
|
||||
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
|
||||
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
|
||||
mSpacingX: 0
|
||||
mSpacingY: 0
|
||||
mUseFloatSpacing: 0
|
||||
mFloatSpacingX: 0
|
||||
mFloatSpacingY: 0
|
||||
mShrinkToFit: 0
|
||||
mMaxLineWidth: 0
|
||||
mMaxLineHeight: 0
|
||||
mLineWidth: 0
|
||||
mMultiline: 1
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &5952753598030686669
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4202480726961252122}
|
||||
- component: {fileID: 2895870955327661504}
|
||||
m_Layer: 5
|
||||
m_Name: Label
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4202480726961252122
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5952753598030686669}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6906317883994210997}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &2895870955327661504
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5952753598030686669}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 1, g: 0.1273585, b: 0.1273585, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 138
|
||||
mHeight: 46
|
||||
mDepth: 5
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 3
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u5F00\u53D1\u670D"
|
||||
mFontSize: 46
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 1
|
||||
mMaxLineCount: 0
|
||||
mEffectStyle: 0
|
||||
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
mSymbols: 1
|
||||
mEffectDistance: {x: 1, y: 1}
|
||||
mOverflow: 2
|
||||
mMaterial: {fileID: 0}
|
||||
mApplyGradient: 0
|
||||
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
|
||||
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
|
||||
mSpacingX: 0
|
||||
mSpacingY: 0
|
||||
mUseFloatSpacing: 0
|
||||
mFloatSpacingX: 0
|
||||
mFloatSpacingY: 0
|
||||
mShrinkToFit: 0
|
||||
mMaxLineWidth: 0
|
||||
mMaxLineHeight: 0
|
||||
mLineWidth: 0
|
||||
mMultiline: 1
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &6154162936729908387
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6906317883994210997}
|
||||
- component: {fileID: 6863175624405474998}
|
||||
- component: {fileID: 4419233353655098087}
|
||||
- component: {fileID: 1734898684140572659}
|
||||
m_Layer: 5
|
||||
m_Name: ButtonServerDev
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &6906317883994210997
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6154162936729908387}
|
||||
m_GameObject: {fileID: 3633394705668891988}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 4202480726961252122}
|
||||
- {fileID: 3602705091620079525}
|
||||
m_Father: {fileID: 722716463705605040}
|
||||
m_RootOrder: 2
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &6863175624405474998
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6154162936729908387}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 400, y: 120, z: 0}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4419233353655098087
|
||||
--- !u!114 &1726142625362492797
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6154162936729908387}
|
||||
m_GameObject: {fileID: 3633394705668891988}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: 07c4de3b4b6fe9045b059ee627c100df, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
tweenTarget: {fileID: 6154162936729908387}
|
||||
hover: {r: 0.88235295, g: 0.78431374, b: 0.5882353, a: 1}
|
||||
pressed: {r: 0.7176471, g: 0.6392157, b: 0.48235294, a: 1}
|
||||
disabledColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
duration: 0.2
|
||||
skipColorEffect: 1
|
||||
dragHighlight: 0
|
||||
hoverSprite:
|
||||
pressedSprite:
|
||||
disabledSprite:
|
||||
hoverSprite2D: {fileID: 0}
|
||||
pressedSprite2D: {fileID: 0}
|
||||
disabledSprite2D: {fileID: 0}
|
||||
pixelSnap: 0
|
||||
onClick:
|
||||
- mTarget: {fileID: 2306636552521049162}
|
||||
mMethodName: uiEventDelegate
|
||||
mParameters:
|
||||
- obj: {fileID: 0}
|
||||
field:
|
||||
name: go
|
||||
oneShot: 0
|
||||
--- !u!114 &1734898684140572659
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6154162936729908387}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.8, g: 0.8, b: 0.8, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 400
|
||||
mHeight: 120
|
||||
mDepth: 3
|
||||
autoResizeBoxCollider: 1
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 3.3333333
|
||||
mType: 1
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
mInvert: 0
|
||||
mFlip: 0
|
||||
centerType: 1
|
||||
leftType: 1
|
||||
rightType: 1
|
||||
bottomType: 1
|
||||
topType: 1
|
||||
atlasName: atlasAllReal
|
||||
mAtlas: {fileID: 11400000, guid: 5ceb49909c25f471fb6d136b24c49d48, type: 3}
|
||||
mSpriteName: public_button2
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
arrangement: 1
|
||||
sorting: 0
|
||||
pivot: 4
|
||||
maxPerLine: 0
|
||||
cellWidth: 200
|
||||
cellHeight: 200
|
||||
animateSmoothly: 0
|
||||
hideInactive: 0
|
||||
keepWithinPanel: 0
|
||||
sorted: 0
|
||||
oldParentPos: {x: 0, y: 0, z: 0}
|
||||
oldParentClipOffset: {x: 0, y: 0}
|
||||
--- !u!1 &6320771060119039048
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -445,7 +167,7 @@ GameObject:
|
||||
- component: {fileID: 2706568950277189029}
|
||||
- component: {fileID: 5016178426459801864}
|
||||
m_Layer: 5
|
||||
m_Name: ButtonServer
|
||||
m_Name: 00000
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@@ -458,13 +180,13 @@ Transform:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6320771060119039048}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 200, z: 0}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 300, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 8534664546235284192}
|
||||
m_Father: {fileID: 722716463705605040}
|
||||
m_RootOrder: 1
|
||||
m_Father: {fileID: 8247654029295935944}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &630664255065274416
|
||||
BoxCollider:
|
||||
@@ -696,9 +418,7 @@ Transform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1681386719772936772}
|
||||
- {fileID: 3602705091620079525}
|
||||
- {fileID: 6906317883994210997}
|
||||
- {fileID: 7109500400804505203}
|
||||
- {fileID: 8247654029295935944}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -739,7 +459,7 @@ MonoBehaviour:
|
||||
anchorOffset: 0
|
||||
softBorderPadding: 1
|
||||
renderQueue: 0
|
||||
startingRenderQueue: 3004
|
||||
startingRenderQueue: 3000
|
||||
mClipTexture: {fileID: 0}
|
||||
mAlpha: 1
|
||||
mClipping: 0
|
||||
@@ -775,137 +495,3 @@ MonoBehaviour:
|
||||
frameName:
|
||||
frameObj: {fileID: 0}
|
||||
titleKeyName:
|
||||
--- !u!1 &8145156391994179470
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7109500400804505203}
|
||||
- component: {fileID: 6522521951507144505}
|
||||
- component: {fileID: 430727873322794693}
|
||||
- component: {fileID: 216730793368670284}
|
||||
m_Layer: 5
|
||||
m_Name: ButtonServerLoc
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &7109500400804505203
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8145156391994179470}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -200, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 2597976407841131450}
|
||||
m_Father: {fileID: 722716463705605040}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &6522521951507144505
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8145156391994179470}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 400, y: 120, z: 0}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &430727873322794693
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8145156391994179470}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
tweenTarget: {fileID: 8145156391994179470}
|
||||
hover: {r: 0.88235295, g: 0.78431374, b: 0.5882353, a: 1}
|
||||
pressed: {r: 0.7176471, g: 0.6392157, b: 0.48235294, a: 1}
|
||||
disabledColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
duration: 0.2
|
||||
skipColorEffect: 1
|
||||
dragHighlight: 0
|
||||
hoverSprite:
|
||||
pressedSprite:
|
||||
disabledSprite:
|
||||
hoverSprite2D: {fileID: 0}
|
||||
pressedSprite2D: {fileID: 0}
|
||||
disabledSprite2D: {fileID: 0}
|
||||
pixelSnap: 0
|
||||
onClick:
|
||||
- mTarget: {fileID: 2306636552521049162}
|
||||
mMethodName: uiEventDelegate
|
||||
mParameters:
|
||||
- obj: {fileID: 0}
|
||||
field:
|
||||
name: go
|
||||
oneShot: 0
|
||||
--- !u!114 &216730793368670284
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8145156391994179470}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.8, g: 0.8, b: 0.8, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 400
|
||||
mHeight: 120
|
||||
mDepth: 3
|
||||
autoResizeBoxCollider: 1
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 3.3333333
|
||||
mType: 1
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
mInvert: 0
|
||||
mFlip: 0
|
||||
centerType: 1
|
||||
leftType: 1
|
||||
rightType: 1
|
||||
bottomType: 1
|
||||
topType: 1
|
||||
atlasName: atlasAllReal
|
||||
mAtlas: {fileID: 11400000, guid: 5ceb49909c25f471fb6d136b24c49d48, type: 3}
|
||||
mSpriteName: public_button2
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
|
||||
@@ -24,12 +24,12 @@ Transform:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2939588989796846591}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -514, y: 818, z: 0}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -514, y: -326, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7509496183817752914}
|
||||
m_RootOrder: 2
|
||||
m_Father: {fileID: 6262287659286733863}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &6915560535172139993
|
||||
MonoBehaviour:
|
||||
@@ -68,7 +68,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 4.4
|
||||
aspectRatio: 75
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -130,9 +130,8 @@ Transform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 4208810675207196616}
|
||||
- {fileID: 6436272134879442668}
|
||||
- {fileID: 2004061651202117422}
|
||||
- {fileID: 7787838922094248932}
|
||||
- {fileID: 6262287659286733863}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -240,7 +239,7 @@ Transform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7509496183817752914}
|
||||
m_RootOrder: 3
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &168160180158721453
|
||||
MonoBehaviour:
|
||||
@@ -390,7 +389,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 0.70398355
|
||||
aspectRatio: 19.711538
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -422,6 +421,58 @@ MonoBehaviour:
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &5309366852400314229
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6262287659286733863}
|
||||
- component: {fileID: 5279147850699717890}
|
||||
m_Layer: 5
|
||||
m_Name: Top
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &6262287659286733863
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5309366852400314229}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 1152, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 6436272134879442668}
|
||||
- {fileID: 2004061651202117422}
|
||||
m_Father: {fileID: 7509496183817752914}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &5279147850699717890
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5309366852400314229}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c8077b76001d36d489868d20d28bddb9, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
uiCamera: {fileID: 0}
|
||||
container: {fileID: 0}
|
||||
side: 3
|
||||
runOnlyOnce: 1
|
||||
relativeOffset: {x: 0, y: 0}
|
||||
pixelOffset: {x: 0, y: 0}
|
||||
widgetContainer: {fileID: 0}
|
||||
--- !u!1 &7591437726735558454
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -520,7 +571,7 @@ MonoBehaviour:
|
||||
smoothDragStart: 1
|
||||
iOSDragEmulation: 1
|
||||
scrollWheelFactor: 0.25
|
||||
momentumAmount: 35
|
||||
momentumAmount: 100
|
||||
dampenStrength: 9
|
||||
horizontalScrollBar: {fileID: 0}
|
||||
verticalScrollBar: {fileID: 0}
|
||||
@@ -554,12 +605,12 @@ Transform:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7926985121705281971}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -514, y: 885, z: 0}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -514, y: -258, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7509496183817752914}
|
||||
m_RootOrder: 1
|
||||
m_Father: {fileID: 6262287659286733863}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1815532557233165049
|
||||
MonoBehaviour:
|
||||
|
||||
3863
Assets/trCRM/upgradeRes4Dev/priority/ui/panel/PanelTaskList.prefab
Normal file
3863
Assets/trCRM/upgradeRes4Dev/priority/ui/panel/PanelTaskList.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fea2a6849560d4effa2a006679c691ed
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -240,7 +240,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2.5
|
||||
aspectRatio: 2.9166667
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -581,6 +581,90 @@ MonoBehaviour:
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &447654007275783582
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8257725240686552940}
|
||||
- component: {fileID: 5941066565099179957}
|
||||
m_Layer: 5
|
||||
m_Name: Background
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8257725240686552940
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 447654007275783582}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1596308195780391409}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &5941066565099179957
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 447654007275783582}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 86
|
||||
mHeight: 82
|
||||
mDepth: 5
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 1.0487804
|
||||
mType: 0
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
mInvert: 0
|
||||
mFlip: 0
|
||||
centerType: 1
|
||||
leftType: 1
|
||||
rightType: 1
|
||||
bottomType: 1
|
||||
topType: 1
|
||||
atlasName: atlasAllReal
|
||||
mAtlas: {fileID: 11400000, guid: 5ceb49909c25f471fb6d136b24c49d48, type: 3}
|
||||
mSpriteName: work_yuyue
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &497219366813600569
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -649,7 +733,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 6
|
||||
aspectRatio: 5.6666665
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -749,7 +833,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 6
|
||||
aspectRatio: 5.6666665
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -807,7 +891,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1177300157851115119}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -1022, z: 0}
|
||||
m_LocalPosition: {x: 3.75, y: -1020.7793, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 6055523243253628620}
|
||||
@@ -896,7 +980,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1265221955037360746}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -548, z: 0}
|
||||
m_LocalPosition: {x: 0, y: -547.65424, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 8514462368567531946}
|
||||
@@ -968,6 +1052,7 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 5963455614962161935}
|
||||
- component: {fileID: 1479888310639678288}
|
||||
- component: {fileID: 617889689206404109}
|
||||
m_Layer: 5
|
||||
m_Name: Sprite
|
||||
m_TagString: Untagged
|
||||
@@ -1002,13 +1087,13 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 8808936561438781430}
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 60
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 8808936561438781430}
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: -60
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
@@ -1020,13 +1105,13 @@ MonoBehaviour:
|
||||
updateAnchors: 0
|
||||
mColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 1005
|
||||
mWidth: 1025
|
||||
mHeight: 300
|
||||
mDepth: 0
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 3.53
|
||||
aspectRatio: 3.4166667
|
||||
mType: 1
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
@@ -1042,6 +1127,21 @@ MonoBehaviour:
|
||||
mSpriteName: work_work_bg_noshadow
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!114 &617889689206404109
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1312718127137622680}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0dbe6448146c445e5ae7040ea035c0fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
widget: {fileID: 1479888310639678288}
|
||||
offset: 50
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &1350808541520322046
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1210,7 +1310,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 6
|
||||
aspectRatio: 5.6666665
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -1748,6 +1848,7 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 769671389196783672}
|
||||
- component: {fileID: 8210581232464069503}
|
||||
- component: {fileID: 2218735758491148483}
|
||||
m_Layer: 5
|
||||
m_Name: Sprite
|
||||
m_TagString: Untagged
|
||||
@@ -1782,11 +1883,11 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 8843266203698922333}
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 60
|
||||
rightAnchor:
|
||||
target: {fileID: 8843266203698922333}
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: -60
|
||||
bottomAnchor:
|
||||
@@ -1800,13 +1901,13 @@ MonoBehaviour:
|
||||
updateAnchors: 0
|
||||
mColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
mPivot: 1
|
||||
mWidth: 1005
|
||||
mWidth: 1025
|
||||
mHeight: 800
|
||||
mDepth: 0
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 1.32375
|
||||
aspectRatio: 1.28125
|
||||
mType: 1
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
@@ -1822,6 +1923,21 @@ MonoBehaviour:
|
||||
mSpriteName: work_work_bg_noshadow
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!114 &2218735758491148483
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2563700189057441671}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0dbe6448146c445e5ae7040ea035c0fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
widget: {fileID: 8210581232464069503}
|
||||
offset: 50
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &2627781041010536112
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1848,7 +1964,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2627781041010536112}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 406, y: -165, z: 0}
|
||||
m_LocalPosition: {x: 405, y: -165, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 3138439517586622980}
|
||||
@@ -1980,6 +2096,8 @@ Transform:
|
||||
m_Children:
|
||||
- {fileID: 4060132671804754326}
|
||||
- {fileID: 5846843981908941431}
|
||||
- {fileID: 2984360210425107785}
|
||||
- {fileID: 4961482340793885865}
|
||||
m_Father: {fileID: 8808936561438781430}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -2028,7 +2146,7 @@ MonoBehaviour:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2879819963049374127}
|
||||
m_Enabled: 0
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 07c4de3b4b6fe9045b059ee627c100df, type: 3}
|
||||
m_Name:
|
||||
@@ -2036,8 +2154,8 @@ MonoBehaviour:
|
||||
arrangement: 0
|
||||
sorting: 0
|
||||
pivot: 1
|
||||
maxPerLine: 0
|
||||
cellWidth: 340
|
||||
maxPerLine: 4
|
||||
cellWidth: 280
|
||||
cellHeight: 200
|
||||
animateSmoothly: 0
|
||||
hideInactive: 1
|
||||
@@ -2413,7 +2531,7 @@ GameObject:
|
||||
- component: {fileID: 3135246296745835427}
|
||||
- component: {fileID: 763315735477809136}
|
||||
m_Layer: 5
|
||||
m_Name: ToggleOrder
|
||||
m_Name: ToggleCust
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@@ -2547,7 +2665,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3398351578709515305}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -74, z: 0}
|
||||
m_LocalPosition: {x: 0, y: -74.15427, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 5687123867571877963}
|
||||
@@ -2609,6 +2727,36 @@ MonoBehaviour:
|
||||
widget: {fileID: 4689739255238786590}
|
||||
offset: 0
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &3601157523698776768
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2984360210425107785}
|
||||
m_Layer: 5
|
||||
m_Name: empty
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2984360210425107785
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3601157523698776768}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 140, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4757940232671147693}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &3907044503309431328
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2693,6 +2841,156 @@ MonoBehaviour:
|
||||
mSpriteName: work_work_icon_3
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &3997909361636041388
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1596308195780391409}
|
||||
- component: {fileID: 6770197510870014164}
|
||||
- component: {fileID: 3594447690149356437}
|
||||
- component: {fileID: 4470028243140109996}
|
||||
- component: {fileID: 2400100312059547379}
|
||||
m_Layer: 5
|
||||
m_Name: ButtonTask
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1596308195780391409
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3997909361636041388}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 140, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 8257725240686552940}
|
||||
- {fileID: 8997256980257507268}
|
||||
m_Father: {fileID: 7740471187378746629}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &6770197510870014164
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3997909361636041388}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 139.99998, y: 195.74997, z: 0}
|
||||
m_Center: {x: 0, y: -32.09572, z: 0}
|
||||
--- !u!114 &3594447690149356437
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3997909361636041388}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
tweenTarget: {fileID: 447654007275783582}
|
||||
hover: {r: 0.88235295, g: 0.78431374, b: 0.5882353, a: 1}
|
||||
pressed: {r: 0.7176471, g: 0.6392157, b: 0.48235294, a: 1}
|
||||
disabledColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
duration: 0.2
|
||||
skipColorEffect: 0
|
||||
dragHighlight: 0
|
||||
hoverSprite:
|
||||
pressedSprite:
|
||||
disabledSprite:
|
||||
hoverSprite2D: {fileID: 0}
|
||||
pressedSprite2D: {fileID: 0}
|
||||
disabledSprite2D: {fileID: 0}
|
||||
pixelSnap: 0
|
||||
onClick:
|
||||
- mTarget: {fileID: 2972147043370464304}
|
||||
mMethodName: uiEventDelegate
|
||||
mParameters:
|
||||
- obj: {fileID: 0}
|
||||
field:
|
||||
name: go
|
||||
oneShot: 0
|
||||
--- !u!114 &4470028243140109996
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3997909361636041388}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f02842fa4878db54f9587ff4de7d9f2d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
scrollView: {fileID: 0}
|
||||
draggablePanel: {fileID: 0}
|
||||
--- !u!114 &2400100312059547379
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3997909361636041388}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 1, g: 0.627451, b: 0.12941177, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 130
|
||||
mHeight: 130
|
||||
mDepth: 3
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 1
|
||||
mType: 0
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
mInvert: 0
|
||||
mFlip: 0
|
||||
centerType: 1
|
||||
leftType: 1
|
||||
rightType: 1
|
||||
bottomType: 1
|
||||
topType: 1
|
||||
atlasName: atlasAllReal
|
||||
mAtlas: {fileID: 11400000, guid: 5ceb49909c25f471fb6d136b24c49d48, type: 3}
|
||||
mSpriteName: work_icon_bg
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &4267818171600236027
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -3068,13 +3366,13 @@ MonoBehaviour:
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.8, g: 0.8, b: 0.8, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 985
|
||||
mWidth: 1005
|
||||
mHeight: 2
|
||||
mDepth: 3
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 492.5
|
||||
aspectRatio: 250
|
||||
mType: 1
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
@@ -3270,6 +3568,7 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 184360130306287280}
|
||||
- component: {fileID: 7116851554165877523}
|
||||
- component: {fileID: 4772404327734628914}
|
||||
m_Layer: 5
|
||||
m_Name: Sprite
|
||||
m_TagString: Untagged
|
||||
@@ -3304,13 +3603,13 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 2414056310727233539}
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 60
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 2414056310727233539}
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: -60
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
@@ -3322,13 +3621,13 @@ MonoBehaviour:
|
||||
updateAnchors: 0
|
||||
mColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 1005
|
||||
mWidth: 1025
|
||||
mHeight: 300
|
||||
mDepth: 0
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 3.53
|
||||
aspectRatio: 3.4166667
|
||||
mType: 1
|
||||
mFillDirection: 4
|
||||
mFillAmount: 1
|
||||
@@ -3344,6 +3643,21 @@ MonoBehaviour:
|
||||
mSpriteName: work_work_bg_noshadow
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!114 &4772404327734628914
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5101786850079158507}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0dbe6448146c445e5ae7040ea035c0fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
widget: {fileID: 7116851554165877523}
|
||||
offset: 50
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &5179183535840479212
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -3416,7 +3730,7 @@ MonoBehaviour:
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u5BA2\u6237\u7C7B\u578B"
|
||||
mText: "\u8BA2\u5355\u6210\u4EA4"
|
||||
mFontSize: 42
|
||||
mFontStyle: 1
|
||||
mAlignment: 0
|
||||
@@ -3444,6 +3758,36 @@ MonoBehaviour:
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &5636350171229174243
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4961482340793885865}
|
||||
m_Layer: 5
|
||||
m_Name: empty
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4961482340793885865
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5636350171229174243}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 420, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4757940232671147693}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &5701141415396123747
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -3512,11 +3856,11 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2
|
||||
aspectRatio: 4
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u8BA2\u5355\u6210\u4EA4"
|
||||
mText: "\u5BA2\u6237\u7C7B\u578B"
|
||||
mFontSize: 42
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
@@ -3574,8 +3918,9 @@ Transform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 4907345158854568847}
|
||||
- {fileID: 7816349054022647842}
|
||||
- {fileID: 8195418330930491044}
|
||||
- {fileID: 1596308195780391409}
|
||||
- {fileID: 7816349054022647842}
|
||||
m_Father: {fileID: 2414056310727233539}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -3624,7 +3969,7 @@ MonoBehaviour:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5769594605661718573}
|
||||
m_Enabled: 0
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 07c4de3b4b6fe9045b059ee627c100df, type: 3}
|
||||
m_Name:
|
||||
@@ -3632,8 +3977,8 @@ MonoBehaviour:
|
||||
arrangement: 0
|
||||
sorting: 0
|
||||
pivot: 1
|
||||
maxPerLine: 0
|
||||
cellWidth: 340
|
||||
maxPerLine: 4
|
||||
cellWidth: 280
|
||||
cellHeight: 200
|
||||
animateSmoothly: 0
|
||||
hideInactive: 1
|
||||
@@ -3710,7 +4055,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2.5
|
||||
aspectRatio: 2.9166667
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -3781,7 +4126,7 @@ GameObject:
|
||||
- component: {fileID: 2417181810739007179}
|
||||
- component: {fileID: 4840971384966898373}
|
||||
m_Layer: 5
|
||||
m_Name: ToggleCust
|
||||
m_Name: ToggleOrder
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@@ -3795,7 +4140,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5846833866571528727}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -340, y: -0, z: 0}
|
||||
m_LocalPosition: {x: -340, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 291683786500396465}
|
||||
@@ -4096,7 +4441,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2.5
|
||||
aspectRatio: 2.9166667
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
@@ -4180,7 +4525,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6299542647304838506}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -340, y: 0, z: 0}
|
||||
m_LocalPosition: {x: -420, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 477956135615331881}
|
||||
@@ -4262,12 +4607,12 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 8808936561438781430}
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 157
|
||||
rightAnchor:
|
||||
target: {fileID: 8808936561438781430}
|
||||
relative: 0
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 287
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
@@ -4278,7 +4623,7 @@ MonoBehaviour:
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 0
|
||||
mColor: {r: 0.9607843, g: 0.3529412, b: 0.2901961, a: 1}
|
||||
mColor: {r: 1, g: 0.627451, b: 0.12941177, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 130
|
||||
mHeight: 130
|
||||
@@ -4427,7 +4772,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6446662816118089432}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -0, z: 0}
|
||||
m_LocalPosition: {x: -140, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 6288724074626795562}
|
||||
@@ -4525,7 +4870,7 @@ MonoBehaviour:
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.16078432, g: 0.5647059, b: 0.8627451, a: 1}
|
||||
mColor: {r: 0.60784316, g: 0.34901962, b: 0.7137255, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 130
|
||||
mHeight: 130
|
||||
@@ -4621,7 +4966,7 @@ MonoBehaviour:
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u8BA2\u5355\u6210\u4EA4"
|
||||
mText: "\u5BA2\u6237\u7C7B\u578B"
|
||||
mFontSize: 42
|
||||
mFontStyle: 1
|
||||
mAlignment: 0
|
||||
@@ -4761,13 +5106,13 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7060510420156313496}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -0, z: 0}
|
||||
m_LocalPosition: {x: 420, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 6987768621256920068}
|
||||
- {fileID: 4378823274938965028}
|
||||
m_Father: {fileID: 7740471187378746629}
|
||||
m_RootOrder: 1
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &8896937120193430900
|
||||
BoxCollider:
|
||||
@@ -5251,7 +5596,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7632109351959244590}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 340, y: -0, z: 0}
|
||||
m_LocalPosition: {x: 340, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1265795191249083510}
|
||||
@@ -5467,6 +5812,106 @@ MonoBehaviour:
|
||||
mSpriteName: public__empty
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &8008653165068022864
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8997256980257507268}
|
||||
- component: {fileID: 1824853351370118266}
|
||||
m_Layer: 5
|
||||
m_Name: Label
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8997256980257507268
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8008653165068022864}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -109.7, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1596308195780391409}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1824853351370118266
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8008653165068022864}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.21176471, g: 0.21176471, b: 0.21176471, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 168
|
||||
mHeight: 42
|
||||
mDepth: 5
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 4
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u9884\u7EA6\u8BB0\u5F55"
|
||||
mFontSize: 42
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 1
|
||||
mMaxLineCount: 0
|
||||
mEffectStyle: 0
|
||||
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
mSymbols: 1
|
||||
mEffectDistance: {x: 1, y: 1}
|
||||
mOverflow: 2
|
||||
mMaterial: {fileID: 0}
|
||||
mApplyGradient: 0
|
||||
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
|
||||
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
|
||||
mSpacingX: 0
|
||||
mSpacingY: 0
|
||||
mUseFloatSpacing: 0
|
||||
mFloatSpacingX: 0
|
||||
mFloatSpacingY: 0
|
||||
mShrinkToFit: 0
|
||||
mMaxLineWidth: 0
|
||||
mMaxLineHeight: 0
|
||||
mLineWidth: 0
|
||||
mMultiline: 1
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &8146871752058326566
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -5492,7 +5937,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8146871752058326566}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -478, y: 0, z: 0}
|
||||
m_LocalPosition: {x: -481, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 4695632568452137690}
|
||||
@@ -6064,13 +6509,13 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8650110074927021137}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 340, y: 0, z: 0}
|
||||
m_LocalPosition: {x: -140, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 6311147765132337020}
|
||||
- {fileID: 2928032137766496728}
|
||||
m_Father: {fileID: 7740471187378746629}
|
||||
m_RootOrder: 2
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &2456101079197011212
|
||||
BoxCollider:
|
||||
@@ -6146,11 +6591,11 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 2414056310727233539}
|
||||
relative: 1
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: -287
|
||||
rightAnchor:
|
||||
target: {fileID: 2414056310727233539}
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: -157
|
||||
bottomAnchor:
|
||||
@@ -6162,7 +6607,7 @@ MonoBehaviour:
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 0
|
||||
mColor: {r: 0.9529412, g: 0.6117647, b: 0.07058824, a: 1}
|
||||
mColor: {r: 0.16078432, g: 0.5647059, b: 0.8627451, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 130
|
||||
mHeight: 130
|
||||
@@ -6258,7 +6703,7 @@ MonoBehaviour:
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u5BA2\u6237\u7C7B\u578B"
|
||||
mText: "\u8BA2\u5355\u6210\u4EA4"
|
||||
mFontSize: 42
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
@@ -6356,7 +6801,7 @@ MonoBehaviour:
|
||||
autoResizeBoxCollider: 1
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 0.71247625
|
||||
aspectRatio: 0.71202534
|
||||
--- !u!65 &4584927893713608480
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -6412,7 +6857,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9068346992573566134}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -340, y: 0, z: 0}
|
||||
m_LocalPosition: {x: -420, y: -0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 518898425368036847}
|
||||
@@ -6494,12 +6939,12 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 2414056310727233539}
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 157
|
||||
rightAnchor:
|
||||
target: {fileID: 2414056310727233539}
|
||||
relative: 0
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 287
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
@@ -6510,7 +6955,7 @@ MonoBehaviour:
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 0
|
||||
mColor: {r: 0.16078432, g: 0.5647059, b: 0.8627451, a: 1}
|
||||
mColor: {r: 0.94509804, g: 0.3529412, b: 0.2901961, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 130
|
||||
mHeight: 130
|
||||
|
||||
Reference in New Issue
Block a user