薛鸿潇 5 лет назад
Родитель
Сommit
3a6e107de0

+ 12 - 0
assets/resources/game/prefab/texture.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.2",
+  "uuid": "9a1cfc78-9e3b-482f-b382-886a5b8402b4",
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
+  "compressionType": {},
+  "optimizeHotUpdate": {},
+  "inlineSpriteFrames": {},
+  "isRemoteBundle": {},
+  "subMetas": {}
+}

BIN
assets/resources/game/prefab/texture/tishi.png


+ 36 - 0
assets/resources/game/prefab/texture/tishi.png.meta

@@ -0,0 +1,36 @@
+{
+  "ver": "2.3.5",
+  "uuid": "b0303b98-2bf5-4326-9d06-07512f85e341",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "width": 750,
+  "height": 110,
+  "platformSettings": {},
+  "subMetas": {
+    "tishi": {
+      "ver": "1.0.4",
+      "uuid": "e861f3aa-d305-4983-a24a-a23db83aae98",
+      "rawTextureUuid": "b0303b98-2bf5-4326-9d06-07512f85e341",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 0,
+      "trimX": 0,
+      "trimY": 0,
+      "width": 750,
+      "height": 110,
+      "rawWidth": 750,
+      "rawHeight": 110,
+      "borderTop": 42,
+      "borderBottom": 44,
+      "borderLeft": 359,
+      "borderRight": 357,
+      "subMetas": {}
+    }
+  }
+}

+ 19 - 17
assets/resources/game/prefab/tips.prefab

@@ -96,15 +96,15 @@
     "_opacity": 255,
     "_color": {
       "__type__": "cc.Color",
-      "r": 77,
-      "g": 80,
-      "b": 215,
+      "r": 255,
+      "g": 255,
+      "b": 255,
       "a": 255
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 300,
-      "height": 52
+      "width": 750,
+      "height": 110
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -156,10 +156,10 @@
     "_srcBlendFactor": 770,
     "_dstBlendFactor": 771,
     "_spriteFrame": {
-      "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
+      "__uuid__": "e861f3aa-d305-4983-a24a-a23db83aae98"
     },
     "_type": 0,
-    "_sizeMode": 0,
+    "_sizeMode": 1,
     "_fillType": 0,
     "_fillCenter": {
       "__type__": "cc.Vec2",
@@ -206,15 +206,15 @@
     "_opacity": 255,
     "_color": {
       "__type__": "cc.Color",
-      "r": 227,
-      "g": 218,
-      "b": 80,
+      "r": 180,
+      "g": 102,
+      "b": 38,
       "a": 255
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 258,
-      "height": 42.32
+      "width": 256,
+      "height": 40.32
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -265,13 +265,15 @@
     ],
     "_srcBlendFactor": 770,
     "_dstBlendFactor": 771,
-    "_string": "按时发放按时发放",
-    "_N$string": "按时发放按时发放",
+    "_string": "一二三四五六七八",
+    "_N$string": "一二三四五六七八",
     "_fontSize": 32,
     "_lineHeight": 32,
     "_enableWrapText": true,
-    "_N$file": null,
-    "_isSystemFontUsed": true,
+    "_N$file": {
+      "__uuid__": "0bc2f1e8-1dd4-45ba-8f7e-36c47dde4152"
+    },
+    "_isSystemFontUsed": false,
     "_spacingX": 0,
     "_batchAsBitmap": false,
     "_styleFlags": 0,
@@ -290,7 +292,7 @@
     "node": {
       "__id__": 5
     },
-    "_enabled": true,
+    "_enabled": false,
     "_color": {
       "__type__": "cc.Color",
       "r": 0,

+ 2 - 2
assets/script/game/data/module/RedBagCashData.ts

@@ -13,7 +13,8 @@ export class RedBagCashData extends Data {
      */
     public init() {
         // 签到进度
-        this.cash_bar = gData.gameData.getProp(GameProp.redBag_cash_bar);
+        this.cash_bar = gData.gameData.getProp(GameProp.redBag_cash_bar);// 自定义测试数据
+        // this.cash_bar = gData.gameData.gameData.cashIndex;// 服务端数据
         // 签到配置表
         if (gData.gameData.configs.CashCfg) {
             gData.gameData.configs.CashCfg.forEach(item_data => {
@@ -25,7 +26,6 @@ export class RedBagCashData extends Data {
             this.sortList();
             this.init_list = true;
         }
-        // this.cash_bar = gData.gameData.gameData.cashIndex;// 服务端数据
     }
     /** 标志位:初始化列表 */
     public init_list: boolean = false;