1 bxx相关逻辑 2 店铺活动相关逻辑

This commit is contained in:
wule committed 2025-09-09 19:07:29 +08:00
1 parent fc017993df
commit b44fa2a6c3
35 files changed
+460 -3861

No files matched your search

+26 -4
View File
@@ -39,6 +39,7 @@ using AllBase.Model.Param.ProductManage;
using TemuKJD.KJDForms.SalesCenterForms;
using NaiBa.CefHelper.Handler;
using TemuKJD.KJDForms.AdminForms;
using TemuKJD.PDDForms.ShopForms;
namespace TemuKJD
{
@@ -141,6 +142,9 @@ namespace TemuKJD
InitializeComponent();
LoginType = loginType;
if (loginType == "Pdd")
BaseClass.MainPath = "binxixi";
instance = this;
this.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
}
@@ -190,6 +194,13 @@ namespace TemuKJD
//
//return;
if (BaseClass.MainPath == "binxixi")
{
//this.pbLogo.Image = Properties.Resources.main_form_logo_pdd;
BaseClass.LogoImage = Properties.Resources.main_form_logo_pdd;
BaseClass.Ico = Icon.FromHandle(Properties.Resources.system_pdd.GetHicon());
}
Rectangle rect = Screen.GetWorkingArea(this);
int width = rect.Width;
int height = rect.Height;
@@ -624,14 +635,25 @@ namespace TemuKJD
}
//internal GoodsCollectForm gcf;
private ShopForm shopForm;
private object shopForm;
private void pnlShop_Click(object sender, EventArgs e)
{
if (shopForm == null)
if (BaseClass.MainPath == "kuajingda")
{
shopForm = new ShopForm();
if (shopForm == null)
{
shopForm = new ShopForm();
}
ShowMainPanel(shopForm as ShopForm, sender as Panel);
}
else
{
if (shopForm == null)
{
shopForm = new MPddShopForm();
}
ShowMainPanel(shopForm as MPddShopForm, sender as Panel);
}
ShowMainPanel(shopForm, sender as Panel);
}
private AdminForm adminForm;