Przeglądaj źródła

【BUG】修改红包任务无法领取问题

mojunshou 7 miesięcy temu
rodzic
commit
7abc5813e4

+ 42 - 30
assets/bundle/gui/eliminate/animation/wxtxz_rottation.anim

@@ -112,7 +112,7 @@
     "__type__": "cc.RealCurve",
     "_times": [
       0,
-      3.5333333015441895
+      3.533333333333333
     ],
     "_values": [
       {
@@ -157,7 +157,7 @@
     "__type__": "cc.RealCurve",
     "_times": [
       0,
-      3.5333333015441895
+      3.533333333333333
     ],
     "_values": [
       {
@@ -178,7 +178,7 @@
         "__type__": "cc.RealKeyframeValue",
         "interpolationMode": 0,
         "tangentWeightMode": 0,
-        "value": 500,
+        "value": 510,
         "rightTangent": 0,
         "rightTangentWeight": 1,
         "leftTangent": 0,
@@ -240,7 +240,7 @@
     "__type__": "cc.RealCurve",
     "_times": [
       0,
-      0.20000000298023224
+      0.2
     ],
     "_values": [
       {
@@ -285,7 +285,7 @@
     "__type__": "cc.RealCurve",
     "_times": [
       0,
-      0.20000000298023224
+      0.2
     ],
     "_values": [
       {
@@ -330,7 +330,7 @@
     "__type__": "cc.RealCurve",
     "_times": [
       0,
-      0.20000000298023224
+      0.2
     ],
     "_values": [
       {
@@ -555,7 +555,7 @@
     "__type__": "cc.RealCurve",
     "_times": [
       0,
-      0.800000011920929
+      0.8
     ],
     "_values": [
       {
@@ -600,7 +600,7 @@
     "__type__": "cc.RealCurve",
     "_times": [
       0,
-      0.800000011920929
+      0.8
     ],
     "_values": [
       {
@@ -645,7 +645,7 @@
     "__type__": "cc.RealCurve",
     "_times": [
       0,
-      0.800000011920929
+      0.8
     ],
     "_values": [
       {
@@ -785,8 +785,8 @@
   {
     "__type__": "cc.RealCurve",
     "_times": [
-      0.8666666746139526,
-      1.1666666269302368
+      0.8666666666666667,
+      1.1666666666666667
     ],
     "_values": [
       {
@@ -830,8 +830,8 @@
   {
     "__type__": "cc.RealCurve",
     "_times": [
-      0.8666666746139526,
-      1.1666666269302368
+      0.8666666666666667,
+      1.1666666666666667
     ],
     "_values": [
       {
@@ -875,8 +875,8 @@
   {
     "__type__": "cc.RealCurve",
     "_times": [
-      0.8666666746139526,
-      1.1666666269302368
+      0.8666666666666667,
+      1.1666666666666667
     ],
     "_values": [
       {
@@ -1100,7 +1100,7 @@
   {
     "__type__": "cc.RealCurve",
     "_times": [
-      1.4333332777023315,
+      1.4333333333333333,
       2
     ],
     "_values": [
@@ -1145,7 +1145,7 @@
   {
     "__type__": "cc.RealCurve",
     "_times": [
-      1.4333332777023315,
+      1.4333333333333333,
       2
     ],
     "_values": [
@@ -1190,7 +1190,7 @@
   {
     "__type__": "cc.RealCurve",
     "_times": [
-      1.4333332777023315,
+      1.4333333333333333,
       2
     ],
     "_values": [
@@ -1372,8 +1372,8 @@
   {
     "__type__": "cc.RealCurve",
     "_times": [
-      2.0999999046325684,
-      2.9000000953674316
+      2.1,
+      2.9
     ],
     "_values": [
       {
@@ -1386,7 +1386,9 @@
         "leftTangent": 0,
         "leftTangentWeight": 1,
         "easingMethod": 0,
-        "__editorExtras__": null
+        "__editorExtras__": {
+          "broken": null
+        }
       },
       {
         "__type__": "cc.RealKeyframeValue",
@@ -1398,7 +1400,9 @@
         "leftTangent": 0,
         "leftTangentWeight": 1,
         "easingMethod": 0,
-        "__editorExtras__": null
+        "__editorExtras__": {
+          "broken": null
+        }
       }
     ],
     "preExtrapolation": 1,
@@ -1413,8 +1417,8 @@
   {
     "__type__": "cc.RealCurve",
     "_times": [
-      2.0999999046325684,
-      2.9000000953674316
+      2.1,
+      2.9
     ],
     "_values": [
       {
@@ -1427,7 +1431,9 @@
         "leftTangent": 0,
         "leftTangentWeight": 1,
         "easingMethod": 0,
-        "__editorExtras__": null
+        "__editorExtras__": {
+          "broken": null
+        }
       },
       {
         "__type__": "cc.RealKeyframeValue",
@@ -1439,7 +1445,9 @@
         "leftTangent": 0,
         "leftTangentWeight": 1,
         "easingMethod": 0,
-        "__editorExtras__": null
+        "__editorExtras__": {
+          "broken": null
+        }
       }
     ],
     "preExtrapolation": 1,
@@ -1454,8 +1462,8 @@
   {
     "__type__": "cc.RealCurve",
     "_times": [
-      2.0999999046325684,
-      2.9000000953674316
+      2.1,
+      2.9
     ],
     "_values": [
       {
@@ -1468,7 +1476,9 @@
         "leftTangent": 0,
         "leftTangentWeight": 1,
         "easingMethod": 0,
-        "__editorExtras__": null
+        "__editorExtras__": {
+          "broken": null
+        }
       },
       {
         "__type__": "cc.RealKeyframeValue",
@@ -1480,7 +1490,9 @@
         "leftTangent": 0,
         "leftTangentWeight": 1,
         "easingMethod": 0,
-        "__editorExtras__": null
+        "__editorExtras__": {
+          "broken": null
+        }
       }
     ],
     "preExtrapolation": 1,

+ 2 - 2
assets/bundle/gui/eliminate/prefab/popup/WechatTransfer.prefab

@@ -3725,7 +3725,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 600,
-      "height": 500
+      "height": 510
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -9176,7 +9176,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 720,
-      "height": 1599.9999999999998
+      "height": 1600
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 1 - 1
assets/bundle/gui/eliminate/prefab/redPackeItem.prefab

@@ -1602,7 +1602,7 @@
     "_duration": 0.1,
     "_zoomScale": 1.1,
     "_target": null,
-    "interval": 500,
+    "interval": 100,
     "once": false,
     "effect": {
       "__uuid__": "9bc4e751-c1e7-4b95-95e1-4946ba1024fd",

+ 3 - 3
assets/script/game/common/manager/ProtocolEvent.ts

@@ -2,13 +2,13 @@
  * @Author: mojunshou 1637302775@qq.com
  * @Date: 2025-04-07 10:17:16
  * @LastEditors: mojunshou 1637302775@qq.com
- * @LastEditTime: 2025-04-29 15:25:59
+ * @LastEditTime: 2025-04-29 16:31:08
  * @Description: 消息定义
  */
 
-const server_url = "http://192.168.10.103:8880";
+// const server_url = "http://192.168.10.103:8880";
 // https://central-test.atmob.com
-// const server_url = "https://central-test.atmob.com";
+const server_url = "https://central-test.atmob.com";
 export enum ProtocolEvent {
     /**微信登录*/
     WechatLogin = server_url + "/project/playlet/v1/user/login",

+ 2 - 2
assets/script/game/view/RedPackeItemView.ts

@@ -2,7 +2,7 @@
  * @Author: mojunshou 1637302775@qq.com
  * @Date: 2025-03-20 18:39:37
  * @LastEditors: mojunshou 1637302775@qq.com
- * @LastEditTime: 2025-04-23 15:53:24
+ * @LastEditTime: 2025-04-29 16:28:24
  * @Description: 红包列表item
  */
 import { _decorator, Label, Node, ProgressBar, Sprite } from 'cc';
@@ -45,7 +45,7 @@ export class RedPackeItemView extends GameComponent {
     }
 
     protected start() {
-
+        this.setButton();
     }