Commit 27b795c7 authored by zhangyichen's avatar zhangyichen

调整角标位置

parent 3011a858
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
style="height: 14px;border-radius: 14px;font-size: 20px;line-height: 14px" style="height: 14px;border-radius: 14px;font-size: 20px;line-height: 14px"
:style="{ :style="{
'top':type === 1 ? '-22px' : type === 2 ? '-16px' : '0', 'top':type === 1 ? '-22px' : type === 2 ? '-16px' : '0',
'left':type === 1 ? '-8px': type === 2 ? '-8px' : '-2px', 'left':type === 1 ? '-10px': type === 2 ? '-8px' : '-2px',
'width':num > 99 ? '24px': '14px', 'width':num > 99 ? '24px': '14px',
}"> }">
<div style="transform: scale(0.5)" :style="{ <div style="transform: scale(0.5)" :style="{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment