u-badge小红点传value
例如noticeCount
<view style="position: relative;">
<u-icon name="chat" color="#2979ff" size="60rpx"></u-icon>
<u-badge style="position: absolute; top: -5rpx; right: -10rpx;" type="error"
numberType="overflow" max="99" :value="noticeCount"></u-badge>
</view>
or v-model:
<view style="position: relative;">
<u-icon name="chat" color="#2979ff" size="60rpx"></u-icon>
<u-badge style="position: absolute; top: -5rpx; right: -10rpx;" type="error"
numberType="overflow" max="99" v-model="noticeCount"></u-badge>
</view>