Commit 87b65028 authored by shirlyn.guo's avatar shirlyn.guo 👌🏻

chore: 应用广场分类栏添加滚动条

parent 85b5a913
...@@ -186,18 +186,20 @@ function handleAddAgentApplications() { ...@@ -186,18 +186,20 @@ function handleAddAgentApplications() {
<div class="h-[20px] bg-[#f3f6f9]"></div> <div class="h-[20px] bg-[#f3f6f9]"></div>
</n-collapse-transition> </n-collapse-transition>
<div class="sticky top-[-30px] z-10"> <div class="sticky top-[-30px] z-10">
<div class="flex items-center rounded-[5px] bg-white py-[9px] pl-[9px]"> <n-scrollbar x-scrollable>
<button <div class="flex items-center rounded-[5px] bg-white py-[9px] pl-[9px]">
v-for="classify in mallCategoryList" <button
:key="classify.id" v-for="classify in mallCategoryList"
:focusable="false" :key="classify.id"
:class="['classify-radio-button', { active: checkedClassifyValue === classify.id }]" :focusable="false"
class="mr-[4px] min-w-[86px] cursor-pointer rounded-[5px] border-[1px] border-[#fff] bg-transparent px-[5px] py-[5px] transition-colors duration-300 hover:bg-[#eeefff]" :class="['classify-radio-button', { active: checkedClassifyValue === classify.id }]"
@click="checkedClassifyValue = classify.id" class="mr-[4px] cursor-pointer whitespace-nowrap rounded-[5px] border-[1px] border-[#fff] bg-transparent px-[5px] py-[5px] transition-colors duration-300 hover:bg-[#eeefff]"
> @click="checkedClassifyValue = classify.id"
{{ classify.categoryName }} >
</button> {{ classify.categoryName }}
</div> </button>
</div>
</n-scrollbar>
</div> </div>
<n-scrollbar style="max-height: 920px"> <n-scrollbar style="max-height: 920px">
<div> <div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment