zhaoyang 2 years ago
parent
commit
c29e54220b

+ 2 - 1
FGUIProject/assets/poem/componentsGallery/ComNormal.xml

@@ -68,7 +68,8 @@
     <component id="n36_r9ri" name="comScroll" src="r9ri139" fileName="componentsGallery/ComScroll.xml" xy="24,483">
       <relation target="" sidePair="height-height"/>
     </component>
-    <component id="n37_r9ri" name="comBoBox" src="r9ri13a" fileName="componentsGallery/ComboBoxSuit.xml" xy="763,409">
+    <component id="n37_r9ri" name="comBoBox" src="r9ri13a" fileName="componentsGallery/ComboBox.xml" xy="763,409">
+      <gearDisplay controller="c1" pages="0,1"/>
       <ComboBox visibleItemCount="10"/>
     </component>
   </displayList>

+ 0 - 6
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemGalleryPreviewView.cs

@@ -89,8 +89,6 @@ namespace GFGGame
                 bool result = await PoemGallerySProxy.ReqCancelCollecteGalleryWorks(_galleryData.WorkId);
                 if (result)
                 {
-                    // _galleryData.CollectOrNot = false;
-                    // _galleryData.CollectCount = _galleryData.CollectCount - 1;
                     UpdateView();
                 }
             }
@@ -99,8 +97,6 @@ namespace GFGGame
                 bool result = await PoemGallerySProxy.ReqCollecteGalleryWorks(_galleryData.WorkId);
                 if (result)
                 {
-                    // _galleryData.CollectOrNot = true;
-                    // _galleryData.CollectCount = _galleryData.CollectCount + 1;
                     UpdateView();
                 }
             }
@@ -113,8 +109,6 @@ namespace GFGGame
             bool result = await PoemGallerySProxy.ReqVoteGalleryWorks(_galleryData.WorkId);
             if (result)
             {
-                // _galleryData.VoteOrNot = true;
-                // _galleryData.CollectCount = _galleryData.CollectCount + 1;
                 UpdateView();
                 int Count = GameGlobal.myNumericComponent.GetAsInt(NumericType.LikeGalleryWorksCountDaily);
                 GalleryIntegralCfg integralCfg = GalleryIntegralCfgArray.Instance.GetCfg(Count);

BIN
GameClient/Assets/ResIn/UI/Poem/Poem_fui.bytes