future 1 год назад
Родитель
Сommit
31790a94df

+ 5 - 1
assets/resources/ui/rank_list_item.prefab

@@ -1790,7 +1790,7 @@
     },
     },
     "_contentSize": {
     "_contentSize": {
       "__type__": "cc.Size",
       "__type__": "cc.Size",
-      "width": 989,
+      "width": 996,
       "height": 207
       "height": 207
     },
     },
     "_anchorPoint": {
     "_anchorPoint": {
@@ -1888,6 +1888,10 @@
     "lab_region": {
     "lab_region": {
       "__id__": 15
       "__id__": 15
     },
     },
+    "sf_quater_bg": {
+      "__uuid__": "49eec982-8438-4752-9695-d65006841e62@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
     "sf_quater_region_bg_rank": {
     "sf_quater_region_bg_rank": {
       "__uuid__": "e2ea4429-1e57-4b07-b471-09fa2c5b85ab@f9941",
       "__uuid__": "e2ea4429-1e57-4b07-b471-09fa2c5b85ab@f9941",
       "__expectedType__": "cc.SpriteFrame"
       "__expectedType__": "cc.SpriteFrame"

+ 0 - 2
assets/resources/ui/user_info_view.prefab

@@ -2664,8 +2664,6 @@
       "__id__": 0
       "__id__": 0
     },
     },
     "fileId": "1fT7lsBHlAo6SJjKBEhr7N",
     "fileId": "1fT7lsBHlAo6SJjKBEhr7N",
-    "instance": null,
-    "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
     "nestedPrefabInstanceRoots": null
   },
   },
   {
   {

+ 2 - 0
assets/script/ui/rank/rank_list_item.ts

@@ -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) {

BIN
assets/texture/ui/quarter_rank_view/quarter_rank_item_bg.png


+ 134 - 0
assets/texture/ui/quarter_rank_view/quarter_rank_item_bg.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.26",
+  "importer": "image",
+  "imported": true,
+  "uuid": "49eec982-8438-4752-9695-d65006841e62",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "49eec982-8438-4752-9695-d65006841e62@6c48a",
+      "displayName": "quarter_rank_item_bg",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "49eec982-8438-4752-9695-d65006841e62",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "49eec982-8438-4752-9695-d65006841e62@f9941",
+      "displayName": "quarter_rank_item_bg",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "custom",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 996,
+        "height": 207,
+        "rawWidth": 996,
+        "rawHeight": 207,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -498,
+            -103.5,
+            0,
+            498,
+            -103.5,
+            0,
+            -498,
+            103.5,
+            0,
+            498,
+            103.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            207,
+            996,
+            207,
+            0,
+            0,
+            996,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -498,
+            -103.5,
+            0
+          ],
+          "maxPos": [
+            498,
+            103.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "49eec982-8438-4752-9695-d65006841e62@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "49eec982-8438-4752-9695-d65006841e62@f9941"
+  }
+}

+ 12 - 12
assets/texture/ui/rank/rank_list_item_bg.png.meta

@@ -42,11 +42,11 @@
         "trimType": "custom",
         "trimType": "custom",
         "trimThreshold": 1,
         "trimThreshold": 1,
         "rotated": false,
         "rotated": false,
-        "offsetX": -3.5,
+        "offsetX": 0,
         "offsetY": 0,
         "offsetY": 0,
         "trimX": 0,
         "trimX": 0,
         "trimY": 0,
         "trimY": 0,
-        "width": 989,
+        "width": 996,
         "height": 207,
         "height": 207,
         "rawWidth": 996,
         "rawWidth": 996,
         "rawHeight": 207,
         "rawHeight": 207,
@@ -61,16 +61,16 @@
         "meshType": 0,
         "meshType": 0,
         "vertices": {
         "vertices": {
           "rawPosition": [
           "rawPosition": [
-            -494.5,
+            -498,
             -103.5,
             -103.5,
             0,
             0,
-            494.5,
+            498,
             -103.5,
             -103.5,
             0,
             0,
-            -494.5,
+            -498,
             103.5,
             103.5,
             0,
             0,
-            494.5,
+            498,
             103.5,
             103.5,
             0
             0
           ],
           ],
@@ -85,30 +85,30 @@
           "uv": [
           "uv": [
             0,
             0,
             207,
             207,
-            989,
+            996,
             207,
             207,
             0,
             0,
             0,
             0,
-            989,
+            996,
             0
             0
           ],
           ],
           "nuv": [
           "nuv": [
             0,
             0,
             0,
             0,
-            0.9929718875502008,
+            1,
             0,
             0,
             0,
             0,
             1,
             1,
-            0.9929718875502008,
+            1,
             1
             1
           ],
           ],
           "minPos": [
           "minPos": [
-            -494.5,
+            -498,
             -103.5,
             -103.5,
             0
             0
           ],
           ],
           "maxPos": [
           "maxPos": [
-            494.5,
+            498,
             103.5,
             103.5,
             0
             0
           ]
           ]