diff --git a/web1/src/assets/img/home_bg.png b/web1/src/assets/img/home_bg.png new file mode 100644 index 0000000..935de32 Binary files /dev/null and b/web1/src/assets/img/home_bg.png differ diff --git a/web1/src/views/home/index.vue b/web1/src/views/home/index.vue index 978373d..893b46e 100644 --- a/web1/src/views/home/index.vue +++ b/web1/src/views/home/index.vue @@ -3,41 +3,40 @@
-
- - - - - 个人中心 +
+
+
+ User
-
-
+
+
+

非遗IP价值评估系统

基于深度学习算法的智能评估系统,为您的知识产权和非物质文化遗产提供专业的价值评估服务

-
- -
- - 开始评估 - + +
+ +
- - diff --git a/web1/src/views/login/index.vue.backup b/web1/src/views/login/index.vue.backup new file mode 100644 index 0000000..65d50f9 --- /dev/null +++ b/web1/src/views/login/index.vue.backup @@ -0,0 +1,601 @@ + + + + + diff --git a/web1/src/views/user-center/components/CorporateTransfer.vue b/web1/src/views/user-center/components/CorporateTransfer.vue index 26124ba..b6d0def 100644 --- a/web1/src/views/user-center/components/CorporateTransfer.vue +++ b/web1/src/views/user-center/components/CorporateTransfer.vue @@ -1,74 +1,92 @@ @@ -62,96 +109,114 @@ function handleDeleteInvoice(invoice) { border-radius: 8px; padding: 24px; min-height: calc(100vh - 40px); - position: relative; - } -.invoice-container { - max-width: 1000px; +.section-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 24px; } -.add-card { - position: absolute; - top: 24px; - right: 24px; - width: 80px; - height: 32px; - background: #A30113; - border-radius: 4px; +.header-left { display: flex; align-items: center; - justify-content: center; - cursor: pointer; - transition: all 0.3s ease; + gap: 8px; } -.add-card:hover { +.title-bar { + width: 4px; + height: 16px; + background: #A30113; + border-radius: 2px; +} + +.title-text { + font-size: 16px; + font-weight: 600; + color: #303133; +} + +.add-btn { + display: flex; + align-items: center; + gap: 4px; + padding: 8px 16px; + background: #A30113; + color: white; + border-radius: 4px; + font-size: 14px; + cursor: pointer; + transition: background 0.3s; +} + +.add-btn:hover { background: #880C22; } -.add-text { - color: white; +.plus-icon { + font-size: 18px; + font-weight: bold; + line-height: 1; +} + +.table-container { + width: 100%; +} + +.custom-table { + width: 100%; + border-collapse: collapse; font-size: 14px; } -.invoice-list { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); - gap: 16px; - margin-top: 60px; +.custom-table th { + text-align: left; + padding: 12px 24px; + background: #F5F7FA; + color: #909399; + font-weight: 500; + border-bottom: 1px solid #EBEEF5; } -.invoice-card { - background: #F5F7FA; - border-radius: 8px; - padding: 20px; +.custom-table td { + padding: 16px 24px; + color: #606266; + border-bottom: 1px solid #EBEEF5; +} + +.custom-table tr:hover td { + background-color: #F5F7FA; +} + +.action-group { + display: flex; + gap: 24px; +} + +.action-btn { display: flex; align-items: center; - gap: 16px; - transition: all 0.3s ease; - border: 1px solid #EEEEEE; -} - -.invoice-card:hover { - transform: translateY(-2px); - box-shadow: 0 4px 12px rgba(163, 1, 19, 0.1); - border-color: #A30113; -} - -.invoice-icon { - flex-shrink: 0; -} - -.invoice-info { - flex: 1; -} - -.invoice-name { - font-size: 16px; - font-weight: 500; - color: #303133; - margin-bottom: 4px; -} - -.invoice-status { - font-size: 12px; - color: #909399; -} - -.invoice-action { + gap: 4px; cursor: pointer; - padding: 8px; - border-radius: 4px; - transition: all 0.3s ease; + transition: opacity 0.3s; } -.invoice-action:hover { - background: rgba(163, 1, 19, 0.1); +.action-btn:hover { + opacity: 0.8; } -@media (max-width: 768px) { - .invoice-list { - grid-template-columns: 1fr; - } +.action-btn.edit { + color: #409EFF; +} + +.action-btn.delete { + color: #F56C6C; +} + +.empty-text { + text-align: center; + color: #909399; + padding: 40px 0; } diff --git a/web1/src/views/user-center/components/InvoiceModal.vue b/web1/src/views/user-center/components/InvoiceModal.vue new file mode 100644 index 0000000..92f9a28 --- /dev/null +++ b/web1/src/views/user-center/components/InvoiceModal.vue @@ -0,0 +1,275 @@ + + + + + diff --git a/web1/src/views/user-center/components/ValuationHistory.vue b/web1/src/views/user-center/components/ValuationHistory.vue index 938fd13..81dc3d6 100644 --- a/web1/src/views/user-center/components/ValuationHistory.vue +++ b/web1/src/views/user-center/components/ValuationHistory.vue @@ -1,35 +1,47 @@ @@ -48,22 +60,6 @@ function formatDate(dateStr) { return dateStr.slice(0, 10) + ' ' + dateStr.slice(11, 16) } -// 获取状态文本 -function getStatusText(status) { - const statusMap = { - 'pending': '审核中', - 'approved': '已通过', - 'rejected': '已拒绝', - 'processing': '评估中' - } - return statusMap[status] || status -} - -// 获取状态样式类 -function getStatusClass(status) { - return `status-${status}` -} - // 下载报告 function handleDownloadReport(item) { $message.info('下载报告功能开发中') @@ -81,107 +77,78 @@ function handleDownloadCertificate(item) { border-radius: 8px; padding: 24px; min-height: calc(100vh - 40px); - position: relative; - } -.asset-grid { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); - gap: 16px; -} - -.asset-card { - background: #F5F7FA; - border-radius: 8px; - padding: 16px; - transition: all 0.3s ease; - border: 1px solid #EEEEEE; -} - -.asset-card:hover { - transform: translateY(-2px); - box-shadow: 0 4px 12px rgba(163, 1, 19, 0.1); - border-color: #A30113; -} - -.asset-header { +.section-header { display: flex; - justify-content: space-between; align-items: center; - margin-bottom: 8px; + gap: 8px; + margin-bottom: 24px; } -.asset-title { - font-size: 14px; - font-weight: 500; +.title-bar { + width: 4px; + height: 16px; + background: #A30113; + border-radius: 2px; +} + +.title-text { + font-size: 16px; + font-weight: 600; color: #303133; } -.asset-date { - font-size: 12px; +.table-container { + width: 100%; +} + +.custom-table { + width: 100%; + border-collapse: collapse; + font-size: 14px; +} + +.custom-table th { + text-align: left; + padding: 12px 24px; + background: #F5F7FA; color: #909399; - margin-bottom: 12px; + font-weight: 500; + border-bottom: 1px solid #EBEEF5; } -.asset-actions { +.custom-table td { + padding: 16px 24px; + color: #606266; + border-bottom: 1px solid #EBEEF5; +} + +.custom-table tr:hover td { + background-color: #F5F7FA; +} + +.action-group { display: flex; - gap: 8px; + gap: 24px; } -.action-item { +.action-btn { display: flex; align-items: center; gap: 4px; - padding: 6px 12px; - background: white; - border-radius: 4px; - font-size: 12px; - color: #A30113; + color: #409EFF; cursor: pointer; - transition: all 0.3s ease; - border: 1px solid #EEEEEE; + transition: opacity 0.3s; } -.action-item:hover { - background: #A30113; - color: white; - border-color: #A30113; +.action-btn:hover { + opacity: 0.8; } -.action-item:hover svg path { - stroke: white; -} - -.asset-status { - padding: 4px 8px; - border-radius: 4px; - font-size: 12px; -} - -.status-pending { - background: #FFF3E0; - color: #F57C00; -} - -.status-approved { - background: #E8F5E9; - color: #2E7D32; -} - -.status-rejected { - background: #FFEBEE; - color: #C62828; -} - -.status-processing { - background: #E3F2FD; - color: #1565C0; -} - -@media (max-width: 768px) { - .asset-grid { - grid-template-columns: 1fr; - } +.empty-text { + text-align: center; + color: #909399; + padding: 40px 0; }