fui-preview

This commit is contained in:
Hefeng
2023-08-24 13:18:52 +08:00
parent 53698979cd
commit 6d441215a0

View File

@ -163,6 +163,7 @@ export default {
buttons: 'buttons', buttons: 'buttons',
text: 'text', text: 'text',
color: 'color', color: 'color',
icon:'icon',
} }
}, },
watch: { watch: {
@ -307,7 +308,7 @@ export default {
:style="{ fontSize: `${btnSize}rpx`, color: btn[color] || '#465CFF' }" :style="{ fontSize: `${btnSize}rpx`, color: btn[color] || '#465CFF' }"
:class="{ 'fui-preview__link': !btn[color] }" :class="{ 'fui-preview__link': !btn[color] }"
> >
{{ btn[text] }} {{ btn[text] }}
</text> </text>
</view> </view>
</view> </view>