feat(mission): 添加抽卡面板付费开启与按钮高亮逻辑

1. 重构任务面板抽卡相关逻辑,为四个抽卡/商店面板添加开启费用机制,每次使用后费用递增
2. 新增面板重复开启校验,避免重复扣费
3. 优化英雄抽卡按钮的高亮状态,与面板展开状态绑定
4. 调整预设文件中任务面板UI元素的位置与尺寸适配新逻辑
5. 新增费用显示UI更新,在按钮上展示当前开启成本
This commit is contained in:
panFD
2026-08-06 08:08:36 +08:00
parent 4d6f1493b2
commit 6542da6a61
2 changed files with 112 additions and 13 deletions

View File

@@ -11895,7 +11895,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"x": -90,
"y": 0.117999999999995,
"z": 0
}
@@ -12213,7 +12213,7 @@
"propertyPath": [
"_active"
],
"value": false
"value": true
},
{
"__type__": "cc.TargetInfo",
@@ -12241,7 +12241,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"width": 330,
"height": 110
},
"_anchorPoint": {
@@ -12269,8 +12269,8 @@
},
"_alignFlags": 42,
"_target": null,
"_left": 285,
"_right": 285,
"_left": 195,
"_right": 195,
"_top": 340.279,
"_bottom": -521.315,
"_horizontalCenter": 0,