From d0d289d502fe85e9bb597ced1b41c73b8bc75889 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期四, 14 三月 2019 10:41:23 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Store/StoreWin.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/Store/StoreWin.cs b/System/Store/StoreWin.cs
index 723b915..64b3805 100644
--- a/System/Store/StoreWin.cs
+++ b/System/Store/StoreWin.cs
@@ -338,7 +338,7 @@
var config = ItemConfig.Get(model.GetReplaceId(shopInfo.ID, shopInfo.ItemID));
if (config != null)
{
- ItemCellModel cellModel = new ItemCellModel(config.ID, true, 0, shopInfo.IsBind, "", PackType.Deleted, true);
+ ItemCellModel cellModel = new ItemCellModel(config.ID, true, 0,"", PackType.Deleted, true);
shopItemCell.itemCell.Init(cellModel);
shopItemCell.itemNameText.text = config.ItemName;
shopItemCell.coinsIcon.SetIconWithMoneyType(shopInfo.MoneyType);
@@ -390,7 +390,7 @@
}
else
{
- var remainNumDescription = remainNum > 0 ? remainNum.ToString() : UIHelper.AppendStringColor(TextColType.Red, remainNum.ToString());
+ var remainNumDescription = remainNum > 0 ? remainNum.ToString() : UIHelper.AppendColor(TextColType.Red, remainNum.ToString());
shopItemCell.itemCell.countText.text = StringUtility.Contact(remainNumDescription, "/", canBuyCnt);
}
--
Gitblit v1.8.0