This commit is contained in:
zhaotiantian
2023-12-08 18:23:08 +08:00
parent 123b681dc3
commit 7bcc265bd7
18 changed files with 1088 additions and 115 deletions
+8
View File
@@ -2,6 +2,7 @@
<div class="title-d">
<span>{{ props.title }}</span>
<div>
<span class="tips"><slot name="title"></slot></span>
<span v-if="isShowMore" style="font-size: 14px; font-weight: 100; cursor: pointer; margin-right: 3px" @click="clickMore">更多&gt;</span>
<img src="../assets/img/point.png" alt="" />
</div>
@@ -19,6 +20,7 @@
},
});
const emit = defineEmits(['clickMore']);
function clickMore() {
emit('clickMore');
}
@@ -55,5 +57,11 @@
left: 0;
background-color: #45a2ff;
}
.tips {
font-size: 13px;
padding-right: 10px;
font-weight: normal;
}
}
</style>