【灵脉秘境】文字遮挡、跳转

dev_chengFeng
ZhangBiao 2021-11-22 13:27:54 +08:00
parent cb80384f02
commit aa52131d3f
5 changed files with 27 additions and 7 deletions

View File

@ -14263,7 +14263,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 860, y: 38} m_SizeDelta: {x: 900, y: 38}
m_Pivot: {x: 0.5, y: 1} m_Pivot: {x: 0.5, y: 1}
--- !u!222 &29714517192058151 --- !u!222 &29714517192058151
CanvasRenderer: CanvasRenderer:
@ -23522,8 +23522,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 530, y: 0} m_AnchoredPosition: {x: 550, y: 0}
m_SizeDelta: {x: 680, y: 38} m_SizeDelta: {x: 700, y: 38}
m_Pivot: {x: 0.5, y: 1} m_Pivot: {x: 0.5, y: 1}
--- !u!222 &1862047479130278938 --- !u!222 &1862047479130278938
CanvasRenderer: CanvasRenderer:
@ -25088,8 +25088,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 100, y: -22} m_AnchoredPosition: {x: 100, y: -19}
m_SizeDelta: {x: 200, y: 44} m_SizeDelta: {x: 200, y: 38}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5339714057364727546 --- !u!222 &5339714057364727546
CanvasRenderer: CanvasRenderer:

View File

@ -479,7 +479,8 @@ PanelType = {
QiJie = {14,16,1240},--七界试炼 QiJie = {14,16,1240},--七界试炼
WorldArena = { 107,16,23}, --玉虚论道 WorldArena = { 107,16,23}, --玉虚论道
Compound_equip = { 14, 16,1258 }, --装备合成 Compound_equip = { 14, 16,1258 }, --装备合成
YuJianXing = {14,16,1010}--御剑行 YuJianXing = {14,16,1010},--御剑行
LingMai = {14,16,1273}--御剑行
} }
@ -551,6 +552,7 @@ UpViewRechargeType = {
TaichuZhiQi = 1211, TaichuZhiQi = 1211,
jingwenmiyao = 104, --镜纹密钥 jingwenmiyao = 104, --镜纹密钥
godEquipStone= 1258,--神装觉醒石 godEquipStone= 1258,--神装觉醒石
LingMaiCoin = 1273,--灵脉币
} }
SHOP_PAGE = { SHOP_PAGE = {
@ -1110,6 +1112,8 @@ JumpType = {
QiJieShiLian = 112,--七界试炼 QiJieShiLian = 112,--七界试炼
SiXiangXinFa = 113,--四象心法 SiXiangXinFa = 113,--四象心法
likeability = 114, likeability = 114,
LingMaiMiJing = 118,--灵脉秘境
BuyVigor = 10000, --体力购买 BuyVigor = 10000, --体力购买
BuyGold = 10001, --金币购买 BuyGold = 10001, --金币购买
Privilege = 10003, -- 特权 Privilege = 10003, -- 特权

View File

@ -113,7 +113,7 @@ end
--跨服 --跨服
function LingMaiMiJingPanel:OnOpen() function LingMaiMiJingPanel:OnOpen()
self.UpView:OnOpen({showType = UpViewOpenType.ShowLeft, panelType = PanelType.Main}) self.UpView:OnOpen({showType = UpViewOpenType.ShowLeft, panelType = PanelType.LingMai})
if LingMaiMiJingManager.state == 2 then if LingMaiMiJingManager.state == 2 then
LingMaiMiJingManager.curPage = 1 LingMaiMiJingManager.curPage = 1
end end

View File

@ -828,6 +828,20 @@ local jumpDic = {
[JumpType.JiTianHaoLi] = function(data) [JumpType.JiTianHaoLi] = function(data)
this.JumpActivity(JumpType.JiTianHaoLi, data[1]) this.JumpActivity(JumpType.JiTianHaoLi, data[1])
end, end,
[JumpType.LingMaiMiJing] = function(data)
NetManager.GetLingMaiInfoRequest(0,function ()
if LingMaiMiJingManager.state == 0 then
PopupTipPanel.ShowTip("今日不开放灵脉秘境玩法!")
else
if not LingMaiMiJingManager.GetData() then
LogError("灵脉试炼数据为空")
PopupTipPanel.ShowTip("灵脉暂无法进入,请耐心等待!")
return
end
UIManager.OpenPanel(UIName.LingMaiMiJingPanel)
end
end)
end,
} }
function this.JumpActivity(data,skipfactor) function this.JumpActivity(data,skipfactor)

View File

@ -63,6 +63,7 @@ local _ShowPlusType = {
UpViewRechargeType.XunBaoMiZong, UpViewRechargeType.XunBaoMiZong,
UpViewRechargeType.jingwenmiyao, UpViewRechargeType.jingwenmiyao,
UpViewRechargeType.godEquipStone, UpViewRechargeType.godEquipStone,
UpViewRechargeType.LingMaiCoin,
} }
-- 判断是否显示加号 -- 判断是否显示加号
@ -396,6 +397,7 @@ function UpView:RechargeType(_type)
_type == UpViewRechargeType.LunDaoBi or _type == UpViewRechargeType.LunDaoBi or
_type == UpViewRechargeType.jingwenmiyao or _type == UpViewRechargeType.jingwenmiyao or
_type == UpViewRechargeType.TaichuZhiQi or _type == UpViewRechargeType.TaichuZhiQi or
_type == UpViewRechargeType.LingMaiCoin or
_type == UpViewRechargeType.godEquipStone then _type == UpViewRechargeType.godEquipStone then
UIManager.OpenPanel(UIName.RewardItemSingleShowPopup, _type) UIManager.OpenPanel(UIName.RewardItemSingleShowPopup, _type)
end end