feat: 更新E3系统界面和配置以支持中文显示

- 添加UTF-8 BOM头到所有文件
- 修改页面标题和按钮文字为中文
- 更新Web.config支持中文编码和区域设置
- 改进界面描述文字使其更清晰
This commit is contained in:
2025-06-17 17:40:26 +08:00
parent f9d2393343
commit 0c72514b07
3 changed files with 11 additions and 8 deletions
+7 -5
View File
@@ -1,9 +1,9 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="E3_ycsys.aspx.cs" Inherits="E3_ycsys" %> <%@ Page Language="C#" AutoEventWireup="true" CodeFile="E3_ycsys.aspx.cs" Inherits="E3_ycsys" %>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>E3_ycsys</title> <title>行格E3-vip录入控制</title>
<style> <style>
body { body {
font-family: 'Microsoft YaHei', sans-serif; font-family: 'Microsoft YaHei', sans-serif;
@@ -56,9 +56,11 @@
} }
</style> </style>
</head> </head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<body> <body>
<div class="header"> <div class="header">
<h2>E3_ycsys</h2>
<h2>行格E3-vip手工输入控制,绿色显示开启状态为开启了手工输入</h2>
</div> </div>
<asp:Repeater ID="FeaturesRepeater" runat="server"> <asp:Repeater ID="FeaturesRepeater" runat="server">
@@ -70,8 +72,8 @@
</div> </div>
<%# (int)Eval("status") == 2 ? <%# (int)Eval("status") == 2 ?
"<a href='E3_ycsys.aspx?action=disable&id=" + Eval("khdm") + "' class='toggle-btn disable'>close</a>" : "<a href='E3_ycsys.aspx?action=disable&id=" + Eval("khdm") + "' class='toggle-btn disable'>关闭</a>" :
"<a href='E3_ycsys.aspx?action=enable&id=" + Eval("khdm") + "' class='toggle-btn enable'>open</a>" %> "<a href='E3_ycsys.aspx?action=enable&id=" + Eval("khdm") + "' class='toggle-btn enable'>开启</a>" %>
</div> </div>
</ItemTemplate> </ItemTemplate>
</asp:Repeater> </asp:Repeater>
+1 -1
View File
@@ -1,4 +1,4 @@
using System; using System;
using System.Data; using System.Data;
using System.Data.SqlClient; using System.Data.SqlClient;
using System.Web; using System.Web;
+3 -2
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<connectionStrings> <connectionStrings>
<add name="E3_ycsysConnection" <add name="E3_ycsysConnection"
@@ -8,6 +8,7 @@
<system.web> <system.web>
<compilation debug="true" <compilation debug="true"
tempDirectory="C:\temp\aspnet_temp" /> tempDirectory="C:\temp\aspnet_temp" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<globalization fileEncoding="gb2312" requestEncoding="utf-8" responseEncoding="utf-8" culture="zh-CN" uiCulture="zh-CN"/>
</system.web> </system.web>
</configuration> </configuration>