future 9 maanden geleden
bovenliggende
commit
d3bd501f5e
2 gewijzigde bestanden met toevoegingen van 16 en 15 verwijderingen
  1. 13 13
      assets/scene/game.scene
  2. 3 2
      assets/script/run/game_list_view/game_list.ts

+ 13 - 13
assets/scene/game.scene

@@ -15400,7 +15400,7 @@
         "__id__": 495
       }
     ],
-    "_active": false,
+    "_active": true,
     "_components": [
       {
         "__id__": 537
@@ -16766,16 +16766,16 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -160.60104824676273,
-      "y": 789,
+      "x": 126,
+      "y": 788,
       "z": 0
     },
     "_lrot": {
       "__type__": "cc.Quat",
       "x": 0,
       "y": 0,
-      "z": -0.008726535498373935,
-      "w": 0.9999619230641713
+      "z": 0,
+      "w": 1
     },
     "_lscale": {
       "__type__": "cc.Vec3",
@@ -16789,7 +16789,7 @@
       "__type__": "cc.Vec3",
       "x": 0,
       "y": 0,
-      "z": -1
+      "z": 0
     },
     "_id": "be5ww82KJAHqKiJ0CX3nOO"
   },
@@ -17041,7 +17041,7 @@
     "_target": null,
     "_left": 0,
     "_right": 0,
-    "_top": 80,
+    "_top": 81,
     "_bottom": 1689.535960196038,
     "_horizontalCenter": 0,
     "_verticalCenter": 0,
@@ -17088,16 +17088,16 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 126,
-      "y": 788,
+      "x": -160,
+      "y": 789,
       "z": 0
     },
     "_lrot": {
       "__type__": "cc.Quat",
       "x": 0,
       "y": 0,
-      "z": 0,
-      "w": 1
+      "z": -0.008726535498373935,
+      "w": 0.9999619230641713
     },
     "_lscale": {
       "__type__": "cc.Vec3",
@@ -17111,7 +17111,7 @@
       "__type__": "cc.Vec3",
       "x": 0,
       "y": 0,
-      "z": 0
+      "z": -1
     },
     "_id": "ea8J5SXQdISKrOunLq+zwr"
   },
@@ -17363,7 +17363,7 @@
     "_target": null,
     "_left": 0,
     "_right": 0,
-    "_top": 81,
+    "_top": 80,
     "_bottom": 0,
     "_horizontalCenter": 0,
     "_verticalCenter": 0,

+ 3 - 2
assets/script/run/game_list_view/game_list.ts

@@ -28,7 +28,7 @@ export class game_list extends Component {
     @property(SpriteFrame) sf_btn_normal:SpriteFrame = null;
     @property(SpriteFrame) sf_btn_select:SpriteFrame = null;
     @property(Node) long_story_list:Node = null;
-    private m_select_level_type:number = config.LevelType.LEVEL
+    private m_select_level_type:number = config.LevelType.LONG_STORY
     private m_back_call = null;
     private m_loading_finish_call = null;
     private m_data:LevelMessage = null;
@@ -107,7 +107,8 @@ export class game_list extends Component {
         ClientEvent.off(config.EventRun.WIN_LATER_AUTO_UNLOCK_NEXT_LEVEL,this.autoUnlockNextLevel.bind(this),this)
         ClientEvent.on(config.EventRun.WIN_LATER_AUTO_UNLOCK_NEXT_LEVEL,this.autoUnlockNextLevel.bind(this),this)
         this.initContentTouch()
-        this.loadLevelView()      
+        this.loadLevelView() 
+        this.requestLongStoryData()     
     }
 
     private requestLongStoryData() {