拼多多界面优化 评分考核权限设置

This commit is contained in:
wule committed 2026-05-07 16:21:16 +08:00
1 parent ce23b0a49a
commit 05553a3ba3
46 files changed
+1269 -1170

No files matched your search

+46 -33
View File
@@ -29,13 +29,14 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm));
this.loginPanel = new DevComponents.DotNetBar.PanelEx();
this.btnLogin = new DevComponents.DotNetBar.PanelEx();
this.txtMobile = new DevComponents.DotNetBar.Controls.TextBoxX();
this.password = new DevComponents.DotNetBar.Controls.TextBoxX();
this.lblResetPassword = new DevComponents.DotNetBar.LabelX();
this.chkRemember = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.autoLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.closePanel = new DevComponents.DotNetBar.PanelEx();
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
this.lblSignUp = new DevComponents.DotNetBar.LabelX();
@@ -47,33 +48,34 @@
this.lblBuy = new DevComponents.DotNetBar.LabelX();
this.lblContactSupport = new DevComponents.DotNetBar.LabelX();
this.panelEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.panelEx3.SuspendLayout();
this.grpEnvironmentChoice.SuspendLayout();
this.SuspendLayout();
//
// loginPanel
// btnLogin
//
this.loginPanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.loginPanel.Cursor = System.Windows.Forms.Cursors.Hand;
this.loginPanel.DisabledBackColor = System.Drawing.Color.Empty;
this.loginPanel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.loginPanel.Location = new System.Drawing.Point(133, 244);
this.loginPanel.Name = "loginPanel";
this.loginPanel.Size = new System.Drawing.Size(194, 30);
this.loginPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
this.loginPanel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.loginPanel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.loginPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.loginPanel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.loginPanel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.loginPanel.Style.ForeColor.Color = System.Drawing.Color.White;
this.loginPanel.Style.GradientAngle = 90;
this.loginPanel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.loginPanel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.loginPanel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.loginPanel.TabIndex = 0;
this.loginPanel.Text = "安 全 登 录";
this.loginPanel.Click += new System.EventHandler(this.loginPanel_Click);
this.btnLogin.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnLogin.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnLogin.DisabledBackColor = System.Drawing.Color.Empty;
this.btnLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnLogin.Location = new System.Drawing.Point(133, 243);
this.btnLogin.Name = "btnLogin";
this.btnLogin.Size = new System.Drawing.Size(194, 30);
this.btnLogin.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnLogin.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnLogin.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnLogin.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnLogin.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnLogin.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnLogin.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnLogin.Style.GradientAngle = 90;
this.btnLogin.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnLogin.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnLogin.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnLogin.TabIndex = 0;
this.btnLogin.Text = "安 全 登 录";
this.btnLogin.Click += new System.EventHandler(this.loginPanel_Click);
//
// txtMobile
//
@@ -144,7 +146,7 @@
this.chkRemember.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.chkRemember.FocusCuesEnabled = false;
this.chkRemember.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chkRemember.Location = new System.Drawing.Point(134, 215);
this.chkRemember.Location = new System.Drawing.Point(134, 216);
this.chkRemember.Name = "chkRemember";
this.chkRemember.Size = new System.Drawing.Size(80, 22);
this.chkRemember.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -161,7 +163,7 @@
this.autoLogin.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.autoLogin.FocusCuesEnabled = false;
this.autoLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.autoLogin.Location = new System.Drawing.Point(243, 215);
this.autoLogin.Location = new System.Drawing.Point(243, 216);
this.autoLogin.Name = "autoLogin";
this.autoLogin.Size = new System.Drawing.Size(80, 22);
this.autoLogin.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -175,6 +177,7 @@
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.Controls.Add(this.pictureBox1);
this.panelEx1.Controls.Add(this.closePanel);
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Location = new System.Drawing.Point(0, 0);
@@ -196,6 +199,15 @@
this.panelEx1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panelEx1_MouseMove);
this.panelEx1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panelEx1_MouseUp);
//
// pictureBox1
//
this.pictureBox1.Location = new System.Drawing.Point(119, 12);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(192, 96);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 20;
this.pictureBox1.TabStop = false;
//
// closePanel
//
this.closePanel.CanvasColor = System.Drawing.SystemColors.Control;
@@ -301,7 +313,7 @@
//
this.grpEnvironmentChoice.Controls.Add(this.rbtPrd);
this.grpEnvironmentChoice.Controls.Add(this.rbtDev);
this.grpEnvironmentChoice.Location = new System.Drawing.Point(133, 274);
this.grpEnvironmentChoice.Location = new System.Drawing.Point(133, 273);
this.grpEnvironmentChoice.Name = "grpEnvironmentChoice";
this.grpEnvironmentChoice.Size = new System.Drawing.Size(194, 37);
this.grpEnvironmentChoice.TabIndex = 25;
@@ -313,7 +325,7 @@
this.rbtPrd.Checked = true;
this.rbtPrd.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rbtPrd.ForeColor = System.Drawing.SystemColors.InfoText;
this.rbtPrd.Location = new System.Drawing.Point(119, 11);
this.rbtPrd.Location = new System.Drawing.Point(119, 13);
this.rbtPrd.Name = "rbtPrd";
this.rbtPrd.Size = new System.Drawing.Size(47, 18);
this.rbtPrd.TabIndex = 27;
@@ -326,7 +338,7 @@
this.rbtDev.AutoSize = true;
this.rbtDev.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rbtDev.ForeColor = System.Drawing.SystemColors.InfoText;
this.rbtDev.Location = new System.Drawing.Point(35, 11);
this.rbtDev.Location = new System.Drawing.Point(35, 13);
this.rbtDev.Name = "rbtDev";
this.rbtDev.Size = new System.Drawing.Size(47, 18);
this.rbtDev.TabIndex = 26;
@@ -344,7 +356,7 @@
this.lblBuy.Cursor = System.Windows.Forms.Cursors.Hand;
this.lblBuy.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblBuy.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(157)))), ((int)(((byte)(235)))));
this.lblBuy.Location = new System.Drawing.Point(334, 249);
this.lblBuy.Location = new System.Drawing.Point(334, 248);
this.lblBuy.Name = "lblBuy";
this.lblBuy.Size = new System.Drawing.Size(56, 20);
this.lblBuy.TabIndex = 38;
@@ -372,7 +384,6 @@
//
// LoginForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(247)))), ((int)(((byte)(254)))));
this.ClientSize = new System.Drawing.Size(430, 323);
@@ -386,8 +397,8 @@
this.Controls.Add(this.autoLogin);
this.Controls.Add(this.chkRemember);
this.Controls.Add(this.lblResetPassword);
this.Controls.Add(this.loginPanel);
this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Controls.Add(this.btnLogin);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "LoginForm";
@@ -395,6 +406,7 @@
this.Text = "登录 - 小奶牛";
this.Load += new System.EventHandler(this.LoginForm_Load);
this.panelEx1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.panelEx3.ResumeLayout(false);
this.grpEnvironmentChoice.ResumeLayout(false);
this.grpEnvironmentChoice.PerformLayout();
@@ -405,7 +417,7 @@
#endregion
private DevComponents.DotNetBar.PanelEx loginPanel;
private DevComponents.DotNetBar.PanelEx btnLogin;
private DevComponents.DotNetBar.Controls.TextBoxX txtMobile;
private DevComponents.DotNetBar.Controls.TextBoxX password;
private DevComponents.DotNetBar.LabelX lblResetPassword;
@@ -422,5 +434,6 @@
private DevComponents.DotNetBar.PanelEx pnlShowRemember;
private DevComponents.DotNetBar.LabelX lblBuy;
private DevComponents.DotNetBar.LabelX lblContactSupport;
private System.Windows.Forms.PictureBox pictureBox1;
}
}
+5 -1
View File
@@ -39,7 +39,11 @@ namespace TemuKJD.UserForm
private void LoginForm_Load(object sender, EventArgs e)
{
if (BaseClass.MainPath == "binxixi")
this.panelEx1.Style.BackgroundImage = Properties.Resources.login_bg_pdd;
{
this.panelEx1.Style.BackgroundImage = Properties.Resources.pdd_bg;
this.panelEx1.Style.BackgroundImagePosition = DevComponents.DotNetBar.eBackgroundImagePosition.Stretch;
this.pictureBox1.Image = Properties.Resources.pdd_logo;
}
if (BaseClass.MainPath == "weixin")
this.panelEx1.Style.BackgroundImage = Properties.Resources.login_bg_wx;