From 3e1de889ea4f44e20704def5f2bdcafb33716ca2 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Fri, 26 Sep 2025 11:54:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(=20=E5=B7=A5=E4=BD=9C=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E7=BB=84=E4=BB=B6):=20=E6=96=B0=E5=A2=9Emore=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HostCenter/workReportBox.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/HostCenter/workReportBox.vue b/src/components/HostCenter/workReportBox.vue index a680f8d..7c8551f 100644 --- a/src/components/HostCenter/workReportBox.vue +++ b/src/components/HostCenter/workReportBox.vue @@ -37,6 +37,7 @@ v-if="more" class="moreBt" style="position: absolute; bottom: 8%; right: 4%; color: #bb92ff; font-weight: 500" + @click="btMore" > More > @@ -80,13 +81,18 @@ const props = defineProps({ }, }) +const emit = defineEmits(['showMore']) +const btMore = () => { + emit('showMore') +} + const backgroundImage = ref('') const fontSize = ref('') watch( () => props.type, (newType) => { - if (newType == 'In progress') { + if (newType == 'In Progress') { backgroundImage.value = 'linear-gradient(112deg, #759CFF 5.66%, #3D73FF 42.49%)' fontSize.value = '1.1em' }