future 1 рік тому
батько
коміт
1e3906bdf3

+ 16 - 13
assets/resources/ui/rank.prefab

@@ -112,7 +112,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 794.9999999999999,
+      "y": 795,
       "z": 0
     },
     "_lrot": {
@@ -534,7 +534,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0.7092285029295908,
-      "y": 569.4999999999999,
+      "y": 569.5,
       "z": 0
     },
     "_lrot": {
@@ -1956,7 +1956,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 69.99999999999989,
+      "y": 70,
       "z": 0
     },
     "_lrot": {
@@ -7586,7 +7586,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 92.49999999999989,
+      "y": 92.5,
       "z": 0
     },
     "_lrot": {
@@ -7627,7 +7627,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1000,
-      "height": 184.99999999999977
+      "height": 185
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -7900,7 +7900,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 184.99999999999977
+      "height": 185
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -8019,7 +8019,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1139.9999999999998
+      "height": 1140
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -8157,7 +8157,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -810.4999999999999,
+      "y": -810.5,
       "z": 0
     },
     "_lrot": {
@@ -10268,7 +10268,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 70,
+      "x": 92,
       "y": 58,
       "z": 0
     },
@@ -10309,7 +10309,7 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 270,
+      "width": 330,
       "height": 50
     },
     "_anchorPoint": {
@@ -10427,7 +10427,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 70,
+      "x": 65,
       "y": -9,
       "z": 0
     },
@@ -10663,7 +10663,10 @@
       "b": 255,
       "a": 255
     },
-    "_spriteFrame": null,
+    "_spriteFrame": {
+      "__uuid__": "536ea671-0f10-4c34-b729-1136fc4b07d5@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
     "_type": 0,
     "_fillType": 0,
     "_sizeMode": 0,
@@ -11178,7 +11181,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1919.9999999999998
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 1 - 1
assets/script/config.ts

@@ -3,7 +3,7 @@ const { ccclass, property } = _decorator;
 
 @ccclass('config')
 export class config  {
-    static debug = true
+    static debug = false
     static gameName = "开局自行车";
     static websocket_domain = config.debug?'wss://snakews.xwrun.com':"wss://snakews.hainanmlwl.com" 
     public static Platform_id = {

+ 1 - 1
assets/script/ui/rank/rank_my_info.ts

@@ -53,7 +53,7 @@ export class rank_my_info extends Component {
             this.img_avatar.getComponent(Sprite).spriteFrame = r.sf
         })
         tools.substringRankRegionName(this.lab_region, data.city_name)
-        tools.labelCutString(this.lab_nickname,data.nickName,6,false)
+        tools.labelCutString(this.lab_nickname,data.nickName,7,false)
         this.lab_score.getComponent(Label).string = data.score + ' 分'
         this.img_car.getComponent(Sprite).spriteFrame = GameManager.getUserDefaultRankCarSf()
     }