Jelajahi Sumber

修改额兑换

eraser 3 tahun lalu
induk
melakukan
f9dae577e4

File diff ditekan karena terlalu besar
+ 346 - 134
assets/Scene/MyCityScene - 004.fire


+ 8 - 1
assets/Script/UI/StoreView.js

@@ -60,6 +60,10 @@ cc.Class({
         },
         buySeedIndex:-1,
         
+        snbAmountLabel: {
+            default: null,
+            type: [cc.Label]
+        },
     },
     HiddenAll() {
         if (this.Seed.active)
@@ -70,12 +74,15 @@ cc.Class({
     start() {
         //默认设置第一个节点为 最上面
         this.SeedBtn.setSiblingIndex(10);
-        
+        console.log('SNB=======',GlobalD.GameData.SNB)
+        this.snbAmountLabel.string = GlobalD.GameData.SNB;
+
         //获取种子和果实
         GlobalD.GameData.getMallSeed((res, vaule) => {
             console.log('vaule111111111=',vaule)
             this.mySeedList = vaule.data;
             
+        
             for (let i = 0; i < this.mySeedList.length; i++) {
                 //没有种子数量不显示 todo 看看后续需不需要处理删除
                 if (this.mySeedList[i].amount < 1) continue;

TEMPAT SAMPAH
assets/UI/NBuilding/Store/CNTLogo.png


+ 34 - 0
assets/UI/NBuilding/Store/CNTLogo.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "6674c70f-9915-43fa-b0f0-4e0460fa9f69",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "CNTLogo": {
+      "ver": "1.0.4",
+      "uuid": "d825376f-8875-4c28-a12f-3e2ca615a297",
+      "rawTextureUuid": "6674c70f-9915-43fa-b0f0-4e0460fa9f69",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": -0.5,
+      "offsetY": 0.5,
+      "trimX": 2,
+      "trimY": 2,
+      "width": 142,
+      "height": 134,
+      "rawWidth": 147,
+      "rawHeight": 139,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

TEMPAT SAMPAH
assets/UI/NBuilding/Store/ExchangeLogo.png


+ 34 - 0
assets/UI/NBuilding/Store/ExchangeLogo.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "eda809f4-8119-4766-a8f4-193c614ad39c",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "ExchangeLogo": {
+      "ver": "1.0.4",
+      "uuid": "3826756a-b351-4ac8-a3a3-90c4e05949b1",
+      "rawTextureUuid": "eda809f4-8119-4766-a8f4-193c614ad39c",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 0,
+      "trimX": 3,
+      "trimY": 3,
+      "width": 71,
+      "height": 62,
+      "rawWidth": 77,
+      "rawHeight": 68,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

TEMPAT SAMPAH
assets/UI/NBuilding/Store/SNBLogo.png


+ 34 - 0
assets/UI/NBuilding/Store/SNBLogo.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "5ec9d278-2c4a-460b-8fb3-86d0444d6a11",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "SNBLogo": {
+      "ver": "1.0.4",
+      "uuid": "9aa800b0-955f-4240-b876-b224e6d29d6c",
+      "rawTextureUuid": "5ec9d278-2c4a-460b-8fb3-86d0444d6a11",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": -0.5,
+      "offsetY": 0.5,
+      "trimX": 2,
+      "trimY": 2,
+      "width": 142,
+      "height": 134,
+      "rawWidth": 147,
+      "rawHeight": 139,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini