revert productdetailsmoddel, extend productoverviewmodel, bid "ding"
This commit is contained in:
parent
6916e80aae
commit
b790d6e4ff
|
|
@ -83,7 +83,7 @@ public class AuctionViewComponent : NopViewComponent
|
||||||
return Content(string.Empty);
|
return Content(string.Empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
var productId = ((ProductDetailsModel)additionalData).Id;
|
var productId = ((ProductOverviewModel)additionalData).Id;
|
||||||
|
|
||||||
|
|
||||||
//model.ProductId = productId;
|
//model.ProductId = productId;
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,9 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
bidNotification: function (data) {
|
bidNotification: function (data) {
|
||||||
|
|
||||||
|
var audio = new Audio('../Plugins/Misc.AuctionPlugin/Content/ding.mp3');
|
||||||
|
audio.play();
|
||||||
//console.log(data);
|
//console.log(data);
|
||||||
var myObject = JSON.parse(data);
|
var myObject = JSON.parse(data);
|
||||||
//console.log(myObject);
|
//console.log(myObject);
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -130,6 +130,9 @@
|
||||||
<None Update="Content\Css\toastr.min.css">
|
<None Update="Content\Css\toastr.min.css">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
<None Update="Content\ding.mp3">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
<None Update="Content\Images\wallpaper.jpg">
|
<None Update="Content\Images\wallpaper.jpg">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
@using Nop.Core.Infrastructure
|
@using Nop.Core.Infrastructure
|
||||||
@using Nop.Web.Framework
|
@using Nop.Web.Framework
|
||||||
@using Nop.Plugin.Misc.AuctionPlugin.Domains.Dtos;
|
@using Nop.Plugin.Misc.AuctionPlugin.Domains.Dtos;
|
||||||
|
@using System.Web
|
||||||
|
|
||||||
@{
|
@{
|
||||||
var defaultGridPageSize = EngineContext.Current.Resolve<Nop.Core.Domain.Common.AdminAreaSettings>().DefaultGridPageSize;
|
var defaultGridPageSize = EngineContext.Current.Resolve<Nop.Core.Domain.Common.AdminAreaSettings>().DefaultGridPageSize;
|
||||||
|
|
@ -75,7 +76,7 @@
|
||||||
<li class="bg-transparent border-0 list-group-item fs-5">
|
<li class="bg-transparent border-0 list-group-item fs-5">
|
||||||
<span class="font-weight-bold">Description:</span>
|
<span class="font-weight-bold">Description:</span>
|
||||||
<p class="mb-0 mt-2 text-muted">
|
<p class="mb-0 mt-2 text-muted">
|
||||||
@Html.Raw(Model.ActiveProductDetails.FullDescription)
|
@Html.Raw(HttpUtility.HtmlDecode(Model.ActiveProductDetails.FullDescription))
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue