You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
Vue
48 lines
1.2 KiB
Vue
|
4 years ago
|
<script setup lang="ts">
|
||
|
|
import { ContentWrap } from '@/components/ContentWrap'
|
||
|
|
import { useI18n } from '@/hooks/web/useI18n'
|
||
|
|
import { Infotip } from '@/components/Infotip'
|
||
|
|
|
||
|
|
const { t } = useI18n()
|
||
|
|
|
||
|
|
const keyClick = (key: string) => {
|
||
|
|
if (key === t('iconDemo.accessAddress')) {
|
||
|
|
window.open('https://iconify.design/')
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<Infotip
|
||
|
|
:show-index="false"
|
||
|
|
:title="`${t('iconDemo.recommendedUse')}${t('iconDemo.iconify')}`"
|
||
|
|
:schema="[
|
||
|
|
{
|
||
|
|
label: t('iconDemo.recommendeDes'),
|
||
|
|
keys: ['Iconify']
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: t('iconDemo.accessAddress'),
|
||
|
|
keys: [t('iconDemo.accessAddress')]
|
||
|
|
}
|
||
|
|
]"
|
||
|
|
@click="keyClick"
|
||
|
|
/>
|
||
|
|
<ContentWrap :title="t('iconDemo.localIcon')">
|
||
|
|
<div class="flex justify-between">
|
||
|
|
<Icon icon="svg-icon:peoples" />
|
||
|
|
<Icon icon="svg-icon:money" />
|
||
|
|
<Icon icon="svg-icon:message" />
|
||
|
|
<Icon icon="svg-icon:shopping" />
|
||
|
|
</div>
|
||
|
|
</ContentWrap>
|
||
|
|
<ContentWrap :title="t('iconDemo.iconify')">
|
||
|
|
<div class="flex justify-between">
|
||
|
|
<Icon icon="ep:aim" />
|
||
|
|
<Icon icon="ep:alarm-clock" />
|
||
|
|
<Icon icon="ep:baseball" />
|
||
|
|
<Icon icon="ep:chat-line-round" />
|
||
|
|
</div>
|
||
|
|
</ContentWrap>
|
||
|
|
</template>
|