屏蔽修行按钮,更换日常任务的UI,修改了好友的按钮选择显示逻辑
parent
432fc640f3
commit
bfbce921a3
|
@ -1,6 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 201078320e2049e418c0e42418c08139
|
||||
PrefabImporter:
|
||||
guid: e2ae718f6d9831e448016907f28f604d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
|
@ -0,0 +1,110 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0b995aca1fd38a84cb89d90c5620561c
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 2
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 65
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 57
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 4
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
androidETC2FallbackOverride: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 9e78e3a2036c4cc44888a813eaf00687
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ad2199cfb4a28cb4a939438325e226b4
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
After Width: | Height: | Size: 357 KiB |
|
@ -0,0 +1,110 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e9abde66ab914494c80455027412e543
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 2
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 65
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 57
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 4
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
androidETC2FallbackOverride: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 90499f0943a908c4ab6c563eaec27124
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -255,11 +255,11 @@ RectTransform:
|
|||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 8459229031355081979}
|
||||
- {fileID: 9222520336153166412}
|
||||
- {fileID: 1279565468545304449}
|
||||
- {fileID: 7460220109211596834}
|
||||
- {fileID: 8075319357219433647}
|
||||
- {fileID: 6730709935535294727}
|
||||
- {fileID: 9222520336153166412}
|
||||
- {fileID: 5994939138272632008}
|
||||
- {fileID: 6389495984028840659}
|
||||
m_Father: {fileID: 224179834280654824}
|
||||
|
@ -1000,7 +1000,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &1279565468545304449
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -1019,11 +1019,11 @@ RectTransform:
|
|||
- {fileID: 8762605169308932545}
|
||||
- {fileID: 3873242137227753704}
|
||||
m_Father: {fileID: 224675373245290278}
|
||||
m_RootOrder: 1
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 170, y: -6.5}
|
||||
m_SizeDelta: {x: 0, y: 118}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1845886911478177509
|
||||
|
@ -1926,7 +1926,7 @@ RectTransform:
|
|||
- {fileID: 4196172395814280517}
|
||||
- {fileID: 7044155480601716439}
|
||||
m_Father: {fileID: 224675373245290278}
|
||||
m_RootOrder: 2
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
|
@ -2123,7 +2123,7 @@ RectTransform:
|
|||
- {fileID: 399798514439597585}
|
||||
- {fileID: 5878313797159679520}
|
||||
m_Father: {fileID: 224675373245290278}
|
||||
m_RootOrder: 4
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
|
@ -3375,12 +3375,12 @@ RectTransform:
|
|||
- {fileID: 3238442809343666094}
|
||||
- {fileID: 5277899715496220712}
|
||||
m_Father: {fileID: 224675373245290278}
|
||||
m_RootOrder: 5
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 750.98364, y: -6.5}
|
||||
m_SizeDelta: {x: 15.606557, y: 118}
|
||||
m_AnchoredPosition: {x: 650, y: -6.5}
|
||||
m_SizeDelta: {x: 0, y: 118}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7042496047279250599
|
||||
CanvasRenderer:
|
||||
|
@ -4084,7 +4084,7 @@ RectTransform:
|
|||
- {fileID: 3476487814040812693}
|
||||
- {fileID: 4070421704421011366}
|
||||
m_Father: {fileID: 224675373245290278}
|
||||
m_RootOrder: 3
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 661568de4e4696048add558d3c533ed5
|
||||
timeCreated: 1559698920
|
||||
licenseType: Pro
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 100100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -14,12 +14,16 @@ function GoodFriendMainPanel:InitComponent()
|
|||
this.friendSearchBtn = Util.GetGameObject(self.gameObject, "switchBtn/friendSearchBtn")
|
||||
this.blackListBtn = Util.GetGameObject(self.gameObject, "switchBtn/blackListBtn")
|
||||
this.friendListImage = Util.GetGameObject(self.gameObject, "switchBtn/friendListBtn/Image"):GetComponent("Image")
|
||||
this.friendListSelect = Util.GetGameObject(self.gameObject, "switchBtn/friendListBtn/select")
|
||||
this.friendListText = Util.GetGameObject(self.gameObject, "switchBtn/friendListBtn/Text"):GetComponent("Text")
|
||||
this.friendApplicationImage = Util.GetGameObject(self.gameObject, "switchBtn/friendApplicationBtn/Image"):GetComponent("Image")
|
||||
this.friendApplicationSelect = Util.GetGameObject(self.gameObject, "switchBtn/friendApplicationBtn/select")
|
||||
this.friendApplicationText = Util.GetGameObject(self.gameObject, "switchBtn/friendApplicationBtn/Text"):GetComponent("Text")
|
||||
this.friendSearchImage = Util.GetGameObject(self.gameObject, "switchBtn/friendSearchBtn/Image"):GetComponent("Image")
|
||||
this.friendSearchSelect = Util.GetGameObject(self.gameObject, "switchBtn/friendSearchBtn/select")
|
||||
this.friendSearchText = Util.GetGameObject(self.gameObject, "switchBtn/friendSearchBtn/Text"):GetComponent("Text")
|
||||
this.blackListImage = Util.GetGameObject(self.gameObject, "switchBtn/blackListBtn/Image"):GetComponent("Image")
|
||||
this.blackListSelect = Util.GetGameObject(self.gameObject, "switchBtn/blackListBtn/select")
|
||||
this.blackListText = Util.GetGameObject(self.gameObject, "switchBtn/blackListBtn/Text"):GetComponent("Text")
|
||||
this.blackListRemoveAllBtn=Util.GetGameObject(self.gameObject, "blackList/bottomImage/btn")
|
||||
this.blackFriendNum=Util.GetGameObject(self.gameObject, "blackList/blackFriendNumber/blackFriendTextNumber"):GetComponent("Text")
|
||||
|
@ -235,10 +239,10 @@ function GoodFriendMainPanel:OnShow()
|
|||
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.GoodFriend })
|
||||
if(not this.isBlackPage) then
|
||||
if(this.friendListRedPoint.activeSelf or (not this.friendApplicationRedPoint.activeSelf and not this.friendListRedPoint.activeSelf)) then
|
||||
this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
-- this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendListText.text = Language[10799]
|
||||
this.friendApplicationText.text = Language[10800]
|
||||
this.friendSearchText.text = Language[10801]
|
||||
|
@ -247,15 +251,23 @@ function GoodFriendMainPanel:OnShow()
|
|||
this.friendApplication:SetActive(false)
|
||||
this.friendSearch:SetActive(false)
|
||||
this.blackList:SetActive(false)
|
||||
this.friendListSelect:SetActive(true)
|
||||
this.friendApplicationSelect:SetActive(false)
|
||||
this.friendSearchSelect:SetActive(false)
|
||||
this.blackListSelect:SetActive(false)
|
||||
else
|
||||
this.friendList:SetActive(false)
|
||||
this.friendApplication:SetActive(true)
|
||||
this.friendSearch:SetActive(false)
|
||||
this.blackList:SetActive(false)
|
||||
this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendListSelect:SetActive(false)
|
||||
this.friendApplicationSelect:SetActive(true)
|
||||
this.friendSearchSelect:SetActive(false)
|
||||
this.blackListSelect:SetActive(false)
|
||||
-- this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
-- this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendListText.text = Language[10803]
|
||||
this.friendApplicationText.text = Language[10804]
|
||||
this.friendSearchText.text = Language[10801]
|
||||
|
@ -266,10 +278,14 @@ function GoodFriendMainPanel:OnShow()
|
|||
this.friendApplication:SetActive(false)
|
||||
this.friendSearch:SetActive(false)
|
||||
this.blackList:SetActive(true)
|
||||
this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.friendListSelect:SetActive(false)
|
||||
this.friendApplicationSelect:SetActive(false)
|
||||
this.friendSearchSelect:SetActive(false)
|
||||
this.blackListSelect:SetActive(true)
|
||||
-- this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.friendListText.text = Language[10803]
|
||||
this.friendApplicationText.text = Language[10800]
|
||||
this.friendSearchText.text = Language[10801]
|
||||
|
@ -700,10 +716,14 @@ function this.BtnClickEvnet(index)
|
|||
this.friendApplication:SetActive(false)
|
||||
this.friendSearch:SetActive(false)
|
||||
this.blackList:SetActive(false)
|
||||
this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.friendListSelect:SetActive(true)
|
||||
this.friendApplicationSelect:SetActive(false)
|
||||
this.friendSearchSelect:SetActive(false)
|
||||
this.blackListSelect:SetActive(false)
|
||||
--this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendListText.text = Language[10799]
|
||||
this.friendApplicationText.text = Language[10800]
|
||||
this.friendSearchText.text = Language[10801]
|
||||
|
@ -714,10 +734,14 @@ function this.BtnClickEvnet(index)
|
|||
this.friendApplication:SetActive(true)
|
||||
this.friendSearch:SetActive(false)
|
||||
this.blackList:SetActive(false)
|
||||
this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendListSelect:SetActive(false)
|
||||
this.friendApplicationSelect:SetActive(true)
|
||||
this.friendSearchSelect:SetActive(false)
|
||||
this.blackListSelect:SetActive(false)
|
||||
-- this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
-- this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendListText.text = Language[10803]
|
||||
this.friendApplicationText.text = Language[10804]
|
||||
this.friendSearchText.text = Language[10801]
|
||||
|
@ -727,10 +751,14 @@ function this.BtnClickEvnet(index)
|
|||
this.friendApplication:SetActive(false)
|
||||
this.friendSearch:SetActive(true)
|
||||
this.blackList:SetActive(false)
|
||||
this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendListSelect:SetActive(false)
|
||||
this.friendApplicationSelect:SetActive(false)
|
||||
this.friendSearchSelect:SetActive(true)
|
||||
this.blackListSelect:SetActive(false)
|
||||
-- this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
-- this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendListText.text = Language[10803]
|
||||
this.friendApplicationText.text = Language[10800]
|
||||
this.friendSearchText.text = Language[10825]
|
||||
|
@ -741,10 +769,14 @@ function this.BtnClickEvnet(index)
|
|||
this.friendApplication:SetActive(false)
|
||||
this.friendSearch:SetActive(false)
|
||||
this.blackList:SetActive(true)
|
||||
this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.friendListSelect:SetActive(false)
|
||||
this.friendApplicationSelect:SetActive(false)
|
||||
this.friendSearchSelect:SetActive(false)
|
||||
this.blackListSelect:SetActive(true)
|
||||
-- this.friendListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendApplicationImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.friendSearchImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_002")
|
||||
-- this.blackListImage.sprite = this.spLoader:LoadSprite("r_hero_xuanze_001")
|
||||
this.friendListText.text = Language[10803]
|
||||
this.friendApplicationText.text = Language[10800]
|
||||
this.friendSearchText.text = Language[10801]
|
||||
|
|
|
@ -11,11 +11,11 @@ local contentScripts = {
|
|||
[4] = {view = require("Modules/Mission/MissionDailyPanel_Achievement"), panelName = "MissionDailyPanel_Achievement",type=4},
|
||||
}
|
||||
local TabBox = require("Modules/Common/TabBox")
|
||||
local _TabData={ [1] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[11315],type = -1 },
|
||||
[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[11316] ,type = ActivityTypeDef.TreasureOfSomeBody },
|
||||
[3] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[11317] ,type = ActivityTypeDef.TreasureOfSomeBody },
|
||||
[4] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[11318],type = -1 }, }
|
||||
local _TabFontColor = { default = Color.New(130 / 255, 128 / 255, 120 / 255, 1),
|
||||
local _TabData={ [1] = { default = "UI_hz_gonghui_19", select = "UI_hz_gonghui_18", name = Language[11315],type = -1 },
|
||||
[2] = {default = "UI_hz_gonghui_19", select = "UI_hz_gonghui_18", name = Language[11316] ,type = ActivityTypeDef.TreasureOfSomeBody },
|
||||
[3] = { default = "UI_hz_gonghui_19", select = "UI_hz_gonghui_18", name = Language[11317] ,type = ActivityTypeDef.TreasureOfSomeBody },
|
||||
[4] = { default = "UI_hz_gonghui_19", select = "UI_hz_gonghui_18", name = Language[11318],type = -1 }, }
|
||||
local _TabFontColor = { default = Color.New(255 / 255, 255 / 255, 255 / 255, 1),
|
||||
select = Color.New(243 / 255, 235 / 255, 202 / 255, 1)}
|
||||
--子模块预设
|
||||
local contentPrefabs={}
|
||||
|
@ -134,6 +134,7 @@ end
|
|||
function this.TabAdapter(tab, index, status)
|
||||
local tabLab = Util.GetGameObject(tab, "Text")
|
||||
Util.GetGameObject(tab,"Image"):GetComponent("Image").sprite = this.spLoader:LoadSprite(_TabData[index][status])
|
||||
Util.GetGameObject(tab,"Image"):GetComponent("Image"):SetNativeSize()
|
||||
tabLab:GetComponent("Text").text = _TabData[index].name
|
||||
tabLab:GetComponent("Text").color = _TabFontColor[status]
|
||||
if _TabData[index].type ~= -1 then
|
||||
|
|
|
@ -16,7 +16,7 @@ function this:InitComponent(gameObject)
|
|||
this.rewardPre = Util.GetGameObject(gameObject, "rewardPre")
|
||||
local v = Util.GetGameObject(gameObject, "rect"):GetComponent("RectTransform").rect
|
||||
this.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, Util.GetGameObject(gameObject, "rect").transform,
|
||||
this.rewardPre, nil, Vector2.New(v.width, v.height), 1, 1, Vector2.New(0,-5))
|
||||
this.rewardPre, nil, Vector2.New(v.width, v.height), 1, 1, Vector2.New(0,10))
|
||||
this.ScrollView.moveTween.MomentumAmount = 1
|
||||
this.ScrollView.moveTween.Strength = 1
|
||||
this.NoviceItemList={}--存储itemview 重复利用
|
||||
|
@ -84,7 +84,7 @@ function this.SingleDataShow(go,rewardData)
|
|||
end
|
||||
for i = 1, #sConFigData.Reward do
|
||||
if this.NoviceItemList[go][i] then
|
||||
this.NoviceItemList[go][i]:OnOpen(false, {sConFigData.Reward[i][1],sConFigData.Reward[i][2]}, 0.9,false,false,false,sortingOrder)
|
||||
this.NoviceItemList[go][i]:OnOpen(false, {sConFigData.Reward[i][1],sConFigData.Reward[i][2]}, 0.7,false,false,false,sortingOrder)
|
||||
this.NoviceItemList[go][i].gameObject:SetActive(true)
|
||||
end
|
||||
end
|
||||
|
@ -95,7 +95,7 @@ function this.SingleDataShow(go,rewardData)
|
|||
this.NoviceItemList[go][i].gameObject:SetActive(false)
|
||||
end
|
||||
for i = 1, #sConFigData.Reward do
|
||||
this.NoviceItemList[go][i]:OnOpen(false, {sConFigData.Reward[i][1],sConFigData.Reward[i][2]}, 0.9,false,false,false,sortingOrder)
|
||||
this.NoviceItemList[go][i]:OnOpen(false, {sConFigData.Reward[i][1],sConFigData.Reward[i][2]}, 0.7,false,false,false,sortingOrder)
|
||||
this.NoviceItemList[go][i].gameObject:SetActive(true)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -31,7 +31,7 @@ function this:InitComponent(gameObject)
|
|||
this.rewardPre = Util.GetGameObject(gameObject, "rewardPre")
|
||||
local v = Util.GetGameObject(gameObject, "rect"):GetComponent("RectTransform").rect
|
||||
this.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, Util.GetGameObject(gameObject, "rect").transform,
|
||||
this.rewardPre, nil, Vector2.New(v.width, v.height), 1, 1, Vector2.New(0,-5))
|
||||
this.rewardPre, nil, Vector2.New(v.width, v.height), 1, 1, Vector2.New(0,10))
|
||||
this.ScrollView.moveTween.MomentumAmount = 1
|
||||
this.ScrollView.moveTween.Strength = 1
|
||||
this.NoviceItemList={}--存储itemview 重复利用
|
||||
|
@ -163,7 +163,7 @@ function this.SingleMissionDatasDataShow(_go,_missionData)
|
|||
show = true
|
||||
end
|
||||
if show then
|
||||
this.NoviceItemList[_go][i]:OnOpen(false, reward[i].reward, 0.9,false,false,false,sortingOrder)
|
||||
this.NoviceItemList[_go][i]:OnOpen(false, reward[i].reward, 0.7,false,false,false,sortingOrder)
|
||||
this.NoviceItemList[_go][i].gameObject:SetActive(true)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue