future 1 년 전
부모
커밋
6934eb0523
4개의 변경된 파일21개의 추가작업 그리고 19개의 파일을 삭제
  1. 15 15
      assets/resources/ui/rank.prefab
  2. 3 3
      assets/resources/ui/rank_list_item.prefab
  3. 2 0
      assets/script/data.ts
  4. 1 1
      assets/script/ui/home/home_top.ts

+ 15 - 15
assets/resources/ui/rank.prefab

@@ -1938,7 +1938,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -128,
+      "y": -152,
       "z": 0
     },
     "_lrot": {
@@ -1978,8 +1978,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 205,
-      "height": 120
+      "width": 170,
+      "height": 168
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -2515,7 +2515,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": -0.976,
-      "y": -47,
+      "y": -38,
       "z": 0
     },
     "_lrot": {
@@ -2673,8 +2673,8 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 3.362,
-      "y": -123.427,
+      "x": 0,
+      "y": -137.42700000000002,
       "z": 0
     },
     "_lrot": {
@@ -2714,8 +2714,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 190,
-      "height": 100
+      "width": 150,
+      "height": 148
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -3410,7 +3410,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -112.367,
+      "y": -128.36700000000002,
       "z": 0
     },
     "_lrot": {
@@ -3450,8 +3450,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 190,
-      "height": 100
+      "width": 132,
+      "height": 130
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -5851,8 +5851,8 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 365,
-      "y": 6,
+      "x": 363,
+      "y": 2,
       "z": 0
     },
     "_lrot": {
@@ -5892,8 +5892,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 170,
-      "height": 110
+      "width": 132,
+      "height": 130
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 3 - 3
assets/resources/ui/rank_list_item.prefab

@@ -877,7 +877,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 351,
-      "y": 14,
+      "y": 10,
       "z": 0
     },
     "_lrot": {
@@ -917,8 +917,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 170,
-      "height": 100
+      "width": 132,
+      "height": 130
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 2 - 0
assets/script/data.ts

@@ -55,6 +55,8 @@ export class userData{
     public create_at:string = ""
     public license_code:string = ""
     public token:string = ""
+    public province_name:string = ""
+    public city_name:string = ""
 }
 
 export class rankData{

+ 1 - 1
assets/script/ui/home/home_top.ts

@@ -29,8 +29,8 @@ export class home_top extends Component {
         })
     }
     public init(){
-        this.lab_region.getComponent(Label).string = '北京市 - 北京市'
         let user_data = userDataManager.user_data
+        this.lab_region.getComponent(Label).string = user_data.province_name + ' - ' + user_data.city_name
         this.lab_nickname.getComponent(Label).string = user_data.nickName
         this.lab_car_pai.getComponent(Label).string = user_data.license_code
     }