微信界面调整 拼多多买手售后单问题修复

This commit is contained in:
wule_5900x committed 2026-05-10 14:28:18 +08:00
1 parent f9572ea046
commit a3d15b1b3d
50 files changed
+2076 -1932

No files matched your search

+20 -29
View File
@@ -159,14 +159,17 @@ namespace TemuKJD
GlobalConfig.BorderColor = GlobalConfig.PddBorderColor;
this.pnlJit.Visible = false;
}
else if (loginType == "Dy")
{
BaseClass.MainPath = "douyin";
this.pnlJit.Visible = false;
}
else if (loginType == "Wx")
{
BaseClass.MainPath = "weixin";
GlobalConfig.MainColor = GlobalConfig.WeiXinMainColor;
GlobalConfig.MainColorLight = GlobalConfig.WeiXinMainColorLight;
GlobalConfig.BorderColor = GlobalConfig.WeiXinBorderColor;
this.pnlJit.Visible = false;
}
else if (loginType == "Dy")
{
BaseClass.MainPath = "douyin";
this.pnlJit.Visible = false;
}
@@ -176,6 +179,9 @@ namespace TemuKJD
//CefInit();
}
/// <summary>
/// 初始化cef InitCef
/// </summary>
public static void CefInit()
{
var initFormSettings = NaiBa.Util.Helper.ConfigHelper.LoadConfig<InitFormSettings>("initFormSettings");
@@ -224,42 +230,25 @@ namespace TemuKJD
private void MainForm_Load(object sender, EventArgs e)
{
//CefSettings settings = new CefSettings();
//settings.CefCommandLineArgs.Add("enable-media-stream", "1");
//settings.CefCommandLineArgs.Add("allow-running-insecure-content", "1");
//settings.CefCommandLineArgs.Add("use-fake-ui-for-media-stream", "1");
//settings.CefCommandLineArgs.Add("enable-speech-input", "1");
//settings.CefCommandLineArgs.Add("enable-usermedia-screen-capture", "1");
//settings.CefCommandLineArgs.Add("debug-plugin-loading", "1");
//settings.CefCommandLineArgs.Add("allow-outdated-plugins", "1");
//settings.CefCommandLineArgs.Add("always-authorize-plugins", "1");
//settings.CefCommandLineArgs.Add("disable-web-security", "1");
//settings.CefCommandLineArgs.Add("enable-npapi", "1");
//Cef.Initialize(settings);
//var cef = new ChromiumWebBrowser("https://www.bilibili.com");
//this.Controls.Add(cef);
//cef.BringToFront();
//
//return;
if (BaseClass.MainPath == "binxixi")
{
//BaseClass.Ico = Icon.FromHandle(Properties.Resources.system_pdd.GetHicon());
BaseClass.Ico = Icon.FromHandle(Properties.Resources.pdd_icon.GetHicon());
BaseClass.LogoImage = Properties.Resources.pdd_logo;
navPanel.Style.BackgroundImage = Properties.Resources.pdd_bg;
plTopRight.BackgroundImage = null;
this.BackColor = GlobalConfig.PddBorderColor;
lblVersionInfo.ForeColor = GlobalConfig.PddMainColorLight;
this.BackColor = GlobalConfig.BorderColor;
BaseClass.ToolName = "29供应链 - 多多管理工具";
}
if (BaseClass.MainPath == "weixin")
{
BaseClass.LogoImage = Properties.Resources.main_form_logo_wx;
BaseClass.Ico = Icon.FromHandle(Properties.Resources.system_wx.GetHicon());
BaseClass.Ico = Icon.FromHandle(Properties.Resources.weixin_icon.GetHicon());
BaseClass.LogoImage = Properties.Resources.weixin_logo;
navPanel.Style.BackgroundImage = Properties.Resources.weixin_bg;
plTopRight.BackgroundImage = null;
this.BackColor = GlobalConfig.BorderColor;
BaseClass.ToolName = "微信小店管理工具";
BaseClass.ToolName = "29供应链 - 微信小店管理工具";
}
Rectangle rect = Screen.GetWorkingArea(this);
@@ -471,6 +460,8 @@ namespace TemuKJD
public void SetTitle()
{
lblVersionInfo.Text = BaseClass.ToolName + " V" + BaseClass.Varsion + " - " + BaseClass.NickName;
lblVersionInfo.ForeColor = GlobalConfig.MainColorLight;
lblVersionName.Text = "[" + BaseClass.UserVersionString + "]";
#if DEBUG
lblVersionName.Visible = true;