Compare commits
No commits in common. "27017fc9466b0e67a2c22652b3cc14ff48e2cdec" and "3d2b102355549377ca5101a9046f2a8fa3aeade9" have entirely different histories.
27017fc946
...
3d2b102355
|
@ -92,5 +92,6 @@ onMounted(() => {
|
|||
background-color: #fff;
|
||||
padding:5px;
|
||||
border-radius: 4px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
</style>
|
|
@ -1,6 +1,5 @@
|
|||
<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="item-content">
|
||||
<div class="item-text">
|
||||
|
@ -16,7 +15,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</template>
|
||||
|
@ -102,16 +100,12 @@ const handleClick = (item) => {
|
|||
</script>
|
||||
|
||||
<style scoped>
|
||||
.list-content{
|
||||
padding: 8px;
|
||||
background-color: #f5f5f5;
|
||||
border-radius: 8px;
|
||||
height: 100%;
|
||||
}
|
||||
.list-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
padding: 8px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.content-list {
|
||||
|
|
|
@ -109,7 +109,5 @@ const listeners = computed(() => ({
|
|||
.no-horizontal-scroll {
|
||||
overflow: auto;
|
||||
overflow-x: hidden;
|
||||
scrollbar-width: none; /* Firefox */
|
||||
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue