Example of official website: https://ext.dcloud.net.cn/plugin?id=28
example
<template>
<view>
<uni-icons type="arrowdown"/>
<uni-icons type="checkmarkempty" color="#007aff" />
<uni-icons type="checkmarkempty" color="#007aff" size="25" />
<uni-icons type="arrowup" color="#ff0000" :size="size" @click="test" />
</view>
</template>
<script>
export default {
data() {
return {
size:35
}
},
methods: {
test() {
this.size++
}
}
}
</script>
Effect picture
If you want to change the icon, just change the type value to the value in the following icon