|
@@ -0,0 +1,730 @@
|
|
|
+/* page-crm-data.component.scss */
|
|
|
+:host {
|
|
|
+ display: block;
|
|
|
+ background-color: #f5f8ff;
|
|
|
+ background-image: linear-gradient(135deg, #f5f8ff 0%, #e8ecff 100%);
|
|
|
+ color: #333333;
|
|
|
+ line-height: 1.6;
|
|
|
+ padding: 16px;
|
|
|
+ max-width: 500px;
|
|
|
+ margin: 0 auto;
|
|
|
+ position: relative;
|
|
|
+ min-height: 100vh;
|
|
|
+ overflow-x: hidden;
|
|
|
+ font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 变量定义 */
|
|
|
+ $primary: #4285f4;
|
|
|
+ $primary-light: rgba(66, 133, 244, 0.1);
|
|
|
+ $primary-dark: #3367d6;
|
|
|
+ $text-dark: #0a192f;
|
|
|
+ $text-medium: #333333;
|
|
|
+ $text-light: #8898aa;
|
|
|
+ $background: #ffffff;
|
|
|
+ $card-bg: #f8f9fa;
|
|
|
+ $border: #e6e9ed;
|
|
|
+ $success: #34a853;
|
|
|
+ $warning: #fbbc05;
|
|
|
+ $error: #ea4335;
|
|
|
+ $shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
|
|
|
+
|
|
|
+ * {
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ box-sizing: border-box;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 头部导航 */
|
|
|
+ .header {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ padding: 16px 0;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ position: sticky;
|
|
|
+ top: 0;
|
|
|
+ background: transparent;
|
|
|
+ z-index: 100;
|
|
|
+ }
|
|
|
+
|
|
|
+ .back-btn {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ border-radius: 50%;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ background: $background;
|
|
|
+ border: none;
|
|
|
+ color: $text-dark;
|
|
|
+ font-size: 18px;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ box-shadow: $shadow;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: $primary-light;
|
|
|
+ color: $primary;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-size: 24px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: $text-dark;
|
|
|
+ text-align: center;
|
|
|
+ flex-grow: 1;
|
|
|
+ text-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 卡片样式 */
|
|
|
+ .card {
|
|
|
+ background: $background;
|
|
|
+ border-radius: 20px;
|
|
|
+ padding: 24px;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ box-shadow: $shadow;
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+ border: 1px solid rgba(66, 133, 244, 0.1);
|
|
|
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-5px);
|
|
|
+ box-shadow: 0 12px 30px rgba(66, 133, 244, 0.15);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .card-header {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .card-title {
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: $text-dark;
|
|
|
+ }
|
|
|
+
|
|
|
+ .card-subtitle {
|
|
|
+ font-size: 14px;
|
|
|
+ color: $text-light;
|
|
|
+ margin-top: 4px;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 上传控制台 */
|
|
|
+ .upload-console {
|
|
|
+ position: relative;
|
|
|
+ min-height: 220px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .source-tags {
|
|
|
+ display: flex;
|
|
|
+ gap: 10px;
|
|
|
+ margin-top: 20px;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ }
|
|
|
+
|
|
|
+ .source-tag {
|
|
|
+ background: #f0f4f8;
|
|
|
+ padding: 8px 16px;
|
|
|
+ border-radius: 20px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: $text-dark;
|
|
|
+ transition: all 0.2s ease;
|
|
|
+ border: 1px solid transparent;
|
|
|
+ cursor: pointer;
|
|
|
+ box-shadow: 0 2px 5px rgba(0,0,0,0.05);
|
|
|
+
|
|
|
+ &.active {
|
|
|
+ border-color: $primary;
|
|
|
+ box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3);
|
|
|
+ color: $primary;
|
|
|
+ font-weight: 600;
|
|
|
+ background: rgba(66, 133, 244, 0.08);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 自定义标签区域 */
|
|
|
+ .custom-tag-form {
|
|
|
+ display: flex;
|
|
|
+ margin-top: 25px;
|
|
|
+ gap: 10px;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .custom-tag-input {
|
|
|
+ flex: 1;
|
|
|
+ padding: 12px 18px;
|
|
|
+ border-radius: 20px;
|
|
|
+ border: 1px solid $border;
|
|
|
+ outline: none;
|
|
|
+ font-size: 14px;
|
|
|
+ transition: border-color 0.3s;
|
|
|
+ background: $card-bg;
|
|
|
+ box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
|
|
|
+
|
|
|
+ &:focus {
|
|
|
+ border-color: $primary;
|
|
|
+ box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .add-tag-btn {
|
|
|
+ background: $primary;
|
|
|
+ color: white;
|
|
|
+ border: none;
|
|
|
+ border-radius: 20px;
|
|
|
+ padding: 12px 24px;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 600;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: background 0.3s;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 8px;
|
|
|
+ box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: $primary-dark;
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 6px 15px rgba(66, 133, 244, 0.4);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 数据看板 */
|
|
|
+ .stats-container {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ gap: 15px;
|
|
|
+ margin-top: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .stat-item {
|
|
|
+ flex: 1;
|
|
|
+ text-align: center;
|
|
|
+ padding: 15px;
|
|
|
+ border-radius: 16px;
|
|
|
+ background: $background;
|
|
|
+ position: relative;
|
|
|
+ box-shadow: 0 4px 10px rgba(0,0,0,0.03);
|
|
|
+ border: 1px solid rgba(66, 133, 244, 0.08);
|
|
|
+ }
|
|
|
+
|
|
|
+ .stat-value {
|
|
|
+ font-size: 24px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: $text-dark;
|
|
|
+ margin: 10px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .stat-label {
|
|
|
+ font-size: 13px;
|
|
|
+ color: $text-light;
|
|
|
+ }
|
|
|
+
|
|
|
+ .progress-ring {
|
|
|
+ position: relative;
|
|
|
+ width: 80px;
|
|
|
+ height: 80px;
|
|
|
+ margin: 0 auto;
|
|
|
+ }
|
|
|
+
|
|
|
+ .progress-bg {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: conic-gradient($primary 0% 75%, $border 75% 100%);
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .progress-inner {
|
|
|
+ width: 70px;
|
|
|
+ height: 70px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: $card-bg;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: $text-dark;
|
|
|
+ }
|
|
|
+
|
|
|
+ .quality-bar {
|
|
|
+ height: 8px;
|
|
|
+ background: $border;
|
|
|
+ border-radius: 4px;
|
|
|
+ margin-top: 15px;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+
|
|
|
+ .quality-fill {
|
|
|
+ height: 100%;
|
|
|
+ width: 85%;
|
|
|
+ background: linear-gradient(90deg, $primary, $primary-dark);
|
|
|
+ border-radius: 4px;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ background: linear-gradient(90deg,
|
|
|
+ transparent,
|
|
|
+ rgba(255, 255, 255, 0.5),
|
|
|
+ transparent);
|
|
|
+ animation: wave 2s linear infinite;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @keyframes wave {
|
|
|
+ 0% { transform: translateX(-100%); }
|
|
|
+ 100% { transform: translateX(100%); }
|
|
|
+ }
|
|
|
+
|
|
|
+ .alert-badge {
|
|
|
+ position: absolute;
|
|
|
+ top: -8px;
|
|
|
+ right: -8px;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: $error;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ color: white;
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: bold;
|
|
|
+ animation: pulse 1.5s infinite;
|
|
|
+ }
|
|
|
+
|
|
|
+ @keyframes pulse {
|
|
|
+ 0% { box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.7); }
|
|
|
+ 70% { box-shadow: 0 0 0 8px rgba(234, 67, 53, 0); }
|
|
|
+ 100% { box-shadow: 0 0 0 0 rgba(234, 67, 53, 0); }
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 训练结果展示 */
|
|
|
+ .training-results {
|
|
|
+ margin-top: 25px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .result-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 15px 0;
|
|
|
+ border-bottom: 1px solid $border;
|
|
|
+ transition: all 0.2s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: rgba(66, 133, 244, 0.03);
|
|
|
+ border-radius: 12px;
|
|
|
+ padding: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:last-child {
|
|
|
+ border-bottom: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .result-icon {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ border-radius: 12px;
|
|
|
+ background: $primary-light;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ color: $primary;
|
|
|
+ margin-right: 15px;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .result-content {
|
|
|
+ flex: 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ .result-title {
|
|
|
+ font-weight: 600;
|
|
|
+ color: $text-dark;
|
|
|
+ margin-bottom: 4px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .result-meta {
|
|
|
+ display: flex;
|
|
|
+ font-size: 13px;
|
|
|
+ color: $text-light;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ gap: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .result-date {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .result-status {
|
|
|
+ padding: 4px 10px;
|
|
|
+ border-radius: 20px;
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 600;
|
|
|
+
|
|
|
+ &.status-completed {
|
|
|
+ background: rgba(52, 168, 83, 0.1);
|
|
|
+ color: $success;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.status-training {
|
|
|
+ background: rgba(251, 188, 5, 0.1);
|
|
|
+ color: $warning;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.status-error {
|
|
|
+ background: rgba(234, 67, 53, 0.1);
|
|
|
+ color: $error;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 数据记录部分 */
|
|
|
+ .data-record {
|
|
|
+ margin-top: 25px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .record-header {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .view-all {
|
|
|
+ color: $primary;
|
|
|
+ font-size: 14px;
|
|
|
+ text-decoration: none;
|
|
|
+ cursor: pointer;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .record-list {
|
|
|
+ display: grid;
|
|
|
+ grid-template-columns: repeat(2, 1fr);
|
|
|
+ gap: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .record-item {
|
|
|
+ background: $card-bg;
|
|
|
+ border-radius: 16px;
|
|
|
+ padding: 15px;
|
|
|
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
|
|
|
+ border: 1px solid rgba(66, 133, 244, 0.08);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-3px);
|
|
|
+ box-shadow: 0 6px 15px rgba(66, 133, 244, 0.15);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .record-title {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: $text-dark;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .record-value {
|
|
|
+ font-size: 22px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: $primary;
|
|
|
+ }
|
|
|
+
|
|
|
+ .record-trend {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 12px;
|
|
|
+ margin-top: 5px;
|
|
|
+
|
|
|
+ &.trend-up {
|
|
|
+ color: $success;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.trend-down {
|
|
|
+ color: $error;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .trend-icon {
|
|
|
+ margin-right: 4px;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 历史数据记录 */
|
|
|
+ .history-list {
|
|
|
+ max-height: 200px;
|
|
|
+ overflow-y: auto;
|
|
|
+ padding-right: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .history-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 12px 0;
|
|
|
+ border-bottom: 1px solid $border;
|
|
|
+ transition: all 0.2s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: rgba(66, 133, 244, 0.03);
|
|
|
+ border-radius: 12px;
|
|
|
+ padding: 12px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .history-icon {
|
|
|
+ width: 36px;
|
|
|
+ height: 36px;
|
|
|
+ border-radius: 10px;
|
|
|
+ background: $primary-light;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ color: $primary;
|
|
|
+ margin-right: 12px;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .history-content {
|
|
|
+ flex: 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ .history-name {
|
|
|
+ font-weight: 500;
|
|
|
+ margin-bottom: 4px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .history-meta {
|
|
|
+ display: flex;
|
|
|
+ font-size: 12px;
|
|
|
+ color: $text-light;
|
|
|
+ gap: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .history-size {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 3px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .history-date {
|
|
|
+ color: $text-medium;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 3px;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 页面标题装饰 */
|
|
|
+ .page-header {
|
|
|
+ text-align: center;
|
|
|
+ margin-bottom: 25px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .page-title {
|
|
|
+ font-size: 28px;
|
|
|
+ font-weight: 800;
|
|
|
+ color: $text-dark;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ background: linear-gradient(90deg, #3367d6, #4285f4);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
+ position: relative;
|
|
|
+ display: inline-block;
|
|
|
+ }
|
|
|
+
|
|
|
+ .page-subtitle {
|
|
|
+ color: $text-light;
|
|
|
+ font-size: 16px;
|
|
|
+ max-width: 300px;
|
|
|
+ margin: 0 auto;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 装饰元素 */
|
|
|
+ .decor-circle {
|
|
|
+ position: absolute;
|
|
|
+ width: 200px;
|
|
|
+ height: 200px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(66, 133, 244, 0.05) 100%);
|
|
|
+ z-index: -1;
|
|
|
+ }
|
|
|
+
|
|
|
+ .circle-1 {
|
|
|
+ top: 10%;
|
|
|
+ left: -50px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .circle-2 {
|
|
|
+ bottom: 10%;
|
|
|
+ right: -50px;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 新增搜索框样式 */
|
|
|
+ .search-container {
|
|
|
+ margin-bottom: 20px;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+
|
|
|
+ .search-box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ background: $card-bg;
|
|
|
+ border-radius: 30px;
|
|
|
+ padding: 8px 16px;
|
|
|
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
|
+ border: 1px solid $border;
|
|
|
+
|
|
|
+ i {
|
|
|
+ color: $text-light;
|
|
|
+ margin-right: 10px;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .search-input {
|
|
|
+ flex: 1;
|
|
|
+ border: none;
|
|
|
+ background: transparent;
|
|
|
+ padding: 10px 0;
|
|
|
+ font-size: 15px;
|
|
|
+ color: $text-dark;
|
|
|
+ outline: none;
|
|
|
+
|
|
|
+ &::placeholder {
|
|
|
+ color: $text-light;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 上传控制台新样式 */
|
|
|
+ .upload-method-selector {
|
|
|
+ margin: 25px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .method-title {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ color: $text-dark;
|
|
|
+ }
|
|
|
+
|
|
|
+ .method-options {
|
|
|
+ display: flex;
|
|
|
+ gap: 15px;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ }
|
|
|
+
|
|
|
+ .method-option {
|
|
|
+ flex: 1;
|
|
|
+ min-width: 100px;
|
|
|
+ padding: 15px;
|
|
|
+ background: $card-bg;
|
|
|
+ border-radius: 16px;
|
|
|
+ text-align: center;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ border: 1px solid $border;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-3px);
|
|
|
+ box-shadow: 0 6px 15px rgba(66, 133, 244, 0.1);
|
|
|
+ }
|
|
|
+
|
|
|
+ &.active {
|
|
|
+ border-color: $primary;
|
|
|
+ background: $primary-light;
|
|
|
+ color: $primary;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .method-icon {
|
|
|
+ font-size: 24px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ color: $primary;
|
|
|
+ }
|
|
|
+
|
|
|
+ .upload-action {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ margin-top: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .upload-button {
|
|
|
+ background: $primary;
|
|
|
+ color: white;
|
|
|
+ border: none;
|
|
|
+ border-radius: 30px;
|
|
|
+ padding: 15px 40px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 10px;
|
|
|
+ box-shadow: 0 6px 15px rgba(66, 133, 244, 0.3);
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: $primary-dark;
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 8px 20px rgba(66, 133, 244, 0.4);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:active {
|
|
|
+ transform: translateY(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 上传状态指示器 */
|
|
|
+ .upload-status {
|
|
|
+ margin-top: 20px;
|
|
|
+ padding: 15px;
|
|
|
+ border-radius: 16px;
|
|
|
+ background: rgba(52, 168, 83, 0.1);
|
|
|
+ color: $success;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ &.error {
|
|
|
+ background: rgba(234, 67, 53, 0.1);
|
|
|
+ color: $error;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .upload-progress {
|
|
|
+ height: 6px;
|
|
|
+ background: $border;
|
|
|
+ border-radius: 3px;
|
|
|
+ margin-top: 10px;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+
|
|
|
+ .progress-bar {
|
|
|
+ height: 100%;
|
|
|
+ width: 0%;
|
|
|
+ background: linear-gradient(90deg, $primary, $primary-dark);
|
|
|
+ border-radius: 3px;
|
|
|
+ transition: width 0.3s ease;
|
|
|
+ }
|