Compare commits

..

No commits in common. "3b053531f95d7d10eb793c850d000024aff5831e" and "c0c7fa32981edda3a82d9159b759a18c6cb32775" have entirely different histories.

3 changed files with 4 additions and 11 deletions

View File

@ -92,5 +92,6 @@ onMounted(() => {
background-color: #fff; background-color: #fff;
padding:5px; padding:5px;
border-radius: 4px; border-radius: 4px;
overflow-y: auto;
} }
</style> </style>

View File

@ -1,6 +1,5 @@
<template> <template>
<div class="list-content"> <div class="list-container">
<div class="list-container">
<div class="content-list" v-for="(item, index) in items" :key="index" @click="handleClick(item)"> <div class="content-list" v-for="(item, index) in items" :key="index" @click="handleClick(item)">
<div class="item-content"> <div class="item-content">
<div class="item-text"> <div class="item-text">
@ -16,7 +15,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
@ -102,16 +100,12 @@ const handleClick = (item) => {
</script> </script>
<style scoped> <style scoped>
.list-content{
padding: 8px;
background-color: #f5f5f5;
border-radius: 8px;
height: 100%;
}
.list-container { .list-container {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 16px; gap: 16px;
padding: 8px;
background-color: #f5f5f5;
} }
.content-list { .content-list {

View File

@ -109,7 +109,5 @@ const listeners = computed(() => ({
.no-horizontal-scroll { .no-horizontal-scroll {
overflow: auto; overflow: auto;
overflow-x: hidden; overflow-x: hidden;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer 10+ */
} }
</style> </style>