重写SlideView组件

This commit is contained in:
叮叮当
2023-08-03 15:12:21 +08:00
parent 592d746914
commit 8eb8fef4f9
6 changed files with 246 additions and 301 deletions

View File

@@ -0,0 +1,24 @@
<script lang="ts" setup>
// 输入参数
const props = defineProps({
linkurl: String,
title: String,
})
</script>
<template>
<div
class="ms-1"
>
<RouterLink
:to="props.linkurl ? props.linkurl : ''"
class="slider-title"
>
<span>{{ props.title }}</span>
<VIcon
icon="mdi-arrow-right-circle-outline"
class="ms-1"
/>
</RouterLink>
</div>
</template>