feat: 隐藏更多

master
xjs 2025-06-18 11:11:40 +08:00
parent d38aa3fdae
commit 2d0faf099a
1 changed files with 8 additions and 8 deletions

View File

@ -9,10 +9,10 @@
</div>
</div>
<div class="w-full h-[calc(100%-36px)] flex flex-col">
<div class="flex items-center justify-end mr-[13px] transform-translate-y-[-50%] h-0">
<!-- <div class="flex items-center justify-end mr-[13px] transform-translate-y-[-50%] h-0">
<div class="text-[15px] text-[#84E8FF]">更多</div>
<SvgComponent :content="moreArrowSvg" class="w-[14px] h-[22px]" />
</div>
</div> -->
<div class="flex items-baseline leading-[1] mt-[29px] mx-[27px]">
<div class="text-[#44C1EF] italic text-[20px] font-700">总获客</div>
<div class="text-[40px] font-700 italic pr-[4px] text-color" :data-text="sixStatisticsData.total || 0">{{ sixStatisticsData.total || 0 }}</div>
@ -48,11 +48,11 @@
arrowLeftSvg.value = svg;
};
const moreArrowSvg = ref("");
const getMoreArrowSvg = async () => {
const { default: svg } = await import("/src/assets/svg-img/more-arrow.svg?raw");
moreArrowSvg.value = svg;
};
// const moreArrowSvg = ref("");
// const getMoreArrowSvg = async () => {
// const { default: svg } = await import("/src/assets/svg-img/more-arrow.svg?raw");
// moreArrowSvg.value = svg;
// };
const sixStatisticsData = inject("sixStatisticsData", ref<{ total: number; items: { data: string; total: number }[] }>({ total: 0, items: [] }));
@ -61,7 +61,7 @@
getHeaderRightSvg();
getArrowLeftSvg();
getMoreArrowSvg();
// getMoreArrowSvg();
});
</script>