feat(map): 新增小提示组件并替换全局toast为气泡提示
1. 新增SmallTipComp小提示组件与对应预制体 2. 重构天赋页逻辑,将toast提示替换为锚定气泡提示 3. 优化升级按钮的气泡初始化逻辑 4. 调整小提示预制体的尺寸与文案样式
This commit is contained in:
@@ -26,10 +26,13 @@
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 30
|
||||
},
|
||||
{
|
||||
"__id__": 32
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 32
|
||||
"__id__": 34
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -187,8 +190,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 300,
|
||||
"height": 140
|
||||
"width": 399.6,
|
||||
"height": 159.6
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -322,7 +325,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": -35.2,
|
||||
"y": -40.1,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -534,7 +537,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 84,
|
||||
"width": 149.9,
|
||||
"height": 54.4
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@@ -570,14 +573,14 @@
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_string": "卡成升级",
|
||||
"_string": "卡成升级........................",
|
||||
"_horizontalAlign": 1,
|
||||
"_verticalAlign": 1,
|
||||
"_actualFontSize": 20,
|
||||
"_actualFontSize": 21,
|
||||
"_fontSize": 20,
|
||||
"_fontFamily": "Arial",
|
||||
"_lineHeight": 40,
|
||||
"_overflow": 0,
|
||||
"_lineHeight": 23,
|
||||
"_overflow": 2,
|
||||
"_enableWrapText": true,
|
||||
"_font": null,
|
||||
"_isSystemFontUsed": true,
|
||||
@@ -643,8 +646,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 150,
|
||||
"height": 70
|
||||
"width": 199.8,
|
||||
"height": 79.8
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -743,6 +746,24 @@
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "1ctkO0TStCjK1FILIEJzwK"
|
||||
},
|
||||
{
|
||||
"__type__": "366cayIQXtAzJLimznQOpMz",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 33
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "ffW/hlSrtP1I4iporD0DuU"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user