add
This commit is contained in:
@@ -1865,6 +1865,34 @@ MonoBehaviour:
|
||||
paddingTop: 0
|
||||
paddingBottom: 0
|
||||
path: trCRM/upgradeRes4Dev/other/uiAtlas/order/xuanze_bg.png
|
||||
- name: mine_phone
|
||||
x: 0
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
borderLeft: 0
|
||||
borderRight: 0
|
||||
borderTop: 0
|
||||
borderBottom: 0
|
||||
paddingLeft: 0
|
||||
paddingRight: 0
|
||||
paddingTop: 0
|
||||
paddingBottom: 0
|
||||
path: trCRM/upgradeRes4Dev/other/uiAtlas/mine/phone.png
|
||||
- name: mine_sms
|
||||
x: 0
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
borderLeft: 0
|
||||
borderRight: 0
|
||||
borderTop: 0
|
||||
borderBottom: 0
|
||||
paddingLeft: 0
|
||||
paddingRight: 0
|
||||
paddingTop: 0
|
||||
paddingBottom: 0
|
||||
path: trCRM/upgradeRes4Dev/other/uiAtlas/mine/sms.png
|
||||
mPixelSize: 1
|
||||
mReplacement: {fileID: 0}
|
||||
mCoordinates: 0
|
||||
|
||||
@@ -3,7 +3,10 @@ local db = {}
|
||||
|
||||
DBOrder.PopListGroup = {
|
||||
urgencyLevels = "urgencyLevels", -- 紧急程序
|
||||
templateList = "templateList" -- 订单模板
|
||||
templateList = "templateList", -- 订单模板
|
||||
orderType = "orderType", -- 订单类别
|
||||
orderStatus = "orderStatus", -- 订单状态
|
||||
payOrderStatus = "payOrderStatus" -- 回款订单状态
|
||||
}
|
||||
|
||||
DBOrder.onGetFilter = function(data)
|
||||
@@ -41,13 +44,69 @@ DBOrder.onGetFilter = function(data)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local filterInfor = {}
|
||||
table.insert(filterInfor, {name = "我的订单", value = "0"})
|
||||
table.insert(filterInfor, {name = "我的草稿", value = "1"})
|
||||
db.filters[DBOrder.PopListGroup.orderType] = filterInfor
|
||||
local options = ArrayList()
|
||||
local values = ArrayList()
|
||||
for i, v in ipairs(filterInfor) do
|
||||
options:Add(v.name)
|
||||
values:Add(v.value)
|
||||
end
|
||||
db.filtersPopup[DBOrder.PopListGroup.orderType] = {
|
||||
options = options,
|
||||
values = values
|
||||
}
|
||||
|
||||
filterInfor = {}
|
||||
table.insert(filterInfor, {name = "草稿", value = "-1"})
|
||||
table.insert(filterInfor, {name = "正常工单", value = "0"})
|
||||
table.insert(filterInfor, {name = "回退工单", value = "1"})
|
||||
table.insert(filterInfor, {name = "回退到创建人", value = "2"})
|
||||
table.insert(filterInfor, {name = "正常关闭", value = "3"})
|
||||
table.insert(filterInfor, {name = "未正常关闭", value = "4"})
|
||||
db.filters[DBOrder.PopListGroup.orderStatus] = filterInfor
|
||||
options = ArrayList()
|
||||
values = ArrayList()
|
||||
for i, v in ipairs(filterInfor) do
|
||||
options:Add(v.name)
|
||||
values:Add(v.value)
|
||||
end
|
||||
db.filtersPopup[DBOrder.PopListGroup.orderStatus] = {
|
||||
options = options,
|
||||
values = values
|
||||
}
|
||||
|
||||
filterInfor = {}
|
||||
table.insert(filterInfor, {name = "暂无回款", value = "0"})
|
||||
table.insert(filterInfor, {name = "部分回款", value = "1"})
|
||||
table.insert(filterInfor, {name = "全部回款", value = "2"})
|
||||
db.filters[DBOrder.PopListGroup.payOrderStatus] = filterInfor
|
||||
options = ArrayList()
|
||||
values = ArrayList()
|
||||
for i, v in ipairs(filterInfor) do
|
||||
options:Add(v.name)
|
||||
values:Add(v.value)
|
||||
end
|
||||
db.filtersPopup[DBOrder.PopListGroup.payOrderStatus] = {
|
||||
options = options,
|
||||
values = values
|
||||
}
|
||||
end
|
||||
|
||||
DBOrder.getFilter = function(popGroup)
|
||||
if popGroup then
|
||||
return db.filters[popGroup]
|
||||
end
|
||||
return db.filters
|
||||
end
|
||||
DBOrder.getPopupList = function(popGroup)
|
||||
if popGroup then
|
||||
return db.filtersPopup[popGroup]
|
||||
end
|
||||
return db.filters
|
||||
return db.filtersPopup
|
||||
end
|
||||
|
||||
DBOrder.getFields = function(templateId)
|
||||
|
||||
@@ -9,22 +9,54 @@ local db = {}
|
||||
local icons = {}
|
||||
local poplist = {}
|
||||
|
||||
function DBUser.onGetUsers(list)
|
||||
poplist.options = ArrayList()
|
||||
poplist.values = ArrayList()
|
||||
DBUser.FilterGroup = {
|
||||
user = "user",
|
||||
group = "group"
|
||||
}
|
||||
|
||||
function DBUser.onGetUsers(list, groupList)
|
||||
local options = ArrayList()
|
||||
local values = ArrayList()
|
||||
db.filters = {}
|
||||
local name
|
||||
db.filters[DBUser.FilterGroup.user] = {}
|
||||
for i, v in ipairs(list) do
|
||||
db[v.loginNo] = v
|
||||
if v.loginName == "系统生成" then
|
||||
poplist.options:Add(joinStr(v.loginNo, "_", v.loginName))
|
||||
name = joinStr(v.loginNo, "_", v.loginName)
|
||||
else
|
||||
poplist.options:Add(joinStr(v.loginName))
|
||||
name = joinStr(v.loginName)
|
||||
end
|
||||
poplist.values:Add(v.loginNo)
|
||||
|
||||
table.insert(db.filters[DBUser.FilterGroup.user], {name = name, value = v.loginNo})
|
||||
db[v.loginNo] = v
|
||||
options:Add(name)
|
||||
values:Add(v.loginNo)
|
||||
end
|
||||
poplist[DBUser.FilterGroup.user] = {
|
||||
options = options,
|
||||
values = values
|
||||
}
|
||||
--------------------------------------------
|
||||
local options = ArrayList()
|
||||
local values = ArrayList()
|
||||
db.filters[DBUser.FilterGroup.group] = {}
|
||||
for i, v in ipairs(groupList) do
|
||||
table.insert(db.filters[DBUser.FilterGroup.group], {name = v.name, value = v.id})
|
||||
options:Add(v.name)
|
||||
values:Add(v.id)
|
||||
end
|
||||
poplist[DBUser.FilterGroup.group] = {
|
||||
options = options,
|
||||
values = values
|
||||
}
|
||||
end
|
||||
|
||||
function DBUser.getPopList()
|
||||
return poplist
|
||||
function DBUser.getFilters(group)
|
||||
return db.filters[group]
|
||||
end
|
||||
|
||||
function DBUser.getPopList(group)
|
||||
return poplist[group]
|
||||
end
|
||||
|
||||
---@return _DBUser
|
||||
|
||||
@@ -33,8 +33,8 @@ local wrapSendData = function(map)
|
||||
map.sign = NetProto.sign
|
||||
local dList = {}
|
||||
for k, v in pairs(map) do
|
||||
if (type(v) == "number" or type(v) == "string" or type(v) == "boolean") then
|
||||
table.insert(dList, joinStr(k, "=", Uri.EscapeDataString(v or "")))
|
||||
if v and (type(v) == "number" or type(v) == "string" or type(v) == "boolean") then
|
||||
table.insert(dList, joinStr(k, "=", Uri.EscapeDataString(tostring(v))))
|
||||
end
|
||||
end
|
||||
return table.concat(dList, "&")
|
||||
@@ -242,7 +242,8 @@ NetProto.cmds = {
|
||||
selectProductInfo = "selectProductInfo", -- 商品列表
|
||||
createWfInfo = "createWfInfo", -- 创建订单
|
||||
create_followUp_task = "create_followUp_task", -- 创建跟进预约
|
||||
list_followUp_records = "list_followUp_records" -- 跟进记录
|
||||
list_followUp_records = "list_followUp_records", -- 跟进记录
|
||||
workFlowQuery = "workFlowQuery" -- 工单列表
|
||||
}
|
||||
---------------------------------------------------------------------------------------
|
||||
---------------------------------------------------------------------------------------
|
||||
@@ -585,5 +586,15 @@ NetProto.send.list_followUp_records = function(filters, queryKey, page, callback
|
||||
content.current_page = page
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
NetProto.send.workFlowQuery = function(filters, queryKey, page, callback, timeOutSec)
|
||||
local content = {}
|
||||
content.action = NetProto.cmds.workFlowQuery
|
||||
content.groupId = NetProto.groupId
|
||||
content.filters = filters
|
||||
content.keywords = queryKey
|
||||
content.current_page = page
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
------------------------------------------------------
|
||||
return NetProto
|
||||
|
||||
@@ -115,6 +115,7 @@ function MyUtl.setIsHidePhone(val)
|
||||
end
|
||||
|
||||
MyUtl.hidePhone = function(phone)
|
||||
if not phone then return end
|
||||
if not MyUtl.isHidePhone then
|
||||
return phone
|
||||
end
|
||||
|
||||
@@ -1,101 +1,122 @@
|
||||
-- xx单元
|
||||
do
|
||||
local _cell = {}
|
||||
local csSelf = nil;
|
||||
local transform = nil;
|
||||
local grid;
|
||||
local dayPrefab = nil;
|
||||
local mData = nil;
|
||||
local csSelf = nil
|
||||
local transform = nil
|
||||
local grid
|
||||
local dayPrefab = nil
|
||||
local mData = nil
|
||||
|
||||
local dayList
|
||||
|
||||
-- 初始化,只调用一次
|
||||
function _cell.init(csObj)
|
||||
csSelf = csObj;
|
||||
transform = csSelf.transform;
|
||||
grid = getChild(transform, "Grid"):GetComponent("UIGrid");
|
||||
dayPrefab = getChild(grid.transform, "00000").gameObject;
|
||||
end
|
||||
|
||||
-- 显示,
|
||||
-- 注意,c#侧不会在调用show时,调用refresh
|
||||
function _cell.show(go, data)
|
||||
csSelf = csObj
|
||||
transform = csSelf.transform
|
||||
grid = getChild(transform, "Grid"):GetComponent("UIGrid")
|
||||
dayPrefab = getChild(grid.transform, "00000").gameObject
|
||||
end
|
||||
|
||||
-- 注意,c#侧不会在调用show时,调用refresh
|
||||
function _cell.refresh(data, pageIndex)
|
||||
mData = data;
|
||||
mData = data
|
||||
if (mData == nil) then
|
||||
mData = {}
|
||||
local curYear, curMonth = PanelCalender.getData();
|
||||
local curYear, curMonth = PanelCalender.getData()
|
||||
if (pageIndex < 0) then
|
||||
mData.year, mData.month = PanelCalender.getYYHH_ByaddMonth(curYear, curMonth, -6 + pageIndex);
|
||||
mData.year, mData.month = PanelCalender.getYYHH_ByaddMonth(curYear, curMonth, -6 + pageIndex)
|
||||
else
|
||||
mData.year, mData.month = PanelCalender.getYYHH_ByaddMonth(curYear, curMonth, -6 + pageIndex);
|
||||
mData.year, mData.month = PanelCalender.getYYHH_ByaddMonth(curYear, curMonth, -6 + pageIndex)
|
||||
end
|
||||
end
|
||||
dayList = _cell.resetCalender(mData.year, mData.month)
|
||||
CLUIUtl.resetList4Lua(grid, dayPrefab, dayList, _cell.initCellDay)
|
||||
end
|
||||
|
||||
CLUIUtl.resetList4Lua(grid, dayPrefab,
|
||||
_cell.resetCalender(mData.year, mData.month),
|
||||
_cell.initCellDay);
|
||||
function _cell.doRefresh()
|
||||
CLUIUtl.resetList4Lua(grid, dayPrefab, dayList, _cell.initCellDay)
|
||||
end
|
||||
|
||||
-- 取得数据
|
||||
function _cell.getData()
|
||||
return mData;
|
||||
return mData
|
||||
end
|
||||
|
||||
function _cell.initCellDay(cell, day)
|
||||
local data = {}
|
||||
data.day = day;
|
||||
-- print(mData.year);
|
||||
-- print(mData.month);
|
||||
-- print(day);
|
||||
-- print("=================");
|
||||
if (mData.year == DateTime.Now.Year and
|
||||
mData.month == DateTime.Now.Month and
|
||||
day == DateTime.Now.Day) then
|
||||
data.isToday = true;
|
||||
PanelCalender.setDefalutSelectDate(cell, mData.year, mData.month, day);
|
||||
local data
|
||||
if cell.luaTable then
|
||||
data = cell.luaTable.getData()
|
||||
else
|
||||
data.isToday = false;
|
||||
data.isSelected = false;
|
||||
data = {}
|
||||
end
|
||||
local selectedYear, selectedMonth, selectedDay = PanelCalender.getSelectDate();
|
||||
if (mData.year == selectedYear and mData.month == selectedMonth and selectedDay == data.day) then
|
||||
data.isSelected = true;
|
||||
data.day = day
|
||||
local selectedYear, selectedMonth, selectedDay = PanelCalender.getSelectDate()
|
||||
if (mData.year == DateTime.Now.Year and mData.month == DateTime.Now.Month and day == DateTime.Now.Day) then
|
||||
data.isToday = true
|
||||
if selectedYear == nil then
|
||||
PanelCalender.setDefalutSelectDate(cell, mData.year, mData.month, day)
|
||||
end
|
||||
else
|
||||
data.isToday = false
|
||||
data.isSelected = false
|
||||
end
|
||||
cell:init(data, _cell.onClickDay);
|
||||
data.isSelected = false
|
||||
local isDateRange, startDate, endDate = PanelCalender.getDateRangeDate()
|
||||
if isDateRange then
|
||||
local tmpDate =
|
||||
tonumber(
|
||||
joinStr(
|
||||
NumEx.nStrForLen(mData.year, 4),
|
||||
NumEx.nStrForLen(mData.month, 2),
|
||||
NumEx.nStrForLen(data.day, 2)
|
||||
)
|
||||
)
|
||||
if tmpDate and (startDate and tmpDate >= startDate) and (endDate and tmpDate <= endDate) then
|
||||
data.isSelected = true
|
||||
elseif tmpDate and (startDate and tmpDate == startDate) and endDate == nil then
|
||||
data.isSelected = true
|
||||
else
|
||||
data.isSelected = false
|
||||
end
|
||||
else
|
||||
if (mData.year == selectedYear and mData.month == selectedMonth and selectedDay == data.day) then
|
||||
data.isSelected = true
|
||||
PanelCalender.setDefalutSelectDate(cell, mData.year, mData.month, day)
|
||||
end
|
||||
end
|
||||
cell:init(data, _cell.onClickDay)
|
||||
end
|
||||
|
||||
function _cell.onClickDay(cell)
|
||||
local d = cell.luaTable.getData();
|
||||
local d = cell.luaTable.getData()
|
||||
if (d.day == -1) then
|
||||
return;
|
||||
return
|
||||
end
|
||||
|
||||
local selectedDay = cell.luaTable.getData().day;
|
||||
local selectedMonth = mData.month;
|
||||
local selectedYear = mData.year;
|
||||
local selectedDay = cell.luaTable.getData().day
|
||||
local selectedMonth = mData.month
|
||||
local selectedYear = mData.year
|
||||
|
||||
PanelCalender.setSelectDate(cell, selectedYear, selectedMonth, selectedDay);
|
||||
PanelCalender.setSelectDate(cell, selectedYear, selectedMonth, selectedDay)
|
||||
end
|
||||
|
||||
function _cell.resetCalender(year, month)
|
||||
local list = ArrayList();
|
||||
local dayCount = DateEx.getMothDays(year, month);
|
||||
local week = DateEx.getWeek(year, month, 1);
|
||||
local list = ArrayList()
|
||||
local dayCount = DateEx.getMothDays(year, month)
|
||||
local week = DateEx.getWeek(year, month, 1)
|
||||
for i = 0, week - 1 do
|
||||
list:Add(-1);
|
||||
list:Add(-1)
|
||||
end
|
||||
for i = week, dayCount - 1 + week do
|
||||
-- print(i .. "-" .. week .. "+1");
|
||||
list:Add(i - week + 1);
|
||||
list:Add(i - week + 1)
|
||||
end
|
||||
for i = dayCount + week, 41 do
|
||||
list:Add(-1);
|
||||
list:Add(-1)
|
||||
end
|
||||
return list;
|
||||
return list
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return _cell;
|
||||
return _cell
|
||||
end
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
-- 单元
|
||||
local uiCell = {}
|
||||
|
||||
local csSelf = nil
|
||||
local transform = nil
|
||||
local gameObject = nil
|
||||
-- local Background = nil;
|
||||
local Label = nil
|
||||
local mData = nil
|
||||
|
||||
local centerObj
|
||||
|
||||
function uiCell.init(go)
|
||||
gameObject = go
|
||||
transform = go.transform
|
||||
csSelf = gameObject:GetComponent("CLCellLua")
|
||||
|
||||
-- Background = getChild(transform, "Background"):GetComponent("UISprite");
|
||||
Label = csSelf:GetComponent("UILabel")
|
||||
end
|
||||
|
||||
function uiCell.setCenterObj(val)
|
||||
centerObj = val
|
||||
uiCell.refresh()
|
||||
end
|
||||
|
||||
function uiCell.show(go, data)
|
||||
mData = data
|
||||
uiCell.refresh()
|
||||
end
|
||||
|
||||
function uiCell.refresh(flag)
|
||||
Label.text = isNilOrEmpty(mData) and "请选择" or mData
|
||||
if centerObj and centerObj.centeredObject and centerObj.centeredObject.name == gameObject.name then
|
||||
Label.color = ColorEx.getColor(0xff2990dc)
|
||||
else
|
||||
Label.color = ColorEx.getColor(0xff363636)
|
||||
end
|
||||
end
|
||||
|
||||
function uiCell.getData()
|
||||
return mData
|
||||
end
|
||||
return uiCell
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 933ba76c855fc47f8a02fd380f0d7784
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -12,6 +12,7 @@
|
||||
---@field popValues
|
||||
---@field donotJoinKey boolean 是否要拼接key
|
||||
---@field height numb 高度,只有在emptyspace有用
|
||||
---@field defaultText
|
||||
|
||||
---@class _ParamCellExtendFiled
|
||||
---@field showMode _FieldMode
|
||||
@@ -152,7 +153,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = uiobjs.inputLabel
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = uiobjs.inputLabel
|
||||
uiobjs.input.defaultText = attr.defaultText or uiobjs.inputLabel
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, true) -- multext
|
||||
if
|
||||
@@ -179,7 +180,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = ""
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = ""
|
||||
uiobjs.input.defaultText = attr.defaultText or ""
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, false)
|
||||
_cell.enabeldObj(uiobjs.SpriteRight, false)
|
||||
@@ -196,7 +197,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = uiobjs.inputLabel
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = uiobjs.inputLabel
|
||||
uiobjs.input.defaultText = attr.defaultText or uiobjs.inputLabel
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, true)
|
||||
_cell.enabeldObj(uiobjs.SpriteRight, true)
|
||||
@@ -213,7 +214,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = ""
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = ""
|
||||
uiobjs.input.defaultText = attr.defaultText or ""
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, false)
|
||||
_cell.enabeldObj(uiobjs.SpriteRight, true)
|
||||
@@ -230,7 +231,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = ""
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = ""
|
||||
uiobjs.input.defaultText = attr.defaultText or ""
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, false)
|
||||
_cell.enabeldObj(uiobjs.SpriteRight, true)
|
||||
|
||||
@@ -28,7 +28,7 @@ function _cell.show(go, data)
|
||||
mData = data
|
||||
local optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.dealFlagList)
|
||||
uiobjs.LabelStatus:refreshItems(optionInfor.options, optionInfor.values)
|
||||
local optionInfor = DBUser.getPopList()
|
||||
local optionInfor = DBUser.getPopList(DBUser.FilterGroup.user)
|
||||
uiobjs.LabelServerNo:refreshItems(optionInfor.options, optionInfor.values)
|
||||
|
||||
if tostring(mData.dealFlag) == "0" then
|
||||
|
||||
@@ -11,13 +11,9 @@ local uiobjs = {}
|
||||
function _cell.init(csObj)
|
||||
csSelf = csObj
|
||||
transform = csSelf.transform
|
||||
-- uiobjs.LabelCompanyName = getCC(transform, "LabelCompanyName", "UILabel")
|
||||
-- uiobjs.LabelTime = getCC(transform, "LabelTime", "UILabel")
|
||||
---@type UIPopupList
|
||||
uiobjs.LabelStatus = getCC(transform, "LabelStatus", "UIPopupList")
|
||||
-- uiobjs.LabelCustName = getCC(transform, "LabelCustName", "UILabel")
|
||||
-- uiobjs.SpriteStatus = getCC(transform, "SpriteStatus", "UISprite")
|
||||
uiobjs.LabelServerNo = getCC(transform, "LabelServerNo", "UILabel")
|
||||
uiobjs.LabelServerNo = getCC(transform, "LabelServerNo", "UIPopupList")
|
||||
---@type CLUIFormRoot
|
||||
uiobjs.formRoot = csSelf:GetComponent("CLUIFormRoot")
|
||||
uiobjs.SpriteStatus = getChild(transform, "SpriteStatus")
|
||||
@@ -28,12 +24,15 @@ end
|
||||
-- 注意,c#侧不会在调用show时,调用refresh
|
||||
function _cell.show(go, data)
|
||||
mData = data
|
||||
mData.money = mData.prodNum * mData.salePrice
|
||||
mData._phoneNo = MyUtl.hidePhone(mData.phoneNo)
|
||||
mData.lastFollowUpTime = isNilOrEmpty(mData.lastFollowUpTime) and "无" or mData.lastFollowUpTime
|
||||
local optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.dealFlagList)
|
||||
local optionInfor = DBOrder.getPopupList(DBOrder.PopListGroup.orderStatus)
|
||||
uiobjs.LabelStatus:refreshItems(optionInfor.options, optionInfor.values)
|
||||
optionInfor = DBUser.getPopList(DBUser.FilterGroup.user)
|
||||
uiobjs.LabelServerNo:refreshItems(optionInfor.options, optionInfor.values)
|
||||
|
||||
uiobjs.formRoot:setValue(mData)
|
||||
if tostring(mData.dealFlag) == "0" then
|
||||
if tostring(mData.status) == "0" then
|
||||
SetActive(uiobjs.SpriteStatus.gameObject, true)
|
||||
else
|
||||
SetActive(uiobjs.SpriteStatus.gameObject, false)
|
||||
@@ -44,11 +43,10 @@ end
|
||||
|
||||
function _cell.setHeadIcon()
|
||||
---@type _DBUser
|
||||
local user = DBUser.getUserById(mData.serviceNo)
|
||||
local user = DBUser.getUserById(mData.upLoginNo)
|
||||
if user then
|
||||
uiobjs.LabelServerNo.text = user.loginName
|
||||
DBUser.getIcon(
|
||||
mData.serviceNo,
|
||||
mData.upLoginNo,
|
||||
function(texture)
|
||||
if texture and texture.name == user.imageUrl then
|
||||
uiobjs.SpriteHeadIcon.mainTexture = texture
|
||||
@@ -63,16 +61,5 @@ function _cell.getData()
|
||||
return mData
|
||||
end
|
||||
|
||||
function _cell.uiEventDelegate(go)
|
||||
local goName = go.name
|
||||
if goName == "ButtonFollow" then
|
||||
getPanelAsy("PanelNewFollow", onLoadedPanelTT, mData)
|
||||
elseif goName == "ButtonTask" then
|
||||
getPanelAsy("PanelNewFollowTask", onLoadedPanelTT, mData)
|
||||
elseif goName == "ButtonContact" then
|
||||
MyUtl.callCust(mData)
|
||||
end
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return _cell
|
||||
|
||||
@@ -13,6 +13,7 @@ local InputHH
|
||||
local InputMM
|
||||
local InputSS
|
||||
|
||||
local LabelTitle
|
||||
local LabelSelectDate
|
||||
|
||||
local callback = nil
|
||||
@@ -23,7 +24,11 @@ local selectedDay
|
||||
|
||||
local oldSelectedCell
|
||||
local isNeedTime = false
|
||||
local isDateRange = false
|
||||
local curIndex = 0
|
||||
local InputTimeStart, InputTimeEnd, InputTime
|
||||
local startDate, endDate, startDateStr, endDateStr
|
||||
local defaultDateStr, defaultDate, defaultDate2
|
||||
|
||||
PanelCalender = {}
|
||||
function PanelCalender.init(_cs)
|
||||
@@ -34,45 +39,124 @@ function PanelCalender.init(_cs)
|
||||
local content = getChild(transform, "content")
|
||||
LabelYY = getChild(content, "Title", "LabelYY"):GetComponent("UILabel")
|
||||
LabelMM = getChild(content, "Title", "LabelMM"):GetComponent("UILabel")
|
||||
LabelTitle = getChild(content, "Title", "LabelTitle"):GetComponent("UILabel")
|
||||
---@type Coolape.UIGridPage
|
||||
grid = getChild(content, "PanelDay/GridPage"):GetComponent("UIGridPage")
|
||||
LabelSelectDate = getChild(content, "LabelSelectDate"):GetComponent("UILabel")
|
||||
|
||||
ButtonRoot = getChild(content, "ButtonRoot")
|
||||
TimeRoot = getChild(content, "TimeRoot")
|
||||
InputHH = getChild(TimeRoot, "InputHH"):GetComponent("UIPopupList")
|
||||
InputMM = getChild(TimeRoot, "InputMM"):GetComponent("UIPopupList")
|
||||
InputSS = getChild(TimeRoot, "InputSS"):GetComponent("UIPopupList")
|
||||
InputTimeStart = getCC(TimeRoot, "InputTimeStart", "CLUIElement")
|
||||
InputTimeEnd = getCC(TimeRoot, "InputTimeEnd", "CLUIElement")
|
||||
InputTime = getCC(TimeRoot, "InputTime", "CLUIElement")
|
||||
end
|
||||
|
||||
function PanelCalender.setData(pars)
|
||||
curYear = pars[0]
|
||||
curMonth = pars[1]
|
||||
callback = pars[2]
|
||||
if (pars.Count > 3) then
|
||||
isNeedTime = pars[3]
|
||||
defaultDateStr = pars[0]
|
||||
-- curMonth = pars[1]
|
||||
callback = pars[1]
|
||||
if (pars.Count > 2) then
|
||||
isNeedTime = pars[2]
|
||||
else
|
||||
isNeedTime = false
|
||||
end
|
||||
if (pars.Count > 3) then
|
||||
isDateRange = pars[3]
|
||||
else
|
||||
isDateRange = false
|
||||
end
|
||||
|
||||
if isDateRange then
|
||||
if isNilOrEmpty(defaultDateStr) then
|
||||
startDate = nil
|
||||
endDate = nil
|
||||
curYear = DateTime.Now.Year
|
||||
curMonth = DateTime.Now.Month
|
||||
else
|
||||
local strs = strSplit(defaultDateStr, "~")
|
||||
defaultDate = DateTime.Parse(strs[1])
|
||||
local date = defaultDate
|
||||
startDate =
|
||||
tonumber(
|
||||
joinStr(NumEx.nStrForLen(date.Year, 4), NumEx.nStrForLen(date.Month, 2), NumEx.nStrForLen(date.Day, 2))
|
||||
)
|
||||
startDateStr = joinStr(date.Year, "-", date.Month, "-", date.Day)
|
||||
curYear = date.Year
|
||||
curMonth = date.Month
|
||||
|
||||
defaultDate2 = DateTime.Parse(strs[2])
|
||||
date = defaultDate2
|
||||
endDate =
|
||||
tonumber(
|
||||
joinStr(NumEx.nStrForLen(date.Year, 4), NumEx.nStrForLen(date.Month, 2), NumEx.nStrForLen(date.Day, 2))
|
||||
)
|
||||
endDateStr = joinStr(date.Year, "-", date.Month, "-", date.Day)
|
||||
end
|
||||
else
|
||||
if isNilOrEmpty(defaultDateStr) then
|
||||
curYear = DateTime.Now.Year
|
||||
curMonth = DateTime.Now.Month
|
||||
defaultDate = nil
|
||||
selectedYear = nil
|
||||
selectedMonth = nil
|
||||
selectedDay = nil
|
||||
else
|
||||
defaultDate = DateTime.Parse(defaultDateStr)
|
||||
curYear = defaultDate.Year
|
||||
curMonth = defaultDate.Month
|
||||
selectedYear = defaultDate.Year
|
||||
selectedMonth = defaultDate.Month
|
||||
selectedDay = defaultDate.Day
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function PanelCalender.getData()
|
||||
return curYear, curMonth
|
||||
end
|
||||
|
||||
function PanelCalender.getDateRangeDate()
|
||||
return isDateRange, startDate, endDate
|
||||
end
|
||||
|
||||
function PanelCalender.show()
|
||||
csSelf.panel.depth = CLPanelManager.self.depth + 80
|
||||
|
||||
oldSelectedCell = nil
|
||||
selectedYear = nil
|
||||
selectedMonth = nil
|
||||
selectedDay = nil
|
||||
if (isNeedTime) then
|
||||
if isDateRange then
|
||||
LabelTitle.text = "选择时间范围"
|
||||
SetActive(InputTimeStart.gameObject, true)
|
||||
if defaultDate then
|
||||
InputTimeStart.value = defaultDate:ToString(DateEx.fmt_HH_mm_ss)
|
||||
else
|
||||
InputTimeStart.value = DateEx.format(DateEx.fmt_HH_mm_ss)
|
||||
end
|
||||
SetActive(InputTimeEnd.gameObject, true)
|
||||
if defaultDate2 then
|
||||
InputTimeEnd.value = defaultDate2:ToString(DateEx.fmt_HH_mm_ss)
|
||||
else
|
||||
InputTimeEnd.value = DateEx.format(DateEx.fmt_HH_mm_ss)
|
||||
end
|
||||
SetActive(InputTime.gameObject, false)
|
||||
else
|
||||
LabelTitle.text = "选择时间"
|
||||
SetActive(InputTimeStart.gameObject, false)
|
||||
SetActive(InputTimeEnd.gameObject, false)
|
||||
SetActive(InputTime.gameObject, true)
|
||||
if defaultDate then
|
||||
InputTime.value = defaultDate:ToString(DateEx.fmt_HH_mm_ss)
|
||||
else
|
||||
InputTime.value = DateEx.format(DateEx.fmt_HH_mm_ss)
|
||||
end
|
||||
end
|
||||
NGUITools.SetActive(TimeRoot.gameObject, true)
|
||||
InputHH.value = NumEx.nStrForLen(DateTime.Now.Hour, 2)
|
||||
InputMM.value = NumEx.nStrForLen(DateTime.Now.Minute, 2)
|
||||
InputSS.value = NumEx.nStrForLen(DateTime.Now.Second, 2)
|
||||
ButtonRoot.localPosition = Vector3(0, -627, 0)
|
||||
ButtonRoot.localPosition = Vector3(0, -915, 0)
|
||||
else
|
||||
if isDateRange then
|
||||
LabelTitle.text = "选择日期范围"
|
||||
else
|
||||
LabelTitle.text = "选择日期"
|
||||
end
|
||||
NGUITools.SetActive(TimeRoot.gameObject, false)
|
||||
ButtonRoot.localPosition = TimeRoot.localPosition
|
||||
end
|
||||
@@ -80,14 +164,31 @@ end
|
||||
|
||||
function PanelCalender.refresh()
|
||||
PanelCalender.showCalender(curYear, curMonth)
|
||||
if (selectedYear ~= nil) then
|
||||
local dataStr =
|
||||
PStr.b():a(tostring(selectedYear)):a("-"):a(NumEx.nStrForLen(selectedMonth, 2)):a("-"):a(
|
||||
NumEx.nStrForLen(selectedDay, 2)
|
||||
):e()
|
||||
LabelSelectDate.text = dataStr
|
||||
if isDateRange then
|
||||
if startDate and endDate then
|
||||
LabelSelectDate.text =
|
||||
joinStr(
|
||||
"[999999]开始日期:[-][363636]",
|
||||
startDateStr,
|
||||
"[-] ",
|
||||
"[999999]结束日期:[-][363636]",
|
||||
endDateStr,
|
||||
"[-]"
|
||||
)
|
||||
else
|
||||
LabelSelectDate.text =
|
||||
joinStr("[999999]开始日期:[-][363636]", "请选择", "[-] ", "[999999]结束日期:[-][363636]", "请选择", "[-]")
|
||||
end
|
||||
else
|
||||
LabelSelectDate.text = ""
|
||||
if (selectedYear ~= nil) then
|
||||
local dataStr =
|
||||
PStr.b():a(tostring(selectedYear)):a("-"):a(NumEx.nStrForLen(selectedMonth, 2)):a("-"):a(
|
||||
NumEx.nStrForLen(selectedDay, 2)
|
||||
):e()
|
||||
LabelSelectDate.text = joinStr("[999999]选择日期:[-][363636]", dataStr, "[-])")
|
||||
else
|
||||
LabelSelectDate.text = ""
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -159,17 +260,69 @@ function PanelCalender.setSelectDate(cell, year, month, day)
|
||||
selectedDay = day
|
||||
selectedYear = year
|
||||
selectedMonth = month
|
||||
local dataStr =
|
||||
PStr.b():a(tostring(selectedYear)):a("-"):a(NumEx.nStrForLen(selectedMonth, 2)):a("-"):a(
|
||||
NumEx.nStrForLen(selectedDay, 2)
|
||||
):e()
|
||||
LabelSelectDate.text = dataStr
|
||||
if isDateRange then
|
||||
local dataStr = ""
|
||||
local tmpDate =
|
||||
tonumber(joinStr(NumEx.nStrForLen(year, 4), NumEx.nStrForLen(month, 2), NumEx.nStrForLen(day, 2)))
|
||||
local tmpDateStr = joinStr(year, "-", month, "-", day)
|
||||
-- 选择日期范围
|
||||
if startDate == nil then
|
||||
startDate = tmpDate
|
||||
startDateStr = tmpDateStr
|
||||
dataStr =
|
||||
joinStr("[999999]开始日期:[-][363636]", startDateStr, "[-] ", "[999999]结束日期:[-][363636]", "请选择", "[-]")
|
||||
elseif startDate > tmpDate then
|
||||
startDate = tmpDate
|
||||
startDateStr = tmpDateStr
|
||||
endDate = nil
|
||||
dataStr =
|
||||
joinStr("[999999]开始日期:[-][363636]", startDateStr, "[-] ", "[999999]结束日期:[-][363636]", "请选择", "[-]")
|
||||
else
|
||||
endDate = tmpDate
|
||||
endDateStr = tmpDateStr
|
||||
dataStr =
|
||||
joinStr(
|
||||
"[999999]开始日期:[-][363636]",
|
||||
startDateStr,
|
||||
"[-] ",
|
||||
"[999999]结束日期:[-][363636]",
|
||||
tmpDateStr,
|
||||
"[-]"
|
||||
)
|
||||
end
|
||||
LabelSelectDate.text = dataStr
|
||||
|
||||
if (oldSelectedCell ~= nil) then
|
||||
oldSelectedCell.luaTable.refreshState(false)
|
||||
curYear = selectedYear
|
||||
curMonth = selectedMonth
|
||||
PanelCalender.refreshDays()
|
||||
else
|
||||
local dataStr =
|
||||
PStr.b():a(tostring(selectedYear)):a("-"):a(NumEx.nStrForLen(selectedMonth, 2)):a("-"):a(
|
||||
NumEx.nStrForLen(selectedDay, 2)
|
||||
):e()
|
||||
LabelSelectDate.text = joinStr("[999999]选择日期:[-][363636]", dataStr, "[-]")
|
||||
|
||||
if (oldSelectedCell ~= nil) then
|
||||
oldSelectedCell.luaTable.refreshState(false)
|
||||
end
|
||||
oldSelectedCell = cell
|
||||
oldSelectedCell.luaTable.refreshState(true)
|
||||
end
|
||||
end
|
||||
|
||||
function PanelCalender.refreshDays()
|
||||
local cell = grid.page1:GetComponent("CLCellLua")
|
||||
if cell and cell.luaTable then
|
||||
cell.luaTable.doRefresh()
|
||||
end
|
||||
cell = grid.page2:GetComponent("CLCellLua")
|
||||
if cell and cell.luaTable then
|
||||
cell.luaTable.doRefresh()
|
||||
end
|
||||
cell = grid.page3:GetComponent("CLCellLua")
|
||||
if cell and cell.luaTable then
|
||||
cell.luaTable.doRefresh()
|
||||
end
|
||||
oldSelectedCell = cell
|
||||
oldSelectedCell.luaTable.refreshState(true)
|
||||
end
|
||||
|
||||
-- function PanelCalender.addMonth(m)
|
||||
@@ -192,6 +345,10 @@ end
|
||||
-- end
|
||||
|
||||
function PanelCalender.hide()
|
||||
if (oldSelectedCell ~= nil) then
|
||||
oldSelectedCell.luaTable.refreshState(false)
|
||||
end
|
||||
oldSelectedCell = nil
|
||||
end
|
||||
|
||||
function PanelCalender.procNetwork(cmd, succ, msg, paras)
|
||||
@@ -220,21 +377,38 @@ function PanelCalender.onClickBtn(btnName)
|
||||
oldSelectedCell = nil
|
||||
curYear = DateTime.Now.Year
|
||||
curMonth = DateTime.Now.Month
|
||||
selectedYear = nil
|
||||
selectedMonth = nil
|
||||
selectedDay = nil
|
||||
startDate = nil
|
||||
endDate = nil
|
||||
startDateStr = ""
|
||||
endDateStr = ""
|
||||
PanelCalender.show()
|
||||
PanelCalender.refresh()
|
||||
elseif btnName == "ButtonOkay" then
|
||||
CLPanelManager.hidePanel(csSelf)
|
||||
local dataStr = ""
|
||||
if (selectedYear ~= nil) then
|
||||
dataStr =
|
||||
PStr.b():a(tostring(selectedYear)):a("-"):a(NumEx.nStrForLen(selectedMonth, 2)):a("-"):a(
|
||||
NumEx.nStrForLen(selectedDay, 2)
|
||||
):e()
|
||||
if (isNeedTime) then
|
||||
if isDateRange then
|
||||
if startDate == nil or endDate == nil then
|
||||
MyUtl.toastW("请选择开始结束日期")
|
||||
return
|
||||
end
|
||||
CLPanelManager.hidePanel(csSelf)
|
||||
if isNeedTime then
|
||||
dataStr = joinStr(startDateStr, " ", InputTimeStart.value, "~", endDateStr, " ", InputTimeEnd.value)
|
||||
else
|
||||
dataStr = joinStr(startDateStr, "~", endDateStr)
|
||||
end
|
||||
else
|
||||
CLPanelManager.hidePanel(csSelf)
|
||||
if (selectedYear ~= nil) then
|
||||
dataStr =
|
||||
PStr.b():a(dataStr):a(" "):a(NumEx.nStrForLen(InputHH.value, 2)):a(":"):a(
|
||||
NumEx.nStrForLen(InputMM.value, 2)
|
||||
):a(":"):a(NumEx.nStrForLen(InputSS.value, 2)):e()
|
||||
PStr.b():a(tostring(selectedYear)):a("-"):a(NumEx.nStrForLen(selectedMonth, 2)):a("-"):a(
|
||||
NumEx.nStrForLen(selectedDay, 2)
|
||||
):e()
|
||||
if (isNeedTime) then
|
||||
dataStr = joinStr(dataStr, " ", InputTime.value)
|
||||
end
|
||||
end
|
||||
end
|
||||
Utl.doCallback(callback, dataStr)
|
||||
|
||||
@@ -0,0 +1,172 @@
|
||||
-- xx界面
|
||||
local CLLPPopTime = {}
|
||||
|
||||
---@type Coolape.CLPanelLua
|
||||
local csSelf = nil
|
||||
---@type UnityEngine.Transform
|
||||
local transform = nil
|
||||
local uiobjs = {}
|
||||
local defaultTime
|
||||
local callback
|
||||
local hours = {}
|
||||
local minutes = {}
|
||||
local seconds = {}
|
||||
local hh, mm, ss
|
||||
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(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")
|
||||
---@type Coolape.CLUILoopGrid
|
||||
uiobjs.listGridHH = getCC(offset, "ListHH/Content/Grid", "CLUILoopGrid")
|
||||
uiobjs.centerOnChildHH = uiobjs.listGridHH:GetComponent("UICenterOnChild")
|
||||
---@type Coolape.CLUILoopGrid
|
||||
uiobjs.listGridMM = getCC(offset, "ListMM/Content/Grid", "CLUILoopGrid")
|
||||
uiobjs.centerOnChildMM = uiobjs.listGridMM:GetComponent("UICenterOnChild")
|
||||
---@type Coolape.CLUILoopGrid
|
||||
uiobjs.listGridSS = getCC(offset, "ListSS/Content/Grid", "CLUILoopGrid")
|
||||
uiobjs.centerOnChildSS = uiobjs.listGridSS:GetComponent("UICenterOnChild")
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
function CLLPPopTime.setData(paras)
|
||||
callback = MapEx.getObject(paras, "callback")
|
||||
defaultTime = MapEx.getString(paras, "time")
|
||||
defaultTime = isNilOrEmpty(defaultTime) and DateEx.toHHMMSS(DateEx.nowMS) or defaultTime
|
||||
local strs = strSplit(defaultTime, ":")
|
||||
hh = strs[1]
|
||||
mm = strs[2]
|
||||
ss = strs[3]
|
||||
end
|
||||
|
||||
--当有通用背板显示时的回调
|
||||
function CLLPPopTime.onShowFrame()
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function CLLPPopTime.show()
|
||||
firstCell = nil
|
||||
uiobjs.listGridHH:setList(hours, CLLPPopTime.initCellHour, CLLPPopTime.onHeadHour, CLLPPopTime.onEndHour)
|
||||
uiobjs.centerOnChildHH:Recenter()
|
||||
-- uiobjs.centerOnChildHH:CenterOn(firstCell.transform)
|
||||
firstCell = nil
|
||||
uiobjs.listGridMM:setList(minutes, CLLPPopTime.initCellMinute, CLLPPopTime.onHeadMinute, CLLPPopTime.onEndMinute)
|
||||
uiobjs.centerOnChildMM:Recenter()
|
||||
-- uiobjs.centerOnChildMM:CenterOn(firstCell.transform)
|
||||
firstCell = nil
|
||||
uiobjs.listGridSS:setList(seconds, CLLPPopTime.initCellSec, CLLPPopTime.onHeadSec, CLLPPopTime.onEndSec)
|
||||
uiobjs.centerOnChildSS:Recenter()
|
||||
-- uiobjs.centerOnChildSS:CenterOn(firstCell.transform)
|
||||
end
|
||||
function CLLPPopTime.initCellHour(cell, data)
|
||||
cell:init(data, nil)
|
||||
cell.luaTable.setCenterObj(uiobjs.centerOnChildHH)
|
||||
if firstCell == nil then
|
||||
firstCell = cell
|
||||
end
|
||||
end
|
||||
function CLLPPopTime.onHeadHour(head)
|
||||
uiobjs.listGridHH:insertList(hours)
|
||||
end
|
||||
function CLLPPopTime.onEndHour(tail)
|
||||
uiobjs.listGridHH:appendList(hours)
|
||||
end
|
||||
|
||||
function CLLPPopTime.initCellMinute(cell, data)
|
||||
cell:init(data, nil)
|
||||
cell.luaTable.setCenterObj(uiobjs.centerOnChildMM)
|
||||
if firstCell == nil then
|
||||
firstCell = cell
|
||||
end
|
||||
end
|
||||
function CLLPPopTime.onHeadMinute(head)
|
||||
uiobjs.listGridMM:insertList(minutes)
|
||||
end
|
||||
function CLLPPopTime.onEndMinute(tail)
|
||||
uiobjs.listGridMM:appendList(minutes)
|
||||
end
|
||||
|
||||
function CLLPPopTime.initCellSec(cell, data)
|
||||
cell:init(data, nil)
|
||||
cell.luaTable.setCenterObj(uiobjs.centerOnChildSS)
|
||||
if firstCell == nil then
|
||||
firstCell = cell
|
||||
end
|
||||
end
|
||||
function CLLPPopTime.onHeadSec(head)
|
||||
uiobjs.listGridSS:insertList(seconds)
|
||||
end
|
||||
function CLLPPopTime.onEndSec(tail)
|
||||
uiobjs.listGridSS:appendList(seconds)
|
||||
end
|
||||
|
||||
function CLLPPopTime.onStartCenterOnChild(scrollview)
|
||||
end
|
||||
|
||||
function CLLPPopTime.onCenterChild(center, scrollview)
|
||||
---@type Coolape.CLUILoopGrid
|
||||
local grid = getCC(scrollview.transform, "Grid", "CLUILoopGrid")
|
||||
grid:refreshContentOnly()
|
||||
end
|
||||
|
||||
function CLLPPopTime.onFinishCenterChild(scrollview)
|
||||
end
|
||||
|
||||
-- 刷新
|
||||
function CLLPPopTime.refresh()
|
||||
end
|
||||
|
||||
-- 关闭页面
|
||||
function CLLPPopTime.hide()
|
||||
end
|
||||
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function CLLPPopTime.procNetwork(cmd, succ, msg, paras)
|
||||
end
|
||||
|
||||
-- 处理ui上的事件,例如点击等
|
||||
function CLLPPopTime.uiEventDelegate(go)
|
||||
local goName = go.name
|
||||
if goName == "ButtonClose" then
|
||||
hideTopPanel(csSelf)
|
||||
elseif goName == "ButtonOkay" then
|
||||
local cell = uiobjs.centerOnChildHH.centeredObject:GetComponent("CLCellLua")
|
||||
local hh = cell.luaTable.getData()
|
||||
hh = string.gsub(hh, "点", "")
|
||||
cell = uiobjs.centerOnChildMM.centeredObject:GetComponent("CLCellLua")
|
||||
local mm = cell.luaTable.getData()
|
||||
mm = string.gsub(mm, "分", "")
|
||||
cell = uiobjs.centerOnChildSS.centeredObject:GetComponent("CLCellLua")
|
||||
local ss = cell.luaTable.getData()
|
||||
ss = string.gsub(ss, "秒", "")
|
||||
hideTopPanel(csSelf)
|
||||
Utl.doCallback(callback, joinStr(hh, ":", mm, ":", ss))
|
||||
end
|
||||
end
|
||||
|
||||
-- 当顶层页面发生变化时回调
|
||||
function CLLPPopTime.onTopPanelChange(topPanel)
|
||||
end
|
||||
|
||||
-- 当按了返回键时,关闭自己(返值为true时关闭)
|
||||
function CLLPPopTime.hideSelfOnKeyBack()
|
||||
return true
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return CLLPPopTime
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2e30ca31b514448f4966eb300b3a5191
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,68 @@
|
||||
---@type IDBasePanel
|
||||
local TRBasePanel = require("ui.panel.TRBasePanel")
|
||||
---@class TRPBindPhone:TRBasePanel
|
||||
local TRPBindPhone = class("TRPBindPhone", TRBasePanel)
|
||||
|
||||
local uiobjs = {}
|
||||
-- 初始化,只会调用一次
|
||||
function TRPBindPhone:init(csObj)
|
||||
TRPBindPhone.super.init(self, csObj)
|
||||
uiobjs.content = getChild(self.transform, "PanelContent")
|
||||
MyUtl.setContentView(uiobjs.content)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollview = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.formRoot = getCC(uiobjs.scrollview.transform, "Table", "CLUIFormRoot")
|
||||
self:setEventDelegate()
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPBindPhone
|
||||
function TRPBindPhone:setData(paras)
|
||||
self.mdata = paras
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPBindPhone:show()
|
||||
uiobjs.formRoot:setValue(self.mdata)
|
||||
uiobjs.scrollview:ResetPosition()
|
||||
end
|
||||
|
||||
-- 刷新
|
||||
function TRPBindPhone:refresh()
|
||||
end
|
||||
|
||||
-- 关闭页面
|
||||
function TRPBindPhone:hide()
|
||||
end
|
||||
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function TRPBindPhone:procNetwork(cmd, succ, msg, paras)
|
||||
if (succ == NetSuccess) then
|
||||
--[[
|
||||
if cmd == xx then
|
||||
end
|
||||
]]
|
||||
end
|
||||
end
|
||||
|
||||
function TRPBindPhone:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
ButtonModify = function()
|
||||
getPanelAsy("PanelResetPasswordStep1", onLoadedPanelTT, {phone = self.mdata.phone, isBindPhone = true})
|
||||
end
|
||||
}
|
||||
end
|
||||
-- 处理ui上的事件,例如点击等
|
||||
function TRPBindPhone:uiEventDelegate(go)
|
||||
local func = self.EventDelegate[go.name]
|
||||
if func then
|
||||
func()
|
||||
end
|
||||
end
|
||||
|
||||
-- 当顶层页面发生变化时回调
|
||||
function TRPBindPhone:onTopPanelChange(topPanel)
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return TRPBindPhone
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 59cc4c59a26144c999f66447094be492
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,140 @@
|
||||
---@class _ParamPCustFilter
|
||||
---@field title
|
||||
---@field callback
|
||||
---@field defautFilter table
|
||||
---@field queryKey
|
||||
|
||||
---@type IDBasePanel
|
||||
local TRBasePanel = require("ui.panel.TRBasePanel")
|
||||
---@class TRPComFilter:TRBasePanel 邮件列表
|
||||
local TRPComFilter = class("TRPComFilter", TRBasePanel)
|
||||
|
||||
local uiobjs = {}
|
||||
-- 初始化,只会调用一次
|
||||
function TRPComFilter:init(csObj)
|
||||
TRPComFilter.super.init(self, csObj)
|
||||
self:setEventDelegate()
|
||||
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 132 + 50, 190)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollview = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.Table = getCC(self.transform, "PanelContent/Grid", "UITable")
|
||||
uiobjs.prefab = getChild(uiobjs.Table.transform, "00000").gameObject
|
||||
uiobjs.InputSeachKey = getCC(self.transform, "Top/InputSeachKey", "UIInput")
|
||||
uiobjs.ButtonFilterSp = getCC(self.transform, "Top/ButtonFilter", "UISprite")
|
||||
uiobjs.ButtonFilterLb = getCC(uiobjs.ButtonFilterSp.transform, "Label", "UILabel")
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPComFilter
|
||||
function TRPComFilter:setData(paras)
|
||||
---@type _ParamPCustFilter
|
||||
self.mdata = paras
|
||||
|
||||
if self.mdata.defautFilter then
|
||||
self.list = self.mdata.defautFilter
|
||||
end
|
||||
end
|
||||
|
||||
---public 当有通用背板显示时的回调
|
||||
---@param cs Coolape.CLPanelLua
|
||||
function TRPComFilter:onShowFrame(cs)
|
||||
if cs.frameObj then
|
||||
---@type _BGFrame1Param
|
||||
local d = {}
|
||||
-- d.title = LGet(cs.titleKeyName)
|
||||
d.title = self.mdata.title
|
||||
d.panel = cs
|
||||
cs.frameObj:init(d)
|
||||
end
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPComFilter:show()
|
||||
uiobjs.InputSeachKey.value = self.mdata.queryKey
|
||||
self:refreshFilterBtnStatus()
|
||||
CLUIUtl.resetList4Lua(uiobjs.Table, uiobjs.prefab, self.list, self:wrapFunc(self.initCell))
|
||||
end
|
||||
|
||||
function TRPComFilter:initCell(cell, data)
|
||||
data.panel = self
|
||||
cell:init(data, nil)
|
||||
end
|
||||
|
||||
function TRPComFilter: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 TRPComFilter:hadFilterVal()
|
||||
for i,v in ipairs(self.list) do
|
||||
for j, f in ipairs(v.list) do
|
||||
if f.selected then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
-- 刷新
|
||||
function TRPComFilter:refresh()
|
||||
end
|
||||
|
||||
-- 关闭页面
|
||||
function TRPComFilter:hide()
|
||||
end
|
||||
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function TRPComFilter:procNetwork(cmd, succ, msg, paras)
|
||||
if (succ == NetSuccess) then
|
||||
--[[
|
||||
if cmd == xx then
|
||||
end
|
||||
]]
|
||||
end
|
||||
end
|
||||
|
||||
function TRPComFilter:reset()
|
||||
uiobjs.InputSeachKey.value = ""
|
||||
for i,v in ipairs(self.list) do
|
||||
for j, f in ipairs(v.list) do
|
||||
f.selected = false
|
||||
end
|
||||
end
|
||||
CLUIUtl.resetList4Lua(uiobjs.Table, uiobjs.prefab, self.list, self:wrapFunc(self.initCell))
|
||||
self:refreshFilterBtnStatus()
|
||||
end
|
||||
|
||||
function TRPComFilter:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
ButtonReset = function()
|
||||
self:reset()
|
||||
end,
|
||||
ButtonOkay = function()
|
||||
Utl.doCallback(self.mdata.callback, self.list, uiobjs.InputSeachKey.value)
|
||||
hideTopPanel(self.csSelf)
|
||||
end
|
||||
}
|
||||
end
|
||||
-- 处理ui上的事件,例如点击等
|
||||
function TRPComFilter:uiEventDelegate(go)
|
||||
local func = self.EventDelegate[go.name]
|
||||
if func then
|
||||
func()
|
||||
end
|
||||
end
|
||||
|
||||
-- 当顶层页面发生变化时回调
|
||||
function TRPComFilter:onTopPanelChange(topPanel)
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return TRPComFilter
|
||||
@@ -30,7 +30,7 @@ function TRPConnect.show()
|
||||
local phone = Prefs.getUserName()
|
||||
local currGroup = Prefs.getCurrGroup(Prefs.getUserName())
|
||||
companyInfro = json.decode(currGroup)
|
||||
DBUser.onGetUsers(companyInfro.loginNoList) -- 缓存工号相关信息
|
||||
DBUser.onGetUsers(companyInfro.loginNoList, companyInfro.groupInfoList) -- 缓存工号相关信息
|
||||
NetProto.socketInit(companyInfro.company_id, companyInfro.login_no, companyInfro.group_id)
|
||||
end
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ function TRPCustDetail:init(csObj)
|
||||
uiobjs.ButtonEndListOrder = getChild(uiobjs.OrderRoot.transform, "ButtonEndList")
|
||||
|
||||
uiobjs.MoreRoot = getCC(uiobjs.Table.transform, "MoreRoot", "CLCellLua")
|
||||
uiobjs.SysRoot = getCC(uiobjs.Table.transform, "SysRoot", "CLCellLua")
|
||||
end
|
||||
|
||||
function TRPCustDetail:prepareMoreData()
|
||||
@@ -95,6 +96,69 @@ function TRPCustDetail:prepareMoreData()
|
||||
attr.height = 180
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.moreProcList, attr)
|
||||
--------------------------------------------
|
||||
|
||||
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
|
||||
|
||||
-- 设置数据
|
||||
@@ -134,7 +198,7 @@ function TRPCustDetail:show()
|
||||
uiobjs.InputFrom:refreshItems(optionInfor.options, optionInfor.values)
|
||||
optionInfor = DBCust.getFilter4Popup(DBCust.FilterGroup.taskList)
|
||||
uiobjs.InputTask:refreshItems(optionInfor.options, optionInfor.values)
|
||||
local poplist = DBUser.getPopList()
|
||||
local poplist = DBUser.getPopList(DBUser.FilterGroup.user)
|
||||
uiobjs.InputLogin:refreshItems(poplist.options, poplist.values)
|
||||
uiobjs.LabelLoginNo:refreshItems(poplist.options, poplist.values)
|
||||
-- 设置星级
|
||||
@@ -165,6 +229,7 @@ function TRPCustDetail:showDetail()
|
||||
self:release()
|
||||
SetActive(uiobjs.DetailRoot.gameObject, true)
|
||||
SetActive(uiobjs.ExtendRoot.gameObject, true)
|
||||
SetActive(uiobjs.SysRoot.gameObject, true)
|
||||
SetActive(uiobjs.OrderRoot.gameObject, false)
|
||||
SetActive(uiobjs.Records.gameObject, false)
|
||||
SetActive(uiobjs.MoreRoot.gameObject, false)
|
||||
@@ -172,6 +237,7 @@ function TRPCustDetail:showDetail()
|
||||
|
||||
-- uiobjs.ExtendRoot:init({data = self.mdata, isEditMode = false}, nil)
|
||||
self:showExtentFiles(self.mdata.taskId)
|
||||
self:showSysFiles()
|
||||
|
||||
-- 设置星级
|
||||
local stars = {}
|
||||
@@ -186,6 +252,12 @@ function TRPCustDetail:showDetail()
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
|
||||
function TRPCustDetail:reposition()
|
||||
uiobjs.Table:Reposition()
|
||||
uiobjs.scrollView.disableDragIfFits = true
|
||||
uiobjs.scrollView:ResetPosition()
|
||||
end
|
||||
|
||||
---public 显示扩展字段
|
||||
function TRPCustDetail:showExtentFiles(taskId)
|
||||
---@type _ParamCellExtendFiledRoot
|
||||
@@ -199,16 +271,36 @@ function TRPCustDetail:showExtentFiles(taskId)
|
||||
for i, v in ipairs(fields) do
|
||||
filedInfor = {}
|
||||
filedInfor.attr = v
|
||||
filedInfor.isEditMode = false
|
||||
filedInfor.showMode = _FieldMode.showOnly
|
||||
table.insert(param.fields, filedInfor)
|
||||
end
|
||||
uiobjs.ExtendRoot:init(param, nil)
|
||||
end
|
||||
|
||||
---public 显示扩展字段
|
||||
function TRPCustDetail: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 TRPCustDetail:showRecords()
|
||||
self:release()
|
||||
SetActive(uiobjs.DetailRoot.gameObject, false)
|
||||
SetActive(uiobjs.ExtendRoot.gameObject, false)
|
||||
SetActive(uiobjs.SysRoot.gameObject, false)
|
||||
SetActive(uiobjs.OrderRoot.gameObject, false)
|
||||
SetActive(uiobjs.Records.gameObject, true)
|
||||
SetActive(uiobjs.MoreRoot.gameObject, false)
|
||||
@@ -254,6 +346,7 @@ function TRPCustDetail:showOrders()
|
||||
self:release()
|
||||
SetActive(uiobjs.DetailRoot.gameObject, false)
|
||||
SetActive(uiobjs.ExtendRoot.gameObject, false)
|
||||
SetActive(uiobjs.SysRoot.gameObject, false)
|
||||
SetActive(uiobjs.Records.gameObject, false)
|
||||
SetActive(uiobjs.OrderRoot.gameObject, true)
|
||||
SetActive(uiobjs.MoreRoot.gameObject, false)
|
||||
@@ -300,6 +393,7 @@ function TRPCustDetail:showMore()
|
||||
self:release()
|
||||
SetActive(uiobjs.DetailRoot.gameObject, false)
|
||||
SetActive(uiobjs.ExtendRoot.gameObject, false)
|
||||
SetActive(uiobjs.SysRoot.gameObject, false)
|
||||
SetActive(uiobjs.Records.gameObject, false)
|
||||
SetActive(uiobjs.OrderRoot.gameObject, false)
|
||||
SetActive(uiobjs.MoreRoot.gameObject, true)
|
||||
|
||||
@@ -8,6 +8,7 @@ local uiobjs = {}
|
||||
function TRPCustList:init(csObj)
|
||||
TRPCustList.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")
|
||||
@@ -26,6 +27,59 @@ function TRPCustList:init(csObj)
|
||||
uiobjs.ButtonHeadList = getChild(uiobjs.Grid.transform, "ButtonHeadList")
|
||||
end
|
||||
|
||||
function TRPCustList:initFilters()
|
||||
self.filters = {}
|
||||
local d = {}
|
||||
d.title = "归属工号"
|
||||
d.key = DBCust.FilterGroup.loginNoList
|
||||
d.key2 = "loginNos"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.loginNoList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "任务名称"
|
||||
d.key = DBCust.FilterGroup.taskList
|
||||
d.key2 = "taskId"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.taskList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "客户来源"
|
||||
d.key = DBCust.FilterGroup.custFromList
|
||||
d.key2 = "custFrom"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.custFromList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "客户状态"
|
||||
d.key = DBCust.FilterGroup.dealFlagList
|
||||
d.key2 = "dealFlag"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.dealFlagList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "客户类型"
|
||||
d.key = DBCust.FilterGroup.custTypeList
|
||||
d.key2 = "custType"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.custTypeList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.filters, d)
|
||||
end
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPCustList
|
||||
function TRPCustList:setData(paras)
|
||||
@@ -35,6 +89,7 @@ end
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPCustList:show()
|
||||
uiobjs.InputSeachKey.value = ""
|
||||
self:resetFilters()
|
||||
self:refreshFilterBtnStatus()
|
||||
self:showList({})
|
||||
showHotWheel()
|
||||
@@ -158,9 +213,10 @@ function TRPCustList:setEventDelegate()
|
||||
end,
|
||||
ButtonFilter = function()
|
||||
getPanelAsy(
|
||||
"PanelCustFilter",
|
||||
"PanelComFilter",
|
||||
onLoadedPanelTT,
|
||||
{
|
||||
title = "客户筛选",
|
||||
callback = self:wrapFunc(self.onSetFilter),
|
||||
queryKey = uiobjs.InputSeachKey.value,
|
||||
defautFilter = self.filters
|
||||
@@ -174,6 +230,12 @@ function TRPCustList:setEventDelegate()
|
||||
}
|
||||
end
|
||||
|
||||
function TRPCustList:resetFilters()
|
||||
for i, v in ipairs(self.filters) do
|
||||
v.selected = false
|
||||
end
|
||||
end
|
||||
|
||||
function TRPCustList:getFilterStr()
|
||||
if not self.filters then
|
||||
return ""
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
---@type IDBasePanel
|
||||
local TRBasePanel = require("ui.panel.TRBasePanel")
|
||||
---@class TRPCustFilter:TRBasePanel 邮件列表
|
||||
local TRPCustFilter = class("TRPCustFilter", TRBasePanel)
|
||||
---@class TRPFollowFilter:TRBasePanel
|
||||
local TRPFollowFilter = class("TRPFollowFilter", TRBasePanel)
|
||||
|
||||
local uiobjs = {}
|
||||
-- 初始化,只会调用一次
|
||||
function TRPCustFilter:init(csObj)
|
||||
TRPCustFilter.super.init(self, csObj)
|
||||
function TRPFollowFilter:init(csObj)
|
||||
TRPFollowFilter.super.init(self, csObj)
|
||||
self:setEventDelegate()
|
||||
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132 + 132 + 50, 190)
|
||||
@@ -20,13 +20,14 @@ function TRPCustFilter:init(csObj)
|
||||
uiobjs.Table = getCC(self.transform, "PanelContent/Grid", "UITable")
|
||||
uiobjs.prefab = getChild(uiobjs.Table.transform, "00000").gameObject
|
||||
uiobjs.InputSeachKey = getCC(self.transform, "Top/InputSeachKey", "UIInput")
|
||||
uiobjs.InputDate = getCC(uiobjs.Table.transform, "DateRang/InputDate", "CLUIElement")
|
||||
uiobjs.ButtonFilterSp = getCC(self.transform, "Top/ButtonFilter", "UISprite")
|
||||
uiobjs.ButtonFilterLb = getCC(uiobjs.ButtonFilterSp.transform, "Label", "UILabel")
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPCustFilter
|
||||
function TRPCustFilter:setData(paras)
|
||||
---@param paras _ParamTRPFollowFilter
|
||||
function TRPFollowFilter:setData(paras)
|
||||
---@type _ParamPCustFilter
|
||||
self.mdata = paras
|
||||
|
||||
@@ -35,51 +36,33 @@ function TRPCustFilter:setData(paras)
|
||||
else
|
||||
self.list = {}
|
||||
local d = {}
|
||||
d.title = "归属工号"
|
||||
d.key = DBCust.FilterGroup.loginNoList
|
||||
|
||||
d = {}
|
||||
d.title = "跟进类型"
|
||||
d.key = DBCust.FilterGroup.followUpTypeList
|
||||
d.key2 = "followTypeUp"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.followUpTypeList)
|
||||
if d.list and #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.list, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "商机"
|
||||
d.key = DBCust.FilterGroup.opportunityList
|
||||
d.key2 = "opportunity"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.opportunityList)
|
||||
if d.list and #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.list, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "跟进人员"
|
||||
d.key = "loginNos"
|
||||
d.key2 = "loginNos"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.loginNoList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.list, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "任务名称"
|
||||
d.key = DBCust.FilterGroup.taskList
|
||||
d.key2 = "taskId"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.taskList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.list, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "客户来源"
|
||||
d.key = DBCust.FilterGroup.custFromList
|
||||
d.key2 = "custFrom"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.custFromList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.list, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "客户状态"
|
||||
d.key = DBCust.FilterGroup.dealFlagList
|
||||
d.key2 = "dealFlag"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.dealFlagList)
|
||||
if #(d.list) > 0 then
|
||||
-- table.insert(d.list, 1, {name = "全部", value = -1})
|
||||
table.insert(self.list, d)
|
||||
end
|
||||
|
||||
d = {}
|
||||
d.title = "客户类型"
|
||||
d.key = DBCust.FilterGroup.custTypeList
|
||||
d.key2 = "custType"
|
||||
d.list = DBCust.getFilter(DBCust.FilterGroup.custTypeList)
|
||||
if #(d.list) > 0 then
|
||||
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.list, d)
|
||||
end
|
||||
@@ -87,18 +70,19 @@ function TRPCustFilter:setData(paras)
|
||||
end
|
||||
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPCustFilter:show()
|
||||
function TRPFollowFilter:show()
|
||||
uiobjs.InputSeachKey.value = self.mdata.queryKey
|
||||
uiobjs.InputDate.value = self.mdata.defaultTimeRange
|
||||
self:refreshFilterBtnStatus()
|
||||
CLUIUtl.resetList4Lua(uiobjs.Table, uiobjs.prefab, self.list, self:wrapFunc(self.initCell))
|
||||
end
|
||||
|
||||
function TRPCustFilter:initCell(cell, data)
|
||||
function TRPFollowFilter:initCell(cell, data)
|
||||
data.panel = self
|
||||
cell:init(data, nil)
|
||||
end
|
||||
|
||||
function TRPCustFilter:refreshFilterBtnStatus()
|
||||
function TRPFollowFilter:refreshFilterBtnStatus()
|
||||
if self:hadFilterVal() then
|
||||
uiobjs.ButtonFilterLb.color = ColorEx.getColor(0xff2990dc)
|
||||
uiobjs.ButtonFilterSp.color = ColorEx.getColor(0xff2990dc)
|
||||
@@ -110,27 +94,30 @@ function TRPCustFilter:refreshFilterBtnStatus()
|
||||
end
|
||||
end
|
||||
|
||||
function TRPCustFilter:hadFilterVal()
|
||||
for i,v in ipairs(self.list) do
|
||||
function TRPFollowFilter:hadFilterVal()
|
||||
for i, v in ipairs(self.list) do
|
||||
for j, f in ipairs(v.list) do
|
||||
if f.selected then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
if not isNilOrEmpty(uiobjs.InputDate.value) then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
-- 刷新
|
||||
function TRPCustFilter:refresh()
|
||||
function TRPFollowFilter:refresh()
|
||||
end
|
||||
|
||||
-- 关闭页面
|
||||
function TRPCustFilter:hide()
|
||||
function TRPFollowFilter:hide()
|
||||
end
|
||||
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function TRPCustFilter:procNetwork(cmd, succ, msg, paras)
|
||||
function TRPFollowFilter:procNetwork(cmd, succ, msg, paras)
|
||||
if (succ == NetSuccess) then
|
||||
--[[
|
||||
if cmd == xx then
|
||||
@@ -139,9 +126,10 @@ function TRPCustFilter:procNetwork(cmd, succ, msg, paras)
|
||||
end
|
||||
end
|
||||
|
||||
function TRPCustFilter:reset()
|
||||
function TRPFollowFilter:reset()
|
||||
uiobjs.InputSeachKey.value = ""
|
||||
for i,v in ipairs(self.list) do
|
||||
uiobjs.InputDate.value = ""
|
||||
for i, v in ipairs(self.list) do
|
||||
for j, f in ipairs(v.list) do
|
||||
f.selected = false
|
||||
end
|
||||
@@ -150,19 +138,31 @@ function TRPCustFilter:reset()
|
||||
self:refreshFilterBtnStatus()
|
||||
end
|
||||
|
||||
function TRPCustFilter:setEventDelegate()
|
||||
function TRPFollowFilter:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
ButtonReset = function()
|
||||
self:reset()
|
||||
end,
|
||||
ButtonOkay = function()
|
||||
Utl.doCallback(self.mdata.callback, self.list, uiobjs.InputSeachKey.value)
|
||||
local startDate, endDate
|
||||
if not isNilOrEmpty(uiobjs.InputDate) then
|
||||
local strs = strSplit(uiobjs.InputDate.value, "~")
|
||||
startDate = strs[1]
|
||||
endDate = strs[2]
|
||||
end
|
||||
Utl.doCallback(self.mdata.callback, self.list, uiobjs.InputSeachKey.value, startDate, endDate)
|
||||
hideTopPanel(self.csSelf)
|
||||
end,
|
||||
ButtonResetDate = function()
|
||||
uiobjs.InputDate.value = ""
|
||||
end,
|
||||
InputDate = function()
|
||||
self:refreshFilterBtnStatus()
|
||||
end
|
||||
}
|
||||
end
|
||||
-- 处理ui上的事件,例如点击等
|
||||
function TRPCustFilter:uiEventDelegate(go)
|
||||
function TRPFollowFilter:uiEventDelegate(go)
|
||||
local func = self.EventDelegate[go.name]
|
||||
if func then
|
||||
func()
|
||||
@@ -170,8 +170,8 @@ function TRPCustFilter:uiEventDelegate(go)
|
||||
end
|
||||
|
||||
-- 当顶层页面发生变化时回调
|
||||
function TRPCustFilter:onTopPanelChange(topPanel)
|
||||
function TRPFollowFilter:onTopPanelChange(topPanel)
|
||||
end
|
||||
|
||||
--------------------------------------------
|
||||
return TRPCustFilter
|
||||
return TRPFollowFilter
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ab45f16b9152c4843b3b6b6ea7f1dd42
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -120,6 +120,9 @@ function TRPFollowList:hadFilterVal()
|
||||
end
|
||||
end
|
||||
end
|
||||
if self.startTime then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
-- 刷新
|
||||
@@ -151,12 +154,13 @@ function TRPFollowList:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
ButtonFilter = function()
|
||||
getPanelAsy(
|
||||
"PanelCustFilter",
|
||||
"PanelFollowFilter",
|
||||
onLoadedPanelTT,
|
||||
{
|
||||
callback = self:wrapFunc(self.onSetFilter),
|
||||
queryKey = uiobjs.InputSeachKey.value,
|
||||
defautFilter = self.filters
|
||||
defautFilter = self.filters,
|
||||
defaultTimeRange = self.startTime and joinStr(self.startTime, "~", self.endTime) or ""
|
||||
}
|
||||
)
|
||||
end,
|
||||
@@ -176,18 +180,29 @@ function TRPFollowList:getFilterStr()
|
||||
local list = {}
|
||||
for j, f in ipairs(g.list) do
|
||||
if f.selected and f.value ~= -1 then
|
||||
table.insert(list, f.value)
|
||||
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
|
||||
end
|
||||
end
|
||||
ret[g.key2] = table.concat(list, ",")
|
||||
end
|
||||
|
||||
if self.startTime then
|
||||
ret.startTime = self.startTime
|
||||
ret.endTime = self.endTime
|
||||
end
|
||||
return ret
|
||||
end
|
||||
|
||||
function TRPFollowList:onSetFilter(filters, queryKey)
|
||||
function TRPFollowList:onSetFilter(filters, queryKey, startTime, endTime)
|
||||
local oldqueryKey = uiobjs.InputSeachKey.value
|
||||
uiobjs.InputSeachKey.value = queryKey
|
||||
self.filters = filters
|
||||
self.startTime = startTime
|
||||
self.endTime = endTime
|
||||
self:refreshFilterBtnStatus()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
queryKey = trim(queryKey)
|
||||
|
||||
@@ -81,11 +81,12 @@ function TRPMyInfor:initFiledsAttr()
|
||||
|
||||
attr = {}
|
||||
attr.attrName = "手机"
|
||||
attr.id = ""
|
||||
attr.id = "phoneNo"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.cannotEdit = true
|
||||
attr.donotJoinKey = true
|
||||
attr.defaultText = "未绑定"
|
||||
table.insert(self.baseFiledsAttr, attr)
|
||||
|
||||
attr = {}
|
||||
@@ -108,6 +109,7 @@ function TRPMyInfor:setData(paras)
|
||||
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
|
||||
@@ -155,23 +157,31 @@ end
|
||||
function TRPMyInfor:onClickField(go)
|
||||
---@type CLUIElement
|
||||
local el = go:GetComponent("CLUIElement")
|
||||
getPanelAsy(
|
||||
"PanelModifyFiled",
|
||||
onLoadedPanelTT,
|
||||
{
|
||||
label = el.labeName.text,
|
||||
key = el.jsonKey,
|
||||
value = el.value,
|
||||
canNull = el.canNull,
|
||||
callback = self:wrapFunc(self.onFinishSetField)
|
||||
}
|
||||
)
|
||||
if el.jsonKey == "phoneNo" then
|
||||
if isNilOrEmpty(self.mdata.phoneNo) then
|
||||
getPanelAsy("PanelResetPasswordStep1", onLoadedPanelTT, {phone = self.mdata.phoneNo, isBindPhone = true})
|
||||
else
|
||||
getPanelAsy("PanelBindPhone", onLoadedPanelTT, {phoneNo = self.mdata.phoneNo})
|
||||
end
|
||||
else
|
||||
getPanelAsy(
|
||||
"PanelModifyFiled",
|
||||
onLoadedPanelTT,
|
||||
{
|
||||
label = el.labeName.text,
|
||||
key = el.jsonKey,
|
||||
value = el.value,
|
||||
canNull = el.canNull,
|
||||
callback = self:wrapFunc(self.onFinishSetField)
|
||||
}
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
function TRPMyInfor:onFinishSetField(key, val)
|
||||
if tostring(val) ~= tostring(self.mdata[key]) then
|
||||
-- self:sendModifymsg(key, val, true)
|
||||
--//TODO:
|
||||
-- self:sendModifymsg(key, val, true)
|
||||
MyUtl.toastW("TODO:修改数据")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ local uiobjs = {}
|
||||
function TRPOrderList:init(csObj)
|
||||
TRPOrderList.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")
|
||||
@@ -26,6 +27,65 @@ function TRPOrderList:init(csObj)
|
||||
uiobjs.ButtonHeadList = getChild(uiobjs.Grid.transform, "ButtonHeadList")
|
||||
end
|
||||
|
||||
function TRPOrderList: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 TRPOrderList:resetFilters()
|
||||
for i, v in ipairs(self.filters) do
|
||||
v.selected = false
|
||||
end
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPOrderList
|
||||
function TRPOrderList:setData(paras)
|
||||
@@ -35,10 +95,11 @@ end
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPOrderList:show()
|
||||
uiobjs.InputSeachKey.value = ""
|
||||
self:resetFilters()
|
||||
self:refreshFilterBtnStatus()
|
||||
self:showList({})
|
||||
showHotWheel()
|
||||
NetProto.send.list_customers(self.filterValue, "", 1)
|
||||
NetProto.send.workFlowQuery(self.filterValue, "", 1)
|
||||
end
|
||||
|
||||
function TRPOrderList:showList(list)
|
||||
@@ -70,7 +131,7 @@ end
|
||||
function TRPOrderList:refreshList()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
showHotWheel()
|
||||
NetProto.send.list_customers(self.filterValue, queryKey, 1)
|
||||
NetProto.send.workFlowQuery(self.filterValue, queryKey, 1)
|
||||
end
|
||||
|
||||
function TRPOrderList:onHeadList(head)
|
||||
@@ -85,7 +146,7 @@ function TRPOrderList:onEndList(tail)
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
showHotWheel()
|
||||
-- 取得下一页
|
||||
NetProto.send.list_customers(self.filterValue, queryKey, self.pageInfo.current_page + 1)
|
||||
NetProto.send.workFlowQuery(self.filterValue, queryKey, self.pageInfo.current_page + 1)
|
||||
else
|
||||
uiobjs.ButtonEndList.localPosition = tail.transform.localPosition + Vector3.up * -235
|
||||
SetActive(uiobjs.ButtonEndList.gameObject, true)
|
||||
@@ -97,7 +158,7 @@ function TRPOrderList:initCell(cell, data)
|
||||
end
|
||||
|
||||
function TRPOrderList:onClickCell(cell, data)
|
||||
getPanelAsy("PanelCustDetail", onLoadedPanelTT, data)
|
||||
-- getPanelAsy("PanelCustDetail", onLoadedPanelTT, data)
|
||||
end
|
||||
|
||||
function TRPOrderList:refreshFilterBtnStatus()
|
||||
@@ -134,7 +195,7 @@ end
|
||||
-- 网络请求的回调;cmd:指命,succ:成功失败,msg:消息;paras:服务器下行数据
|
||||
function TRPOrderList:procNetwork(cmd, succ, msg, paras)
|
||||
if (succ == NetSuccess) then
|
||||
if cmd == NetProto.cmds.list_customers then
|
||||
if cmd == NetProto.cmds.workFlowQuery then
|
||||
local result = paras.result or {}
|
||||
self.pageInfo = result.meta
|
||||
if self.pageInfo and self.pageInfo.current_page > 1 then
|
||||
@@ -153,14 +214,12 @@ end
|
||||
|
||||
function TRPOrderList:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
ButtonAddCust = function()
|
||||
getPanelAsy("PanelNewCust", onLoadedPanelTT)
|
||||
end,
|
||||
ButtonFilter = function()
|
||||
getPanelAsy(
|
||||
"PanelCustFilter",
|
||||
"PanelComFilter",
|
||||
onLoadedPanelTT,
|
||||
{
|
||||
title="订单筛选",
|
||||
callback = self:wrapFunc(self.onSetFilter),
|
||||
queryKey = uiobjs.InputSeachKey.value,
|
||||
defautFilter = self.filters
|
||||
@@ -169,7 +228,7 @@ function TRPOrderList:setEventDelegate()
|
||||
end,
|
||||
InputSeachKey = function()
|
||||
local queryKey = uiobjs.InputSeachKey.value
|
||||
NetProto.send.list_customers(self.filterValue, queryKey, 1)
|
||||
NetProto.send.workFlowQuery(self.filterValue, queryKey, 1)
|
||||
end
|
||||
}
|
||||
end
|
||||
@@ -201,7 +260,7 @@ function TRPOrderList:onSetFilter(filters, queryKey)
|
||||
showHotWheel()
|
||||
self.filterValue = self:getFilterStr()
|
||||
if oldqueryKey == queryKey then
|
||||
NetProto.send.list_customers(self.filterValue, queryKey, 1)
|
||||
NetProto.send.workFlowQuery(self.filterValue, queryKey, 1)
|
||||
else
|
||||
-- 会触发input的onChange事件
|
||||
end
|
||||
|
||||
@@ -27,6 +27,8 @@ function TRPResetPasswordStep1:onShowFrame(cs)
|
||||
local d = {}
|
||||
if self.mData.isModify then
|
||||
d.title = "重置密码"
|
||||
elseif self.mData.isBindPhone then
|
||||
d.title = "绑定手机号"
|
||||
else
|
||||
d.title = "寻找密码"
|
||||
end
|
||||
@@ -62,11 +64,13 @@ function TRPResetPasswordStep1:setEventDelegate()
|
||||
hideTopPanel(self.csSelf)
|
||||
end,
|
||||
ButtonRight = function()
|
||||
if not isNilOrEmpty(uiobjs.formRoot:checkValid()) then
|
||||
local err = uiobjs.formRoot:checkValid()
|
||||
if not isNilOrEmpty(err) then
|
||||
MyUtl.toastW(err)
|
||||
return
|
||||
end
|
||||
|
||||
local d = uiobjs.formRoot:getValue(true)
|
||||
local d = uiobjs.formRoot:getValue(self.mData, true)
|
||||
NetProto.sendVerMsg(
|
||||
d,
|
||||
function(data, orgs)
|
||||
|
||||
@@ -28,6 +28,8 @@ function TRPResetPasswordStep2:onShowFrame(cs)
|
||||
local d = {}
|
||||
if self.mData.isModify then
|
||||
d.title = "重置密码"
|
||||
elseif self.mData.isBindPhone then
|
||||
d.title = "绑定手机号"
|
||||
else
|
||||
d.title = "寻找密码"
|
||||
end
|
||||
@@ -89,12 +91,19 @@ function TRPResetPasswordStep2:setEventDelegate()
|
||||
hideTopPanel(self.csSelf)
|
||||
end,
|
||||
ButtonRight = function()
|
||||
if not isNilOrEmpty(uiobjs.formRoot:checkValid()) then
|
||||
local err = uiobjs.formRoot:checkValid()
|
||||
if not isNilOrEmpty(err) then
|
||||
MyUtl.toastW(err)
|
||||
return
|
||||
end
|
||||
local data = uiobjs.formRoot:getValue(self.mData, true)
|
||||
data.isModify = self.mData.isModify
|
||||
getPanelAsy("PanelResetPasswordStep3", onLoadedPanelTT, data)
|
||||
if self.mData.isBindPhone then
|
||||
-- 绑定号码
|
||||
MyUtl.toastW("TODO:绑定号码")
|
||||
else
|
||||
local data = uiobjs.formRoot:getValue(self.mData, true)
|
||||
data.isModify = self.mData.isModify
|
||||
getPanelAsy("PanelResetPasswordStep3", onLoadedPanelTT, data)
|
||||
end
|
||||
end,
|
||||
ButtonReGetCode = function()
|
||||
if self.canReGetcode then
|
||||
|
||||
@@ -13,6 +13,7 @@ function TRPSetting:init(csObj)
|
||||
uiobjs.scrollview = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
|
||||
self:setEventDelegate()
|
||||
uiobjs.LabelPhone = getCC(uiobjs.scrollview.transform, "Table/ButtonPhone/LabelPhone", "UILabel")
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
@@ -24,6 +25,7 @@ end
|
||||
-- 显示,在c#中。show为调用refresh,show和refresh的区别在于,当页面已经显示了的情况,当页面再次出现在最上层时,只会调用refresh
|
||||
function TRPSetting:show()
|
||||
uiobjs.scrollview:ResetPosition()
|
||||
uiobjs.LabelPhone.text = Prefs.getUserName() or "未绑定"
|
||||
end
|
||||
|
||||
-- 刷新
|
||||
@@ -46,22 +48,33 @@ end
|
||||
|
||||
function TRPSetting:setEventDelegate()
|
||||
self.EventDelegate = {
|
||||
ButtonPersonInfor=function()
|
||||
ButtonPersonInfor = function()
|
||||
getPanelAsy("PanelMyInfor", onLoadedPanelTT)
|
||||
end,
|
||||
ButtonPassword = function()
|
||||
getPanelAsy("PanelResetPasswordStep1", onLoadedPanelTT, {phone = Prefs.getUserName(), isModify = true})
|
||||
end,
|
||||
ButtonPhone = function()
|
||||
if isNilOrEmpty(Prefs.getUserName()) then
|
||||
getPanelAsy(
|
||||
"PanelResetPasswordStep1",
|
||||
onLoadedPanelTT,
|
||||
{phone = Prefs.getUserName(), isBindPhone = true}
|
||||
)
|
||||
else
|
||||
getPanelAsy("PanelBindPhone", onLoadedPanelTT, {phoneNo = Prefs.getUserName()})
|
||||
end
|
||||
end,
|
||||
ButtonLogout = function()
|
||||
MyUtl.confirm(
|
||||
"确定要退出当前账号?",
|
||||
function()
|
||||
Prefs.setCurrGroup(Prefs.getUserName(), "")
|
||||
Prefs.setUserPsd("")
|
||||
hideTopPanel(self.csSelf)
|
||||
hideTopPanel()
|
||||
hideTopPanel()
|
||||
getPanelAsy("PanelLogin", onLoadedPanel)
|
||||
function()
|
||||
Prefs.setCurrGroup(Prefs.getUserName(), "")
|
||||
Prefs.setUserPsd("")
|
||||
hideTopPanel(self.csSelf)
|
||||
hideTopPanel()
|
||||
hideTopPanel()
|
||||
getPanelAsy("PanelLogin", onLoadedPanel)
|
||||
end,
|
||||
"退出账号"
|
||||
)
|
||||
|
||||
@@ -372,6 +372,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
isSetTime: 0
|
||||
isDateRange: 0
|
||||
onChange:
|
||||
- mTarget: {fileID: 114290233639497436}
|
||||
mMethodName: onNotifyLua
|
||||
|
||||
702
Assets/trCRM/upgradeRes4Dev/priority/ui/other/InputTime.prefab
Normal file
702
Assets/trCRM/upgradeRes4Dev/priority/ui/other/InputTime.prefab
Normal file
@@ -0,0 +1,702 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &1774473867402094133
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 9107563905011518963}
|
||||
- component: {fileID: 7362944252603133247}
|
||||
m_Layer: 5
|
||||
m_Name: SpriteLine
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &9107563905011518963
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1774473867402094133}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -80, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7956408309511629590}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &7362944252603133247
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1774473867402094133}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 7956408309511629590}
|
||||
relative: 0
|
||||
absolute: 50
|
||||
rightAnchor:
|
||||
target: {fileID: 7956408309511629590}
|
||||
relative: 1
|
||||
absolute: -50
|
||||
bottomAnchor:
|
||||
target: {fileID: 7956408309511629590}
|
||||
relative: 0
|
||||
absolute: -1
|
||||
topAnchor:
|
||||
target: {fileID: 7956408309511629590}
|
||||
relative: 0
|
||||
absolute: 1
|
||||
updateAnchors: 0
|
||||
mColor: {r: 0.95686275, g: 0.95686275, b: 0.95686275, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 925
|
||||
mHeight: 2
|
||||
mDepth: 3
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 512.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__empty
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &2023978223955727508
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7956408309511629590}
|
||||
- component: {fileID: 2482964966519133626}
|
||||
- component: {fileID: 125986305053851445}
|
||||
- component: {fileID: 2117344356947240197}
|
||||
- component: {fileID: 6931577314366637404}
|
||||
- component: {fileID: 4340295935269415930}
|
||||
- component: {fileID: 5103833499522604987}
|
||||
- component: {fileID: 2385076425003207683}
|
||||
- component: {fileID: 2384795858359047695}
|
||||
m_Layer: 5
|
||||
m_Name: InputTime
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!4 &7956408309511629590
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023978223955727508}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 30, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 5282997740057569496}
|
||||
- {fileID: 9055881335626284065}
|
||||
- {fileID: 8197986261877729121}
|
||||
- {fileID: 4184073273968408065}
|
||||
- {fileID: 9107563905011518963}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &2482964966519133626
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023978223955727508}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1025, y: 160, z: 0}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &125986305053851445
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023978223955727508}
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ac5060295fbd39b4a88d20d0c83d925e, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
label: {fileID: 4032659361466389177}
|
||||
inputType: 0
|
||||
onReturnKey: 0
|
||||
keyboardType: 0
|
||||
hideInput: 0
|
||||
alertModeKeybaord: 0
|
||||
validation: 0
|
||||
characterLimit: 0
|
||||
savedAs:
|
||||
selectOnTab: {fileID: 0}
|
||||
activeTextColor: {r: 0.21176471, g: 0.21176471, b: 0.21176471, a: 1}
|
||||
caretColor: {r: 1, g: 1, b: 1, a: 0.8}
|
||||
selectionColor: {r: 1, g: 0.8745098, b: 0.5529412, a: 0.5}
|
||||
onSubmit: []
|
||||
onChange: []
|
||||
mValue:
|
||||
--- !u!114 &2117344356947240197
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023978223955727508}
|
||||
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: 0
|
||||
mColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 1025
|
||||
mHeight: 160
|
||||
mDepth: 0
|
||||
autoResizeBoxCollider: 1
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 6.40625
|
||||
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__empty
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!114 &6931577314366637404
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023978223955727508}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: faeca5bfa217c493c8446b842f01a3fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey: taskId
|
||||
formatValue:
|
||||
labeName: {fileID: 4908998573392426763}
|
||||
defaultName:
|
||||
canNull: 0
|
||||
checkIDCard: 0
|
||||
minLen: 0
|
||||
maxLen: 0
|
||||
spriteBg: {fileID: 2117344356947240197}
|
||||
valueIsNumber: 0
|
||||
isPhoneNum: 0
|
||||
inValidColor: {r: 1, g: 1, b: 0.9019608, a: 1}
|
||||
--- !u!114 &4340295935269415930
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023978223955727508}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c3cdf5f2b8d8745a69ee31dc45d16005, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onChange: []
|
||||
--- !u!114 &5103833499522604987
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023978223955727508}
|
||||
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 &2385076425003207683
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023978223955727508}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 575f113ee96624a30ab2ca1af1303112, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
isPause: 0
|
||||
luaPath: trCRM/upgradeRes/priority/lua/ui/cell/TRCellExtendField.lua
|
||||
isNeedResetAtlase: 1
|
||||
--- !u!114 &2384795858359047695
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023978223955727508}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0dbe6448146c445e5ae7040ea035c0fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
widget: {fileID: 2117344356947240197}
|
||||
offset: 50
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &2503414206098340738
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4184073273968408065}
|
||||
- component: {fileID: 6836700471286366593}
|
||||
- component: {fileID: 7251456197958770361}
|
||||
m_Layer: 5
|
||||
m_Name: Label3
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4184073273968408065
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2503414206098340738}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -277, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7956408309511629590}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &6836700471286366593
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2503414206098340738}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 9055881335626284065}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 0
|
||||
mColor: {r: 0.94509804, g: 0.3529412, b: 0.2901961, a: 1}
|
||||
mPivot: 3
|
||||
mWidth: 22
|
||||
mHeight: 46
|
||||
mDepth: 1
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 0.47826087
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: '*'
|
||||
mFontSize: 46
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 0
|
||||
mMaxLineCount: 1
|
||||
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 &7251456197958770361
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2503414206098340738}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: bd5e9ed3dcd9e4e4c81c8ceeeabc37bb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_element: {fileID: 0}
|
||||
--- !u!1 &6640440486422558380
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5282997740057569496}
|
||||
- component: {fileID: 4032659361466389177}
|
||||
m_Layer: 5
|
||||
m_Name: Label
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5282997740057569496
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6640440486422558380}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 442, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7956408309511629590}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4032659361466389177
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6640440486422558380}
|
||||
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: 7956408309511629590}
|
||||
relative: 1
|
||||
absolute: -70
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 0
|
||||
mColor: {r: 0.8, g: 0.8, b: 0.8, a: 1}
|
||||
mPivot: 5
|
||||
mWidth: 92
|
||||
mHeight: 46
|
||||
mDepth: 1
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 2
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u9009\u62E9"
|
||||
mFontSize: 46
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 0
|
||||
mMaxLineCount: 1
|
||||
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 &6980165291326088349
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 9055881335626284065}
|
||||
- component: {fileID: 4908998573392426763}
|
||||
m_Layer: 5
|
||||
m_Name: Label2
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &9055881335626284065
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6980165291326088349}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -461, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7956408309511629590}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4908998573392426763
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6980165291326088349}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 7956408309511629590}
|
||||
relative: 0
|
||||
absolute: 51
|
||||
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: 0
|
||||
mColor: {r: 0.6, g: 0.6, b: 0.6, a: 1}
|
||||
mPivot: 3
|
||||
mWidth: 184
|
||||
mHeight: 46
|
||||
mDepth: 1
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 4
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u9009\u62E9\u65F6\u95F4"
|
||||
mFontSize: 46
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 0
|
||||
mMaxLineCount: 1
|
||||
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 &8766971756092726035
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8197986261877729121}
|
||||
- component: {fileID: 4853861744027745054}
|
||||
m_Layer: 5
|
||||
m_Name: SpriteRight
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8197986261877729121
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8766971756092726035}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 478, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7956408309511629590}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4853861744027745054
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8766971756092726035}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 7956408309511629590}
|
||||
relative: 1
|
||||
absolute: -48
|
||||
rightAnchor:
|
||||
target: {fileID: 7956408309511629590}
|
||||
relative: 1
|
||||
absolute: -20
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 1
|
||||
mColor: {r: 0.89411765, g: 0.89411765, b: 0.89411765, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 28
|
||||
mHeight: 40
|
||||
mDepth: 2
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 0.7
|
||||
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: cust_right
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 61734fc64b5914ba6ae9f007b6666b5e
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1460
Assets/trCRM/upgradeRes4Dev/priority/ui/panel/PanelBindPhone.prefab
Normal file
1460
Assets/trCRM/upgradeRes4Dev/priority/ui/panel/PanelBindPhone.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1b01fd3676a0242699db1883c3e59430
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1199,7 +1199,7 @@ GameObject:
|
||||
- component: {fileID: 5320277713193979054}
|
||||
- component: {fileID: 4128751237254219587}
|
||||
m_Layer: 5
|
||||
m_Name: PanelCustFilter
|
||||
m_Name: PanelComFilter
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@@ -1282,7 +1282,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
isPause: 0
|
||||
luaPath: trCRM/upgradeRes/priority/lua/ui/panel/TRPCustFilter.lua
|
||||
luaPath: trCRM/upgradeRes/priority/lua/ui/panel/TRPComFilter.lua
|
||||
isNeedBackplate: 1
|
||||
destroyWhenHide: 0
|
||||
isNeedResetAtlase: 1
|
||||
@@ -32,7 +32,7 @@ Transform:
|
||||
- {fileID: 1558906886}
|
||||
- {fileID: 6259538829113905718}
|
||||
m_Father: {fileID: 8246500317629248720}
|
||||
m_RootOrder: 2
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1177340838
|
||||
MonoBehaviour:
|
||||
@@ -627,7 +627,7 @@ MonoBehaviour:
|
||||
mLabelList: []
|
||||
mBgBorder: 0
|
||||
eventReceiver: {fileID: 0}
|
||||
functionName: OnSelectionChange
|
||||
functionName:
|
||||
textScale: 0
|
||||
font: {fileID: 0}
|
||||
textLabel: {fileID: 0}
|
||||
@@ -1934,6 +1934,88 @@ MonoBehaviour:
|
||||
widget: {fileID: 4693393415201863677}
|
||||
offset: 0
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &1073031199327224890
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4886666851593583502}
|
||||
- component: {fileID: 5747540970113465753}
|
||||
- component: {fileID: 4279901766477904402}
|
||||
- component: {fileID: 5016285631500529963}
|
||||
m_Layer: 5
|
||||
m_Name: SysRoot
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!4 &4886666851593583502
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1073031199327224890}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -8838.999, y: -1777.6542, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 2426801971675280382}
|
||||
m_Father: {fileID: 8246500317629248720}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &5747540970113465753
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1073031199327224890}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 66ca9c6e5cbd4544ab22016a27d817a4, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
columns: 1
|
||||
direction: 0
|
||||
sorting: 0
|
||||
pivot: 1
|
||||
cellAlignment: 1
|
||||
hideInactive: 1
|
||||
keepWithinPanel: 0
|
||||
padding: {x: 0, y: -1}
|
||||
--- !u!114 &4279901766477904402
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1073031199327224890}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 16bd2beefa5ca4a3ba0753143d28e2d9, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey:
|
||||
--- !u!114 &5016285631500529963
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1073031199327224890}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 575f113ee96624a30ab2ca1af1303112, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
isPause: 0
|
||||
luaPath: trCRM/upgradeRes/priority/lua/ui/cell/TRCellExtendFieldRoot.lua
|
||||
isNeedResetAtlase: 1
|
||||
--- !u!1 &1134059653406025018
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -4980,7 +5062,7 @@ Transform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8246500317629248720}
|
||||
m_RootOrder: 4
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4905231102126225637
|
||||
MonoBehaviour:
|
||||
@@ -6963,6 +7045,90 @@ MonoBehaviour:
|
||||
widget: {fileID: 2403509267388899063}
|
||||
offset: 0
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &4280625964581610458
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1960737176562699803}
|
||||
- component: {fileID: 6862079706378699948}
|
||||
m_Layer: 5
|
||||
m_Name: Sprite
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1960737176562699803
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4280625964581610458}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -508, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2426801971675280382}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &6862079706378699948
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4280625964581610458}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 2426801971675280382}
|
||||
relative: 0
|
||||
absolute: 50
|
||||
rightAnchor:
|
||||
target: {fileID: 2426801971675280382}
|
||||
relative: 0
|
||||
absolute: 58
|
||||
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: 8
|
||||
mHeight: 50
|
||||
mDepth: 2
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 0.16
|
||||
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: work_work_color
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &4339859189069139256
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -7728,6 +7894,93 @@ MonoBehaviour:
|
||||
mSpriteName: cust_cus_tel
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &4906630994237821854
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2426801971675280382}
|
||||
- component: {fileID: 8058641080977890906}
|
||||
- component: {fileID: 1203313915198748042}
|
||||
m_Layer: 5
|
||||
m_Name: Title
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2426801971675280382
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4906630994237821854}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -0.000061035156, y: -51.029392, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1960737176562699803}
|
||||
- {fileID: 6776850397468619022}
|
||||
m_Father: {fileID: 4886666851593583502}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &8058641080977890906
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4906630994237821854}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 858a20c1b21a3f94bb5b2d3b901c9aaf, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: -1
|
||||
rightAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: -1
|
||||
bottomAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 0
|
||||
absolute: 0
|
||||
topAnchor:
|
||||
target: {fileID: 0}
|
||||
relative: 1
|
||||
absolute: 0
|
||||
updateAnchors: 0
|
||||
mColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
mPivot: 4
|
||||
mWidth: 1125
|
||||
mHeight: 100
|
||||
mDepth: 0
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 11.25
|
||||
--- !u!114 &1203313915198748042
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4906630994237821854}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0dbe6448146c445e5ae7040ea035c0fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
widget: {fileID: 8058641080977890906}
|
||||
offset: 0
|
||||
sizeAdjust: 1
|
||||
--- !u!1 &5078642348540468931
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -10327,7 +10580,7 @@ Transform:
|
||||
- {fileID: 9155012502424189886}
|
||||
- {fileID: 7066844989434100784}
|
||||
m_Father: {fileID: 8246500317629248720}
|
||||
m_RootOrder: 3
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &8997606126826942676
|
||||
MonoBehaviour:
|
||||
@@ -11307,6 +11560,106 @@ MonoBehaviour:
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!1 &7142510263042379155
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6776850397468619022}
|
||||
- component: {fileID: 7262911135413684141}
|
||||
m_Layer: 5
|
||||
m_Name: Label
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &6776850397468619022
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7142510263042379155}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -482, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2426801971675280382}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &7262911135413684141
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7142510263042379155}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 1960737176562699803}
|
||||
relative: 0
|
||||
absolute: 30
|
||||
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: 0
|
||||
mColor: {r: 0.8, g: 0.8, b: 0.8, a: 1}
|
||||
mPivot: 3
|
||||
mWidth: 184
|
||||
mHeight: 46
|
||||
mDepth: 1
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 4
|
||||
keepCrispWhenShrunk: 1
|
||||
mTrueTypeFont: {fileID: 0}
|
||||
mFont: {fileID: 7005176185871406937, guid: 7d76ebfe2dca9412195ae21f35d1b138, type: 3}
|
||||
mText: "\u7CFB\u7EDF\u4FE1\u606F"
|
||||
mFontSize: 46
|
||||
mFontStyle: 0
|
||||
mAlignment: 0
|
||||
mEncoding: 0
|
||||
mMaxLineCount: 1
|
||||
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 &7246578445747532193
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -11920,6 +12273,7 @@ Transform:
|
||||
m_Children:
|
||||
- {fileID: 8366587093192941028}
|
||||
- {fileID: 5046301095161937844}
|
||||
- {fileID: 4886666851593583502}
|
||||
- {fileID: 1177340836}
|
||||
- {fileID: 5659840120862483878}
|
||||
- {fileID: 4720872816294074782}
|
||||
@@ -14054,7 +14408,7 @@ MonoBehaviour:
|
||||
anchorOffset: 0
|
||||
softBorderPadding: 1
|
||||
renderQueue: 0
|
||||
startingRenderQueue: 3010
|
||||
startingRenderQueue: 3011
|
||||
mClipTexture: {fileID: 0}
|
||||
mAlpha: 1
|
||||
mClipping: 3
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 91be5b30899084c2b9e9f7343d64cf6f
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -168,7 +168,6 @@ Transform:
|
||||
- {fileID: 1695612816179622048}
|
||||
- {fileID: 1695612815265812562}
|
||||
- {fileID: 3626394024244750507}
|
||||
- {fileID: 3592938584915241295}
|
||||
m_Father: {fileID: 7084386452241072431}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -886,7 +885,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: faeca5bfa217c493c8446b842f01a3fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey: lastFollowUpTime
|
||||
jsonKey: companyName
|
||||
formatValue: "\u5173\u8054\u5BA2\u6237\uFF1A{0}"
|
||||
labeName: {fileID: 0}
|
||||
defaultName:
|
||||
@@ -1325,139 +1324,6 @@ MonoBehaviour:
|
||||
frameName: Frame1
|
||||
frameObj: {fileID: 0}
|
||||
titleKeyName: "\u8BA2\u5355\u7BA1\u7406"
|
||||
--- !u!1 &3548334101062895408
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3592938584915241295}
|
||||
- component: {fileID: 8796507067764736209}
|
||||
- component: {fileID: 5032767334997936555}
|
||||
- component: {fileID: 8751693546856402152}
|
||||
m_Layer: 5
|
||||
m_Name: ButtonAddCust
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3592938584915241295
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3548334101062895408}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 486, y: -66, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1695612814791429998}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &8796507067764736209
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3548334101062895408}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 150, y: 100, z: 0}
|
||||
m_Center: {x: 0, y: -0.22070312, z: 0}
|
||||
--- !u!114 &5032767334997936555
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3548334101062895408}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
tweenTarget: {fileID: 3548334101062895408}
|
||||
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: 3186475724049071352}
|
||||
mMethodName: uiEventDelegate
|
||||
mParameters:
|
||||
- obj: {fileID: 0}
|
||||
field:
|
||||
name: go
|
||||
oneShot: 0
|
||||
--- !u!114 &8751693546856402152
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3548334101062895408}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
leftAnchor:
|
||||
target: {fileID: 7084386452241072431}
|
||||
relative: 1
|
||||
absolute: -100
|
||||
rightAnchor:
|
||||
target: {fileID: 7084386452241072431}
|
||||
relative: 1
|
||||
absolute: -50
|
||||
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: 50
|
||||
mHeight: 50
|
||||
mDepth: 10
|
||||
autoResizeBoxCollider: 0
|
||||
hideIfOffScreen: 0
|
||||
keepAspectRatio: 0
|
||||
aspectRatio: 1
|
||||
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_add
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!1 &3549210079222449859
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1945,7 +1811,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: faeca5bfa217c493c8446b842f01a3fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey: custName
|
||||
jsonKey: money
|
||||
formatValue: "\u8BA2\u5355\u91D1\u989D\uFF1A{0}"
|
||||
labeName: {fileID: 0}
|
||||
defaultName:
|
||||
@@ -2070,7 +1936,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: faeca5bfa217c493c8446b842f01a3fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey: _phoneNo
|
||||
jsonKey: title
|
||||
formatValue:
|
||||
labeName: {fileID: 0}
|
||||
defaultName:
|
||||
@@ -2197,7 +2063,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: faeca5bfa217c493c8446b842f01a3fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey: dealFlag
|
||||
jsonKey: status
|
||||
formatValue:
|
||||
labeName: {fileID: 0}
|
||||
defaultName:
|
||||
@@ -2463,6 +2329,9 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 4586775333025383884}
|
||||
- component: {fileID: 4206424963445455942}
|
||||
- component: {fileID: 5867811423619707448}
|
||||
- component: {fileID: 6679270411634261236}
|
||||
- component: {fileID: 3516603784228117905}
|
||||
m_Layer: 5
|
||||
m_Name: LabelServerNo
|
||||
m_TagString: Untagged
|
||||
@@ -2553,6 +2422,96 @@ MonoBehaviour:
|
||||
isAppendEndingString: 0
|
||||
AppendString: '...'
|
||||
fontName: EmptyFont
|
||||
--- !u!114 &5867811423619707448
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7873896675524645784}
|
||||
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_kuang
|
||||
highlightSprite: cust_kuang
|
||||
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: 4206424963445455942}
|
||||
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: OnSelectionChange
|
||||
textScale: 0
|
||||
font: {fileID: 0}
|
||||
textLabel: {fileID: 0}
|
||||
--- !u!114 &6679270411634261236
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7873896675524645784}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 864ebfdb17c38481296fc3f903fd594c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onSelect: []
|
||||
--- !u!114 &3516603784228117905
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7873896675524645784}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: faeca5bfa217c493c8446b842f01a3fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
jsonKey: upLoginNo
|
||||
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!1 &8007719617964266529
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
2234
Assets/trCRM/upgradeRes4Dev/priority/ui/panel/PanelPopTime.prefab
Normal file
2234
Assets/trCRM/upgradeRes4Dev/priority/ui/panel/PanelPopTime.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 27591aeb2aa724e72a9b04b3298a4218
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -245,6 +245,7 @@ GameObject:
|
||||
- component: {fileID: 3340297541839146388}
|
||||
- component: {fileID: 9064726627313867737}
|
||||
- component: {fileID: 6434443883825252431}
|
||||
- component: {fileID: 4760727973710844651}
|
||||
m_Layer: 5
|
||||
m_Name: ButtonDelPhoneNum
|
||||
m_TagString: Untagged
|
||||
@@ -366,6 +367,19 @@ MonoBehaviour:
|
||||
mSpriteName: login_log_no
|
||||
mFillCenter: 1
|
||||
isGrayMode: 0
|
||||
--- !u!114 &4760727973710844651
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2691153983406664913}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ce7ce3a27703447e98bd5b91307e34c8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
input: {fileID: 4632458405731700042}
|
||||
--- !u!1 &3735941456448390010
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -437,7 +451,7 @@ MonoBehaviour:
|
||||
anchorOffset: 0
|
||||
softBorderPadding: 1
|
||||
renderQueue: 0
|
||||
startingRenderQueue: 3004
|
||||
startingRenderQueue: 3000
|
||||
mClipTexture: {fileID: 0}
|
||||
mAlpha: 1
|
||||
mClipping: 0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user