|
@@ -2,7 +2,7 @@
|
|
|
<div class="ehr-page">
|
|
<div class="ehr-page">
|
|
|
<Header />
|
|
<Header />
|
|
|
|
|
|
|
|
- <div class="banner rounded-2xl pt-2">
|
|
|
|
|
|
|
+ <div class="banner pt-2">
|
|
|
<section class="hero">
|
|
<section class="hero">
|
|
|
<div class="hero-inner">
|
|
<div class="hero-inner">
|
|
|
<!-- 判断上下午 -->
|
|
<!-- 判断上下午 -->
|
|
@@ -777,10 +777,89 @@ onBeforeUnmount(() => {
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
|
-:global(body) {
|
|
|
|
|
- background-color: #f8fafc;
|
|
|
|
|
|
|
+.ehr-page {
|
|
|
|
|
+ --portal-text: #17345f;
|
|
|
|
|
+ --portal-text-muted: #5f6f83;
|
|
|
|
|
+ --portal-text-soft: #7f8fa6;
|
|
|
|
|
+ --portal-title: #163867;
|
|
|
|
|
+ --portal-subtitle: rgba(61, 92, 135, 0.86);
|
|
|
|
|
+ --portal-line: rgba(126, 156, 201, 0.24);
|
|
|
|
|
+ --portal-card: rgba(255, 255, 255, 0.82);
|
|
|
|
|
+ --portal-card-2: rgba(248, 251, 255, 0.94);
|
|
|
|
|
+ --portal-card-3: rgba(240, 246, 255, 0.88);
|
|
|
|
|
+ --portal-card-4: rgba(231, 239, 251, 0.92);
|
|
|
|
|
+ --portal-nav-bg: rgba(255, 255, 255, 0.72);
|
|
|
|
|
+ --portal-nav-hover: rgba(219, 232, 252, 0.8);
|
|
|
|
|
+ --portal-input-bg: rgba(255, 255, 255, 0.7);
|
|
|
|
|
+ --portal-input-hover: rgba(255, 255, 255, 0.92);
|
|
|
|
|
+ --portal-shadow: 0 18px 40px rgba(23, 52, 95, 0.12);
|
|
|
|
|
+ --portal-shadow-strong: 0 24px 60px rgba(23, 52, 95, 0.16);
|
|
|
|
|
+ --portal-accent: #245edb;
|
|
|
|
|
+ --portal-accent-2: #4e8cff;
|
|
|
|
|
+ --portal-accent-soft: rgba(36, 94, 219, 0.14);
|
|
|
|
|
+ --portal-todo-bg: rgba(242, 247, 255, 0.94);
|
|
|
|
|
+ --portal-todo-hover: rgba(228, 238, 252, 0.95);
|
|
|
|
|
+ --portal-number-todo: #e15a5a;
|
|
|
|
|
+ --portal-number-done: #2da04d;
|
|
|
|
|
+ color: var(--portal-text);
|
|
|
|
|
+ background:
|
|
|
|
|
+ radial-gradient(
|
|
|
|
|
+ circle at 18% 12%,
|
|
|
|
|
+ rgba(83, 126, 255, 0.14),
|
|
|
|
|
+ transparent 22%
|
|
|
|
|
+ ),
|
|
|
|
|
+ radial-gradient(
|
|
|
|
|
+ circle at 82% 20%,
|
|
|
|
|
+ rgba(71, 148, 255, 0.14),
|
|
|
|
|
+ transparent 20%
|
|
|
|
|
+ ),
|
|
|
|
|
+ radial-gradient(
|
|
|
|
|
+ circle at 50% 100%,
|
|
|
|
|
+ rgba(97, 142, 247, 0.12),
|
|
|
|
|
+ transparent 28%
|
|
|
|
|
+ ),
|
|
|
|
|
+ linear-gradient(180deg, #eef3f9 0%, #f7faff 46%, #eef3f9 100%);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+:global([data-theme="dark"] .ehr-page) {
|
|
|
|
|
+ --portal-text: #eaf1ff;
|
|
|
|
|
+ --portal-text-muted: rgba(234, 241, 255, 0.95);
|
|
|
|
|
+ --portal-text-soft: #8a9ab0;
|
|
|
|
|
+ --portal-title: #f4f7ff;
|
|
|
|
|
+ --portal-subtitle: rgba(188, 205, 255, 0.82);
|
|
|
|
|
+ --portal-line: rgba(97, 129, 206, 0.28);
|
|
|
|
|
+ --portal-card: rgba(10, 19, 43, 0.8);
|
|
|
|
|
+ --portal-card-2: rgba(12, 24, 52, 0.92);
|
|
|
|
|
+ --portal-card-3: rgba(17, 25, 48, 0.8);
|
|
|
|
|
+ --portal-card-4: rgba(15, 24, 45, 0.82);
|
|
|
|
|
+ --portal-nav-bg: rgba(10, 19, 43, 0.8);
|
|
|
|
|
+ --portal-nav-hover: rgba(28, 40, 72, 0.8);
|
|
|
|
|
+ --portal-input-bg: rgba(255, 255, 255, 0.08);
|
|
|
|
|
+ --portal-input-hover: rgba(255, 255, 255, 0.12);
|
|
|
|
|
+ --portal-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
|
|
|
|
|
+ --portal-shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.38);
|
|
|
|
|
+ --portal-accent: #6e7dff;
|
|
|
|
|
+ --portal-accent-2: #8d4dff;
|
|
|
|
|
+ --portal-accent-soft: rgba(110, 125, 255, 0.16);
|
|
|
|
|
+ --portal-todo-bg: #070e20;
|
|
|
|
|
+ --portal-todo-hover: rgba(28, 40, 72, 0.8);
|
|
|
|
|
+ --portal-number-todo: #f56c6c;
|
|
|
|
|
+ --portal-number-done: #ffffff;
|
|
|
|
|
+ color: var(--portal-text);
|
|
|
|
|
+ background:
|
|
|
|
|
+ radial-gradient(
|
|
|
|
|
+ circle at 18% 12%,
|
|
|
|
|
+ rgba(79, 82, 221, 0.34),
|
|
|
|
|
+ transparent 22%
|
|
|
|
|
+ ),
|
|
|
|
|
+ radial-gradient(circle at 82% 20%, rgba(28, 95, 255, 0.2), transparent 20%),
|
|
|
|
|
+ radial-gradient(
|
|
|
|
|
+ circle at 50% 100%,
|
|
|
|
|
+ rgba(103, 46, 255, 0.16),
|
|
|
|
|
+ transparent 28%
|
|
|
|
|
+ ),
|
|
|
|
|
+ linear-gradient(180deg, #040814 0%, #060d1d 46%, #040814 100%);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
.banner {
|
|
.banner {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
margin-top: 20px; /* 使用 margin 代替 top 以避免脱离文档流导致的重叠 */
|
|
margin-top: 20px; /* 使用 margin 代替 top 以避免脱离文档流导致的重叠 */
|
|
@@ -856,8 +935,8 @@ onBeforeUnmount(() => {
|
|
|
padding: 0 16px;
|
|
padding: 0 16px;
|
|
|
height: 36px;
|
|
height: 36px;
|
|
|
border-radius: 20px;
|
|
border-radius: 20px;
|
|
|
- background: #08132e;
|
|
|
|
|
- border: 1px solid #0a1c43;
|
|
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ border: 0.5px solid var(--primary-hover);
|
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
|
|
|
transition:
|
|
transition:
|
|
|
border-color 0.2s ease,
|
|
border-color 0.2s ease,
|