kaka 5 년 전
부모
커밋
f21710cd95
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      assets/script/game/module/module/blessingBag/BlessingBag.ts
  2. 1 1
      assets/script/game/module/module/cashPro/CashPro.ts

+ 1 - 1
assets/script/game/module/module/blessingBag/BlessingBag.ts

@@ -181,7 +181,7 @@ export default class BlessingBag extends cc.Component {
                 this.adrbArray.push(obj);
             }
             //刷新
-
+            this.itemContent.emit('srollview-update', this.adrbArray);
         }
 
         this.isPlayInitAni = false;

+ 1 - 1
assets/script/game/module/module/cashPro/CashPro.ts

@@ -85,7 +85,7 @@ export default class CashPro extends cc.Component {
 
     showCashPro() {
         this.cashPro.active = true;
-        mk.tween.moveTo(this.cashPro, 0.3, cc.v2(1000, 0), cc.v2(0, 0));
+        mk.tween.move(this.cashPro, 0.3, cc.v2(1000, 0), cc.v2(0, 0), null, 'elasticIn');
         this.labMoney.string = `¥${this.money}`
     }