diff --git a/CnGalWebSite/CnGalWebSite.Server/wwwroot/css/lottery.css b/CnGalWebSite/CnGalWebSite.Server/wwwroot/css/lottery.css index 78009eb18..ffbf4ae09 100644 --- a/CnGalWebSite/CnGalWebSite.Server/wwwroot/css/lottery.css +++ b/CnGalWebSite/CnGalWebSite.Server/wwwroot/css/lottery.css @@ -15,7 +15,7 @@ @media (min-height: 1000px) { .slotMachine { - margin-top: 200px; + margin-top: 100px; } } diff --git a/CnGalWebSite/CnGalWebSite.Server/wwwroot/styles/lottery.min.css b/CnGalWebSite/CnGalWebSite.Server/wwwroot/styles/lottery.min.css index 856475b59..535a05ca0 100644 --- a/CnGalWebSite/CnGalWebSite.Server/wwwroot/styles/lottery.min.css +++ b/CnGalWebSite/CnGalWebSite.Server/wwwroot/styles/lottery.min.css @@ -1 +1 @@ -.slotMachine-box{min-height:calc(100% - 341px);width:848px;margin:0 auto;padding-top:40px}.slotMachine{background:url(https://app.cngal.org/_content/CnGalWebSite.Shared/images/raffleBg.png) no-repeat;width:692px;height:313px;position:relative;margin-top:50px}@media(min-height:1000px){.slotMachine{margin-top:200px}}.slotMachine-btn{position:absolute;right:-156px;top:calc(50% - 66px)}.slot{width:106px;height:163px;overflow:hidden;position:absolute;background-color:rgba(250,249,250,1);top:103px;border:1px solid rgba(253,138,197,1)}.slot li{display:block;width:106px;height:163px;font-size:72px;text-align:center;line-height:163px}.slot1{left:185px}.slot2{left:305px}.slot3{left:425px}.slot4{left:545px}.slotAnimation{animation:slotSlice 1s linear 0s 1}@keyframes slotSlice{0%{transform:translateY(0)}100%{transform:translateY(-4890px)}}div.prizeTips{padding:1em 0 0;text-align:center;font-size:18px}div.prizeTips>span{font-weight:bold;color:rgba(253,138,197,1);padding:0 .5em}.slotMachine-box ul{padding:0} \ No newline at end of file +.slotMachine-box{min-height:calc(100% - 341px);width:848px;margin:0 auto;padding-top:40px}.slotMachine{background:url(https://app.cngal.org/_content/CnGalWebSite.Shared/images/raffleBg.png) no-repeat;width:692px;height:313px;position:relative;margin-top:50px}@media(min-height:1000px){.slotMachine{margin-top:100px}}.slotMachine-btn{position:absolute;right:-156px;top:calc(50% - 66px)}.slot{width:106px;height:163px;overflow:hidden;position:absolute;background-color:rgba(250,249,250,1);top:103px;border:1px solid rgba(253,138,197,1)}.slot li{display:block;width:106px;height:163px;font-size:72px;text-align:center;line-height:163px}.slot1{left:185px}.slot2{left:305px}.slot3{left:425px}.slot4{left:545px}.slotAnimation{animation:slotSlice 1s linear 0s 1}@keyframes slotSlice{0%{transform:translateY(0)}100%{transform:translateY(-4890px)}}div.prizeTips{padding:1em 0 0;text-align:center;font-size:18px}div.prizeTips>span{font-weight:bold;color:rgba(253,138,197,1);padding:0 .5em}.slotMachine-box ul{padding:0} \ No newline at end of file diff --git a/CnGalWebSite/CnGalWebSite.Shared/Pages/Normal/Lotteries/DrawLottery.razor b/CnGalWebSite/CnGalWebSite.Shared/Pages/Normal/Lotteries/DrawLottery.razor index 42c6eb1b5..3902c50f9 100644 --- a/CnGalWebSite/CnGalWebSite.Shared/Pages/Normal/Lotteries/DrawLottery.razor +++ b/CnGalWebSite/CnGalWebSite.Shared/Pages/Normal/Lotteries/DrawLottery.razor @@ -17,7 +17,7 @@ { -
+
@if (CurrentAward == null) { @@ -71,6 +71,12 @@ } + @if(CurrentAward!=null) + { + + @CurrentAward.Name + } +