尺码表信息传递到草稿箱 选品相关功能优化

This commit is contained in:
wule committed 2025-07-18 18:18:08 +08:00
1 parent 40bf0623ca
commit 39cfc15188
34 files changed
+5562 -1581

No files matched your search

+9 -7
View File
@@ -149,12 +149,14 @@ namespace TemuKJD
CefSettings settings = new CefSettings();
//settings.UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36";
//settings.UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36";
settings.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36";
settings.CefCommandLineArgs.Add("disable-gpu", "1");
//settings.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36";
settings.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
settings.CefCommandLineArgs.Add("disable-gpu", "1"); // 禁止显卡加速
settings.IgnoreCertificateErrors = true;
settings.Locale = "zh-CN";
settings.LogSeverity = LogSeverity.Disable;
settings.CachePath = Path.Combine(Environment.CurrentDirectory, "Cache");
//settings.CachePath = Path.Combine(Environment.CurrentDirectory, "Cache");
settings.CachePath = null; //禁止缓存
Cef.Initialize(settings);
}
@@ -222,10 +224,10 @@ namespace TemuKJD
;
// 是否显示联系客服按钮
if (FileBase.Exists("locales/ig.pak") || FileBase.Exists("locales/wl.pak"))
lblContactSupport.Visible = false;
else
lblContactSupport.Visible = true;
//if (FileBase.Exists("locales/ig.pak") || FileBase.Exists("locales/wl.pak"))
// lblContactSupport.Visible = false;
//else
// lblContactSupport.Visible = true;
Task.Run(() =>
{