Procházet zdrojové kódy

fix:修改buff预览资源

chenbin před 1 měsícem
rodič
revize
5182bba126
22 změnil soubory, kde provedl 294 přidání a 43 odebrání
  1. binární
      Assets/Res/Addressable/FGUI/Main/Main_atlas0.png
  2. binární
      Assets/Res/Addressable/FGUI/Main/Main_fui.bytes
  3. binární
      Assets/Res/Addressable/Tables/EpigraphTable.bytes
  4. 4 3
      Assets/Res/Addressable/UI/Atlas/TitleIcon/atlas_rauat_titleicon.spriteatlas
  5. 2 2
      Assets/Scripts/Business/Domain/Database/DatabaseVersion.cs
  6. 5 0
      Assets/Scripts/Business/Domain/Database/Tables/EpigraphTable.cs
  7. 7 6
      Assets/Scripts/Business/Runtime/Define/StringDefine.cs
  8. 8 0
      Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel.meta
  9. 63 0
      Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelCtrl.cs
  10. 11 0
      Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelCtrl.cs.meta
  11. 34 0
      Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelVM.Gen.cs
  12. 11 0
      Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelVM.Gen.cs.meta
  13. 34 0
      Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelView.cs
  14. 11 0
      Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelView.cs.meta
  15. 19 5
      Assets/Scripts/Business/Runtime/FGUI/Main/HomeBuffInfoNested/MainHomeBuffInfoNestedCtrl.cs
  16. 6 6
      fl-fgui-project/assets/Main/BuffInfoListItem.xml
  17. 23 0
      fl-fgui-project/assets/Main/BuffPreviewPanel.xml
  18. 15 0
      fl-fgui-project/assets/Main/Components/BuffShowBtn.xml
  19. 15 0
      fl-fgui-project/assets/Main/Components/CloseBtn.xml
  20. 20 0
      fl-fgui-project/assets/Main/HomeBuffInfoNested.xml
  21. 1 20
      fl-fgui-project/assets/Main/HomePanel.xml
  22. 5 1
      fl-fgui-project/assets/Main/package.xml

binární
Assets/Res/Addressable/FGUI/Main/Main_atlas0.png


binární
Assets/Res/Addressable/FGUI/Main/Main_fui.bytes


binární
Assets/Res/Addressable/Tables/EpigraphTable.bytes


+ 4 - 3
Assets/Res/Addressable/UI/Atlas/TitleIcon/atlas_rauat_titleicon.spriteatlas

@@ -80,12 +80,13 @@ SpriteAtlas:
     bindAsDefault: 1
     isAtlasV2: 0
     cachedData: {fileID: 0}
-    packedSpriteRenderDataKeys: []
+    packedSpriteRenderDataKeys:
+    - 5d5952a0fc411fd4c830d373dce8e439: 21300000
   m_MasterAtlas: {fileID: 0}
   m_PackedSprites:
-  - {fileID: 21300000, guid: 8b6458543cadab045bde92a02b23b600, type: 3}
+  - {fileID: 21300000, guid: 5d5952a0fc411fd4c830d373dce8e439, type: 3}
   m_PackedSpriteNamesToIndex:
-  - vcard_img_mingpian_exhbition_bg
+  - Title_001
   m_RenderDataMap: {}
   m_Tag: atlas_rauat_titleicon
   m_IsVariant: 0

+ 2 - 2
Assets/Scripts/Business/Domain/Database/DatabaseVersion.cs

@@ -5,7 +5,7 @@ namespace XGame.Database
 {
     public static class DatabaseVersion
     {
-        // version 1726129504
+        // version 1726221580
         static long _version = -1;
 
         public static long Version
@@ -14,7 +14,7 @@ namespace XGame.Database
             {
                 if (_version == -1)
                 {
-                    _version = 1726129504;
+                    _version = 1726221580;
                 }
                 return _version;
             }

+ 5 - 0
Assets/Scripts/Business/Domain/Database/Tables/EpigraphTable.cs

@@ -20,6 +20,9 @@ namespace XGame.Database
         /// <summary> 名字 </summary>
         public string Name { get; private set; } // c
 
+        /// <summary> 1: 白2:绿3:蓝4:紫5: 黄6:橙7:红8: 粉9:蓝钻10:鎏金11:璀璨 </summary>
+        public EQualityLevel Quality { get; private set; }
+
         /// <summary> 元素系1:火2:雷3:冰4:毒5:风0:无元素 </summary>
         public EElementType Element { get; private set; }
 
@@ -31,6 +34,7 @@ namespace XGame.Database
             Id = reader.ReadInt();
             Icon = reader.ReadString();
             Name = reader.ReadString();
+            Quality = (EQualityLevel)reader.ReadInt();
             Element = (EElementType)reader.ReadInt();
             EffectArgs = reader.ReadEnumerable<int[]>();
         }
@@ -40,6 +44,7 @@ namespace XGame.Database
             writer.Write(Id);
             writer.Write(Icon);
             writer.Write(Name);
+            writer.Write((int)Quality);
             writer.Write((int)Element);
             writer.Write(EffectArgs);
         }

+ 7 - 6
Assets/Scripts/Business/Runtime/Define/StringDefine.cs

@@ -1,15 +1,16 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-
-namespace FL
+namespace FL
 {
-    public static partial class StringDefine 
+    public static partial class StringDefine
     {
         public static string dragonEggCurLv = "当前等级:{0}";
         public static string dragonEggNextLv = "下一等级:{0}";
         public static string sellHightPowerEquip = "出售的装备战力高于当前装备,是否确定?";
         public static string dragonEggsEmpty = "龙裔宝卵数量不足";
         public static string notOpen = "功能暂未开放,敬请期待";
+        public static string common_bracket = "[{0}]";
+        public static string buff_preview_tips_attack = "攻击触发";
+        public static string buff_preview_tips_coming = "即将触发";
+
+
     }
 }

+ 8 - 0
Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: DCsa5i78UXyg7m/HonL4hG6GYNX+C/sSJWkQz25xNsbgEkt3ie8XT04=
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 63 - 0
Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelCtrl.cs

@@ -0,0 +1,63 @@
+/// #pkgName FGUI包名
+/// #panelName UIPanel名字
+/// #UIName = $"{#pkgName}{#panelName}" UIKey名字
+/// 该脚本由模板创建
+/// created by cb 2024
+
+using FairyGUI;
+using XGame.Framework.UI;
+
+namespace FL.FGUI
+{
+    /// <summary>
+    /// UI逻辑处理类
+    /// </summary>
+    /// <typeparam name=""></typeparam>
+    public partial class MainBuffPreviewPanelCtrl : UIController<MainBuffPreviewPanelVM>
+    {
+        protected override void OnEnable(object intent)
+        {
+            AddUIListenres();
+            Mock();
+        }
+        protected override void OnDisable()
+        {
+            RemoveUIListenres();
+        }
+        #region UI事件
+        private void AddUIListenres()
+        {
+            VM.CloseBtn.onClick.Add(OnClickCloseBtn);
+
+        }
+        private void RemoveUIListenres()
+        {
+            VM.CloseBtn.onClick.Remove(OnClickCloseBtn);
+
+        }
+        private void OnClickCloseBtn(EventContext context)
+        {
+            Context.ClosePanel();
+        }
+
+        #endregion
+
+        private void Mock()
+        {
+            var count = 10;
+            var datas = new MainBuffItemData[count];
+            for(var i = 0; i < count; i++)
+            {
+                datas[i] = new MainBuffItemData()
+                {
+                    buffTableId = 20171101,
+                    layer = 4,
+                    layerLimit = 5,
+                };
+            }
+            VM.BuffInfoList.ListType = EGListType.Virtual;
+            VM.BuffInfoList.BindDatas(datas);
+
+        }
+    }
+}

+ 11 - 0
Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelCtrl.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: CHsftHylVS+Fvr6qdLtAeqXX0FpW4DW9ogxrodl1pdl1xbkTIgnMRcA=
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 34 - 0
Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelVM.Gen.cs

@@ -0,0 +1,34 @@
+/// #pkgName FGUI包名
+/// #panelName UIPanel名字
+/// #UIName = $"{#pkgName}{#panelName}" UIKey名字
+/// #PropertyDefineArea 属性定义区域
+/// #PropertyAssignArea 属性赋值区域
+/// #ComponentType 组件类型
+/// #PropertyName 属性名字
+/// 该脚本由模板创建,不可编辑
+/// created by cb 2024
+using FairyGUI;
+using XGame.Framework.FGUI;
+using XGame.Framework.UI;
+
+namespace FL.FGUI
+{
+    /// <summary>
+    /// 该脚本由模板创建,不可修改,不可编辑
+    /// </summary>
+    public partial class MainBuffPreviewPanelVM : FguiViewModel
+    {
+        public CommonBackGroundNestedView BackGround { get; private set; }
+        public GButton CloseBtn { get; private set; }
+        public GList BuffInfoList { get; private set; }
+
+        protected override void BindComponents(GComponent panel, IUIViewAdapter adapter)
+        {
+            BackGround = adapter.CreateNested<CommonBackGroundNestedView>(new FguiNested(panel.GetChild("BackGround").asCom), true);
+            CloseBtn = panel.GetChild("CloseBtn") as GButton;
+            BuffInfoList = panel.GetChild("BuffInfoList") as GList;
+            BuffInfoList.Init(typeof(MainBuffInfoListItemView), adapter.CreateListItem);
+
+        }
+    }
+}

+ 11 - 0
Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelVM.Gen.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: XX4d4X6lVn3NQbepRR4o/FdevfERTMVthpuq4eccyNtwPzGIW+jl06Q=
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 34 - 0
Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelView.cs

@@ -0,0 +1,34 @@
+/// #pkgName FGUI包名
+/// #panelName UIPanel名字
+/// #UIName = $"{#pkgName}{#panelName}" UIKey名字
+/// 该脚本由模板创建
+/// created by cb 2024
+
+using XGame.Framework.UI;
+
+namespace FL.FGUI
+{
+    public static partial class UIKeys
+    {
+        private static UIKey _MainBuffPreviewPanel;
+        public static UIKey MainBuffPreviewPanel => _MainBuffPreviewPanel ?? (_MainBuffPreviewPanel = new UIKey("Main", "BuffPreviewPanel", typeof(MainBuffPreviewPanelView)));
+    }
+    public partial class MainBuffPreviewPanelView : UIView
+    {
+        
+        protected override void AddController(IUIControllerGroup group)
+        {
+            group.Add(new MainBuffPreviewPanelCtrl());
+        }
+
+        protected override IUIViewModel CreateViewModel()
+        {
+            return new MainBuffPreviewPanelVM();
+        }
+
+        protected override void OnDispose()
+        {
+        }
+    }
+}
+

+ 11 - 0
Assets/Scripts/Business/Runtime/FGUI/Main/BuffPreviewPanel/MainBuffPreviewPanelView.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: B3McvSP/AX9F5ny6T7ODGNC40j8BmbfMoxjqm6LdWu1HFEQ9ER4SmNw=
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 19 - 5
Assets/Scripts/Business/Runtime/FGUI/Main/HomeBuffInfoNested/MainHomeBuffInfoNestedCtrl.cs

@@ -6,6 +6,7 @@
 
 using FairyGUI;
 using FL.Battle.Buffs;
+using UnityEngine;
 using XGame.Database;
 using XGame.Framework.UI;
 
@@ -40,6 +41,7 @@ namespace FL.FGUI
         }
         private void OnClickBuffShowBtn(EventContext context)
         {
+            Context.UI.OpenAsync(UIKeys.MainBuffPreviewPanel);
         }
 
         #endregion
@@ -56,19 +58,31 @@ namespace FL.FGUI
                 VM.BuffIcon.url = buffTable.Icon;
                 VM.BuffLayerPar.max = dto.layerLimit;
                 VM.BuffLayerPar.value = dto.layer;
-                string skillName;
+                string triggerName;
+                EQualityLevel quality;
                 if (dto.isSkill)
                 {
                     var skill = SkillTableRepo.Get(dto.skillId);
-                    skillName = skill.Name;
+                    if (skill.BuffTie.Length == 2)
+                    {
+                        var triBuff = BuffTableRepo.Get(skill.BuffTie[1]);
+                        triggerName = triBuff.Name;
+                    }
+                    else
+                    {
+                        triggerName = skill.Name;
+                    }
+                    quality = (EQualityLevel)skill.Quality;
                 }
                 else
                 {
                     var epigraph = EpigraphTableRepo.Get(dto.skillId);
-                    skillName = epigraph.Name;
+                    triggerName = epigraph.Name;
+                    quality = epigraph.Quality;
                 }
-                VM.TriggerNameLabel.text = $"[{skillName}]";
-                VM.TipsLabel.text = dto.layer == dto.layerLimit ? "攻击触发" : "即将触发";
+                VM.TriggerNameLabel.text = string.Format(StringDefine.common_bracket, triggerName);
+                VM.TriggerNameLabel.color = quality.ToEquipNameColor();
+                VM.TipsLabel.text = dto.layer == dto.layerLimit ? StringDefine.buff_preview_tips_attack : StringDefine.buff_preview_tips_coming;
             }
         }
     }

+ 6 - 6
fl-fgui-project/assets/Main/BuffInfoListItem.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="756,124" pivot="0.5,0.5" opaque="false" designImage="ui://rbw1tv9tsbc193" designImageOffsetY="-1006" designImageLayer="1">
-  <controller name="BgCtrl" pages="0,false,1,true" selected="1">
+<component size="756,124" pivot="0.5,0.5" opaque="false" designImage="ui://rbw1tv9thq2e96" designImageOffsetY="-1006" designImageLayer="1">
+  <controller name="BgCtrl" pages="0,false,1,true" selected="0">
     <remark page="0" value="未选中"/>
     <remark page="1" value="选中"/>
   </controller>
@@ -14,13 +14,13 @@
     <image id="n8_sbc1" name="n8" src="sbc18w" fileName="images/Daojudikuang.png" xy="16,4"/>
     <loader id="n2_huso" name="PartnerBgIcon" xy="16,4" size="216,114" touchable="false"/>
     <loader id="n1_huso" name="PartnerIcon" xy="16,4" size="216,114" touchable="false"/>
-    <loader id="n4_huso" name="BuffIcon" xy="425,17" size="78,78" touchable="false"/>
+    <loader id="n4_huso" name="BuffIcon" xy="425,17" size="78,78" touchable="false" fill="scaleFree"/>
     <component id="n5_huso" name="BuffLayerPar" src="huso8u" fileName="Components/BuffInfoPar.xml" xy="524,64" size="171,25" touchable="false">
       <ProgressBar value="4" max="5"/>
     </component>
-    <text id="n3_huso" name="TriggerNameLabel" xy="247,16" size="142,36" fontSize="20" color="#ffffff" vAlign="middle" autoSize="none" strokeColor="#000000" text="[ 远古毒素]"/>
-    <text id="n7_huso" name="TipsLabel" xy="247,54" size="142,36" fontSize="20" color="#ff3300" vAlign="middle" autoSize="none" text="即将触发"/>
-    <text id="n6_huso" name="BuffNameLabel" xy="521,17" size="142,36" fontSize="20" color="#ffffff" vAlign="middle" autoSize="none" strokeColor="#000000" text="致命毒素"/>
+    <text id="n3_huso" name="TriggerNameLabel" xy="247,16" size="142,36" fontSize="26" color="#ffffff" vAlign="middle" autoSize="none" text="[ 远古毒素]"/>
+    <text id="n7_huso" name="TipsLabel" xy="247,54" size="142,36" fontSize="26" color="#ff3300" vAlign="middle" autoSize="none" text="即将触发"/>
+    <text id="n6_huso" name="BuffNameLabel" xy="521,17" size="142,36" fontSize="26" color="#ffffff" vAlign="middle" autoSize="none" text="致命毒素"/>
   </displayList>
   <scriptData genuitypehuso8t="2" gencodehuso8t="1"/>
 </component>

+ 23 - 0
fl-fgui-project/assets/Main/BuffPreviewPanel.xml

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="756,1344">
+  <displayList>
+    <component id="n0_nvfk" name="BackGround" src="c95i2g" fileName="BackGroundNested.xml" pkg="gt6q23qw" xy="0,0">
+      <relation target="" sidePair="width-width,height-height"/>
+    </component>
+    <image id="n3_nvfk" name="n3" src="sbc191" fileName="images/Shanglalandikuang.png" xy="0,289" size="756,620"/>
+    <image id="n2_nvfk" name="n2" src="ouxy88" fileName="images/Dibuyeqianbeijing.png" xy="0,240" size="756,57"/>
+    <text id="n5_nvfk" name="n5" xy="258,251" size="240,42" fontSize="30" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="技能预告"/>
+    <component id="n4_nvfk" name="CloseBtn" src="nvfk9b" fileName="Components/CloseBtn.xml" xy="692,234" size="63,61" aspect="true"/>
+    <list id="n1_nvfk" name="BuffInfoList" xy="0,300" size="756,600" overflow="scroll" defaultItem="ui://rbw1tv9thuso8t" align="center" autoClearItems="true">
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+    </list>
+  </displayList>
+  <scriptData gencodenvfk9a="1"/>
+</component>

+ 15 - 0
fl-fgui-project/assets/Main/Components/BuffShowBtn.xml

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="40,40" pivot="0.5,0.5" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
+  <displayList>
+    <image id="n0_hq2e" name="n0" src="ouxy82" fileName="images/Shizhong.png" xy="0,0">
+      <gearDisplay controller="button" pages="0,2"/>
+      <relation target="" sidePair="width-width,height-height"/>
+    </image>
+    <image id="n1_hq2e" name="n1" src="ouxy82" fileName="images/Shizhong.png" xy="0,0">
+      <gearDisplay controller="button" pages="1,3"/>
+      <relation target="" sidePair="width-width,height-height"/>
+    </image>
+  </displayList>
+  <Button downEffect="scale" downEffectValue=".9"/>
+</component>

+ 15 - 0
fl-fgui-project/assets/Main/Components/CloseBtn.xml

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="95,102" pivot="0.5,0.5" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
+  <displayList>
+    <image id="n0_nvfk" name="n0" src="o4lw31" fileName="images/Close.png" xy="0,0">
+      <gearDisplay controller="button" pages="0,2"/>
+      <relation target="" sidePair="width-width,height-height"/>
+    </image>
+    <image id="n1_nvfk" name="n1" src="o4lw31" fileName="images/Close.png" xy="0,0">
+      <gearDisplay controller="button" pages="1,3"/>
+      <relation target="" sidePair="width-width,height-height"/>
+    </image>
+  </displayList>
+  <Button downEffect="scale" downEffectValue=".9"/>
+</component>

+ 20 - 0
fl-fgui-project/assets/Main/HomeBuffInfoNested.xml

@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="200,160" pivot="0.5,0.5" opaque="false" designImageOffsetY="-1006" designImageLayer="1">
+  <controller name="ShowInfoCtrl" pages="0,false,1,true" selected="1">
+    <remark page="0" value="没有buff"/>
+  </controller>
+  <displayList>
+    <component id="n11_hq2e" name="BuffShowBtn" src="hq2e98" fileName="Components/BuffShowBtn.xml" xy="125,86" size="70,70"/>
+    <image id="n9_sbc1" name="n9" src="sbc18y" fileName="images/Neirongdikuang1.png" xy="-1,3" pivot="0.5,0.5" size="200,80" group="n12_hq2e"/>
+    <loader id="n4_huso" name="BuffIcon" xy="12,36" size="40,40" group="n12_hq2e" touchable="false" fill="scaleFree"/>
+    <component id="n5_huso" name="BuffLayerPar" src="huso8u" fileName="Components/BuffInfoPar.xml" xy="55,42" size="138,25" group="n12_hq2e" touchable="false">
+      <ProgressBar value="4" max="5"/>
+    </component>
+    <text id="n3_huso" name="TriggerNameLabel" xy="8,9" size="92,24" group="n12_hq2e" fontSize="16" color="#009933" vAlign="middle" autoSize="none" text="[ 远古毒素]"/>
+    <text id="n7_huso" name="TipsLabel" xy="103,9" size="80,24" group="n12_hq2e" fontSize="16" color="#ff3300" vAlign="middle" autoSize="none" text="即将触发"/>
+    <group id="n12_hq2e" name="n12" xy="-1,3" size="200,80" advanced="true">
+      <gearDisplay controller="ShowInfoCtrl" pages="1"/>
+    </group>
+  </displayList>
+  <scriptData genuitypehuso8t="2" gencodehuso8t="1" gencodehq2e99="1" genuitypehq2e99="1"/>
+</component>

+ 1 - 20
fl-fgui-project/assets/Main/HomePanel.xml

@@ -36,17 +36,10 @@
     <component id="n74_o4lw" name="GoldBox" src="o4lw2s" fileName="Components/GuaJiBaoXiang.xml" xy="9,969" size="96,82" group="n197_dw56" aspect="true"/>
     <component id="n127_o4lw" name="TaskBtn" src="o4lw49" fileName="Components/TaskBtn.xml" xy="2,1063" size="238,70" group="n197_dw56"/>
     <component id="n266_m6gm" name="SheZhiBtn" src="m6gm8q" fileName="Components/SheZhiBtn.xml" xy="675,1051" group="n197_dw56"/>
+    <component id="n278_hq2e" name="BuffInfo" src="hq2e99" fileName="HomeBuffInfoNested.xml" xy="467,970" group="n197_dw56"/>
     <group id="n197_dw56" name="Bottom" xy="2,969" size="746,164" advanced="true">
       <relation target="" sidePair="bottom-bottom"/>
     </group>
-    <image id="n273_sbc1" name="n273" src="sbc190" fileName="images/Shanglalan.png" xy="0,1105" size="378,69" group="n275_sbc1" flip="hz"/>
-    <image id="n272_sbc1" name="n272" src="sbc190" fileName="images/Shanglalan.png" xy="378,1105" size="378,69" group="n275_sbc1"/>
-    <image id="n271_sbc1" name="n271" src="sbc191" fileName="images/Shanglalandikuang.png" xy="0,1173" size="756,137" group="n275_sbc1"/>
-    <component id="n274_sbc1" name="BuffListBtn" src="sbc194" fileName="Components/BuffListBtn.xml" xy="330,1118" group="n275_sbc1"/>
-    <component id="n270_huso" name="NearestBuffInfo" src="huso8t" fileName="BuffInfoListItem.xml" xy="1,1178" group="n275_sbc1" touchable="false"/>
-    <group id="n275_sbc1" name="BuffList" xy="0,1105" size="757,205" visible="false" advanced="true">
-      <relation target="" sidePair="bottom-bottom"/>
-    </group>
     <image id="n268_m6gm" name="n268" src="ouxy7z" fileName="images/Xinxineirongbeijing.png" xy="0,1136" size="756,50" group="n276_sbc1"/>
     <component id="n267_m6gm" name="XinXiBtn" src="m6gm8s" fileName="Components/XinXiBtn.xml" xy="13,1148" group="n276_sbc1"/>
     <text id="n125_o4lw" name="XinWen" xy="64,1145" size="195,26" group="n276_sbc1" font="ui://rbw1tv9ttlco4h" fontSize="18" color="#ffffff" align="right" vAlign="middle" ubb="true" strokeColor="#000000" text="[color=#e99393][新闻][/color]:你有1条红包消息"/>
@@ -54,17 +47,5 @@
       <relation target="" sidePair="bottom-bottom"/>
     </group>
   </displayList>
-  <transition name="BuffShowClip">
-    <item time="0" type="Visible" target="n275_sbc1" value="true"/>
-    <item time="0" type="XY" target="n197_dw56" tween="true" startValue="2,969" endValue="2,795" duration="12" ease="Linear"/>
-    <item time="0" type="XY" target="n275_sbc1" tween="true" startValue="0,1105" endValue="0,931" duration="12" ease="Linear"/>
-    <item time="12" type="Visible" target="n275_sbc1" value="true"/>
-  </transition>
-  <transition name="BuffHideClip">
-    <item time="0" type="Visible" target="n275_sbc1" value="true"/>
-    <item time="0" type="XY" target="n197_dw56" tween="true" startValue="2,795" endValue="2,969" duration="12" ease="Linear"/>
-    <item time="0" type="XY" target="n275_sbc1" tween="true" startValue="0,931" endValue="0,1105" duration="12" ease="Linear"/>
-    <item time="12" type="Visible" target="n275_sbc1" value="false"/>
-  </transition>
   <scriptData gencodefvaib="1"/>
 </component>

+ 5 - 1
fl-fgui-project/assets/Main/package.xml

@@ -183,7 +183,7 @@
     <image id="ouxy85" name="Shezhi.png" path="/images/"/>
     <image id="ouxy86" name="Renwukuang.png" path="/images/"/>
     <image id="ouxy87" name="Dengjikuang.png" path="/images/"/>
-    <image id="ouxy88" name="Dibuyeqianbeijing.png" path="/images/"/>
+    <image id="ouxy88" name="Dibuyeqianbeijing.png" path="/images/" scale="9grid" scale9grid="18,14,36,28"/>
     <image id="ouxy89" name="Guajibaoxiang.png" path="/images/"/>
     <image id="ouxy8a" name="Guanbi.png" path="/images/"/>
     <image id="ouxy8c" name="Huobibeijing.png" path="/images/"/>
@@ -215,6 +215,10 @@
     <image id="sbc195" name="Anniu1.png" path="/images/"/>
     <image id="hq2e96" name="主界面提醒02.png" path="/noExport/"/>
     <image id="hq2e97" name="主界面提醒03.png" path="/noExport/"/>
+    <component id="hq2e98" name="BuffShowBtn.xml" path="/Components/"/>
+    <component id="hq2e99" name="HomeBuffInfoNested.xml" path="/" exported="true"/>
+    <component id="nvfk9a" name="BuffPreviewPanel.xml" path="/" exported="true"/>
+    <component id="nvfk9b" name="CloseBtn.xml" path="/Components/"/>
   </resources>
   <publish name="" genCode="true" excluded="oe3g1e,oe3g1f,q5na1,q5na2,v4hi6g,q5na5o,o4lw48,m08t6w,ouxy7n,ouxy7o,hq2e96,hq2e97">
     <atlas name="Default" index="0"/>