livescreen broken
This commit is contained in:
parent
cc07f53cfe
commit
f0951f2ec1
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
|
|
@ -29,8 +29,7 @@
|
|||
},
|
||||
bidNotification: function (data) {
|
||||
|
||||
var audio = new Audio('../Plugins/Misc.AuctionPlugin/Content/ding.mp3');
|
||||
audio.play();
|
||||
|
||||
console.log(data);
|
||||
var myObject = JSON.parse(data);
|
||||
console.log(myObject);
|
||||
|
|
@ -47,6 +46,8 @@
|
|||
|
||||
if (publicProductBidBox)
|
||||
{
|
||||
var audio = new Audio('../Plugins/Misc.AuctionPlugin/Content/ding.mp3');
|
||||
audio.play();
|
||||
refreshPublicBidBox(myObject);
|
||||
}
|
||||
if (publicInfo) {
|
||||
|
|
@ -55,7 +56,9 @@
|
|||
}
|
||||
if (liveScreen)
|
||||
{
|
||||
reloadOnUpdate();
|
||||
var audio = new Audio('../../Plugins/Misc.AuctionPlugin/Content/ding.mp3');
|
||||
audio.play();
|
||||
updateOnBid();
|
||||
}
|
||||
else {
|
||||
toastr.success(`<div class="item bidToast"><p>${myObject.currentPrice}</p><p>${myObject.productName}</p></div>`, "New bid arrived", {
|
||||
|
|
|
|||
|
|
@ -133,6 +133,9 @@
|
|||
<None Update="Content\ding.mp3">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Content\Images\logo.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Content\Images\wallpaper.jpg">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
|
|
|||
|
|
@ -11,13 +11,17 @@
|
|||
//page title
|
||||
|
||||
}
|
||||
|
||||
<style>
|
||||
body{
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
</style>
|
||||
@{
|
||||
if (Model.IsAnyItemActive)
|
||||
{
|
||||
<div class="row py-3">
|
||||
<!-- Item Image -->
|
||||
<div class="col-lg-4 col-md-6 mb-4" style="height: calc(100vh - 100px);">
|
||||
<div class="col-lg-4 col-md-6 mb-4" style="height: calc(100vh - 300px);">
|
||||
<div class="card border-0">
|
||||
<img src="@Model.ActiveProductDetails.DefaultPictureModel.FullSizeImageUrl" class="card-img-top img-fluid" alt="Auction Item Image">
|
||||
</div>
|
||||
|
|
@ -42,7 +46,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- Item Details -->
|
||||
<div class="col-lg-8 col-md-6" style="height: calc(100vh - 100px);">
|
||||
<div class="col-lg-8 col-md-6" style="height: calc(100vh - 300px);">
|
||||
<div class="card border-0 bg-transparent h-100">
|
||||
<div class="card-header border-0 bg-transparent">
|
||||
<div class="row">
|
||||
|
|
@ -101,8 +105,10 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" style="height:100px; position: fixed; bottom:0px;">
|
||||
LOGO
|
||||
<div class="row" style="height:300px;">
|
||||
<col-12 class="text-center">
|
||||
<img style="height: 250px; !important" src="../../Plugins/Misc.AuctionPlugin/Content/Images/logo.png" class="img-fluid rounded mx-auto p-5 d-block" />
|
||||
</col-12>
|
||||
</div>
|
||||
|
||||
}
|
||||
|
|
@ -174,6 +180,13 @@
|
|||
function reloadOnUpdate() {
|
||||
location.reload();
|
||||
}
|
||||
|
||||
function updateOnBid(data) {
|
||||
console.log(data);
|
||||
let auctionDto = data.auctionDto;
|
||||
let productToAuction = auctionDto.productToAuctionDtos[0];
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue