xiaobin hace 11 meses
padre
commit
3a990f9916
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      assets/pay/prefab/pay.prefab
  2. 1 1
      assets/pay/script/Pay.ts

+ 1 - 1
assets/pay/prefab/pay.prefab

@@ -2231,7 +2231,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 206,
-      "height": 100
+      "height": 50
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 1 - 1
assets/pay/script/Pay.ts

@@ -115,7 +115,7 @@ export class Pay extends Component {
         }
         //计算汇率 取number类型整数 
         let price = parseFloat((this.select_data.PayPrice * this.currentCountry.Rate).toFixed(2));
-        Pay.buy(this.select_data.ProductID, price, this.currentCountry.CountryCode);
+        Pay.buy(this.select_data.ProductID, price, this.currentCountry.Currency);
     }
 
     // private test(){