Tag 标签

用于表示区域的状态的标签

引入

import { Tag } from 'mand-mobile-next'

Vue.createApp().component(Tag.name, Tag)

代码演示

API

Tag Props

属性说明类型默认值可选值
size标签大小Stringlargetiny, small, large
shape标签形状Stringsquaresquare, circle, fillet, quarter, coupon,bubble
sharp标签尖角Stringtop-left, top-right, bottom-left, bottom-right
type标签样式Stringghostfill(填充), ghost(线框)
fill-color标签颜色rgba or hex numberStringrgba(0,0,0,0)
font-weight字体粗细Stringnormalnormal, bold, bolder
font-color字体颜色rgba or hex numberString#fc9153