|
@@ -20,6 +20,7 @@ export class rank_list_item extends base_ui {
|
|
@property(Node) region_bg:Node = null;
|
|
@property(Node) region_bg:Node = null;
|
|
@property(Node) lab_region:Node = null;
|
|
@property(Node) lab_region:Node = null;
|
|
|
|
|
|
|
|
+ @property(SpriteFrame) sf_quater_bg:SpriteFrame = null
|
|
@property(SpriteFrame) sf_quater_region_bg_rank:SpriteFrame = null
|
|
@property(SpriteFrame) sf_quater_region_bg_rank:SpriteFrame = null
|
|
@property(SpriteFrame) sf_quater_rank_1:SpriteFrame = null
|
|
@property(SpriteFrame) sf_quater_rank_1:SpriteFrame = null
|
|
@property(SpriteFrame) sf_quater_rank_2:SpriteFrame = null
|
|
@property(SpriteFrame) sf_quater_rank_2:SpriteFrame = null
|
|
@@ -56,6 +57,7 @@ export class rank_list_item extends base_ui {
|
|
|
|
|
|
initQuarterRank(data:rankData, index, quarter_rank_data:quarter_rank_item_data) {
|
|
initQuarterRank(data:rankData, index, quarter_rank_data:quarter_rank_item_data) {
|
|
this.m_data = data
|
|
this.m_data = data
|
|
|
|
+ this.node.getComponent(Sprite).spriteFrame = this.sf_quater_bg
|
|
if(index<3) {
|
|
if(index<3) {
|
|
this.lab_number.active = false
|
|
this.lab_number.active = false
|
|
switch (index) {
|
|
switch (index) {
|