From 94ec29b1ac5e5f36f422e94d5bf312e5ff325760 Mon Sep 17 00:00:00 2001 From: "guoqing.zhu" <1521292690@qq.com> Date: Tue, 7 Jun 2022 13:58:13 +0800 Subject: [PATCH] updatye --- assets/res/prefabs/NUI/UINWantedSend.prefab | 273 ++++++++++++++++++++ assets/res/prefabs/NUI/UINewTask.prefab | 42 +-- assets/scripts/UI/task/UITask.js | 19 +- 3 files changed, 296 insertions(+), 38 deletions(-) diff --git a/assets/res/prefabs/NUI/UINWantedSend.prefab b/assets/res/prefabs/NUI/UINWantedSend.prefab index 26899d84..cc218eef 100644 --- a/assets/res/prefabs/NUI/UINWantedSend.prefab +++ b/assets/res/prefabs/NUI/UINWantedSend.prefab @@ -195,6 +195,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -336,6 +339,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -640,6 +646,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -741,6 +750,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -842,6 +854,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -943,6 +958,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -1044,6 +1062,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -1820,6 +1841,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -1921,6 +1945,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -2131,6 +2158,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -2773,6 +2803,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -2874,6 +2907,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -3084,6 +3120,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -3726,6 +3765,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -3827,6 +3869,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -4037,6 +4082,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -4679,6 +4727,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -4780,6 +4831,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -4990,6 +5044,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -5632,6 +5689,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -5733,6 +5793,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -5943,6 +6006,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -6380,6 +6446,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -7108,6 +7177,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -7209,6 +7281,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -7419,6 +7494,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -8061,6 +8139,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -8162,6 +8243,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -8372,6 +8456,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -9014,6 +9101,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -9115,6 +9205,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -9325,6 +9418,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -9967,6 +10063,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -10068,6 +10167,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -10278,6 +10380,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -10920,6 +11025,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -11021,6 +11129,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -11231,6 +11342,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -11873,6 +11987,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -11974,6 +12091,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -12184,6 +12304,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -12826,6 +12949,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -12927,6 +13053,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -13137,6 +13266,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -13779,6 +13911,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -13880,6 +14015,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -14090,6 +14228,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -14732,6 +14873,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -14833,6 +14977,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -15043,6 +15190,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -15685,6 +15835,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -15786,6 +15939,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -15996,6 +16152,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -16638,6 +16797,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -16739,6 +16901,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -16949,6 +17114,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -17210,6 +17378,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -17575,6 +17746,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -17614,6 +17788,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -17882,6 +18059,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -17921,6 +18101,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -18187,6 +18370,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -18226,6 +18412,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -18492,6 +18681,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -18531,6 +18723,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -18744,6 +18939,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -18994,6 +19192,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -19033,6 +19234,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -19330,6 +19534,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -19536,6 +19743,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -19637,6 +19847,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -19879,6 +20092,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -20265,6 +20481,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -20304,6 +20523,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -20471,6 +20693,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -20510,6 +20735,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -20677,6 +20905,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -20716,6 +20947,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -20883,6 +21117,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -20922,6 +21159,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -21089,6 +21329,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -21128,6 +21371,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -21238,6 +21484,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -21361,6 +21610,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -21651,6 +21903,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -21961,6 +22216,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -22272,6 +22530,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -22373,6 +22634,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -22745,6 +23009,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -22846,6 +23113,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { @@ -23169,6 +23439,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "" }, { diff --git a/assets/res/prefabs/NUI/UINewTask.prefab b/assets/res/prefabs/NUI/UINewTask.prefab index a7c02689..901fc74a 100644 --- a/assets/res/prefabs/NUI/UINewTask.prefab +++ b/assets/res/prefabs/NUI/UINewTask.prefab @@ -895,18 +895,18 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 1112, + "width": 1000, "height": 28 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_position": { "__type__": "cc.Vec3", - "x": 700, - "y": -25, + "x": 146.6, + "y": -26.4, "z": 0 }, "_scale": { @@ -957,7 +957,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 1112, + "width": 999.9999999999999, "height": 21.5 }, "_anchorPoint": { @@ -967,7 +967,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": -556, + "x": 0, "y": 0.5, "z": 0 }, @@ -1072,12 +1072,12 @@ "__id__": 22 }, "_enabled": true, - "_N$totalLength": 1112, + "_N$totalLength": 1000, "_N$barSprite": { "__id__": 24 }, "_N$mode": 0, - "_N$progress": 1, + "_N$progress": 0.9999999999999999, "_N$reverse": false, "_id": "" }, @@ -1215,7 +1215,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 400, + "x": 284.1, "y": 33.20000000000002, "z": 0 }, @@ -1281,7 +1281,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 0, + "x": 2.5, "y": 0, "z": 0 }, @@ -1492,7 +1492,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 0, + "x": 3.8, "y": -90, "z": 0 }, @@ -1919,7 +1919,7 @@ "_top": -2.20000000000001, "_bottom": 0, "_verticalCenter": 0, - "_horizontalCenter": 400, + "_horizontalCenter": 284.1, "_isAbsLeft": true, "_isAbsRight": true, "_isAbsTop": true, @@ -2075,7 +2075,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 770, + "x": 573.4, "y": 33.20000000000002, "z": 0 }, @@ -2385,8 +2385,8 @@ }, "_enabled": true, "_useOriginalSize": false, - "_string": "20", - "_N$string": "20", + "_string": "30", + "_N$string": "30", "_fontSize": 40, "_lineHeight": 60, "_enableWrapText": true, @@ -2779,7 +2779,7 @@ "_top": -2.20000000000001, "_bottom": 0, "_verticalCenter": 0, - "_horizontalCenter": 770, + "_horizontalCenter": 573.4, "_isAbsLeft": true, "_isAbsRight": true, "_isAbsTop": true, @@ -2935,7 +2935,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 1140, + "x": 859.7, "y": 33.19999999999999, "z": 0 }, @@ -3212,7 +3212,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 0, + "x": -0.4, "y": -90, "z": 0 }, @@ -3245,8 +3245,8 @@ }, "_enabled": true, "_useOriginalSize": false, - "_string": "30", - "_N$string": "30", + "_string": "50", + "_N$string": "50", "_fontSize": 40, "_lineHeight": 60, "_enableWrapText": true, @@ -3639,7 +3639,7 @@ "_top": -2.1999999999999957, "_bottom": 0, "_verticalCenter": 0, - "_horizontalCenter": 1140, + "_horizontalCenter": 859.7, "_isAbsLeft": true, "_isAbsRight": true, "_isAbsTop": true, diff --git a/assets/scripts/UI/task/UITask.js b/assets/scripts/UI/task/UITask.js index 9c842cda..f33df202 100644 --- a/assets/scripts/UI/task/UITask.js +++ b/assets/scripts/UI/task/UITask.js @@ -75,24 +75,9 @@ cc.Class({ initdata(v) { // daily mission + this.lb_huoyue.string = v.current_active_value; - this.pr_progress.progress = v.current_active_value / v.max_active_value; - // for (var i = 0; i < v.mission_list1.length; i++) { - // var nd_hasget = this.nd_uprewards[i].getChildByName("getReward"); - // var nd_canget = this.nd_uprewards[i].getChildByName("Available"); - // nd_hasget.active = false; - // nd_canget.active = false; - // this.nd_uprewards[i].getChildByName("num").getComponent(cc.Label).string = - // v.mission_list1[i].target; - // var state = v.mission_list1[i].state; - // if (state == 0) { - // nd_canget.active = true; - // } else if (state == 1) { - // nd_hasget.active = true; - // } - // this.nd_uprewards[i].mission_id = v.mission_list1[i].mission_id; - // this.nd_uprewards[i].state = state; - // } + this.pr_progress.progress = v.current_active_value / 70; v.mission_list2.sort((a, b) => { var aa = 0;