| | |
| | | items.Add(proxy.GetWidgtEx<ItemCell>("ItemCell" + i)); |
| | | } |
| | | |
| | | var obj = buyBtn.FindComponent("TextEx", "Txt_orgPrice"); |
| | | var obj = buyBtn.FindComponent("Text", "Txt_orgPrice"); |
| | | if (obj != null) |
| | | orgPrice = obj as TextEx; |
| | | } |
| | |
| | | btnBuy = proxy.GetWidgtEx<ButtonEx>("btnBuy");
|
| | | imgBuy = proxy.GetWidgtEx<ImageEx>("imgBuy");
|
| | |
|
| | | var obj = btnBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | var obj1 = btnBuyList[i].FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj1 = btnBuyList[i].FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj1 != null)
|
| | | orgPriceList.Add(obj1 as TextEx);
|
| | | }
|
| | |
| | | showLineList.Add(showItemImgList);
|
| | | }
|
| | |
|
| | | var obj = btnAllBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnAllBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgAllPrice = obj as TextEx;
|
| | | }
|
| | |
| | | Money = proxy.GetWidgtEx<Text>("Money"); |
| | | moneyOnSale = proxy.GetWidgtEx<Text>("moneyOnSale");
|
| | |
|
| | | var obj = Buy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = Buy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx; |
| | | } |
| | |
| | | btnBuy = proxy.GetWidgtEx<ButtonEx>("btnBuy");
|
| | | imgBuy = proxy.GetWidgtEx<ImageEx>("imgBuy");
|
| | |
|
| | | var obj = btnBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | imgBuyNow = proxy.GetWidgtEx<ImageEx>("imgBuyNow");
|
| | | imgTimeOutNow = proxy.GetWidgtEx<ImageEx>("imgTimeOutNow");
|
| | |
|
| | | var obj = btnBuyNow.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuyNow.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | btnClose = proxy.GetWidgtEx<ButtonEx>("btnClose");
|
| | | btnBuy = proxy.GetWidgtEx<ButtonEx>("btnBuy");
|
| | | imgBuy = proxy.GetWidgtEx<ImageEx>("imgBuy");
|
| | | var obj = btnBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | title = proxy.GetWidgtEx<Text>("title");
|
| | | timeText = proxy.GetWidgtEx<Text>("time");
|
| | | saleInfo = proxy.GetWidgtEx<Text>("saleinfo");
|
| | | var obj = Btn_Buy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = Btn_Buy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | btnBuy = proxy.GetWidgtEx<ButtonEx>("btnBuy");
|
| | | imgBuy = proxy.GetWidgtEx<ImageEx>("imgBuy");
|
| | |
|
| | | var obj = btnBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | ttlbpcell = proxy.GetWidgtEx<Transform>("ttlbpcell"); |
| | | scoreLimit = proxy.GetWidgtEx<Text>("scoreLimit");
|
| | |
|
| | | var obj = buyTTL.FindComponent("TextEx", "Txt_orgPrice"); |
| | | var obj = buyTTL.FindComponent("Text", "Txt_orgPrice"); |
| | | if (obj != null) |
| | | orgPrice = obj as TextEx; |
| | | } |
| | |
| | |
|
| | | protected override void BindController()
|
| | | {
|
| | | var obj = btnBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | vipModel.TryGetOrderInfo(ctgID, out orderConfig);
|
| | | priceText.text = Language.Get("PayMoneyNum", UIHelper.GetMoneyFormat(orderConfig.PayRMBNum));
|
| | |
|
| | | var obj = buyBtn.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = buyBtn.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | |
|
| | |
| | | PackModel packModel { get { return ModelCenter.Instance.GetModelEx<PackModel>(); } } |
| | | protected override void BindController() |
| | | {
|
| | | var obj = buyBtn.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = buyBtn.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx; |
| | | } |
| | |
| | |
|
| | | protected override void BindController() |
| | | {
|
| | | var obj = btnBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | } |
| | |
| | |
|
| | | protected override void BindController() |
| | | {
|
| | | var obj = btnBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | } |
| | |
| | | imgProfitRatio.SetActive(orderConfig != null); |
| | | priceText.text = Language.Get("PayMoneyNum", UIHelper.GetMoneyFormat(orderConfig.PayRMBNum));
|
| | |
|
| | | var obj = buyBtn.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = buyBtn.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | if (orgPrice != null) |
| | |
| | |
|
| | | protected override void BindController()
|
| | | {
|
| | | var obj = btnBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | vipModel.TryGetOrderInfo(ctgID, out orderConfig); |
| | | |
| | | priceText.text = Language.Get("PayMoneyNum", UIHelper.GetMoneyFormat(orderConfig.PayRMBNum));
|
| | | var obj = buyBtn.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = buyBtn.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | if (orgPrice != null)
|
| | |
| | | |
| | | priceText.text = isFree ? Language.Get("AloneFree") : Language.Get("ItemOverdue105", storeConfig.MoneyNumber);
|
| | |
|
| | | var obj = buyBtn.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = buyBtn.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | if (orgPrice != null)
|
| | |
| | | #region Built-in
|
| | | protected override void BindController()
|
| | | {
|
| | | var obj = m_RechargeBtn.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = m_RechargeBtn.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | [SerializeField] Image m_BuyComplete;
|
| | | [SerializeField] Image m_FirstBuy;
|
| | | [SerializeField] Image m_FisrtRechargeSign;
|
| | | [SerializeField] TextEx orgPrice;
|
| | |
|
| | | VipModel m_Model;
|
| | | VipModel model
|
| | |
| | | chargeId = _id;
|
| | | m_ChargeIcon.SetSprite(config.Icon);
|
| | | m_PriceValue.text = Language.Get("PayMoneyNumEx", UIHelper.GetMoneyFormat(model.GetPayRmb(config.RecordID)));
|
| | | orgPrice.text = Language.Get("PayMoneyNum", UIHelper.GetMoneyFormat(model.GetOrgPayRmb(config.RecordID)));
|
| | |
|
| | | if (m_GetGoldValue != null)
|
| | | {
|
| | | m_GetGoldValue.SetActive(config.GainGold > 0);
|
| | |
| | | #region Built-in
|
| | | protected override void BindController()
|
| | | {
|
| | | var obj = m_RechargeBtn.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = m_RechargeBtn.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | #region Built-in
|
| | | protected override void BindController()
|
| | | {
|
| | | var obj = m_RechargeBtn.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = m_RechargeBtn.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | #region Built-in
|
| | | protected override void BindController()
|
| | | {
|
| | | var obj = m_Invest.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = m_Invest.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|
| | |
| | | { |
| | | m_BtnTxt.text = Language.Get("PriceBuy", UIHelper.GetMoneyFormat(orderInfoConfig.PayRMBNum));
|
| | |
|
| | | var obj = m_GetBtn.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = m_GetBtn.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | |
|
| | |
| | | #region Built-in |
| | | protected override void BindController() |
| | | {
|
| | | var obj = m_BuyBattelPass.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = m_BuyBattelPass.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx; |
| | | } |
| | |
| | |
|
| | | protected override void BindController()
|
| | | {
|
| | | var obj = btnBuy.FindComponent("TextEx", "Txt_orgPrice");
|
| | | var obj = btnBuy.FindComponent("Text", "Txt_orgPrice");
|
| | | if (obj != null)
|
| | | orgPrice = obj as TextEx;
|
| | | }
|