chore: 项目基线(基于 WeKnora 定制版,整理文件忽略规则)
This commit is contained in:
commit
9097ee699d
5769 files changed
+1446466
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<button
|
||||
type="button"
|
||||
class="ext-cta"
|
||||
:class="`ext-cta--${variant}`"
|
||||
:title="hint"
|
||||
@click="emit('click')"
|
||||
>
|
||||
<span class="ext-cta__badge" aria-hidden="true">
|
||||
<slot name="icon" />
|
||||
</span>
|
||||
<span class="ext-cta__label">{{ label }}</span>
|
||||
<span class="ext-cta__arrow-wrap" aria-hidden="true">
|
||||
<t-icon name="jump" class="ext-cta__arrow" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
label: string
|
||||
hint?: string
|
||||
variant?: 'chrome' | 'claw'
|
||||
}>(),
|
||||
{ variant: 'chrome' },
|
||||
)
|
||||
|
||||
const emit = defineEmits<{
|
||||
click: []
|
||||
}>()
|
||||
</script>
|
||||
Reference in new issue
Block a user