Compare commits

...

2 Commits

Author SHA1 Message Date
小杨 27017fc946 fix:部分修改优化; 2024-11-14 09:51:13 +08:00
yangws c0c7fa3298 Merge pull request 'add:主页进入详情的页面;' (#37) from yangws_ws into main
Reviewed-on: #37
2024-11-13 17:07:30 +08:00
3 changed files with 11 additions and 4 deletions

View File

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

View File

@ -1,5 +1,6 @@
<template>
<div class="list-container">
<div class="list-content">
<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">
@ -15,6 +16,7 @@
</div>
</div>
</div>
</div>
</template>
@ -100,12 +102,16 @@ 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 {

View File

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