zhaoyang 2 жил өмнө
parent
commit
11c98a1162
21 өөрчлөгдсөн 452 нэмэгдсэн , 2 устгасан
  1. 19 0
      FGUIProject/assets/RechargeStore/StoreUI.xml
  2. 9 0
      FGUIProject/assets/RechargeStore/components/Button3.xml
  3. 16 0
      FGUIProject/assets/RechargeStore/components/Button4.xml
  4. BIN
      FGUIProject/assets/RechargeStore/imagesNew/sc_jiazi.png
  5. BIN
      FGUIProject/assets/RechargeStore/imagesNew/sc_kuangjia.png
  6. BIN
      FGUIProject/assets/RechargeStore/imagesNew/sc_lianzi.png
  7. BIN
      FGUIProject/assets/RechargeStore/imagesNew/sc_line1.png
  8. BIN
      FGUIProject/assets/RechargeStore/imagesNew/sc_line2.png
  9. 7 2
      FGUIProject/assets/RechargeStore/package.xml
  10. 83 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/RechargeStore/UI_StoreUI.cs
  11. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/RechargeStore/UI_StoreUI.cs.meta
  12. 104 0
      GameClient/Assets/Game/HotUpdate/Views/RechargeStore/StoreView.cs
  13. 11 0
      GameClient/Assets/Game/HotUpdate/Views/RechargeStore/StoreView.cs.meta
  14. BIN
      GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes
  15. BIN
      GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0!a.png
  16. BIN
      GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0.png
  17. BIN
      GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0_1!a.png
  18. 96 0
      GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0_1!a.png.meta
  19. BIN
      GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0_1.png
  20. 96 0
      GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0_1.png.meta
  21. BIN
      GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_fui.bytes

+ 19 - 0
FGUIProject/assets/RechargeStore/StoreUI.xml

@@ -7,5 +7,24 @@
     <component id="n1_fqor" name="btnBack" src="9xlo8" fileName="components/BtnBack.xml" pkg="eg2y0ldp" xy="35,80" group="n3_fqor"/>
     <component id="n2_fqor" name="valueBar" src="v3541v" fileName="components/ComponentValueBar.xml" pkg="eg2y0ldp" xy="0,95" group="n3_fqor" controller="c1,10"/>
     <group id="n3_fqor" name="n3" xy="0,-240" size="1080,2400"/>
+    <image id="n6_fqor" name="n6" src="fqortb0" fileName="imagesNew/sc_kuangjia.png" xy="0,175">
+      <relation target="" sidePair="height-height"/>
+    </image>
+    <image id="n8_fqor" name="n8" src="fqortb2" fileName="imagesNew/sc_line2.png" xy="55,325"/>
+    <image id="n9_fqor" name="n9" src="fqortb3" fileName="imagesNew/sc_line1.png" xy="81,444"/>
+    <list id="n5_fqor" name="listTab" xy="120,270" size="857,129" layout="row" overflow="scroll" scroll="horizontal" colGap="70" defaultItem="ui://vlgobc15fqortb1" autoClearItems="true">
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+    </list>
+    <list id="n7_fqor" name="listSubTab" xy="119,412" size="858,67" layout="row" overflow="scroll" scroll="horizontal" colGap="5" defaultItem="ui://vlgobc15fqortb4" autoClearItems="true">
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+    </list>
   </displayList>
 </component>

+ 9 - 0
FGUIProject/assets/RechargeStore/components/Button3.xml

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="128,128" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="1"/>
+  <displayList>
+    <image id="n0_fqor" name="n0" src="fqortax" fileName="imagesNew/sc_tab.png" xy="0,0"/>
+    <loader id="n1_fqor" name="icon" xy="11,11" pivot="0.5,0.5" size="106,106" url="ui://vlgobc15fqortan" autoSize="true"/>
+  </displayList>
+  <Button/>
+</component>

+ 16 - 0
FGUIProject/assets/RechargeStore/components/Button4.xml

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="210,68" extention="Button">
+  <controller name="button" pages="0,up,1,down" selected="0"/>
+  <displayList>
+    <image id="n0_fqor" name="n0" src="fqortaw" fileName="imagesNew/sc_subtab.png" xy="0,0">
+      <gearDisplay controller="button" pages="0,2"/>
+    </image>
+    <image id="n1_fqor" name="n1" src="fqortav" fileName="imagesNew/sc_subTab_xz.png" xy="0,0">
+      <gearDisplay controller="button" pages="1,3"/>
+    </image>
+    <text id="n2_fqor" name="title" xy="0,0" size="210,68" font="ui://eg2y0ldpa0cftks" fontSize="32" color="#716660" align="center" vAlign="middle" autoSize="none" singleLine="true" text="充值">
+      <gearColor controller="button" pages="0,1" values="#716660,#000000|#5a3e16,#000000"/>
+    </text>
+  </displayList>
+  <Button mode="Radio"/>
+</component>

BIN
FGUIProject/assets/RechargeStore/imagesNew/sc_jiazi.png


BIN
FGUIProject/assets/RechargeStore/imagesNew/sc_kuangjia.png


BIN
FGUIProject/assets/RechargeStore/imagesNew/sc_lianzi.png


BIN
FGUIProject/assets/RechargeStore/imagesNew/sc_line1.png


BIN
FGUIProject/assets/RechargeStore/imagesNew/sc_line2.png


+ 7 - 2
FGUIProject/assets/RechargeStore/package.xml

@@ -40,7 +40,7 @@
     <component id="iftftaf" name="Component2.xml" path="/components/"/>
     <image id="t8xrtag" name="sc_kuangdikjia_3.png" path="/images/"/>
     <image id="qqattah" name="scsc_fuhao.png" path="/images/"/>
-    <component id="fqor7x" name="StoreUI.xml" path="/"/>
+    <component id="fqor7x" name="StoreUI.xml" path="/" exported="true"/>
     <image id="fqortai" name="sc_zhuangshishan.png" path="/imagesNew/"/>
     <image id="fqortaj" name="sc_tab_yueka_xuanzhong.png" path="/imagesNew/"/>
     <image id="fqortak" name="sc_tab_yueka.png" path="/imagesNew/"/>
@@ -52,12 +52,17 @@
     <image id="fqortaq" name="sc_tab_xuanzhong.png" path="/imagesNew/"/>
     <image id="fqortar" name="sc_xiangqing.png" path="/imagesNew/"/>
     <image id="fqortas" name="sc_jinxiexian.png" path="/imagesNew/"/>
-    <image id="fqortat" name="sc_jiazi.png" path="/imagesNew/"/>
     <image id="fqortau" name="sc_xian.png" path="/imagesNew/"/>
     <image id="fqortav" name="sc_subTab_xz.png" path="/imagesNew/"/>
     <image id="fqortaw" name="sc_subtab.png" path="/imagesNew/"/>
     <image id="fqortax" name="sc_tab.png" path="/imagesNew/"/>
     <image id="fqortay" name="sc_zhuangshihua1.png" path="/imagesNew/"/>
+    <image id="fqortaz" name="sc_lianzi.png" path="/imagesNew/"/>
+    <image id="fqortb0" name="sc_kuangjia.png" path="/imagesNew/" scale="9grid" scale9grid="270,433,540,641"/>
+    <component id="fqortb1" name="Button3.xml" path="/components/"/>
+    <image id="fqortb2" name="sc_line2.png" path="/imagesNew/"/>
+    <image id="fqortb3" name="sc_line1.png" path="/imagesNew/"/>
+    <component id="fqortb4" name="Button4.xml" path="/components/"/>
   </resources>
   <publish name="" path="..\GameClient\Assets\ResIn\UI\RechargeStore" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 83 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/RechargeStore/UI_StoreUI.cs

@@ -0,0 +1,83 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.RechargeStore
+{
+    public partial class UI_StoreUI
+    {
+        public GComponent target;
+        public GLoader m_loaBg;
+        public GButton m_btnBack;
+        public GComponent m_valueBar;
+        public GList m_listTab;
+        public GList m_listSubTab;
+        public const string URL = "ui://vlgobc15fqor7x";
+        public const string PACKAGE_NAME = "RechargeStore";
+        public const string RES_NAME = "StoreUI";
+        private static UI_StoreUI _proxy;
+
+        public static UI_StoreUI Create(GObject gObject = null)
+        {
+            var ui = new UI_StoreUI();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_StoreUI Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_StoreUI();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_loaBg = (GLoader)comp.GetChild("loaBg");
+            m_btnBack = (GButton)comp.GetChild("btnBack");
+            m_valueBar = (GComponent)comp.GetChild("valueBar");
+            m_listTab = (GList)comp.GetChild("listTab");
+            m_listSubTab = (GList)comp.GetChild("listSubTab");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_loaBg = null;
+            m_btnBack = null;
+            m_valueBar = null;
+            m_listTab = null;
+            m_listSubTab = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/RechargeStore/UI_StoreUI.cs.meta

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

+ 104 - 0
GameClient/Assets/Game/HotUpdate/Views/RechargeStore/StoreView.cs

@@ -0,0 +1,104 @@
+using UI.RechargeStore;
+using UI.CommonGame;
+using FairyGUI;
+using System.Collections.Generic;
+using ET;
+
+namespace GFGGame
+{
+    public class StoreView : BaseWindow
+    {
+        private Dictionary<int, Dictionary<int, List<string>>> _tabDic = new Dictionary<int, Dictionary<int, List<string>>>();
+        private Dictionary<int, List<string>> _subTabChargeDic = new Dictionary<int, List<string>>();
+        private Dictionary<int, List<string>> _subTabGiftBagDic = new Dictionary<int, List<string>>();
+        private Dictionary<int, List<string>> _subTabMonthCardDic = new Dictionary<int, List<string>>();
+        private Dictionary<int, List<string>> _subTabExchangeDic = new Dictionary<int, List<string>>();
+        private Dictionary<int, List<string>> _subTabArenaDic = new Dictionary<int, List<string>>();
+
+        private UI_StoreUI _ui;
+        private ValueBarController _valueBarController;
+
+        public override void Dispose()
+        {
+            if (_valueBarController != null)
+            {
+                _valueBarController.Dispose();
+                _valueBarController = null;
+            }
+
+            if (_ui != null)
+            {
+                _ui.Dispose();
+            }
+            _ui = null;
+            base.Dispose();
+        }
+
+        protected override void OnInit()
+        {
+            base.OnInit();
+            packageName = UI_StoreUI.PACKAGE_NAME;
+            _ui = UI_StoreUI.Create();
+            this.viewCom = _ui.target;
+            isfullScreen = true;
+
+            _tabDic[0] = _subTabChargeDic;
+            _tabDic[1] = _subTabGiftBagDic;
+            _tabDic[2] = _subTabMonthCardDic;
+            _tabDic[3] = _subTabExchangeDic;
+            _tabDic[4] = _subTabArenaDic;
+
+            _subTabChargeDic[0] = new List<string>() { "充值", "累计充值" };//充值
+            _subTabGiftBagDic[0] = new List<string>() { "活动", "限时", "精选", "热销" };//礼包
+            _subTabMonthCardDic[0] = new List<string>() { "金卡", "黑金卡" };//月卡
+            _subTabExchangeDic[0] = new List<string>() { "画廊商城" };//兑换
+            _subTabArenaDic[0] = new List<string>() { "道具" };//竞技场
+
+            _subTabChargeDic[1] = new List<string>() { "RechargeStoreView" };//充值
+            _subTabGiftBagDic[1] = new List<string>() { "GiftBagBuyView" };//礼包
+            _subTabMonthCardDic[1] = new List<string>() { };//月卡
+            _subTabExchangeDic[1] = new List<string>() { "ItemExchangeView" };//兑换
+            _subTabArenaDic[1] = new List<string>() { "" };//竞技场
+
+            _ui.m_btnBack.onClick.Add(OnClickBtnBack);
+
+            _valueBarController = new ValueBarController(_ui.m_valueBar);
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("scsc_bjbj");
+
+        }
+        protected override void AddEventListener()
+        {
+            base.AddEventListener();
+        }
+        protected override void OnShown()
+        {
+            base.OnShown();
+
+            _valueBarController.OnShown();
+
+
+        }
+
+        protected override void OnHide()
+        {
+            base.OnHide();
+            _valueBarController.OnHide();
+
+        }
+        protected override void RemoveEventListener()
+        {
+            base.RemoveEventListener();
+
+        }
+        private void OnClickBtnBack()
+        {
+            this.Hide();
+        }
+
+
+        private void UpdateRedDot()
+        {
+
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/RechargeStore/StoreView.cs.meta

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

BIN
GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes


BIN
GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0.png


BIN
GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0_1!a.png


+ 96 - 0
GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0_1!a.png.meta

@@ -0,0 +1,96 @@
+fileFormatVersion: 2
+guid: 35369a4bc84b7e3498093346ce86a40a
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 11
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+  spritePackingTag: 
+  pSDRemoveMatte: 0
+  pSDShowRemoveMatteOption: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0_1.png


+ 96 - 0
GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_atlas0_1.png.meta

@@ -0,0 +1,96 @@
+fileFormatVersion: 2
+guid: c53e7d90c354bae4f82d3eca55863415
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 11
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+  spritePackingTag: 
+  pSDRemoveMatte: 0
+  pSDShowRemoveMatteOption: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
GameClient/Assets/ResIn/UI/RechargeStore/RechargeStore_fui.bytes