diff --git a/Yi.Ai.Vue3/src/components/userPersonalCenter/NavDialog.vue b/Yi.Ai.Vue3/src/components/userPersonalCenter/NavDialog.vue index 99b8b485..dba47a6f 100644 --- a/Yi.Ai.Vue3/src/components/userPersonalCenter/NavDialog.vue +++ b/Yi.Ai.Vue3/src/components/userPersonalCenter/NavDialog.vue @@ -1,4 +1,5 @@ diff --git a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/DailyTask.vue b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/DailyTask.vue index f9b2341f..c459944a 100644 --- a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/DailyTask.vue +++ b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/DailyTask.vue @@ -189,6 +189,8 @@ function getProgressColor(task: DailyTaskItem): string { .daily-task-container { padding: 20px; min-height: 400px; + height: 100%; + overflow-y: auto; } .task-header { diff --git a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/PremiumService.vue b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/PremiumService.vue index 9e94f3bf..7032219d 100644 --- a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/PremiumService.vue +++ b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/PremiumService.vue @@ -273,6 +273,8 @@ function onProductPackage() { .premium-service { padding: 20px; position: relative; + height: 100%; + overflow-y: auto; } .header { diff --git a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue index 15f8c28c..2632751e 100644 --- a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue +++ b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue @@ -104,6 +104,11 @@ function contactCustomerService() { innerVisibleContact.value = !innerVisibleContact.value; } +// 暴露方法给父组件使用 +defineExpose({ + contactCustomerService, +}); + // 过滤和排序后的数据 const filteredData = computed(() => { let data = [...logData.value]; @@ -253,7 +258,6 @@ onMounted(() => { { @@ -273,7 +277,7 @@ onMounted(() => { show-overflow-tooltip prop="rechargeAmount" label="金额(元)" - width="110" + min-width="110" sortable="custom" > --> - +