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);
|
||||
}
|
||||
|
||||
var productId = ((ProductDetailsModel)additionalData).Id;
|
||||
var productId = ((ProductOverviewModel)additionalData).Id;
|
||||
|
||||
|
||||
//model.ProductId = productId;
|
||||
|
|
|
|||
|
|
@ -28,6 +28,9 @@
|
|||
|
||||
},
|
||||
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);
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -130,6 +130,9 @@
|
|||
<None Update="Content\Css\toastr.min.css">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Content\ding.mp3">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Content\Images\wallpaper.jpg">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
@using Nop.Core.Infrastructure
|
||||
@using Nop.Web.Framework
|
||||
@using Nop.Plugin.Misc.AuctionPlugin.Domains.Dtos;
|
||||
@using System.Web
|
||||
|
||||
@{
|
||||
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">
|
||||
<span class="font-weight-bold">Description:</span>
|
||||
<p class="mb-0 mt-2 text-muted">
|
||||
@Html.Raw(Model.ActiveProductDetails.FullDescription)
|
||||
@Html.Raw(HttpUtility.HtmlDecode(Model.ActiveProductDetails.FullDescription))
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in New Issue