0c72514b07
- 添加UTF-8 BOM头到所有文件 - 修改页面标题和按钮文字为中文 - 更新Web.config支持中文编码和区域设置 - 改进界面描述文字使其更清晰
81 lines
2.7 KiB
Plaintext
81 lines
2.7 KiB
Plaintext
<%@ 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-vip录入控制</title>
|
|
<style>
|
|
body {
|
|
font-family: 'Microsoft YaHei', sans-serif;
|
|
background-color: #f5f5f5;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
.header {
|
|
background-color: #1890ff;
|
|
color: white;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.feature-card {
|
|
background: white;
|
|
border-radius: 4px;
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.toggle-btn {
|
|
padding: 6px 18px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
border: none;
|
|
color: white;
|
|
}
|
|
.enable { background-color: #52c41a; }
|
|
.disable { background-color: #f5222d; }
|
|
/* 这里可能不需要额外的 <style> 标签,因为上方已经有一个 <style> 标签开始了样式定义,故移除多余的 <style> 标签 */
|
|
body {
|
|
font-size: 16px; /* 基础字体大小 */
|
|
}
|
|
.header h2 {
|
|
font-size: 24px; /* 标题字体大小 */
|
|
}
|
|
.feature-card {
|
|
font-size: 30px; /* 卡片内容字体大小 */
|
|
}
|
|
.feature-name {
|
|
font-size: 25px; /* 客户名称字体大小 */
|
|
font-weight: bold;
|
|
}
|
|
.toggle-btn {
|
|
font-size: 30px; /* 按钮字体大小 */
|
|
}
|
|
</style>
|
|
</head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<body>
|
|
<div class="header">
|
|
|
|
<h2>行格E3-vip手工输入控制,绿色显示开启状态为开启了手工输入</h2>
|
|
</div>
|
|
|
|
<asp:Repeater ID="FeaturesRepeater" runat="server">
|
|
<ItemTemplate>
|
|
<div class="feature-card">
|
|
<div>
|
|
<div style="font-weight: bold;"><%# Eval("khdm") %></div>
|
|
<div style="color: #666;"><%# Eval("khmc") %></div>
|
|
</div>
|
|
|
|
<%# (int)Eval("status") == 2 ?
|
|
"<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>
|
|
</body>
|
|
</html> |