future 1 年間 前
コミット
93fa791025

+ 2 - 2
assets/resources/ui/car_info.prefab

@@ -146,7 +146,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1920.0000000000002
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1222,7 +1222,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1920.0000000000002
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 5 - 1
assets/script/ui/car_lib/car_lib_list_item.ts

@@ -31,7 +31,11 @@ export class car_lib_list_item extends Component {
         this.m_cb = cb
         this.img_car.getComponent(Sprite).spriteFrame = dataManager.getUserRankCarSf(data.id, -1)
         this.lab_car_name.getComponent(Label).string = data.name
-        this.lab_car_score.getComponent(Label).string = data.unlock_points + '分'
+        if(data.stype==0) {
+            this.lab_car_score.getComponent(Label).string = data.unlock_points + '分'
+        } else {
+            this.lab_car_score.getComponent(Label).string = data.unlock_points + '碎片'
+        }
     }
 
     public getData():car_item_data{