devops 1 месяц назад
Родитель
Сommit
2cbed895ce

+ 6 - 0
ruoyi-admin/src/main/resources/templates/login.html

@@ -218,9 +218,15 @@
             <div class="login-form-container">
                 <!-- 短信登录表单 - 当 smsLoginEnabled 为 true 时显示 -->
                 <form id="smsLoginForm" th:if="${smsLoginEnabled}" autocomplete="on">
+                    <!-- 新增:涉密信息警告提示 -->
+                    <div class="security-warning" style="color: #ff4d4f; font-weight: bold; text-align: left; margin-bottom: 15px; font-size: 14px;">
+                        ⚠️ 严禁处理涉密信息
+                    </div>
                     <h3 class="form-title">短信验证码登录</h3>
                     <p class="form-subtitle">安全便捷,一键登录</p>
 
+
+
                     <div class="smart-input-group">
                         <i class="fa fa-mobile"></i>
                         <input type="text" name="phone" id="phone" class="form-control smart-input"

+ 41 - 0
ruoyi-admin/src/main/resources/templates/main.html

@@ -327,6 +327,47 @@
 
 		<!-- 结果面板区域 -->
 		<div class="col-sm-4" id="resultsPanel">
+			<!-- 新增:独立的安全警告模块 -->
+			<div class="security-alert-panel" style="
+        background: linear-gradient(135deg, #fff5f5, #ffe6e6);
+        border: 2px solid #ff4d4f;
+        border-radius: 8px;
+        margin-bottom: 15px;
+        padding: 15px;
+        box-shadow: 0 3px 10px rgba(255, 77, 79, 0.2);
+    ">
+				<div style="
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            gap: 10px;
+        ">
+					<i class="fa fa-exclamation-triangle" style="
+                color: #ff4d4f;
+                font-size: 20px;
+                flex-shrink: 0;
+            "></i>
+					<div style="
+                color: #ff4d4f;
+                font-weight: bold;
+                font-size: 15px;
+                text-align: center;
+                line-height: 1.4;
+            ">
+						严禁处理涉密信息<br>
+						<span style="
+                    font-size: 12px;
+                    font-weight: normal;
+                    color: #d9363e;
+                    margin-top: 3px;
+                    display: block;
+                ">
+                </span>
+					</div>
+				</div>
+			</div>
+
+
 			<div class="ibox float-e-margins fixed-result-panel">
 				<div class="ibox-title">
 					<h5>校对结果</h5>

+ 41 - 0
ruoyi-admin/src/main/resources/templates/project/jiaodui/edit.html

@@ -327,6 +327,47 @@
 
         <!-- 结果面板区域 -->
         <div class="col-sm-4" id="resultsPanel">
+            <!-- 新增:独立的安全警告模块 -->
+            <div class="security-alert-panel" style="
+        background: linear-gradient(135deg, #fff5f5, #ffe6e6);
+        border: 2px solid #ff4d4f;
+        border-radius: 8px;
+        margin-bottom: 15px;
+        padding: 15px;
+        box-shadow: 0 3px 10px rgba(255, 77, 79, 0.2);
+    ">
+                <div style="
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            gap: 10px;
+        ">
+                    <i class="fa fa-exclamation-triangle" style="
+                color: #ff4d4f;
+                font-size: 20px;
+                flex-shrink: 0;
+            "></i>
+                    <div style="
+                color: #ff4d4f;
+                font-weight: bold;
+                font-size: 15px;
+                text-align: center;
+                line-height: 1.4;
+            ">
+                        严禁处理涉密信息<br>
+                        <span style="
+                    font-size: 12px;
+                    font-weight: normal;
+                    color: #d9363e;
+                    margin-top: 3px;
+                    display: block;
+                ">
+                </span>
+                    </div>
+                </div>
+            </div>
+
+
             <div class="ibox float-e-margins fixed-result-panel">
                 <div class="ibox-title">
                     <h5>校对结果</h5>