|
@@ -7,7 +7,66 @@
|
|
|
|
|
|
background: var(--bg);
|
|
|
padding-bottom: 80px;
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+ .mood-journal {
|
|
|
+ --primary-color: #ff9a9e;
|
|
|
+ --secondary-color: #a8edea;
|
|
|
+ --text-color: #6c5b7b;
|
|
|
+ // 情绪状态指示样式
|
|
|
+ .mood-header {
|
|
|
+ padding: 20px;
|
|
|
+ background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
|
|
|
+ border-radius: 0 0 30px 30px;
|
|
|
+ box-shadow: 0 4px 20px rgba(0,0,0,0.1);
|
|
|
+
|
|
|
+ .current-status {
|
|
|
+ text-align: center;
|
|
|
+ color: white;
|
|
|
+
|
|
|
+ ion-icon {
|
|
|
+ font-size: 48px;
|
|
|
+ filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
|
|
|
+ }
|
|
|
+
|
|
|
+ .score {
|
|
|
+ font-size: 42px;
|
|
|
+ font-weight: bold;
|
|
|
+ span {
|
|
|
+ font-size: 16px;
|
|
|
+ opacity: 0.8;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .emotion-cloud {
|
|
|
+ margin-top: 15px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 8px;
|
|
|
+ flex-wrap: wrap;
|
|
|
+
|
|
|
+ .tag {
|
|
|
+ padding: 6px 12px;
|
|
|
+ border-radius: 20px;
|
|
|
+ font-size: 14px;
|
|
|
+ background: rgba(255,255,255,0.2);
|
|
|
+ backdrop-filter: blur(4px);
|
|
|
+
|
|
|
+ &.happy { background: rgba(255,234,167,0.3); }
|
|
|
+ &.calm { background: rgba(168,237,234,0.3); }
|
|
|
+ &.anxious { background: rgba(255,154,158,0.3); }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ @keyframes pulse {
|
|
|
+ 0% { transform: scale(1); }
|
|
|
+ 50% { transform: scale(1.1); }
|
|
|
+ 100% { transform: scale(1); }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 新型情绪仪表盘
|
|
|
.emotion-dashboard {
|
|
|
padding: 20px;
|
|
|
background: #c06c840f;
|
|
@@ -293,6 +352,18 @@
|
|
|
padding-left: 28px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ // 语音输入按钮
|
|
|
+ .voice-btn {
|
|
|
+ --background: #ff9a9da2;
|
|
|
+ --box-shadow: 0 4px 16px rgba(255,154,158,0.3);
|
|
|
+
|
|
|
+ &[class*="recording"] {
|
|
|
+ animation: pulse 1.5s infinite;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@keyframes wave {
|