html:
<i class="reTip" v-if="shortcut.iconIndex === 2 && isShowRedDot"></i>
css:位置不对调一下位置即可
.reTip{display:block;background:#f00;border-radius:50%;width:0.6rem;height:0.6rem;top:-0.2rem;right:-0.2rem;position:absolute;z-index: 4;
}
html:
<i class="reTip" v-if="shortcut.iconIndex === 2 && isShowRedDot"></i>
css:位置不对调一下位置即可
.reTip{display:block;background:#f00;border-radius:50%;width:0.6rem;height:0.6rem;top:-0.2rem;right:-0.2rem;position:absolute;z-index: 4;
}