提交首页修改

This commit is contained in:
2022-12-20 17:45:42 +08:00
parent 12a490ab94
commit bb65f0d461
196 changed files with 81389 additions and 24 deletions
+20 -1
View File
@@ -301,7 +301,12 @@ namespace FineUIPro.Web
{
Alert.ShowInTop("当前密码不安全,请尽快更改!", MessageBoxIcon.Warning);
}
this.hdHomePage.Text = "1";
if (this.CurrUser.HomePageType == "2")
{
this.Tab1.IFrameUrl = "~/common/main2.aspx";
this.hdHomePage.Text = "2";
}
var getW = WeatherService.GetWeather(null);
if (getW != null)
{
@@ -485,5 +490,19 @@ namespace FineUIPro.Web
MenuSwitchMethod(string.Empty);
ShowNotify("菜单刷新完成!", MessageBoxIcon.Success);
}
protected void btnChangeHomePage_Click(object sender, EventArgs e)
{
if (this.hdHomePage.Text == "1")
{
this.hdHomePage.Text = "2";
this.Tab1.IFrameUrl = "~/common/main2.aspx";
}
else
{
this.hdHomePage.Text = "1";
this.Tab1.IFrameUrl = "~/common/main.aspx";
}
}
}
}