diff --git a/src/views/Activities/JackPot/components/topUser.vue b/src/views/Activities/JackPot/components/topUser.vue index 604e567..2901c1f 100644 --- a/src/views/Activities/JackPot/components/topUser.vue +++ b/src/views/Activities/JackPot/components/topUser.vue @@ -74,7 +74,7 @@ align-items: center; " :style="{ - width: ranking == '1' ? `35%` : ranking == '2' ? `50%` : `50%`, + width: distributionValueWidth, background: ranking == '1' ? `linear-gradient(270deg, #AD1300 0%, #FE280C 50%, #AD1300 100%)` @@ -88,7 +88,7 @@ src="/src/assets/icon/coin.png" alt="" style="display: block" - :style="{ width: isTopOne ? '20%' : '20%' }" + :style="{ width: coinWidth }" />