38 lines
794 B
Vue
38 lines
794 B
Vue
<script setup lang="ts">
|
|
import {
|
|
Switch,
|
|
SwitchContent,
|
|
SwitchControl,
|
|
SwitchThumb,
|
|
SwitchGroup,
|
|
} from "@heroui-vue/components";
|
|
</script>
|
|
<template>
|
|
<SwitchGroup class="overflow-x-auto" orientation="horizontal">
|
|
<Switch name="notifications">
|
|
<SwitchContent>
|
|
<SwitchControl>
|
|
<SwitchThumb />
|
|
</SwitchControl>
|
|
通知
|
|
</SwitchContent>
|
|
</Switch>
|
|
<Switch name="marketing">
|
|
<SwitchContent>
|
|
<SwitchControl>
|
|
<SwitchThumb />
|
|
</SwitchControl>
|
|
营销
|
|
</SwitchContent>
|
|
</Switch>
|
|
<Switch name="social">
|
|
<SwitchContent>
|
|
<SwitchControl>
|
|
<SwitchThumb />
|
|
</SwitchControl>
|
|
社交
|
|
</SwitchContent>
|
|
</Switch>
|
|
</SwitchGroup>
|
|
</template>
|