提交 0f6bf61b 作者: 方治民

feat: Icon 图标调整

上级 fcd0aecd
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
required: true, required: true,
}, },
size: { size: {
type: Number || String, type: [Number, String],
default: 32, default: 32,
}, },
color: { color: {
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
} }
Message.toast('👋🏻') Message.toast('👋🏻')
animate.value = 'animate-iteration-infinite' animate.value = 'animate-swing'
setTimeout(() => (animate.value = null), 1500) setTimeout(() => (animate.value = null), 1500)
} }
</script> </script>
...@@ -59,9 +59,9 @@ ...@@ -59,9 +59,9 @@
<view class="flex-center flex-col mb-5"> <view class="flex-center flex-col mb-5">
<text class="title">{{ title }}</text> <text class="title">{{ title }}</text>
<text class="title">{{ $t('app.hello') }}</text> <text class="title">{{ $t('app.hello') }}</text>
<Icon icon="emojione:grinning-face" size="48" class="m-3" /> <Icon icon="emojione:grinning-face" size="48" class="mt-3" />
<uni-icons type="hand-up" size="30" class="mt-3 animate-swing" :class="[animate]" @click="handUp" /> <uni-icons type="hand-up" size="30" class="mt-3" :class="[animate]" @click="handUp" />
</view> </view>
<fui-footer isFixed> <fui-footer isFixed>
<template #text> <template #text>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论