feat: 隐藏更多
parent
d38aa3fdae
commit
2d0faf099a
|
|
@ -9,10 +9,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full h-[calc(100%-36px)] flex flex-col">
|
<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>
|
<div class="text-[15px] text-[#84E8FF]">更多</div>
|
||||||
<SvgComponent :content="moreArrowSvg" class="w-[14px] h-[22px]" />
|
<SvgComponent :content="moreArrowSvg" class="w-[14px] h-[22px]" />
|
||||||
</div>
|
</div> -->
|
||||||
<div class="flex items-baseline leading-[1] mt-[29px] mx-[27px]">
|
<div class="flex items-baseline leading-[1] mt-[29px] mx-[27px]">
|
||||||
<div class="text-[#44C1EF] italic text-[20px] font-700">总获客</div>
|
<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>
|
<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;
|
arrowLeftSvg.value = svg;
|
||||||
};
|
};
|
||||||
|
|
||||||
const moreArrowSvg = ref("");
|
// const moreArrowSvg = ref("");
|
||||||
const getMoreArrowSvg = async () => {
|
// const getMoreArrowSvg = async () => {
|
||||||
const { default: svg } = await import("/src/assets/svg-img/more-arrow.svg?raw");
|
// const { default: svg } = await import("/src/assets/svg-img/more-arrow.svg?raw");
|
||||||
moreArrowSvg.value = svg;
|
// moreArrowSvg.value = svg;
|
||||||
};
|
// };
|
||||||
|
|
||||||
const sixStatisticsData = inject("sixStatisticsData", ref<{ total: number; items: { data: string; total: number }[] }>({ total: 0, items: [] }));
|
const sixStatisticsData = inject("sixStatisticsData", ref<{ total: number; items: { data: string; total: number }[] }>({ total: 0, items: [] }));
|
||||||
|
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
getHeaderRightSvg();
|
getHeaderRightSvg();
|
||||||
getArrowLeftSvg();
|
getArrowLeftSvg();
|
||||||
|
|
||||||
getMoreArrowSvg();
|
// getMoreArrowSvg();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue