tjt 6 months ago
parent
commit
4b1f463a3d
100 changed files with 3903 additions and 1084 deletions
  1. 33 0
      llk/assets/core/util_class/PeriodData.ts
  2. BIN
      llk/assets/module_extra/sounds/sfx_block_remove.wav
  3. 1 1
      llk/assets/module_extra/sounds/sfx_block_remove.wav.meta
  4. BIN
      llk/assets/module_extra/sounds/sfx_fail.wav
  5. 1 1
      llk/assets/module_extra/sounds/sfx_fail.wav.meta
  6. BIN
      llk/assets/module_extra/sounds/sfx_lottery.mp3
  7. 14 0
      llk/assets/module_extra/sounds/sfx_lottery.mp3.meta
  8. BIN
      llk/assets/module_extra/sounds/sfx_rewardshow.mp3
  9. 14 0
      llk/assets/module_extra/sounds/sfx_rewardshow.mp3.meta
  10. 11 0
      llk/assets/module_extra/table_json/Gift.json
  11. 1 0
      llk/assets/module_extra/table_json/Gift.json.meta
  12. 37 0
      llk/assets/module_extra/table_json/Lsbx.json
  13. 11 0
      llk/assets/module_extra/table_json/Lsbx.json.meta
  14. 26 0
      llk/assets/module_extra/table_json/Store.json
  15. 1 0
      llk/assets/module_extra/table_json/Store.json.meta
  16. 34 0
      llk/assets/module_extra/table_ts/TableGift.ts
  17. 1 0
      llk/assets/module_extra/table_ts/TableGift.ts.meta
  18. 34 0
      llk/assets/module_extra/table_ts/TableLsbx.ts
  19. 9 0
      llk/assets/module_extra/table_ts/TableLsbx.ts.meta
  20. 44 0
      llk/assets/module_extra/table_ts/TableStore.ts
  21. 1 0
      llk/assets/module_extra/table_ts/TableStore.ts.meta
  22. 18 9
      llk/assets/module_link/game/GameLink.ts
  23. 101 38
      llk/assets/module_link/game/Player.ts
  24. 1 0
      llk/assets/module_link/ui/ad_get/UI_ad_get.ts
  25. 1 0
      llk/assets/module_link/ui/ad_relive/UI_ad_relive.ts
  26. 12 0
      llk/assets/module_link/ui/game/UI_Game.prefab
  27. 2 0
      llk/assets/module_link/ui/game/UI_Game.ts
  28. 0 1
      llk/assets/module_link/ui/gift/Layout_gift.ts
  29. 6 6
      llk/assets/module_link/ui/gift/UI_gift.prefab
  30. 8 2
      llk/assets/module_link/ui/gift/UI_gift.ts
  31. 25 3
      llk/assets/module_link/ui/lottery/Layout_lottery.ts
  32. 233 683
      llk/assets/module_link/ui/lottery/UI_lottery.prefab
  33. 85 49
      llk/assets/module_link/ui/lottery/UI_lottery.ts
  34. 7 0
      llk/assets/module_link/ui/lsbx/Layout_lsbx.ts
  35. 43 16
      llk/assets/module_link/ui/lsbx/UI_item.ts
  36. 1117 93
      llk/assets/module_link/ui/lsbx/UI_lsbx.prefab
  37. 56 24
      llk/assets/module_link/ui/lsbx/UI_lsbx.ts
  38. 8 6
      llk/assets/module_link/ui/main/UI_Main.ts
  39. 4 0
      llk/assets/module_link/ui/main/main.prefab
  40. 5 7
      llk/assets/module_link/ui/store/Layout_store.ts
  41. 292 130
      llk/assets/module_link/ui/store/UI_store.prefab
  42. 22 6
      llk/assets/module_link/ui/store/UI_store.ts
  43. 2 2
      llk/assets/module_link/ui/treasure/UI_treasure.ts
  44. 6 6
      llk/assets/module_link/ui/win/win.prefab
  45. 9 0
      llk/assets/res/eff/lottery_eff.meta
  46. 209 0
      llk/assets/res/eff/lottery_eff/ndj_anim.atlas
  47. 12 0
      llk/assets/res/eff/lottery_eff/ndj_anim.atlas.meta
  48. 0 0
      llk/assets/res/eff/lottery_eff/ndj_anim.json
  49. 11 0
      llk/assets/res/eff/lottery_eff/ndj_anim.json.meta
  50. BIN
      llk/assets/res/eff/lottery_eff/ndj_anim.png
  51. 42 0
      llk/assets/res/eff/lottery_eff/ndj_anim.png.meta
  52. BIN
      llk/assets/res/eff/lottery_eff/配置文案.png
  53. 42 0
      llk/assets/res/eff/lottery_eff/配置文案.png.meta
  54. BIN
      llk/assets/res/lottery/zt2.png
  55. 134 0
      llk/assets/res/lottery/zt2.png.meta
  56. BIN
      llk/assets/res/lottery/zt3.png
  57. 134 0
      llk/assets/res/lottery/zt3.png.meta
  58. BIN
      llk/assets/res/lottery/zt4.png
  59. 134 0
      llk/assets/res/lottery/zt4.png.meta
  60. BIN
      llk/assets/res/lottery/万圣惊魂.png
  61. 134 0
      llk/assets/res/lottery/万圣惊魂.png.meta
  62. BIN
      llk/assets/res/lottery/三角 拷贝.png
  63. 134 0
      llk/assets/res/lottery/三角 拷贝.png.meta
  64. BIN
      llk/assets/res/lottery/三角.png
  65. 134 0
      llk/assets/res/lottery/三角.png.meta
  66. BIN
      llk/assets/res/lottery/扭蛋机-001.png
  67. 42 0
      llk/assets/res/lottery/扭蛋机-001.png.meta
  68. BIN
      llk/assets/res/lottery/海底冒险.png
  69. 134 0
      llk/assets/res/lottery/海底冒险.png.meta
  70. BIN
      llk/assets/res/lottery/秋日来信.png
  71. 134 0
      llk/assets/res/lottery/秋日来信.png.meta
  72. BIN
      llk/assets/res/store/1.png
  73. 134 0
      llk/assets/res/store/1.png.meta
  74. 1 1
      llk/assets/start/start.scene
  75. 0 0
      llk/build/bytedance-mini-game/application.78211.js
  76. 0 0
      llk/build/bytedance-mini-game/application.8689a.js
  77. 1 0
      llk/build/bytedance-mini-game/assets/internal/config.7d219.json
  78. 0 0
      llk/build/bytedance-mini-game/assets/internal/import/0c/0ca60d3e4.6ec23.json
  79. 0 0
      llk/build/bytedance-mini-game/assets/internal/index.7d219.js
  80. 0 0
      llk/build/bytedance-mini-game/assets/main/config.5b94d.json
  81. 1 0
      llk/build/bytedance-mini-game/assets/main/import/06/0699aaa4c.a5a64.json
  82. 0 0
      llk/build/bytedance-mini-game/assets/main/import/07/07829d064.27d0f.json
  83. 0 0
      llk/build/bytedance-mini-game/assets/main/import/08/085e46730.0196a.json
  84. 0 0
      llk/build/bytedance-mini-game/assets/main/import/09/09be5915a.4237a.json
  85. 0 0
      llk/build/bytedance-mini-game/assets/main/import/09/09e744c46.801a1.json
  86. 0 0
      llk/build/bytedance-mini-game/assets/main/import/0e/0e37d66e0.f5f88.json
  87. 0 0
      llk/build/bytedance-mini-game/assets/main/import/0f/0f2d5d498.0570a.json
  88. 0 0
      llk/build/bytedance-mini-game/assets/main/import/1b/1bef8548-3a97-4694-8e51-efa612991884.a2533.json
  89. 0 0
      llk/build/bytedance-mini-game/assets/main/import/1e/1e37d66e0.275a3.json
  90. 0 0
      llk/build/bytedance-mini-game/assets/main/import/2a/2ab08712-d11a-4928-94e4-f27d9016b153.a2533.json
  91. 0 0
      llk/build/bytedance-mini-game/assets/main/import/2a/2af6c34a-538e-4aa0-aa69-5dc2da86acd9.a2533.json
  92. 0 0
      llk/build/bytedance-mini-game/assets/main/import/31/31bce632-8278-48ad-b571-09e0c4ba59df.a2533.json
  93. 0 0
      llk/build/bytedance-mini-game/assets/main/import/45/45c41b0d-2c95-45d5-9970-5d316e9f707e.a2533.json
  94. 0 0
      llk/build/bytedance-mini-game/assets/main/import/75/7585fd14-f0c6-485b-86bf-5c2476b3ad9a.a2533.json
  95. 0 0
      llk/build/bytedance-mini-game/assets/main/import/90/90b97398-934b-4a56-99de-0ed3de094bd7.a2533.json
  96. 0 0
      llk/build/bytedance-mini-game/assets/main/import/ba/ba21476f-2866-4f81-9c4d-6e359316e448.8bce7.json
  97. 0 0
      llk/build/bytedance-mini-game/assets/main/import/ca/ca2cbb2a-92e6-42ad-9366-7f7124a45a9f.a2533.json
  98. 0 0
      llk/build/bytedance-mini-game/assets/main/import/f5/f5414aad-a628-445f-aac7-cd2620d9b725.a2533.json
  99. 0 0
      llk/build/bytedance-mini-game/assets/main/import/fd/fd8ec536-a354-4a17-9c74-4f3883c378c8.731f4.json
  100. 0 0
      llk/build/bytedance-mini-game/assets/main/index.5b94d.js

+ 33 - 0
llk/assets/core/util_class/PeriodData.ts

@@ -27,6 +27,7 @@ day_data.get(day_type.score)...
 */
 export default class PeriodData<T extends string | number | symbol> {
    private _data: Map<T, { v: number, min: number | null, max: number | null }> = new Map();
+   private _data_Array: Map<T, any> = new Map();
    private _last: number = 0;
    private _update: PeriodDataUpdate;
    constructor(update: PeriodDataUpdate, limt?: Map<T, { min?: number | null, max?: number | null }>) {
@@ -43,9 +44,13 @@ export default class PeriodData<T extends string | number | symbol> {
    public serialize(): any {
       const obj: { [key: string]: number } = {};
       this._data.forEach((value, key) => { obj[String(key)] = value.v; });
+
+      const obj1: { [key: string]: any } = {};
+      this._data_Array.forEach((value, key) => { obj1[String(key)] = value; });
       const data = {
          "last": this._last,
          "data": obj,
+         "data_Array": obj1
       };
       return data;
    }
@@ -62,6 +67,14 @@ export default class PeriodData<T extends string | number | symbol> {
             this._get(key as T).v = value;
          }
       }
+
+      const obj1: { [key: string]: any } = data.data_Array;
+      if (obj1) {
+         for (const key in obj1) {
+            const value = obj1[key];
+            this.set_Array(key as T, value);
+         }
+      }
    }
    private _get(key: T): { v: number, min: number, max: number } {
       let data = this._data.get(key);
@@ -71,6 +84,16 @@ export default class PeriodData<T extends string | number | symbol> {
       }
       return data;
    }
+
+   private _get_Array(key: T): any {
+      let data = this._data_Array.get(key);
+      if (!data) {
+         data = new Array(7).fill(false);
+         this._data_Array.set(key, data);
+      }
+      return data;
+   }
+
    /**如果有必要,重新设置数据的min,max*/
    set(key: T, value: number, min?: number | null, max?: number | null) {
       const d = this._get(key);
@@ -82,6 +105,16 @@ export default class PeriodData<T extends string | number | symbol> {
    get(key: T): number {
       return this._get(key).v;
    }
+
+   set_Array(key: T, value: any) {
+      this._data_Array.set(key, value);
+   }
+   /**获取数据*/
+   get_Array(key: T): any {
+      return this._get_Array(key);
+   }
+
+
    /**有大最值的话,获取数据为剩余可用次数*/
    get_available(key: T): number {
       const d = this._get(key);

BIN
llk/assets/module_extra/sounds/sfx_block_remove.wav


+ 1 - 1
llk/assets/module_extra/sounds/sfx_block_remove.wav.meta

@@ -2,7 +2,7 @@
   "ver": "1.0.0",
   "importer": "audio-clip",
   "imported": true,
-  "uuid": "9edca93b-6ad9-4818-9898-320b3bd4e76e",
+  "uuid": "3a768f0d-0219-4ef1-9973-dcf82d0bf901",
   "files": [
     ".json",
     ".wav"

BIN
llk/assets/module_extra/sounds/sfx_fail.wav


+ 1 - 1
llk/assets/module_extra/sounds/sfx_fail.wav.meta

@@ -2,7 +2,7 @@
   "ver": "1.0.0",
   "importer": "audio-clip",
   "imported": true,
-  "uuid": "a50b1cfc-591c-4c15-97d3-ef075d414197",
+  "uuid": "5be20cd5-9493-4bf1-84db-8ad1dd535362",
   "files": [
     ".json",
     ".wav"

BIN
llk/assets/module_extra/sounds/sfx_lottery.mp3


+ 14 - 0
llk/assets/module_extra/sounds/sfx_lottery.mp3.meta

@@ -0,0 +1,14 @@
+{
+  "ver": "1.0.0",
+  "importer": "audio-clip",
+  "imported": true,
+  "uuid": "d0498611-eb5d-4d9a-a277-3a555bb846cd",
+  "files": [
+    ".json",
+    ".mp3"
+  ],
+  "subMetas": {},
+  "userData": {
+    "downloadMode": 0
+  }
+}

BIN
llk/assets/module_extra/sounds/sfx_rewardshow.mp3


+ 14 - 0
llk/assets/module_extra/sounds/sfx_rewardshow.mp3.meta

@@ -0,0 +1,14 @@
+{
+  "ver": "1.0.0",
+  "importer": "audio-clip",
+  "imported": true,
+  "uuid": "97a39a11-b19e-4334-9a5e-4ed2d2555db2",
+  "files": [
+    ".json",
+    ".mp3"
+  ],
+  "subMetas": {},
+  "userData": {
+    "downloadMode": 0
+  }
+}

+ 11 - 0
llk/assets/module_extra/table_json/Gift.json

@@ -0,0 +1,11 @@
+{
+    "1": {
+        "quantity":300
+    },
+    "2": {
+        "quantity":500
+    },
+    "3": {
+        "quantity":800
+    }
+}

+ 1 - 0
llk/assets/module_extra/table_json/Gift.json.meta

@@ -0,0 +1 @@
+{"ver":"2.0.1","importer":"json","imported":true,"uuid":"e4635268-0437-4bf2-b4a9-3bb3493f2c72","files":[".json"],"subMetas":{},"userData":{}}

+ 37 - 0
llk/assets/module_extra/table_json/Lsbx.json

@@ -0,0 +1,37 @@
+{
+    "1": {
+        "type": 1,
+        "quantity":3,
+        "txt":"提示"
+    },
+    "2": {
+        "type": 2,
+        "quantity":1,
+        "txt":"砖块"
+    },
+    "3": {
+        "type": 3,
+        "quantity":500,
+        "txt":"金币"
+    },
+    "4": {
+        "type": 2,
+        "quantity":2,
+        "txt":"砖块"
+    },
+    "5": {
+        "type": 3,
+        "quantity":600,
+        "txt":"金币"
+    },
+    "6": {
+        "type": 2,
+        "quantity":3,
+        "txt":"砖块"
+    },
+    "7": {
+        "type": 3,
+        "quantity":1000,
+        "txt":"金币"
+    }
+}

+ 11 - 0
llk/assets/module_extra/table_json/Lsbx.json.meta

@@ -0,0 +1,11 @@
+{
+  "ver": "2.0.1",
+  "importer": "json",
+  "imported": true,
+  "uuid": "9f35e6b9-2cff-4b3e-8c27-f48e848c3813",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {}
+}

+ 26 - 0
llk/assets/module_extra/table_json/Store.json

@@ -0,0 +1,26 @@
+{
+    "1": {
+        "type": 2,
+        "quantity":1,
+        "price":-50,
+        "name":"刷新"
+    },
+    "2": {
+        "type": 0,
+        "quantity":800,
+        "price":0,
+        "name":"金币"
+    },
+    "3": {
+        "type": 3,
+        "quantity":1,
+        "price":-150,
+        "name":"提示"
+    },
+    "4": {
+        "type": 2,
+        "quantity":1,
+        "price":-300,
+        "name":"刷新"
+    }
+}

+ 1 - 0
llk/assets/module_extra/table_json/Store.json.meta

@@ -0,0 +1 @@
+{"ver":"2.0.1","importer":"json","imported":true,"uuid":"f0a8dd37-19f3-41f3-aab2-67f1c979749b","files":[".json"],"subMetas":{},"userData":{}}

+ 34 - 0
llk/assets/module_extra/table_ts/TableGift.ts

@@ -0,0 +1,34 @@
+import { _decorator, Component, Node } from 'cc';
+import { TableUtil } from './TableUtil';
+const { ccclass, property } = _decorator;
+
+@ccclass('TableGift')
+export class TableGift{
+    static readonly TableName: string = "Gift";
+        
+    static readonly IdList: number[] = [1,2,3];
+    
+    static get(id:number):TableGift{return TableUtil.getTable(TableGift,id)};
+    static getList():TableGift[]{return TableUtil.getTables(TableGift,TableGift.IdList)};
+    private data: any;
+
+    init(id: number) {
+        var table = TableUtil.get(TableGift.TableName);
+        this.data = table[id];
+        if(!this.data)console.error("配置表"+TableGift.TableName+"没有ID:"+id);
+        this.id = id;
+    }
+    /** 编号【KEY】 */
+    id: number = 0;
+
+/** 物品类型 */
+get type(): number {
+    return this.data.type;
+}
+/** 物品数量 */
+get quantity(): number {
+    return this.data.quantity;
+}
+}
+
+

+ 1 - 0
llk/assets/module_extra/table_ts/TableGift.ts.meta

@@ -0,0 +1 @@
+{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"99d616c8-2ae6-4ac6-8bae-6e20aed5e052","files":[],"subMetas":{},"userData":{}}

+ 34 - 0
llk/assets/module_extra/table_ts/TableLsbx.ts

@@ -0,0 +1,34 @@
+import { _decorator, Component, Node } from 'cc';
+import { TableUtil } from './TableUtil';
+const { ccclass, property } = _decorator;
+
+@ccclass('TableLsbx')
+export class TableLsbx{
+    static readonly TableName: string = "Lsbx";
+        
+    static readonly IdList: number[] = [1,2,3,4,5,6,7];
+    
+    static get(id:number):TableLsbx{return TableUtil.getTable(TableLsbx,id)};
+    static getList():TableLsbx[]{return TableUtil.getTables(TableLsbx,TableLsbx.IdList)};
+    private data: any;
+
+    init(id: number) {
+        var table = TableUtil.get(TableLsbx.TableName);
+        this.data = table[id];
+        if(!this.data)console.error("配置表"+TableLsbx.TableName+"没有ID:"+id);
+        this.id = id;
+    }
+    /** 编号【KEY】 */
+    id: number = 0;
+
+/** 物品类型 */
+get type(): number {
+    return this.data.type;
+}
+/** 物品数量 */
+get quantity(): number {
+    return this.data.quantity;
+}
+}
+
+

+ 9 - 0
llk/assets/module_extra/table_ts/TableLsbx.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.24",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "8210ef81-d5b4-433a-ae16-e08f7d4ee79a",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 44 - 0
llk/assets/module_extra/table_ts/TableStore.ts

@@ -0,0 +1,44 @@
+import { _decorator, Component, Node } from 'cc';
+import { TableUtil } from './TableUtil';
+const { ccclass, property } = _decorator;
+
+@ccclass('TableStore')
+export class TableStore{
+    static readonly TableName: string = "Store";
+        
+    static readonly IdList: number[] = [1,2,3,4];
+    
+    static get(id:number):TableStore{return TableUtil.getTable(TableStore,id)};
+    static getList():TableStore[]{return TableUtil.getTables(TableStore,TableStore.IdList)};
+    private data: any;
+
+    init(id: number) {
+        var table = TableUtil.get(TableStore.TableName);
+        this.data = table[id];
+        if(!this.data)console.error("配置表"+TableStore.TableName+"没有ID:"+id);
+        this.id = id;
+    }
+    /** 编号【KEY】 */
+    id: number = 0;
+
+/** 物品类型 */
+get type(): number {
+    return this.data.type;
+}
+/** 物品数量 */
+get quantity(): number {
+    return this.data.quantity;
+}
+
+/** 价格 */
+get price(): number {
+    return this.data.price;
+}
+
+/** 物品名称 */
+get name(): string {
+    return this.data.name;
+}
+}
+
+

+ 1 - 0
llk/assets/module_extra/table_ts/TableStore.ts.meta

@@ -0,0 +1 @@
+{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"b501e9d6-5f9f-4138-9b25-de64ccb2b355","files":[],"subMetas":{},"userData":{}}

+ 18 - 9
llk/assets/module_link/game/GameLink.ts

@@ -44,6 +44,7 @@ export class GameLink extends Game<GameLink> {
     onLoad(): void {
         super.onLoad();
         this.vibrate = ch.storage.getBoolean('linkup_vibrate');
+        // console.log(new Date(chsdk.date.now()));
     }
     public set_vibrate(b: boolean): void {
         this.vibrate = b;
@@ -73,14 +74,14 @@ export class GameLink extends Game<GameLink> {
         this.lv?.time_run(deltaTime);
     }
     async start() {
-        //this.loadTable();
+        this.loadTable();
         this.player = player.getInstance(ch.sdk.get_gid(), ch.sdk.get_uid().toString());
         this.player.init_user_info();
         this.link = new Link(this.map);
         this.lv = new Lv();
         await this.player.load();
         if (chsdk.checkFromSidebar() && this.player.get_is_favorite() == 0) {
-            this.player.add_item(3, 1);
+            this.player.add_item(3, 1);//提示道具
             this.player.set_is_favorite();
         }
         if (this.player.get_bx_time() < 0) {
@@ -124,29 +125,37 @@ export class GameLink extends Game<GameLink> {
         //this.pause();
         if (this.lv.is_win) {
             //连胜下标变换的判断
-            let res1=GameLink.getInst().player.get_ls_index();
             this.player.set_ls(1);//连胜+1
-            let res2=GameLink.getInst().player.get_ls_index();
-            if(res1 != res2)
-            {
+            let res = GameLink.getInst().player.get_ls_index();
+            //更新最大连胜下标
+            let index = GameLink.getInst().player.get_max_ls_index();
+            console.log('当前连胜下标' + res);
+            console.log('当前最大连胜下标' + index);
+            //GameLink.getInst().player.config[index]
+            if (res >= index + 1) {
                 GameLink.getInst().player.set_lsbx_redpoint(1);
+                GameLink.getInst().player.set_max_ls_index(1);
+                console.log('更新最大连胜下标' + GameLink.getInst().player.get_max_ls_index());
             }
             if (this.lv.lv == 10) {
                 this.player.data.add(data_type.max_floor, 1);
-                this.player.week_data.add(week_data_type.floor, 1);
+                this.player.data.add(data_type.floor, 1);
                 this.player.day_data.set(day_data_type.lv, 1);
                 this.player.save_rank_floor();
+                this.player.setDirty();
+                this.player.save();
             } else {
                 this.player.day_data.add(day_data_type.lv, 1);
+                this.player.setDirty();
             }
             this.player.day_data.add(day_data_type.total_lv, 1);
             this.player.save_rank_total_lv();
         } else {
             this.player.week_data.set(week_data_type.ls, 0);//重置连胜
             this.player.day_data.add(day_data_type.try, 1);
+            this.player.setDirty();
         }
-        this.player.setDirty();
-        this.player.save();
+
         this.evt.emit(this.evt.key.game_end, this.lv.is_win);
     }
     async relife() {

+ 101 - 38
llk/assets/module_link/game/Player.ts

@@ -5,6 +5,7 @@ import GameData from "../../core/util_class/GameData";
 import { GameLink, GameState, notify } from "./GameLink";
 import { Skin } from "./Skin";
 import { Start } from "../../start/Start";
+import ch_util from "../../ch/ch_util";
 /**定义事件 */
 interface event_protocol {
     item_count(type: number, count: number): void;//道具数量改变
@@ -19,11 +20,11 @@ export enum rand_type {
 }
 /**自定义数据*/
 export enum data_type {
+    floor = 'floor',//永久
     last_gift_sidebar = "last_gift_sidebar",//最后一次侧边栏时间
     max_floor = 'max_floor',//最高完成的层数
     coin = 'coin',//金币
     bx_time = 'bx_time',//宝箱倒计时
-    lottery_index = 'lottery_index',//想抽奖的主题
 }
 /**定义每日数据*/
 export enum day_data_type {
@@ -36,28 +37,29 @@ export enum day_data_type {
     isFavorite = "isFavorite",//是否从收藏页进入
     get_free_coin = 'get_free_coin',//获得免费金币
     get_free_lottery = 'get_free_lottery',//获得免费抽奖
-    purchase_discount= 'purchase_discount',//购买折扣
+    purchase_discount = 'purchase_discount',//购买折扣
 }
 /**定义每周数据*/
 export enum week_data_type {
-    floor = 'floor',//每周
     ls = 'ls',//连胜
     ylq_ls = 'ylq_ls',//已领取的连胜奖励
+    max_ls_index = 'max_ls_index',//最大连胜下标
     lsbx_redpoint = 'lsbx_redpoint',//连胜宝箱红点
 }
 export default class player extends GameData<data_type, day_data_type, week_data_type, null> {
     private static _instance: player;
 
-    public config: number[] = [3, 5, 7, 10, 12, 15, 18];
+    public config: number[] = [0,3, 5, 7, 10, 12, 15, 18];
+    // public config: number[] = [0,1, 2, 3, 10, 12, 15, 18];
 
     public static getInstance(gid: string, uid: string): player {
         //
         if (!this._instance) this._instance = new player(gid, uid, 'player',
             new Map([
+                [data_type.floor, { min: 0 }],
                 [data_type.max_floor, { min: 1 }],
                 [data_type.coin, { min: 0 }],
                 [data_type.bx_time, { min: -1, max: 300 }],
-                [data_type.lottery_index, { min: 0, max: 3 }],
             ]),
             new Map([
                 [day_data_type.floor, { min: 0 }],
@@ -71,9 +73,9 @@ export default class player extends GameData<data_type, day_data_type, week_data
                 [day_data_type.purchase_discount, { min: 0, max: 1 }],
             ]),
             new Map([
-                [week_data_type.floor, { min: 0 }],
                 [week_data_type.ls, { min: 0 }],
-                [week_data_type.ylq_ls, { min: 0, max: 7 }],
+                // [week_data_type.ylq_ls, { min: 0, max: 7 }],
+                [week_data_type.max_ls_index, { min: 0, max: 7 }],
                 [week_data_type.lsbx_redpoint, { min: 0, max: 1 }],
             ]),
         );
@@ -270,13 +272,37 @@ export default class player extends GameData<data_type, day_data_type, week_data
     }
 
     //获取已领连胜奖励的下标
-    public get_ylq_ls(): number {
-        return this.week_data.get(week_data_type.ylq_ls);
+    public get_ylq_ls() {
+        return this.week_data.get_Array(week_data_type.ylq_ls);
     }
 
     //设置已领连胜奖励的下标
-    public set_ylq_ls(ylq_ls: number): void {
-        this.week_data.add(week_data_type.ylq_ls, ylq_ls);
+    public set_ylq_ls(ylq_ls: any): void {
+        this.week_data.set_Array(week_data_type.ylq_ls, ylq_ls);
+    }
+
+    //获取当前连胜下标
+    public get_ls_index(): number {
+        let lscs = this.get_ls();
+        let max=0;
+        for (let i = 0; i < this.config.length; i++) {
+            //判断需显示的最大连胜
+            if (lscs < this.config[i]) {
+                break;
+            }
+            max = i;
+        }
+        return max;
+    }
+
+    //获取最高连胜下标
+    public get_max_ls_index(): number {
+        return this.week_data.get(week_data_type.max_ls_index);
+    }
+
+    //设置最高连胜下标
+    public set_max_ls_index(value: number): void {
+        this.week_data.add(week_data_type.max_ls_index, value);
     }
 
     /*获取连胜宝箱的红点状态*/
@@ -290,16 +316,6 @@ export default class player extends GameData<data_type, day_data_type, week_data
         this.setDirty();
     }
 
-    //获取想抽的主题
-    public get_lottery_index(): number {
-        return this.data.get(data_type.lottery_index);
-    }
-
-    //设置想抽的主题
-    public set_lottery_index(index: number): void {
-        this.data.set(data_type.lottery_index, index);
-        this.setDirty();
-    }
 
     //获取金币数量
     public get_coin(): number {
@@ -337,8 +353,8 @@ export default class player extends GameData<data_type, day_data_type, week_data
     }
 
     //设置是否购买折扣商品状态
-    public set_purchase_discount(state:number):void {
-        this.day_data.set(day_data_type.purchase_discount,state);
+    public set_purchase_discount(state: number): void {
+        this.day_data.set(day_data_type.purchase_discount, state);
         this.setDirty();
     }
 
@@ -349,9 +365,14 @@ export default class player extends GameData<data_type, day_data_type, week_data
         const jd_info = this.skin.get_skin_jd(this.wish_skin);
         const list: number[] = [];
         for (let i = 0; i < this.get_skin_jd_max(); i++) {
-            //if (jd_info.has(i)) continue;
+            if (jd_info.has(i)) continue;
             list.push(i);
         }
+        //如果都拥有随机再给一个已拥有的
+        if (list.length == 0) {
+            list.push(ch_util.getRandomInt(0, this.get_skin_jd_max()));
+        }
+
         const bid = list[ch.util.getRandomInt(0, list.length)];
         this.add_skin_block(this.wish_skin, bid);
         return { id: this.wish_skin, bid: bid };
@@ -361,10 +382,63 @@ export default class player extends GameData<data_type, day_data_type, week_data
     public lottery_random_add_skin_block(index: number): { id: number, bid: number } {
         const jd_info = this.skin.get_skin_jd(index);
         const list: number[] = [];
+        //优先抽取未拥有的方块
         for (let i = 0; i < this.get_skin_jd_max(); i++) {
-            //if (jd_info.has(i)) continue;
+            if (jd_info.has(i)) continue;
             list.push(i);
         }
+        //如果都拥有随机再给一个已拥有的
+        if (list.length == 0) {
+            list.push(ch_util.getRandomInt(0, this.get_skin_jd_max()));
+        }
+
+        const bid = list[ch.util.getRandomInt(0, list.length)];
+        this.add_skin_block(index, bid);
+        console.log("获取" + index + "皮肤" + bid);
+        return { id: index, bid: bid };
+    }
+
+    /*随机增加一个方块*/
+    public lsbx_random_add_skin_block(index: number): { id: number, bid: number } {
+        const jd_info = this.skin.get_skin_jd(index);
+        const list: number[] = [];
+        const count: Map<number, boolean> = new Map<number, boolean>();
+        count.set(2, false);
+        count.set(3, false);
+        count.set(4, false);
+        let flag = true;
+        //优先抽取未拥有的方块
+        while (flag) {
+            for (let i = 0; i < this.get_skin_jd_max(); i++) {
+                if (jd_info.has(i)) continue;
+                list.push(i);
+            }
+            if (list.length == 0) {
+                count.set(index, true);
+                for (let [key, value] of count) {
+                    if (!value) {
+                        index = key as number;
+                        break; // 退出for...of循环
+                    }
+                }
+                //如果count中所有的key都是true,则退出while
+                for (let [key, value] of count) {
+                    if (!value) {
+                        flag = false;
+                        break;
+                    }
+                }
+            }
+            else {
+                flag = false;
+            }
+        }
+
+        //如果都拥有随机再给一个已拥有的
+        if (list.length == 0) {
+            list.push(ch_util.getRandomInt(0, this.get_skin_jd_max()));
+        }
+
         const bid = list[ch.util.getRandomInt(0, list.length)];
         this.add_skin_block(index, bid);
         console.log("获取" + index + "皮肤" + bid);
@@ -420,7 +494,7 @@ export default class player extends GameData<data_type, day_data_type, week_data
         if (Start.packId == 1) {
             seeg.changeWeekRankData(rand_type.floor, 1, 1, this.user_info.province);
         } else {
-            const floor = this.week_data.get(week_data_type.floor);
+            const floor = this.data.get(data_type.floor);
             ch.sdk.saveRankData(rand_type.floor, floor, ch.sdk.updateType.none, 0, { province: this.user_info.province });
         }
     }
@@ -475,16 +549,5 @@ export default class player extends GameData<data_type, day_data_type, week_data
         )
     }
 
-    public get_ls_index():number {
-        let lscs = this.get_ls();
-        let max;
-        for (let i = 0; i < this.config.length; i++) {
-            //判断需显示的最大连胜
-            if (lscs < this.config[i]) {
-                break;
-            }
-            max = i;
-        }
-        return max;
-    }
+
 }

+ 1 - 0
llk/assets/module_link/ui/ad_get/UI_ad_get.ts

@@ -21,6 +21,7 @@ export class UI_ad_get extends ui_base {
             if (ret) {
                 ch.audio.playOneShot('sounds/sfx_add_item');
                 GameLink.getInst().player.add_item(type, 1);
+                ch.audio.resume();
             }
             this.close();
         }, this);

+ 1 - 0
llk/assets/module_link/ui/ad_relive/UI_ad_relive.ts

@@ -25,6 +25,7 @@ export class UI_ad_relive extends ui_base {
             const ret = await chsdk.playRewardAd('关卡复活' + GameLink.getInst().lv.lv);
             if (ret) {
                 ch.audio.playOneShot('sounds/sfx_add_item');
+                ch.audio.resume();
                 GameLink.getInst().relife();
                 this.close();
             }

+ 12 - 0
llk/assets/module_link/ui/game/UI_Game.prefab

@@ -270,6 +270,10 @@
       {
         "__uuid__": "73c191a3-bdc2-4dde-934a-1eefe9e75ca7@f9941",
         "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "174e8379-3c27-42ba-a36a-c8f1cfd50f73@f9941",
+        "__expectedType__": "cc.SpriteFrame"
       }
     ],
     "_id": ""
@@ -6653,6 +6657,10 @@
       {
         "__uuid__": "ab230935-7e69-4720-a2d6-94d6b13a2288@f9941",
         "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "e3d8b84e-ac2c-48c5-a8ce-a13922e990f5@f9941",
+        "__expectedType__": "cc.SpriteFrame"
       }
     ],
     "_id": ""
@@ -7492,6 +7500,10 @@
       {
         "__uuid__": "ab230935-7e69-4720-a2d6-94d6b13a2288@f9941",
         "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "e3d8b84e-ac2c-48c5-a8ce-a13922e990f5@f9941",
+        "__expectedType__": "cc.SpriteFrame"
       }
     ],
     "_id": ""

+ 2 - 0
llk/assets/module_link/ui/game/UI_Game.ts

@@ -13,6 +13,7 @@ import { ch } from "../../../ch/ch";
 import { UI_ad_relive } from "../ad_relive/UI_ad_relive";
 import { UI_treasure } from "../treasure/UI_treasure";
 import { data_type } from "../../game/Player";
+import ch_audio from "../../../ch/audio/audio";
 export class UI_Game extends ui_base {
     public lt: Layout_Game;
     public static lt: Layout_Game;
@@ -22,6 +23,7 @@ export class UI_Game extends ui_base {
         super(ModuleDef.Link, 'ui/game/UI_Game', GameUILayers.GAME, Layout_Game);
     }
     protected onCreated(): void {
+        ch.audio.stop();
         this.lt = this.getLayout<Layout_Game>();
         UI_Game.lt = this.lt;
         this.lt.nd_ts.node.active = false;

+ 0 - 1
llk/assets/module_link/ui/gift/Layout_gift.ts

@@ -14,7 +14,6 @@ export class Layout_gift extends Component {
     show: Node[]=[];
     @property([SpriteFrame])
     curSprite: SpriteFrame[] = [];
-    coin:number[]=[300,500,800]
 }
 
 

+ 6 - 6
llk/assets/module_link/ui/gift/UI_gift.prefab

@@ -2138,7 +2138,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": -22.456000000000017,
-      "y": 4.381999999999948,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -2274,7 +2274,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 35,
-      "y": 5,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -3481,7 +3481,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": -22.456000000000017,
-      "y": 4.381999999999948,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -3617,7 +3617,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 35,
-      "y": 5,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -4824,7 +4824,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": -22.456000000000017,
-      "y": 4.381999999999948,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -4960,7 +4960,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 35,
-      "y": 5,
+      "y": 0,
       "z": 0
     },
     "_lrot": {

+ 8 - 2
llk/assets/module_link/ui/gift/UI_gift.ts

@@ -7,12 +7,16 @@ import { ani_ui, button_sound, GameLink } from "../../game/GameLink";
 import { ch } from '../../../ch/ch';
 import GameData from '../../../core/util_class/GameData';
 import { UI_Main } from '../main/UI_Main';
+import { TableGift } from '../../../module_extra/table_ts/TableGift';
+import { UINotify } from '../../../module_basic/ui_notify/UINotify';
 const { ccclass, property } = _decorator;
 
 @ccclass('UI_gift')
 export class UI_gift extends ui_base {
+    config:any;
     constructor() {
         super(ModuleDef.Link, 'ui/gift/UI_gift', GameUILayers.HUD, Layout_gift);
+        this.config=TableGift.getList();
     }
 
     protected async onCreated() {
@@ -42,6 +46,7 @@ export class UI_gift extends ui_base {
                     ch.audio.playOneShot('sounds/sfx_add_item');
                     //改变显示
                     this.changeShow(layout);
+                    ch.audio.resume();
                 }
             }
         }, this);
@@ -56,7 +61,8 @@ export class UI_gift extends ui_base {
         layout.show[index].getChildByPath('gold/have').active = true;
         //给玩家增加金币
         let coin = GameLink.getInst().player.get_coin();
-        GameLink.getInst().player.set_coin(coin+layout.coin[index]);
+        GameLink.getInst().player.set_coin(coin+this.config[index].data.quantity);
+        UINotify.show(`获得${this.config[index].data.quantity}金币`);
         gui.get(UI_Main).show_coin_txt(GameLink.getInst().player.get_coin());
         index++;
         if (layout.show[index]) {
@@ -69,7 +75,7 @@ export class UI_gift extends ui_base {
             layout.watch_btn.node.getComponent(Sprite).grayscale = true;
         }
         GameLink.getInst().player.setDirty();
-        GameLink.getInst().player.save();
+
     }
 
     private initShow(layout: Layout_gift, index: number, max: number) {

+ 25 - 3
llk/assets/module_link/ui/lottery/Layout_lottery.ts

@@ -1,4 +1,4 @@
-import { _decorator, Button, Component, Node, Sprite, SpriteFrame } from 'cc';
+import { _decorator, Button, Component, Node, sp, Sprite, SpriteFrame } from 'cc';
 import { blockView } from '../../game/block/blockView';
 const { ccclass, property } = _decorator;
 
@@ -7,17 +7,39 @@ export class Layout_lottery extends Component {
     @property(Button)
     cloose_btn: Button;
     @property(Button)
-    select_btn: Button;
-    @property(Button)
     coin_btn: Button;
     @property(Button)
     watch_btn: Button;
     @property([Node])
     des_sp: Node[]=[];
     @property(Node)
+    mask_node: Node;
+    @property(Node)
     eff_node: Node;
     @property(blockView)
     new_blcok: blockView;
+    @property(sp.Skeleton)
+    lottery_eff: sp.Skeleton;
+    @property(Button)
+    pre_btn:Button;
+    @property(Button)
+    next_btn:Button;
+
+    @property(Sprite)
+    bg: Sprite;
+    @property(Sprite)
+    title_bg: Sprite;
+    @property(Sprite)
+    title: Sprite;
+
+    @property(SpriteFrame)
+    bg_res: SpriteFrame[]=[];
+    @property(SpriteFrame)
+    ztbg: SpriteFrame[]=[];
+    @property(SpriteFrame)
+    zt_title: SpriteFrame[]=[];
+
+    index=1;
 }
 
 

File diff suppressed because it is too large
+ 233 - 683
llk/assets/module_link/ui/lottery/UI_lottery.prefab


+ 85 - 49
llk/assets/module_link/ui/lottery/UI_lottery.ts

@@ -4,9 +4,10 @@ import { ModuleDef } from '../../../scripts/ModuleDef';
 import { GameUILayers, gui } from '../../../core/ui/ui';
 import { Layout_lottery } from './Layout_lottery';
 import { ani_ui, button_sound, GameLink } from '../../game/GameLink';
-import { UI_lottery_alert } from '../lottery_alert/UI_lottery_alert';
 import { UI_Main } from '../main/UI_Main';
 import { UINotify } from '../../../module_basic/ui_notify/UINotify';
+import ch_util from '../../../ch/ch_util';
+import { ch } from '../../../ch/ch';
 const { ccclass, property } = _decorator;
 
 @ccclass('UI_lottery')
@@ -18,39 +19,60 @@ export class UI_lottery extends ui_base {
     protected async onCreated() {
         const layout = this.getLayout<Layout_lottery>();
         ani_ui(layout.cloose_btn.node.parent);
+        layout.lottery_eff.setAnimation(0, 'animation_while', true);
         this.onButtonEvent(layout.cloose_btn, (button: any) => {
             button_sound();
-            GameLink.getInst().player.set_lottery_index(0);
             this.close();
         }, this);
 
-        this.onButtonEvent(layout.select_btn, (button: any) => {
-            button_sound();
-            gui.show(UI_lottery_alert);
-        }, this);
+        this.onButtonEvent(layout.pre_btn, (button: any) => {
+            layout.index -= 1;
+            this.change_Theme(layout);
+            if (layout.index == 1) {
+                layout.pre_btn.node.active = false;
+            }
+            if (layout.index != layout.ztbg.length) {
+                layout.next_btn.node.active = true;
+            }
+        });
+
+        this.onButtonEvent(layout.next_btn, (button: any) => {
+            layout.index += 1;
+            this.change_Theme(layout);
+            if (layout.index == layout.ztbg.length) {
+                layout.next_btn.node.active = false;
+            }
+            if (layout.index != 1) {
+                layout.pre_btn.node.active = true;
+            }
+        });
+
+        // this.onButtonEvent(layout.select_btn, (button: any) => {
+        //     button_sound();
+        //     gui.show(UI_lottery_alert);
+        // }, this);
 
         this.onButtonEvent(layout.coin_btn, (button: any) => {
             button_sound();
-            if (GameLink.getInst().player.get_lottery_index() != 0) {
-                let coin = GameLink.getInst().player.get_coin();
-                if (coin < 1000) {
-                    UINotify.show('金币不足');
-                    return;
-                }
-                else {
-                    let index = GameLink.getInst().player.get_lottery_index();
-                    const sk = GameLink.getInst().player.lottery_random_add_skin_block(index);
-                    this.result(sk);
-                    coin -= 1000;
-                    GameLink.getInst().player.set_coin(coin);
-                    GameLink.getInst().player.set_lottery_index(0);
-                    GameLink.getInst().player.setDirty();
-                    GameLink.getInst().player.save();
-                    gui.get(UI_Main).show_coin_txt(GameLink.getInst().player.get_coin());
-                }
+            let coin = GameLink.getInst().player.get_coin();
+            if (coin < 1000) {
+                UINotify.show('金币不足');
+                return;
             }
             else {
-                UINotify.show('请先选择主题');
+                layout.lottery_eff.setSkin(ch_util.getRandomInt(2, 5).toString());
+                layout.lottery_eff.setAnimation(0, 'animation_cj_1', false);
+                ch.audio.playOneShot('sounds/sfx_lottery');
+                let index = layout.index + 1;
+                const sk = GameLink.getInst().player.lottery_random_add_skin_block(index);
+                setTimeout(() => {
+                    this.result(sk);
+                }, 3000);
+
+                coin -= 1000;
+                GameLink.getInst().player.set_coin(coin);
+                GameLink.getInst().player.setDirty();
+                gui.get(UI_Main).show_coin_txt(GameLink.getInst().player.get_coin());
             }
         }, this);
 
@@ -61,41 +83,49 @@ export class UI_lottery extends ui_base {
         this.onButtonEvent(layout.watch_btn, async (button: any) => {
             button_sound();
             if (GameLink.getInst().player.get_free_lottery() == 0) {
-                if (GameLink.getInst().player.get_lottery_index() != 0) {
-                    const ret = await chsdk.playRewardAd('获得方块');
-                    if (ret) {
-                        let index = GameLink.getInst().player.get_lottery_index();
-                        const sk = GameLink.getInst().player.lottery_random_add_skin_block(index);
+                layout.lottery_eff.setSkin(ch_util.getRandomInt(2, 5).toString());
+                const ret = await chsdk.playRewardAd('获得砖块');
+                if (ret) {
+                    ch.audio.resume();
+                    layout.lottery_eff.setAnimation(0, 'animation_cj_1', false);
+                    ch.audio.playOneShot('sounds/sfx_lottery');
+                    let index = layout.index + 1;
+                    const sk = GameLink.getInst().player.lottery_random_add_skin_block(index);
+                    setTimeout(() => {
                         this.result(sk);
-                        GameLink.getInst().player.set_lottery_index(0);
-                        GameLink.getInst().player.set_free_lottery(1);
-                        this.changestate(layout);
-                        GameLink.getInst().player.setDirty();
-                        GameLink.getInst().player.save();
-                    }
-                }
-                else {
-                    UINotify.show('请先选择主题');
+                    }, 3000);
+                    GameLink.getInst().player.set_free_lottery(1);
+                    this.changestate(layout);
+                    GameLink.getInst().player.setDirty();
                 }
             }
             else {
-                UINotify.show('今日抽取次数已用完');
+                UINotify.show('明天再来吧');
             }
         }, this);
     }
 
     protected onDispose() { }
 
-    public result(sk: any) {
-        const layout = this.getLayout<Layout_lottery>();
-        layout.eff_node.active = true;
-        gui.scale_anim(layout.eff_node, 0.3, 0, 1);
-        layout.new_blcok.node.active = true;
-        layout.new_blcok.show_type(sk.id, sk.bid);
-        gui.scale_elasticOut_anim(layout.new_blcok.node, 0.5, 0, 1.5);
-        setTimeout(() => {
-            layout.eff_node.active = false;
-        }, 1500);
+    public result(sk: any): Promise<void> {
+        return new Promise((resolve) => {
+            ch.audio.playOneShot('sounds/sfx_rewardshow');
+            const layout = this.getLayout<Layout_lottery>();
+            layout.mask_node.active = true;
+            gui.scale_anim(layout.eff_node, 0.3, 0, 1);
+            layout.new_blcok.node.active = true;
+            layout.new_blcok.show_type(sk.id, sk.bid);
+            gui.scale_elasticOut_anim(layout.new_blcok.node, 0.5, 0, 1.5);
+
+            // 监听点击事件
+            layout.mask_node.once(Node.EventType.TOUCH_END, () => {
+                layout.mask_node.active = false;
+                resolve(); // 点击后结束 Promise
+            });
+            // setTimeout(() => {
+            //     layout.eff_node.active = false;
+            // }, 1500);
+        });
     }
 
     private changestate(layout: any) {
@@ -103,6 +133,12 @@ export class UI_lottery extends ui_base {
         layout.des_sp[1].active = true;
         layout.watch_btn.node.getComponent(Sprite).grayscale = true;
     }
+
+    private change_Theme(layout: any) {
+        layout.title_bg.spriteFrame = layout.ztbg[layout.index - 1];
+        layout.title.spriteFrame = layout.zt_title[layout.index - 1];
+        layout.bg.spriteFrame = layout.bg_res[layout.index - 1];
+    }
 }
 
 

+ 7 - 0
llk/assets/module_link/ui/lsbx/Layout_lsbx.ts

@@ -1,4 +1,5 @@
 import { _decorator, Button, Component, Node, ProgressBar, SpriteFrame } from 'cc';
+import { blockView } from '../../game/block/blockView';
 const { ccclass, property } = _decorator;
 
 @ccclass('Layout_lsbx')
@@ -9,6 +10,12 @@ export class Layout_lsbx extends Component {
     progress: ProgressBar;
     @property([Node])
     show: Node[] = [];
+    @property(Node)
+    fk_node: Node;
+    @property(Node)
+    eff_node: Node;
+    @property(blockView)
+    new_blcok: blockView;
 }
 
 

+ 43 - 16
llk/assets/module_link/ui/lsbx/UI_item.ts

@@ -1,10 +1,12 @@
-import { _decorator, Button, Component, Node } from 'cc';
+import { _decorator, Button, Component, Game, Node } from 'cc';
 import { button_sound, GameLink, notify } from '../../game/GameLink';
 import { week_data_type } from '../../game/Player';
 import { gui } from '../../../core/ui/ui';
 import { UI_lsbx } from './UI_lsbx';
 import { UINotify } from '../../../module_basic/ui_notify/UINotify';
 import ch_util from '../../../ch/ch_util';
+import { UI_Main } from '../main/UI_Main';
+import { ch } from '../../../ch/ch';
 const { ccclass, property } = _decorator;
 
 @ccclass('UI_item')
@@ -17,15 +19,18 @@ export class UI_item extends Component {
     private have: Node = null;
     @property(Node)
     private mask: Node = null;
-    @property({type:Number})
-    public index:number;
+    @property({ type: Number })
+    public index: number;
     start() {
 
     }
 
     private onClick() {
         button_sound();
-        GameLink.getInst().player.set_ylq_ls(1);
+        // GameLink.getInst().player.set_ylq_ls(1);
+        let ylq_state = GameLink.getInst().player.get_ylq_ls();
+        ylq_state[this.index]=true;
+        GameLink.getInst().player.set_ylq_ls(ylq_state);
         this.get_reward();
         console.log(GameLink.getInst().player.get_ylq_ls());
         this.show_Have();
@@ -45,24 +50,46 @@ export class UI_item extends Component {
         this.btn.node.on(Button.EventType.CLICK, this.onClick, this);
     }
 
-    private get_reward(){
-        if (gui.get(UI_lsbx).items_value[this.index][0] == 1) {
-            GameLink.getInst().player.add_item(3, gui.get(UI_lsbx).items_value[this.index][1]);
-            UINotify.show("提示道具+3");
+    private async get_reward() {
+        let data = gui.get(UI_lsbx).config[this.index].data;
+        if (data.type == 1) {
+            GameLink.getInst().player.add_item(3, data.quantity);
+            ch.audio.playOneShot('sounds/sfx_add_item');
+            UINotify.show(data.txt + "+" + data.quantity);
         }
-        else if (gui.get(UI_lsbx).items_value[this.index][0] == 2) {
-            for (let i = 0; i < gui.get(UI_lsbx).items_value[this.index][1]; i++) {
-                
-                GameLink.getInst().player.lottery_random_add_skin_block(ch_util.getRandomInt(2,5));
+        else if (data.type == 2) {
+            for (let i = 0; i < data.quantity; i++) {
+                let n = ch_util.getRandomInt(2, 5);
+                console.log(n);
+                let result=GameLink.getInst().player.lsbx_random_add_skin_block(n);
+                await gui.get(UI_lsbx).show_fk(result);
+                console.log(result);
             }
-            UINotify.show("砖块+"+gui.get(UI_lsbx).items_value[this.index][1]);
         }
         else {
-            GameLink.getInst().player.set_coin(GameLink.getInst().player.get_coin() + gui.get(UI_lsbx).items_value[this.index][1]);
-            UINotify.show("金币+" + gui.get(UI_lsbx).items_value[this.index][1]);
+            GameLink.getInst().player.set_coin(GameLink.getInst().player.get_coin() + data.quantity);
+            gui.get(UI_Main).show_coin_txt(GameLink.getInst().player.get_coin());
+            ch.audio.playOneShot('sounds/sfx_add_item');
+            UINotify.show(data.txt + "+" + data.quantity);
         }
+
+        let ylq_state = GameLink.getInst().player.get_ylq_ls();
+        let max=GameLink.getInst().player.get_max_ls_index();
+        let count=0;
+        for(let i=0;i<max;i++)
+        {
+            if(ylq_state[i]==true)
+            {
+                count++;
+            }
+        }
+        if(count==max)
+        {
+            gui.get(UI_Main).lsbx_redpoint(false);
+            GameLink.getInst().player.set_lsbx_redpoint(0);
+        }
+
         GameLink.getInst().player.setDirty();
-        GameLink.getInst().player.save();
     }
 }
 

+ 1117 - 93
llk/assets/module_link/ui/lsbx/UI_lsbx.prefab

@@ -28,17 +28,17 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 586
+        "__id__": 636
       },
       {
-        "__id__": 588
+        "__id__": 638
       },
       {
-        "__id__": 590
+        "__id__": 640
       }
     ],
     "_prefab": {
-      "__id__": 592
+      "__id__": 642
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -285,21 +285,24 @@
       },
       {
         "__id__": 577
+      },
+      {
+        "__id__": 583
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 583
+        "__id__": 633
       }
     ],
     "_prefab": {
-      "__id__": 585
+      "__id__": 635
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -23.49599999999998,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -1354,7 +1357,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 10.370999999999981,
+      "x": 8,
       "y": -344.88100000000003,
       "z": 0
     },
@@ -1408,7 +1411,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -3.680000000000007,
+      "x": 0,
       "y": -6.1340000000000146,
       "z": 0
     },
@@ -1684,7 +1687,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -3.680000000000007,
+      "x": 0,
       "y": -6.1340000000000146,
       "z": 0
     },
@@ -3069,7 +3072,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 10.370999999999981,
+      "x": 8,
       "y": -218.32100000000003,
       "z": 0
     },
@@ -3123,7 +3126,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -4.29400000000004,
+      "x": 0,
       "y": -15.948999999999955,
       "z": 0
     },
@@ -3399,7 +3402,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -4.29400000000004,
+      "x": 0,
       "y": -15.948999999999955,
       "z": 0
     },
@@ -4784,7 +4787,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 6.298999999999978,
+      "x": 8,
       "y": -114.49599999999998,
       "z": 0
     },
@@ -6499,7 +6502,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 6.298999999999978,
+      "x": 8,
       "y": 2.4710000000000036,
       "z": 0
     },
@@ -8214,7 +8217,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 6.298999999999978,
+      "x": 8,
       "y": 119.28699999999992,
       "z": 0
     },
@@ -9929,7 +9932,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 6.298999999999978,
+      "x": 8,
       "y": 237.62599999999986,
       "z": 0
     },
@@ -11644,7 +11647,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 6.298999999999978,
+      "x": 8,
       "y": 354.908,
       "z": 0
     },
@@ -13545,21 +13548,128 @@
     "nestedPrefabInstanceRoots": null
   },
   {
+    "__type__": "cc.Node",
+    "_name": "fk",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 12
+    },
+    "_children": [
+      {
+        "__id__": 584
+      },
+      {
+        "__id__": 592
+      }
+    ],
+    "_active": false,
+    "_components": [
+      {
+        "__id__": 630
+      }
+    ],
+    "_prefab": {
+      "__id__": 632
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "sp",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 583
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 585
+      },
+      {
+        "__id__": 587
+      },
+      {
+        "__id__": 589
+      }
+    ],
+    "_prefab": {
+      "__id__": 591
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
     "__type__": "cc.UITransform",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 12
+      "__id__": 584
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 584
+      "__id__": 586
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 597,
-      "height": 878
+      "width": 750,
+      "height": 1634
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -13570,48 +13680,52 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "a2Q84ZVd1FQ6FK/8FKDjlD"
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__id__": 0
-    },
-    "fileId": "c24Xn3w6xO2ILw9fhOfpqe",
-    "instance": null,
-    "targetOverrides": null,
-    "nestedPrefabInstanceRoots": null
+    "fileId": "afFQuNV7pGtJIgJ3i5kOCq"
   },
   {
-    "__type__": "cc.UITransform",
+    "__type__": "cc.Sprite",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 1
+      "__id__": 584
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 587
+      "__id__": 588
     },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 750,
-      "height": 1334
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 0,
+      "g": 0,
+      "b": 0,
+      "a": 100
     },
-    "_anchorPoint": {
+    "_spriteFrame": {
+      "__uuid__": "b730527c-3233-41c2-aaf7-7cdab58f9749@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 1,
+    "_fillType": 0,
+    "_sizeMode": 0,
+    "_fillCenter": {
       "__type__": "cc.Vec2",
-      "x": 0.5,
-      "y": 0.5
+      "x": 0,
+      "y": 0
     },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
     "_id": ""
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "bbzhvi7khNqIE+kC18NnQ0"
+    "fileId": "86dkDN+ztE/ZzNzC/488sf"
   },
   {
     "__type__": "cc.Widget",
@@ -13619,18 +13733,18 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 1
+      "__id__": 584
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 589
+      "__id__": 590
     },
     "_alignFlags": 45,
     "_target": null,
     "_left": 0,
     "_right": 0,
-    "_top": 150,
-    "_bottom": 150,
+    "_top": 0,
+    "_bottom": 0,
     "_horizontalCenter": 0,
     "_verticalCenter": 0,
     "_isAbsLeft": true,
@@ -13639,73 +13753,983 @@
     "_isAbsBottom": true,
     "_isAbsHorizontalCenter": true,
     "_isAbsVerticalCenter": true,
-    "_originalWidth": 100,
-    "_originalHeight": 100,
+    "_originalWidth": 750,
+    "_originalHeight": 1634,
     "_alignMode": 2,
     "_lockFlags": 0,
     "_id": ""
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "75BFWu4d9MVJg9fKxriJ+f"
+    "fileId": "daHjRTIGRAepHLxeneaANG"
   },
   {
-    "__type__": "e3bc7hjjnxMK4imA+ucKqd5",
-    "_name": "",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "node": {
+    "__type__": "cc.PrefabInfo",
+    "root": {
       "__id__": 1
     },
-    "_enabled": true,
-    "__prefab": {
-      "__id__": 591
-    },
-    "cloose_btn": {
-      "__id__": 36
+    "asset": {
+      "__id__": 0
     },
-    "progress": {
-      "__id__": 51
+    "fileId": "bdyXQwzMhNXJH2eSw8M9oc",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "eff",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 583
     },
-    "show": [
-      {
-        "__id__": 54
-      },
-      {
-        "__id__": 128
-      },
-      {
-        "__id__": 202
-      },
-      {
-        "__id__": 276
-      },
+    "_children": [
       {
-        "__id__": 350
+        "__id__": 593
       },
       {
-        "__id__": 424
-      },
+        "__id__": 599
+      }
+    ],
+    "_active": true,
+    "_components": [
       {
-        "__id__": 498
+        "__id__": 627
       }
     ],
+    "_prefab": {
+      "__id__": 629
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
     "_id": ""
   },
   {
-    "__type__": "cc.CompPrefabInfo",
-    "fileId": "79i+AI5tVBY7WObAXtEub0"
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
+    "__type__": "cc.Node",
+    "_name": "cj_js-001",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 592
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 594
+      },
+      {
+        "__id__": 596
+      }
+    ],
+    "_prefab": {
+      "__id__": 598
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 593
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 595
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 100,
+      "height": 100
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "0ffNeXnE1BDJsXnMGYivHm"
+  },
+  {
+    "__type__": "sp.Skeleton",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 593
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 597
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_skeletonData": {
+      "__uuid__": "431a4166-b5cf-441b-b1b3-8772dd6747eb",
+      "__expectedType__": "sp.SkeletonData"
+    },
+    "defaultSkin": "default",
+    "defaultAnimation": "win_animation_2",
+    "_premultipliedAlpha": true,
+    "_timeScale": 1,
+    "_preCacheMode": 0,
+    "_cacheMode": 0,
+    "_sockets": [],
+    "_useTint": false,
+    "_debugMesh": false,
+    "_debugBones": false,
+    "_debugSlots": false,
+    "_enableBatch": false,
+    "loop": true,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "fa7hCoamBOOKrIEtKjOXrF"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "deHktjk3pDfI3DhtGwefoX",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 592
+    },
+    "_prefab": {
+      "__id__": 600
+    },
+    "__editorExtras__": {}
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 599
+    },
+    "asset": {
+      "__uuid__": "beb521b6-4e85-4bd7-916b-c4484a968c2c",
+      "__expectedType__": "cc.Prefab"
+    },
+    "fileId": "9eKC+BQwxIQ7RYnAy5SU9L",
+    "instance": {
+      "__id__": 601
+    },
+    "targetOverrides": [
+      {
+        "__id__": 624
+      }
+    ]
+  },
+  {
+    "__type__": "cc.PrefabInstance",
+    "fileId": "68X/3ooTdEI4hQ6PmOhBof",
+    "prefabRootNode": {
+      "__id__": 1
+    },
+    "mountedChildren": [
+      {
+        "__id__": 602
+      }
+    ],
+    "mountedComponents": [],
+    "propertyOverrides": [
+      {
+        "__id__": 616
+      },
+      {
+        "__id__": 618
+      },
+      {
+        "__id__": 619
+      },
+      {
+        "__id__": 620
+      },
+      {
+        "__id__": 621
+      },
+      {
+        "__id__": 623
+      }
+    ],
+    "removedComponents": []
+  },
+  {
+    "__type__": "cc.MountedChildrenInfo",
+    "targetInfo": {
+      "__id__": 603
+    },
+    "nodes": [
+      {
+        "__id__": 604
+      }
+    ]
+  },
+  {
+    "__type__": "cc.TargetInfo",
+    "localID": [
+      "9eKC+BQwxIQ7RYnAy5SU9L"
+    ]
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qp",
+    "_objFlags": 0,
+    "__editorExtras__": {
+      "mountedRoot": {
+        "__id__": 599
+      }
+    },
+    "_parent": {
+      "__id__": 599
+    },
+    "_children": [
+      {
+        "__id__": 605
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 611
+      },
+      {
+        "__id__": 613
+      }
+    ],
+    "_prefab": {
+      "__id__": 615
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 55.9679140520289,
+      "y": 39.80493530257877,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": -0.09845136223889182,
+      "w": 0.9951418638934383
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 0.6666666666666666,
+      "y": 0.6666666666666666,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": -11.300000000000002
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "new",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 604
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 606
+      },
+      {
+        "__id__": 608
+      }
+    ],
+    "_prefab": {
+      "__id__": 610
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 4.754000000000019,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 605
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 607
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 33,
+      "height": 33
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "dbY9dxbbhJSLtu3FeE3YPw"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 605
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 609
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "fc647509-7702-4262-b22f-6b57538a2595@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "acLJFOhwlDjIpKqTMMM3NA"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "3dyh+gUklC87dIH2g9W8pU",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 604
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 612
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 73,
+      "height": 64
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "49w2JPhLtJdLgr+8SIEWD4"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 604
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 614
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "3eeacf0c-1d26-43d3-878f-d20d8bc03178@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "10juw7CtRDMazFZE5Y+zcd"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "7cCAJmBmdCjaf1gi2l9Mxd",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "CCPropertyOverrideInfo",
+    "targetInfo": {
+      "__id__": 617
+    },
+    "propertyPath": [
+      "_name"
+    ],
+    "value": "block"
+  },
+  {
+    "__type__": "cc.TargetInfo",
+    "localID": [
+      "9eKC+BQwxIQ7RYnAy5SU9L"
+    ]
+  },
+  {
+    "__type__": "CCPropertyOverrideInfo",
+    "targetInfo": {
+      "__id__": 617
+    },
+    "propertyPath": [
+      "_lpos"
+    ],
+    "value": {
+      "__type__": "cc.Vec3",
+      "x": 2.6410000000000196,
+      "y": 0,
+      "z": 0
+    }
+  },
+  {
+    "__type__": "CCPropertyOverrideInfo",
+    "targetInfo": {
+      "__id__": 617
+    },
+    "propertyPath": [
+      "_lrot"
+    ],
+    "value": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0.0984513622388918,
+      "w": 0.9951418638934383
+    }
+  },
+  {
+    "__type__": "CCPropertyOverrideInfo",
+    "targetInfo": {
+      "__id__": 617
+    },
+    "propertyPath": [
+      "_euler"
+    ],
+    "value": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 11.3
+    }
+  },
+  {
+    "__type__": "CCPropertyOverrideInfo",
+    "targetInfo": {
+      "__id__": 622
+    },
+    "propertyPath": [
+      "_anchorPoint"
+    ],
+    "value": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    }
+  },
+  {
+    "__type__": "cc.TargetInfo",
+    "localID": [
+      "41V1aaMOVNhrz/I9M8Jx3y"
+    ]
+  },
+  {
+    "__type__": "CCPropertyOverrideInfo",
+    "targetInfo": {
+      "__id__": 617
+    },
+    "propertyPath": [
+      "_lscale"
+    ],
+    "value": {
+      "__type__": "cc.Vec3",
+      "x": 1.5,
+      "y": 1.5,
+      "z": 1
+    }
+  },
+  {
+    "__type__": "cc.TargetOverrideInfo",
+    "source": null,
+    "sourceInfo": null,
+    "propertyPath": [
+      "skin_res"
+    ],
+    "target": {
+      "__id__": 625
+    },
+    "targetInfo": {
+      "__id__": 626
+    }
+  },
+  {
+    "__type__": "cc.Node",
+    "__editorExtras__": {}
+  },
+  {
+    "__type__": "cc.TargetInfo",
+    "localID": [
+      "30iuGgpoFAJ5c7gsvxUpdP"
+    ]
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 592
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 628
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 484,
+      "height": 476
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "6eYSszs2dN+qTULpTjb0YP"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "f1auH0TR5NAb7G/zTWmuZW",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 583
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 631
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 1634
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "dcHbyDLqNK24lfy9pajMTx"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "35etVmc9RK3YfdHb8ODXYX",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 12
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 634
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 597,
+      "height": 878
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "a2Q84ZVd1FQ6FK/8FKDjlD"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "c24Xn3w6xO2ILw9fhOfpqe",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 637
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 1334
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "bbzhvi7khNqIE+kC18NnQ0"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 639
+    },
+    "_alignFlags": 45,
+    "_target": null,
+    "_left": 0,
+    "_right": 0,
+    "_top": 150,
+    "_bottom": 150,
+    "_horizontalCenter": 0,
+    "_verticalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 100,
+    "_originalHeight": 100,
+    "_alignMode": 2,
+    "_lockFlags": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "75BFWu4d9MVJg9fKxriJ+f"
+  },
+  {
+    "__type__": "e3bc7hjjnxMK4imA+ucKqd5",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 641
+    },
+    "cloose_btn": {
+      "__id__": 36
+    },
+    "progress": {
+      "__id__": 51
+    },
+    "show": [
+      {
+        "__id__": 54
+      },
+      {
+        "__id__": 128
+      },
+      {
+        "__id__": 202
+      },
+      {
+        "__id__": 276
+      },
+      {
+        "__id__": 350
+      },
+      {
+        "__id__": 424
+      },
+      {
+        "__id__": 498
+      }
+    ],
+    "fk_node": {
+      "__id__": 583
+    },
+    "eff_node": {
+      "__id__": 592
+    },
+    "new_blcok": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "79i+AI5tVBY7WObAXtEub0"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
     "asset": {
       "__id__": 0
     },
     "fileId": "63hjweUBxFr5RKGonOgDrx",
     "instance": null,
-    "targetOverrides": null
+    "targetOverrides": [
+      {
+        "__id__": 643
+      }
+    ],
+    "nestedPrefabInstanceRoots": [
+      {
+        "__id__": 599
+      }
+    ]
+  },
+  {
+    "__type__": "cc.TargetOverrideInfo",
+    "source": {
+      "__id__": 640
+    },
+    "sourceInfo": null,
+    "propertyPath": [
+      "new_blcok"
+    ],
+    "target": {
+      "__id__": 599
+    },
+    "targetInfo": {
+      "__id__": 644
+    }
+  },
+  {
+    "__type__": "cc.TargetInfo",
+    "localID": [
+      "4dv89kWXhOqKiwtc12iV8m"
+    ]
   }
 ]

+ 56 - 24
llk/assets/module_link/ui/lsbx/UI_lsbx.ts

@@ -1,28 +1,36 @@
 import { _decorator, Component, Node } from 'cc';
 import ui_base from '../../../core/ui/ui_base';
 import { ModuleDef } from '../../../scripts/ModuleDef';
-import { GameUILayers } from '../../../core/ui/ui';
+import { GameUILayers, gui } from '../../../core/ui/ui';
 import { Layout_lsbx } from './Layout_lsbx';
 import { ani_ui, button_sound, GameLink } from '../../game/GameLink';
 import { UI_item } from './UI_item';
 import player, { week_data_type } from '../../game/Player';
 import { ch } from '../../../ch/ch';
+import { TableLsbx } from '../../../module_extra/table_ts/TableLsbx';
+import { UI_Main } from '../main/UI_Main';
 const { ccclass, property } = _decorator;
 
 @ccclass('UI_lsbx')
 export class UI_lsbx extends ui_base {
     //提示:1,砖块:2,金币3
-    public items_value: number[][] = [
-        [1,3],
-        [2,1],
-        [3,500],
-        [2,2],
-        [3,600],
-        [2,3],
-        [3,1000]
-    ];
+    // public items_value: number[][] = [
+    //     [1,3],
+    //     [2,1],
+    //     [3,500],
+    //     [2,2],
+    //     [3,600],
+    //     [2,3],
+    //     [3,1000]
+    // ];
+
+    config:any;
+    // ylq_state = new Array(7).fill(false);
+
     constructor() {
         super(ModuleDef.Link, 'ui/lsbx/UI_lsbx', GameUILayers.HUD, Layout_lsbx);
+        this.config=TableLsbx.getList();
+        console.log(this.config[0].data.txt);
     }
 
     protected async onCreated() {
@@ -33,28 +41,33 @@ export class UI_lsbx extends ui_base {
             this.close();
         }, this);
         // GameLink.getInst().player.week_data.set(week_data_type.ylq_ls, 0);
-        let lscs = GameLink.getInst().player.get_ls();
-        let ylq_index = GameLink.getInst().player.get_ylq_ls();
-        let max;
-        for (let i = 0; i < GameLink.getInst().player.config.length; i++) {
-            //判断需显示的最大连胜
-            if (lscs < GameLink.getInst().player.config[i]) {
-                break;
+        // GameLink.getInst().player.week_data.set(week_data_type.max_ls_index, 6);
+        let ylq_state = GameLink.getInst().player.get_ylq_ls();
+        let max=GameLink.getInst().player.get_max_ls_index();
+        console.log(GameLink.getInst().player.get_ylq_ls());
+        console.log('显示最大连胜下标'+max);
+        let count=0;
+        layout.progress.progress = max / (GameLink.getInst().player.config.length-1);
+        for(let i=0;i<max;i++)
+        {
+            this.initShow(layout,i,max,ylq_state);
+            if(ylq_state[i]==true)
+            {
+                count++;
             }
-            max=i;
         }
-        console.log(ylq_index);
-        layout.progress.progress = max / GameLink.getInst().player.config.length;
-        for(let i=0;i<max;i++)
+        if(count==max)
         {
-            this.initShow(layout,i,max,ylq_index);
+            gui.get(UI_Main).lsbx_redpoint(false);
+            GameLink.getInst().player.set_lsbx_redpoint(0);
         }
+        
     }
 
     protected onDispose() { }
 
-    private initShow(layout: Layout_lsbx, index: number, max: number,ylq_index:number) {
-        if(index<ylq_index)
+    private initShow(layout: Layout_lsbx, index: number, max: number,ylq_state:any) {
+        if(ylq_state[index]==true)
         {
             layout.show[index].getComponent(UI_item).show_Have();
         }
@@ -64,6 +77,25 @@ export class UI_lsbx extends ui_base {
         }
         layout.show[index].getComponent(UI_item).hide_Mask();
     }
+
+    public show_fk(sk: any): Promise<void> {
+        return new Promise((resolve) => {
+            ch.audio.playOneShot('sounds/sfx_rewardshow');
+            const layout = this.getLayout<Layout_lsbx>();
+            layout.fk_node.active = true;
+            gui.scale_anim(layout.eff_node, 0.3, 0, 1);
+            layout.new_blcok.node.active = true;
+            layout.new_blcok.show_type(sk.id, sk.bid);
+            gui.scale_elasticOut_anim(layout.new_blcok.node, 0.5, 0, 1.5);
+    
+            // 监听点击事件
+            layout.fk_node.once(Node.EventType.TOUCH_END, () => {
+                layout.fk_node.active = false;
+                resolve(); // 点击后结束 Promise
+            });
+        });
+    }
+    
 }
 
 

+ 8 - 6
llk/assets/module_link/ui/main/UI_Main.ts

@@ -22,6 +22,7 @@ export class UI_Main extends ui_base {
         super(ModuleDef.Link, 'ui/main/main', GameUILayers.GAME, Layout_Main);
     }
     protected async onCreated() {
+        ch.audio.play('sounds/bgm');
         let layout = this.getLayout<Layout_Main>();
         this.show_coin_txt(GameLink.getInst().player.get_coin());
         const floor = GameLink.getInst().player.data.get(data_type.max_floor);
@@ -72,6 +73,7 @@ export class UI_Main extends ui_base {
             gui.show(UI_gift);
         }, this);
 
+        layout.favorite_btn.node.active = !ch.sdk.checkHasSidebar();
         this.onButtonEvent(layout.favorite_btn, async (button: Button) => {
             button_sound();
             gui.show(UI_favorite);
@@ -79,8 +81,8 @@ export class UI_Main extends ui_base {
 
         this.onButtonEvent(layout.lsbx_btn, async (button: Button) => {
             button_sound();
-            layout.lsbx_redpoint.active = false;
-            GameLink.getInst().player.set_lsbx_redpoint(0);
+            // layout.lsbx_redpoint.active = false;
+            // GameLink.getInst().player.set_lsbx_redpoint(0);
             gui.show(UI_lsbx);
         }, this);
 
@@ -112,7 +114,7 @@ export class UI_Main extends ui_base {
 
         if(GameLink.getInst().player.get_lsbx_redpoint()==1)
         {
-            this.lsbx_redpoint(layout);//有新的连胜数据产生时需要刷新一次
+            this.lsbx_redpoint(true);//有新的连胜数据产生时需要刷新一次
         }
         
     }
@@ -129,8 +131,8 @@ export class UI_Main extends ui_base {
         layout.everyday_gift_redpoint.active = true;
     }
 
-    public lsbx_redpoint(layout:any){
-        layout.lsbx_redpoint.active = true;
+    public lsbx_redpoint(flag:boolean){
+        let layout = this.getLayout<Layout_Main>();
+        layout.lsbx_redpoint.active = flag;
     }
-
 }

+ 4 - 0
llk/assets/module_link/ui/main/main.prefab

@@ -312,6 +312,10 @@
       {
         "__uuid__": "73c191a3-bdc2-4dde-934a-1eefe9e75ca7@f9941",
         "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "174e8379-3c27-42ba-a36a-c8f1cfd50f73@f9941",
+        "__expectedType__": "cc.SpriteFrame"
       }
     ],
     "_id": ""

+ 5 - 7
llk/assets/module_link/ui/store/Layout_store.ts

@@ -1,4 +1,4 @@
-import { _decorator, Button, Component, Node, Sprite } from 'cc';
+import { _decorator, Button, Component, Label, Node, Sprite } from 'cc';
 const { ccclass, property } = _decorator;
 
 @ccclass('Layout_store')
@@ -9,13 +9,11 @@ export class Layout_store extends Component {
     items_btn: Button[] = [];
     @property(Node)
     item_1_mask: Node;
+    @property(Node)
+    item_2_mask: Node;
 
-    spend_coin: number[][]=[
-        [2,-50],
-        [0,800],
-        [3,-150],
-        [2,-300]
-    ]
+    @property(Label)
+    coin_txt: Label;
 }
 
 

File diff suppressed because it is too large
+ 292 - 130
llk/assets/module_link/ui/store/UI_store.prefab


+ 22 - 6
llk/assets/module_link/ui/store/UI_store.ts

@@ -8,17 +8,21 @@ import { ch } from '../../../ch/ch';
 import { UI_Main } from '../main/UI_Main';
 import { UINotify } from '../../../module_basic/ui_notify/UINotify';
 import player from '../../game/Player';
+import { TableStore } from '../../../module_extra/table_ts/TableStore';
 const { ccclass, property } = _decorator;
 
 @ccclass('UI_store')
 export class UI_store extends ui_base {
+    config:any;
     constructor() {
         super(ModuleDef.Link, 'ui/store/UI_store', GameUILayers.GAME, Layout_store);
+        this.config=TableStore.getList();
     }
 
     protected async onCreated() {
         const layout = this.getLayout<Layout_store>();
         ani_ui(layout.cloose_btn.node.parent);
+        this.show_coin_txt(layout,GameLink.getInst().player.get_coin());
         this.onButtonEvent(layout.cloose_btn, (button: any) => {
             button_sound();
             this.close();
@@ -29,6 +33,7 @@ export class UI_store extends ui_base {
             sp.forEach(element => {
                 element.grayscale=true;
             });
+            layout.item_2_mask.active=true;
             layout.items_btn[1].enabled=false;
         }
 
@@ -40,16 +45,19 @@ export class UI_store extends ui_base {
 
         for (let i = 0; i < 4; i++) {
             this.onButtonEvent(layout.items_btn[i], async (button: any) => {
+                let data=this.config[i];
                 button_sound();
                 if (i != 1) {
-                    if (GameLink.getInst().player.get_coin() >= Math.abs(layout.spend_coin[i][1])) {
+                    if (GameLink.getInst().player.get_coin() >= Math.abs(data.price)) {
                         let coin = GameLink.getInst().player.get_coin();
-                        coin += layout.spend_coin[i][1];
+                        coin += data.price;
                         GameLink.getInst().player.set_coin(coin);//消耗金币
-                        this.get_item(layout.spend_coin[i][0]);//增加对应物品
+                        ch.audio.playOneShot('sounds/sfx_add_item');
+                        this.get_item(data.type);//增加对应物品
+                        UINotify.show(data.name + "+" + data.quantity);
                         gui.get(UI_Main).show_coin_txt(GameLink.getInst().player.get_coin());
+                        this.show_coin_txt(layout,GameLink.getInst().player.get_coin());
                         GameLink.getInst().player.setDirty();
-                        GameLink.getInst().player.save();
                         if(i==0&&GameLink.getInst().player.get_purchase_discount()==0)
                         {
                             layout.item_1_mask.active=true;
@@ -65,18 +73,22 @@ export class UI_store extends ui_base {
                     if (ret) {
                         ch.audio.playOneShot('sounds/sfx_add_item');
                         let coin = GameLink.getInst().player.get_coin();
-                        coin += layout.spend_coin[i][1]
+                        coin += data.quantity;
+                        ch.audio.playOneShot('sounds/sfx_add_item');
                         GameLink.getInst().player.set_coin(coin);//获得金币
+                        UINotify.show(data.name + "+" + data.quantity);
                         gui.get(UI_Main).show_coin_txt(GameLink.getInst().player.get_coin());
+                        this.show_coin_txt(layout,GameLink.getInst().player.get_coin());
                         //今日已经看过广告
                         let sp=layout.items_btn[i].getComponentsInChildren(Sprite);
                         sp.forEach(element => {
                             element.grayscale=true;
                         });
+                        layout.item_2_mask.active=true;
                         layout.items_btn[i].enabled=false;
                         GameLink.getInst().player.set_free_coin(1);
                         GameLink.getInst().player.setDirty();
-                        GameLink.getInst().player.save();
+                        ch.audio.resume();
                     }
                 }
             }, this);
@@ -88,6 +100,10 @@ export class UI_store extends ui_base {
     get_item(type: number) {
         GameLink.getInst().player.add_item(type, 1);
     }
+
+    public show_coin_txt(layout:any,coin: number) {
+        layout.coin_txt.string = `${coin}`;
+    }
 }
 
 

+ 2 - 2
llk/assets/module_link/ui/treasure/UI_treasure.ts

@@ -25,15 +25,15 @@ export class UI_treasure extends ui_base {
         this.onButtonEvent(layout.get_btn, async (button: any) => {
             button_sound();
             //广告链接看完之后执行以下内容
-            const ret = await chsdk.playRewardAd('获得道具');
+            const ret = await chsdk.playRewardAd('获得宝箱');
             if (ret) {
                 ch.audio.playOneShot('sounds/sfx_add_item');
                 GameLink.getInst().player.add_item(2, 1);//刷新
                 GameLink.getInst().player.add_item(3, 2);//提示
                 GameLink.getInst().player.setDirty();
-                GameLink.getInst().player.save();
                 //开始倒计时
                 GameLink.getInst().player.set_bx_time(300);
+                ch.audio.resume();
                 this.close();
             }
         }, this);

+ 6 - 6
llk/assets/module_link/ui/win/win.prefab

@@ -1764,7 +1764,7 @@
     "__prefab": {
       "__id__": 82
     },
-    "_alignFlags": 4,
+    "_alignFlags": 20,
     "_target": null,
     "_left": 0,
     "_right": 0,
@@ -1780,7 +1780,7 @@
     "_isAbsVerticalCenter": true,
     "_originalWidth": 0,
     "_originalHeight": 0,
-    "_alignMode": 2,
+    "_alignMode": 1,
     "_lockFlags": 0,
     "_id": ""
   },
@@ -2279,7 +2279,7 @@
     "__prefab": {
       "__id__": 104
     },
-    "_alignFlags": 4,
+    "_alignFlags": 20,
     "_target": null,
     "_left": 0,
     "_right": 0,
@@ -2295,7 +2295,7 @@
     "_isAbsVerticalCenter": true,
     "_originalWidth": 0,
     "_originalHeight": 0,
-    "_alignMode": 2,
+    "_alignMode": 1,
     "_lockFlags": 0,
     "_id": ""
   },
@@ -2792,7 +2792,7 @@
     "__prefab": {
       "__id__": 126
     },
-    "_alignFlags": 4,
+    "_alignFlags": 20,
     "_target": null,
     "_left": 0,
     "_right": 0,
@@ -2808,7 +2808,7 @@
     "_isAbsVerticalCenter": true,
     "_originalWidth": 0,
     "_originalHeight": 0,
-    "_alignMode": 2,
+    "_alignMode": 1,
     "_lockFlags": 0,
     "_id": ""
   },

+ 9 - 0
llk/assets/res/eff/lottery_eff.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "1.2.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "a5f18c60-8fb1-4e9e-8b77-8182aff7e48d",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 209 - 0
llk/assets/res/eff/lottery_eff/ndj_anim.atlas

@@ -0,0 +1,209 @@
+
+ndj_anim.png
+size: 1668,764
+format: RGBA8888
+filter: Linear,Linear
+repeat: none
+124804zw6qyncqeumu.thumb
+  rotate: false
+  xy: 458, 2
+  size: 232, 232
+  orig: 232, 232
+  offset: 0, 0
+  index: -1
+dan_1
+  rotate: true
+  xy: 905, 31
+  size: 99, 100
+  orig: 101, 102
+  offset: 1, 1
+  index: -1
+蛋_6
+  rotate: true
+  xy: 905, 31
+  size: 99, 100
+  orig: 101, 102
+  offset: 1, 1
+  index: -1
+蛋_7
+  rotate: true
+  xy: 905, 31
+  size: 99, 100
+  orig: 101, 102
+  offset: 1, 1
+  index: -1
+dan_2
+  rotate: false
+  xy: 1110, 65
+  size: 100, 101
+  orig: 102, 103
+  offset: 1, 1
+  index: -1
+dan_3
+  rotate: false
+  xy: 1414, 66
+  size: 99, 100
+  orig: 101, 102
+  offset: 1, 1
+  index: -1
+dan_4
+  rotate: false
+  xy: 1212, 65
+  size: 99, 101
+  orig: 102, 103
+  offset: 2, 1
+  index: -1
+glow_huangtiao
+  rotate: true
+  xy: 1653, 504
+  size: 258, 13
+  orig: 300, 50
+  offset: 21, 19
+  index: -1
+images/图层 1
+  rotate: false
+  xy: 530, 236
+  size: 478, 28
+  orig: 525, 129
+  offset: 47, 101
+  index: -1
+光线
+  rotate: false
+  xy: 1028, 270
+  size: 638, 149
+  orig: 750, 325
+  offset: 55, 88
+  index: -1
+前挡
+  rotate: false
+  xy: 2, 86
+  size: 454, 148
+  orig: 456, 150
+  offset: 1, 1
+  index: -1
+圆角矩形 863 拷贝 3
+  rotate: false
+  xy: 1028, 421
+  size: 623, 341
+  orig: 625, 344
+  offset: 1, 1
+  index: -1
+按钮
+  rotate: false
+  xy: 1515, 71
+  size: 95, 95
+  orig: 97, 97
+  offset: 1, 1
+  index: -1
+椭圆 821 拷贝
+  rotate: false
+  xy: 2, 236
+  size: 526, 526
+  orig: 528, 528
+  offset: 1, 1
+  index: -1
+椭圆 860
+  rotate: false
+  xy: 379, 56
+  size: 28, 28
+  orig: 31, 31
+  offset: 1, 2
+  index: -1
+椭圆 905
+  rotate: false
+  xy: 2, 8
+  size: 375, 76
+  orig: 377, 78
+  offset: 1, 1
+  index: -1
+玻璃
+  rotate: false
+  xy: 530, 266
+  size: 496, 496
+  orig: 498, 498
+  offset: 1, 1
+  index: -1
+蛋_1
+  rotate: false
+  xy: 1313, 65
+  size: 99, 101
+  orig: 101, 104
+  offset: 1, 1
+  index: -1
+蛋_10
+  rotate: true
+  xy: 1340, 168
+  size: 100, 102
+  orig: 102, 104
+  offset: 1, 1
+  index: -1
+蛋_11
+  rotate: true
+  xy: 1444, 168
+  size: 100, 102
+  orig: 102, 104
+  offset: 1, 1
+  index: -1
+蛋_12
+  rotate: false
+  xy: 1007, 65
+  size: 101, 101
+  orig: 103, 103
+  offset: 1, 1
+  index: -1
+蛋_13
+  rotate: true
+  xy: 1548, 168
+  size: 100, 102
+  orig: 102, 104
+  offset: 1, 1
+  index: -1
+蛋_2
+  rotate: false
+  xy: 905, 132
+  size: 100, 102
+  orig: 102, 104
+  offset: 1, 1
+  index: -1
+蛋_3
+  rotate: false
+  xy: 905, 132
+  size: 100, 102
+  orig: 102, 104
+  offset: 1, 1
+  index: -1
+蛋_4
+  rotate: false
+  xy: 905, 132
+  size: 100, 102
+  orig: 102, 104
+  offset: 1, 1
+  index: -1
+蛋_5
+  rotate: true
+  xy: 1028, 168
+  size: 100, 102
+  orig: 102, 104
+  offset: 1, 1
+  index: -1
+蛋_8
+  rotate: false
+  xy: 1132, 168
+  size: 102, 100
+  orig: 104, 102
+  offset: 1, 1
+  index: -1
+蛋_9
+  rotate: false
+  xy: 1236, 168
+  size: 102, 100
+  orig: 104, 102
+  offset: 1, 1
+  index: -1
+蝴蝶结
+  rotate: false
+  xy: 692, 73
+  size: 211, 161
+  orig: 212, 161
+  offset: 1, 0
+  index: -1

+ 12 - 0
llk/assets/res/eff/lottery_eff/ndj_anim.atlas.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.0.0",
+  "importer": "*",
+  "imported": true,
+  "uuid": "a84c3566-442d-4c54-96cc-ca49da7c9dd8",
+  "files": [
+    ".atlas",
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {}
+}

File diff suppressed because it is too large
+ 0 - 0
llk/assets/res/eff/lottery_eff/ndj_anim.json


+ 11 - 0
llk/assets/res/eff/lottery_eff/ndj_anim.json.meta

@@ -0,0 +1,11 @@
+{
+  "ver": "1.2.6",
+  "importer": "spine-data",
+  "imported": true,
+  "uuid": "fb7a1f96-b0b5-47fe-a90f-e123128dc129",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {}
+}

BIN
llk/assets/res/eff/lottery_eff/ndj_anim.png


+ 42 - 0
llk/assets/res/eff/lottery_eff/ndj_anim.png.meta

@@ -0,0 +1,42 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "7f3d7e89-d3e8-46b9-bc61-845604c13e59",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "7f3d7e89-d3e8-46b9-bc61-845604c13e59@6c48a",
+      "displayName": "ndj_anim",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "repeat",
+        "wrapModeT": "repeat",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "7f3d7e89-d3e8-46b9-bc61-845604c13e59",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "texture",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "7f3d7e89-d3e8-46b9-bc61-845604c13e59@6c48a"
+  }
+}

BIN
llk/assets/res/eff/lottery_eff/配置文案.png


+ 42 - 0
llk/assets/res/eff/lottery_eff/配置文案.png.meta

@@ -0,0 +1,42 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "c603cd58-b640-4d2a-9094-9637523d6b0c",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "c603cd58-b640-4d2a-9094-9637523d6b0c@6c48a",
+      "displayName": "配置文案",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "repeat",
+        "wrapModeT": "repeat",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "c603cd58-b640-4d2a-9094-9637523d6b0c",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "texture",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "c603cd58-b640-4d2a-9094-9637523d6b0c@6c48a"
+  }
+}

BIN
llk/assets/res/lottery/zt2.png


+ 134 - 0
llk/assets/res/lottery/zt2.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "d868c592-ae6b-43c4-bc2d-bedfbac31adb",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "d868c592-ae6b-43c4-bc2d-bedfbac31adb@6c48a",
+      "displayName": "zt2",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "d868c592-ae6b-43c4-bc2d-bedfbac31adb",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "d868c592-ae6b-43c4-bc2d-bedfbac31adb@f9941",
+      "displayName": "zt2",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 342,
+        "height": 110,
+        "rawWidth": 342,
+        "rawHeight": 110,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -171,
+            -55,
+            0,
+            171,
+            -55,
+            0,
+            -171,
+            55,
+            0,
+            171,
+            55,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            110,
+            342,
+            110,
+            0,
+            0,
+            342,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -171,
+            -55,
+            0
+          ],
+          "maxPos": [
+            171,
+            55,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "d868c592-ae6b-43c4-bc2d-bedfbac31adb@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "d868c592-ae6b-43c4-bc2d-bedfbac31adb@6c48a"
+  }
+}

BIN
llk/assets/res/lottery/zt3.png


+ 134 - 0
llk/assets/res/lottery/zt3.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "13725179-fe7f-44ff-aed4-9c59b77c9709",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "13725179-fe7f-44ff-aed4-9c59b77c9709@6c48a",
+      "displayName": "zt3",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "13725179-fe7f-44ff-aed4-9c59b77c9709",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "13725179-fe7f-44ff-aed4-9c59b77c9709@f9941",
+      "displayName": "zt3",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 342,
+        "height": 110,
+        "rawWidth": 342,
+        "rawHeight": 110,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -171,
+            -55,
+            0,
+            171,
+            -55,
+            0,
+            -171,
+            55,
+            0,
+            171,
+            55,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            110,
+            342,
+            110,
+            0,
+            0,
+            342,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -171,
+            -55,
+            0
+          ],
+          "maxPos": [
+            171,
+            55,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "13725179-fe7f-44ff-aed4-9c59b77c9709@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "13725179-fe7f-44ff-aed4-9c59b77c9709@6c48a"
+  }
+}

BIN
llk/assets/res/lottery/zt4.png


+ 134 - 0
llk/assets/res/lottery/zt4.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "7acaf479-70ba-4b08-83e7-7f06a204e85c",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "7acaf479-70ba-4b08-83e7-7f06a204e85c@6c48a",
+      "displayName": "zt4",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "7acaf479-70ba-4b08-83e7-7f06a204e85c",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "7acaf479-70ba-4b08-83e7-7f06a204e85c@f9941",
+      "displayName": "zt4",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 342,
+        "height": 110,
+        "rawWidth": 342,
+        "rawHeight": 110,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -171,
+            -55,
+            0,
+            171,
+            -55,
+            0,
+            -171,
+            55,
+            0,
+            171,
+            55,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            110,
+            342,
+            110,
+            0,
+            0,
+            342,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -171,
+            -55,
+            0
+          ],
+          "maxPos": [
+            171,
+            55,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "7acaf479-70ba-4b08-83e7-7f06a204e85c@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "7acaf479-70ba-4b08-83e7-7f06a204e85c@6c48a"
+  }
+}

BIN
llk/assets/res/lottery/万圣惊魂.png


+ 134 - 0
llk/assets/res/lottery/万圣惊魂.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "1a7be07b-7017-4723-8dc6-fdc1c06522d4",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "1a7be07b-7017-4723-8dc6-fdc1c06522d4@6c48a",
+      "displayName": "万圣惊魂",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "1a7be07b-7017-4723-8dc6-fdc1c06522d4",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "1a7be07b-7017-4723-8dc6-fdc1c06522d4@f9941",
+      "displayName": "万圣惊魂",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 209,
+        "height": 41,
+        "rawWidth": 209,
+        "rawHeight": 41,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -104.5,
+            -20.5,
+            0,
+            104.5,
+            -20.5,
+            0,
+            -104.5,
+            20.5,
+            0,
+            104.5,
+            20.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            41,
+            209,
+            41,
+            0,
+            0,
+            209,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -104.5,
+            -20.5,
+            0
+          ],
+          "maxPos": [
+            104.5,
+            20.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "1a7be07b-7017-4723-8dc6-fdc1c06522d4@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "1a7be07b-7017-4723-8dc6-fdc1c06522d4@6c48a"
+  }
+}

BIN
llk/assets/res/lottery/三角 拷贝.png


+ 134 - 0
llk/assets/res/lottery/三角 拷贝.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "4260372f-db86-45ee-b859-354e0597bd54",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "4260372f-db86-45ee-b859-354e0597bd54@6c48a",
+      "displayName": "三角 拷贝",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "4260372f-db86-45ee-b859-354e0597bd54",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "4260372f-db86-45ee-b859-354e0597bd54@f9941",
+      "displayName": "三角 拷贝",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 40,
+        "height": 62,
+        "rawWidth": 40,
+        "rawHeight": 62,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -20,
+            -31,
+            0,
+            20,
+            -31,
+            0,
+            -20,
+            31,
+            0,
+            20,
+            31,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            62,
+            40,
+            62,
+            0,
+            0,
+            40,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -20,
+            -31,
+            0
+          ],
+          "maxPos": [
+            20,
+            31,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "4260372f-db86-45ee-b859-354e0597bd54@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "4260372f-db86-45ee-b859-354e0597bd54@6c48a"
+  }
+}

BIN
llk/assets/res/lottery/三角.png


+ 134 - 0
llk/assets/res/lottery/三角.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "08743245-9722-4189-9763-590e037a40c6",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "08743245-9722-4189-9763-590e037a40c6@6c48a",
+      "displayName": "三角",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "08743245-9722-4189-9763-590e037a40c6",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "08743245-9722-4189-9763-590e037a40c6@f9941",
+      "displayName": "三角",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 40,
+        "height": 62,
+        "rawWidth": 40,
+        "rawHeight": 62,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -20,
+            -31,
+            0,
+            20,
+            -31,
+            0,
+            -20,
+            31,
+            0,
+            20,
+            31,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            62,
+            40,
+            62,
+            0,
+            0,
+            40,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -20,
+            -31,
+            0
+          ],
+          "maxPos": [
+            20,
+            31,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "08743245-9722-4189-9763-590e037a40c6@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "08743245-9722-4189-9763-590e037a40c6@6c48a"
+  }
+}

BIN
llk/assets/res/lottery/扭蛋机-001.png


+ 42 - 0
llk/assets/res/lottery/扭蛋机-001.png.meta

@@ -0,0 +1,42 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "c859a49b-846a-4921-84a1-c69c3ce52b3e",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "c859a49b-846a-4921-84a1-c69c3ce52b3e@6c48a",
+      "displayName": "扭蛋机-001",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "repeat",
+        "wrapModeT": "repeat",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "c859a49b-846a-4921-84a1-c69c3ce52b3e",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "texture",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "c859a49b-846a-4921-84a1-c69c3ce52b3e@6c48a"
+  }
+}

BIN
llk/assets/res/lottery/海底冒险.png


+ 134 - 0
llk/assets/res/lottery/海底冒险.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "3946b16c-17a7-46cf-b63b-baf6d488778b",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "3946b16c-17a7-46cf-b63b-baf6d488778b@6c48a",
+      "displayName": "海底冒险",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "3946b16c-17a7-46cf-b63b-baf6d488778b",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "3946b16c-17a7-46cf-b63b-baf6d488778b@f9941",
+      "displayName": "海底冒险",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 210,
+        "height": 41,
+        "rawWidth": 210,
+        "rawHeight": 41,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -105,
+            -20.5,
+            0,
+            105,
+            -20.5,
+            0,
+            -105,
+            20.5,
+            0,
+            105,
+            20.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            41,
+            210,
+            41,
+            0,
+            0,
+            210,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -105,
+            -20.5,
+            0
+          ],
+          "maxPos": [
+            105,
+            20.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "3946b16c-17a7-46cf-b63b-baf6d488778b@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "3946b16c-17a7-46cf-b63b-baf6d488778b@6c48a"
+  }
+}

BIN
llk/assets/res/lottery/秋日来信.png


+ 134 - 0
llk/assets/res/lottery/秋日来信.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "e922dd1a-7d86-45f5-b5bb-2b692c5efe2e",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "e922dd1a-7d86-45f5-b5bb-2b692c5efe2e@6c48a",
+      "displayName": "秋日来信",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "e922dd1a-7d86-45f5-b5bb-2b692c5efe2e",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "e922dd1a-7d86-45f5-b5bb-2b692c5efe2e@f9941",
+      "displayName": "秋日来信",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 211,
+        "height": 41,
+        "rawWidth": 211,
+        "rawHeight": 41,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -105.5,
+            -20.5,
+            0,
+            105.5,
+            -20.5,
+            0,
+            -105.5,
+            20.5,
+            0,
+            105.5,
+            20.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            41,
+            211,
+            41,
+            0,
+            0,
+            211,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -105.5,
+            -20.5,
+            0
+          ],
+          "maxPos": [
+            105.5,
+            20.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "e922dd1a-7d86-45f5-b5bb-2b692c5efe2e@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "e922dd1a-7d86-45f5-b5bb-2b692c5efe2e@6c48a"
+  }
+}

BIN
llk/assets/res/store/1.png


+ 134 - 0
llk/assets/res/store/1.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "8b0723f4-95b1-4e72-9497-cf51c6ce659c",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "8b0723f4-95b1-4e72-9497-cf51c6ce659c@6c48a",
+      "displayName": "1",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "8b0723f4-95b1-4e72-9497-cf51c6ce659c",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "8b0723f4-95b1-4e72-9497-cf51c6ce659c@f9941",
+      "displayName": "1",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 206,
+        "height": 316,
+        "rawWidth": 206,
+        "rawHeight": 316,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -103,
+            -158,
+            0,
+            103,
+            -158,
+            0,
+            -103,
+            158,
+            0,
+            103,
+            158,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            316,
+            206,
+            316,
+            0,
+            0,
+            206,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -103,
+            -158,
+            0
+          ],
+          "maxPos": [
+            103,
+            158,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "8b0723f4-95b1-4e72-9497-cf51c6ce659c@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "8b0723f4-95b1-4e72-9497-cf51c6ce659c@6c48a"
+  }
+}

+ 1 - 1
llk/assets/start/start.scene

@@ -1079,7 +1079,7 @@
       "http://192.168.1.120:8787/v1",
       "http://192.168.1.120:8787/v1"
     ],
-    "_pid": 2,
+    "_pid": 5,
     "_use_ch_audio": true,
     "_ch_audio_type": 1,
     "sound_bundle": "module_extra",

File diff suppressed because it is too large
+ 0 - 0
llk/build/bytedance-mini-game/application.78211.js


File diff suppressed because it is too large
+ 0 - 0
llk/build/bytedance-mini-game/application.8689a.js


+ 1 - 0
llk/build/bytedance-mini-game/assets/internal/config.7d219.json

@@ -0,0 +1 @@
+{"importBase":"import","nativeBase":"native","name":"internal","deps":[],"uuids":["1cAq5vRJJJFbj4dJKjseTN","509DSLyINOL48RziM7hZ+h","609xlc7CpF67qUiVX2DoHQ","81Dpbk5FZEaJtZ9OjzlzLA","87HDtsc3lBnb2jeUsjmrkN","8bvbzdXNRBALbVt8liW2EH","97CwWYvLBHFJH7LoFEDczY","a3zQCfCrBCDZJ4uf2rk5u8","b51hFfA3BNfKrTwZTMcc+Y","bc1kzGLdlD9qu+ZjGNMyAy","c2chXYaDVLaL+7verGEAwE","d9MFkNu5JMyIvRI80Cf57f","ddOhRNq39B8IK4LkOgkNSW","e9qpo+WytKx6LHBz3isrJP","ef6OKj6s5Ce7Txy4qTfsd9","f0QW5oAgBLd6kmT50W5JTa","f9KAbXF2hEP6/oErzehNDw","fdoJXLgx1GAa2UhGATlj3o","0ca60d3e4"],"paths":{"0":["db:/internal/effects/internal/builtin-graphics",0,1],"1":["db:/internal/default_materials/ui-alpha-test-material",1,1],"2":["db:/internal/effects/for2d/builtin-sprite",0,1],"3":["db:/internal/effects/internal/builtin-clear-stencil",0,1],"4":["db:/internal/effects/util/profiler",0,1],"5":["db:/internal/default_materials/default-clear-stencil",1,1],"6":["db:/internal/effects/util/splash-screen",0,1],"7":["db:/internal/effects/builtin-unlit",0,1],"8":["db:/internal/default_materials/default-spine-material",1,1],"9":["db:/internal/default_materials/missing-effect-material",1,1],"10":["db:/internal/effects/for2d/builtin-spine",0,1],"11":["db:/internal/default_materials/missing-material",1,1],"12":["db:/internal/default_materials/ui-sprite-gray-alpha-sep-material",1,1],"13":["db:/internal/default_materials/ui-base-material",1,1],"14":["db:/internal/default_materials/ui-sprite-gray-material",1,1],"15":["db:/internal/default_materials/ui-graphics-material",1,1],"16":["db:/internal/default_materials/ui-sprite-alpha-sep-material",1,1],"17":["db:/internal/default_materials/ui-sprite-material",1,1]},"scenes":{},"packs":{"0ca60d3e4":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},"versions":{"import":[18,"6ec23"],"native":[]},"redirect":[],"debug":false,"extensionMap":{},"hasPreloadScript":true,"dependencyRelationships":{},"types":["cc.EffectAsset","cc.Material"]}

File diff suppressed because it is too large
+ 0 - 0
llk/build/bytedance-mini-game/assets/internal/import/0c/0ca60d3e4.6ec23.json


File diff suppressed because it is too large
+ 0 - 0
llk/build/bytedance-mini-game/assets/internal/index.7d219.js


File diff suppressed because it is too large
+ 0 - 0
llk/build/bytedance-mini-game/assets/main/config.5b94d.json


+ 1 - 0
llk/build/bytedance-mini-game/assets/main/import/06/0699aaa4c.a5a64.json

@@ -0,0 +1 @@
+[1,0,0,["cc.ImageAsset","cc.TextureCube"],0,[[[{"base":"2,2,0,0,2,0","rgbe":false,"mipmaps":[{"front":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@e9a6d","back":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@40c10","left":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@8fd34","right":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@74afd","top":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@bb97f","bottom":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@7d38f"}]}],[1],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]]]

+ 0 - 0
llk/build/bytedance-mini-game/subpackages/main/import/07/07829d064.27d0f.json → llk/build/bytedance-mini-game/assets/main/import/07/07829d064.27d0f.json


+ 0 - 0
llk/build/bytedance-mini-game/subpackages/main/import/08/085e46730.0196a.json → llk/build/bytedance-mini-game/assets/main/import/08/085e46730.0196a.json


+ 0 - 0
llk/build/bytedance-mini-game/subpackages/main/import/09/09be5915a.4237a.json → llk/build/bytedance-mini-game/assets/main/import/09/09be5915a.4237a.json


File diff suppressed because it is too large
+ 0 - 0
llk/build/bytedance-mini-game/assets/main/import/09/09e744c46.801a1.json


+ 0 - 0
llk/build/bytedance-mini-game/subpackages/main/import/0e/0e37d66e0.f5f88.json → llk/build/bytedance-mini-game/assets/main/import/0e/0e37d66e0.f5f88.json


+ 0 - 0
llk/build/bytedance-mini-game/subpackages/main/import/0f/0f2d5d498.0570a.json → llk/build/bytedance-mini-game/assets/main/import/0f/0f2d5d498.0570a.json


+ 0 - 0
llk/build/bytedance-mini-game/assets/module_link/import/01/01a7d49a-8a43-4262-85d0-f6df6520ff37.a2533.json → llk/build/bytedance-mini-game/assets/main/import/1b/1bef8548-3a97-4694-8e51-efa612991884.a2533.json


+ 0 - 0
llk/build/bytedance-mini-game/subpackages/main/import/1e/1e37d66e0.275a3.json → llk/build/bytedance-mini-game/assets/main/import/1e/1e37d66e0.275a3.json


+ 0 - 0
llk/build/bytedance-mini-game/assets/module_link/import/02/02089861-ab6b-41c9-a8ca-a088f2fa2414.a2533.json → llk/build/bytedance-mini-game/assets/main/import/2a/2ab08712-d11a-4928-94e4-f27d9016b153.a2533.json


+ 0 - 0
llk/build/bytedance-mini-game/assets/module_link/import/02/027a5151-e966-48d1-b95e-d0504a47249d.a2533.json → llk/build/bytedance-mini-game/assets/main/import/2a/2af6c34a-538e-4aa0-aa69-5dc2da86acd9.a2533.json


+ 0 - 0
llk/build/bytedance-mini-game/assets/module_link/import/04/04b64898-d9d5-4fa8-a7c3-9411d93bf3e6.a2533.json → llk/build/bytedance-mini-game/assets/main/import/31/31bce632-8278-48ad-b571-09e0c4ba59df.a2533.json


+ 0 - 0
llk/build/bytedance-mini-game/assets/module_link/import/04/04bc199a-56dd-4b49-9f40-dfab9dd07442.a2533.json → llk/build/bytedance-mini-game/assets/main/import/45/45c41b0d-2c95-45d5-9970-5d316e9f707e.a2533.json


+ 0 - 0
llk/build/bytedance-mini-game/assets/module_link/import/05/0511acfe-578e-4a7b-b473-62a994373a55.a2533.json → llk/build/bytedance-mini-game/assets/main/import/75/7585fd14-f0c6-485b-86bf-5c2476b3ad9a.a2533.json


+ 0 - 0
llk/build/bytedance-mini-game/assets/module_link/import/05/051372c4-bdbb-4222-bb17-aedc3e89d542.a2533.json → llk/build/bytedance-mini-game/assets/main/import/90/90b97398-934b-4a56-99de-0ed3de094bd7.a2533.json


+ 0 - 0
llk/build/bytedance-mini-game/subpackages/main/import/ba/ba21476f-2866-4f81-9c4d-6e359316e448.8bce7.json → llk/build/bytedance-mini-game/assets/main/import/ba/ba21476f-2866-4f81-9c4d-6e359316e448.8bce7.json


+ 0 - 0
llk/build/bytedance-mini-game/assets/module_link/import/07/07070f74-5537-4d8c-ac29-5515ef0f9bb4.a2533.json → llk/build/bytedance-mini-game/assets/main/import/ca/ca2cbb2a-92e6-42ad-9366-7f7124a45a9f.a2533.json


+ 0 - 0
llk/build/bytedance-mini-game/assets/module_link/import/0a/0a3b7ff9-246b-424e-bc1d-6c3c684e283a.a2533.json → llk/build/bytedance-mini-game/assets/main/import/f5/f5414aad-a628-445f-aac7-cd2620d9b725.a2533.json


+ 0 - 0
llk/build/bytedance-mini-game/subpackages/main/import/fd/fd8ec536-a354-4a17-9c74-4f3883c378c8.731f4.json → llk/build/bytedance-mini-game/assets/main/import/fd/fd8ec536-a354-4a17-9c74-4f3883c378c8.731f4.json


File diff suppressed because it is too large
+ 0 - 0
llk/build/bytedance-mini-game/assets/main/index.5b94d.js


Some files were not shown because too many files changed in this diff