feat: 更新E3系统界面和配置以支持中文显示
- 添加UTF-8 BOM头到所有文件 - 修改页面标题和按钮文字为中文 - 更新Web.config支持中文编码和区域设置 - 改进界面描述文字使其更清晰
This commit is contained in:
+7
-5
@@ -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>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>E3_ycsys</title>
|
||||
<title>行格E3-vip录入控制</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Microsoft YaHei', sans-serif;
|
||||
@@ -56,9 +56,11 @@
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<body>
|
||||
<div class="header">
|
||||
<h2>E3_ycsys</h2>
|
||||
|
||||
<h2>行格E3-vip手工输入控制,绿色显示开启状态为开启了手工输入</h2>
|
||||
</div>
|
||||
|
||||
<asp:Repeater ID="FeaturesRepeater" runat="server">
|
||||
@@ -70,8 +72,8 @@
|
||||
</div>
|
||||
|
||||
<%# (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=enable&id=" + Eval("khdm") + "' class='toggle-btn enable'>open</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'>开启</a>" %>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Web;
|
||||
|
||||
+3
-2
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<connectionStrings>
|
||||
<add name="E3_ycsysConnection"
|
||||
@@ -8,6 +8,7 @@
|
||||
<system.web>
|
||||
<compilation debug="true"
|
||||
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>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user