@@ -32,15 +23,12 @@
@@ -58,43 +46,6 @@ function handleUserCenter() {
overflow: hidden;
}
-.header {
- padding: 20px 40px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- z-index: 10;
- background: #fff;
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
-}
-
-.logo {
- height: 40px;
- width: auto;
-}
-
-.user-avatar {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.8);
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- transition: transform 0.3s ease;
- overflow: hidden;
-}
-
-.user-avatar img {
- width: 24px;
- height: 24px;
- object-fit: contain;
-}
-
-.user-avatar:hover {
- transform: scale(1.05);
-}
.content-wrapper {
flex: 1;
diff --git a/web1/src/views/pages/index.vue b/web1/src/views/pages/index.vue
index 51b49e0..84b40dc 100644
--- a/web1/src/views/pages/index.vue
+++ b/web1/src/views/pages/index.vue
@@ -1,6 +1,8 @@
-
+
+
+
@@ -22,7 +23,7 @@
非遗资产衍生商品信息
import type { FormInst, FormItemRule, FormRules } from 'naive-ui'
import StepProgressBar from './components/StepProgressBar.vue';
+import AppHeader from '@/components/AppHeader.vue'
import api from '@/api'
import { ref, reactive, onMounted } from 'vue'
import { useMessage, useDialog } from 'naive-ui'
@@ -1100,12 +1102,11 @@ const nextStep = () => {
}
modalFormRef.value?.validate((errors) => {
if (!errors) {
- if(currentStep.value != 4){
+ if(currentStep.value < 4){
currentStep.value ++
+ return
}
- if(currentStep.value == 4){
- submit()
- }
+ openSubmitConfirm()
}
else {
message.error('请完善表单')
@@ -1217,6 +1218,15 @@ const retry = () => {
status.value = 'create'
}
const dialog = useDialog()
+const openSubmitConfirm = () => {
+ dialog.warning({
+ title: '提示',
+ content: '提交后将消耗评估次数,确认提交?',
+ positiveText: '确认',
+ negativeText: '取消',
+ onPositiveClick: () => submit(),
+ })
+}
const deleteValuations = (item) => {
dialog.warning({
title: '确认删除',
@@ -1347,20 +1357,34 @@ onMounted(async () => {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
width: 100%;
height: 100vh;
+ overflow-y: auto;
display: flex;
+ flex-direction: column;
background: #F8F8F8;
- .left {
+ /* 左侧边栏样式 - 已隐藏 */
+ /* .left {
width: 270px;
height: 100%;
background-color: #fff;
- }
+ } */
.right {
flex: 1;
- margin: 40px;
- height: 100%;
+ margin: 20px auto;
+ max-width: 1200px;
+ width: 95%;
background-color: #fff;
+ border-radius: 8px;
+ padding: 20px;
+ display: flex;
+ flex-direction: column;
+ padding-bottom: 60px;
}
}
+.page-header{
+ position: sticky;
+ top: 0;
+ z-index: 10;
+}
.delete-icon{
float: right;
transform: translate(0,2px);
@@ -1403,6 +1427,12 @@ onMounted(async () => {
background: #EEEEEE;
border-radius: 4px;
}
+.form-container{
+ margin: auto;
+ margin-top: 30px;
+ width: 900px;
+ max-width: 100%;
+}
.form-item{
display: inline-block;
width: 330px;
@@ -1512,4 +1542,4 @@ input[type="number"]::-webkit-inner-spin-button {
margin: 0;
}
-
\ No newline at end of file
+
diff --git a/web1/src/views/user-center/components/InvoiceManagement.vue b/web1/src/views/user-center/components/InvoiceManagement.vue
index 3eb86c5..d91f1c3 100644
--- a/web1/src/views/user-center/components/InvoiceManagement.vue
+++ b/web1/src/views/user-center/components/InvoiceManagement.vue
@@ -12,42 +12,14 @@
-
-
-
- | 公司名称 |
- 税号 |
- 操作 |
-
-
-
-
- | {{ invoice.name }} |
- {{ invoice.taxId || '123456789012345678' }} |
-
-
- |
-
-
- | 暂无抬头信息... |
-
-
-
+
diff --git a/web1/src/views/user-center/components/ValuationHistory.vue b/web1/src/views/user-center/components/ValuationHistory.vue
index 0264141..3bd09f9 100644
--- a/web1/src/views/user-center/components/ValuationHistory.vue
+++ b/web1/src/views/user-center/components/ValuationHistory.vue
@@ -1,89 +1,148 @@
-
+
-
-
-
-
-
- | 资产名称 |
- 时间 |
- 操作 |
-
-
-
-
- | {{ item.name || '未知资产' }} |
- {{ formatDate(item.created_at) }} |
-
-
-
- 
- 下载报告
-
-
- 
- 下载证书
-
-
- |
-
-
- | 暂无估值记录... |
-
-
-
-
-
+
+
+
diff --git a/web1/src/views/user-center/index.vue b/web1/src/views/user-center/index.vue
index 54c7aa6..ab01263 100644
--- a/web1/src/views/user-center/index.vue
+++ b/web1/src/views/user-center/index.vue
@@ -1,16 +1,7 @@
-
+
@@ -48,6 +39,7 @@
import { ref, onMounted, h, watch, computed } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import api from '@/api'
+import AppHeader from '@/components/AppHeader.vue'
import UserSidebar from './components/UserSidebar.vue'
const router = useRouter()
@@ -181,7 +173,8 @@ async function loadData() {
valuationCount.value = res.results.length
}
} catch (error) {
- console.error('加载数据失败:', error)
+ console.error('加载估值记录失败:', error)
+ $message.error('加载估值记录失败,请稍后重试')
}
}
@@ -198,38 +191,6 @@ onMounted(() => {
flex-direction: column;
}
-/* Header Styles */
-.header {
- padding: 10px 40px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- background: #fff;
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
- height: 60px;
-}
-
-.logo {
- height: 32px;
- width: auto;
-}
-
-.user-avatar {
- width: 32px;
- height: 32px;
- border-radius: 50%;
- background: #f0f0f0;
- display: flex;
- align-items: center;
- justify-content: center;
- overflow: hidden;
-}
-
-.user-avatar img {
- width: 20px;
- height: 20px;
- object-fit: contain;
-}
/* Main Container Styles */
.main-container {