product details
This commit is contained in:
parent
ec971c0b00
commit
61845516af
4 changed files with 128 additions and 72 deletions
|
@ -1,15 +0,0 @@
|
||||||
@using Wonky.Client.Components
|
|
||||||
@using System.Text.Json
|
|
||||||
@page "/catalog/item/{SalesItemId}"
|
|
||||||
|
|
||||||
<h3>CatalogCountryProductPage</h3>
|
|
||||||
|
|
||||||
@if (!string.IsNullOrWhiteSpace(_item.Sku))
|
|
||||||
{
|
|
||||||
@JsonSerializer.Serialize(_item)
|
|
||||||
}
|
|
||||||
|
|
||||||
@if (_working)
|
|
||||||
{
|
|
||||||
<WorkingThreeDots />
|
|
||||||
}
|
|
71
Wonky.Client/Pages/CatalogProductDetailPage.razor
Normal file
71
Wonky.Client/Pages/CatalogProductDetailPage.razor
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
@using Wonky.Client.Components
|
||||||
|
@using System.Text.Json
|
||||||
|
@page "/catalog/item/{SalesItemId}"
|
||||||
|
|
||||||
|
|
||||||
|
@if (!string.IsNullOrWhiteSpace(_item.Sku))
|
||||||
|
{
|
||||||
|
<PageTitle>Produkt Info @_item.Name</PageTitle>
|
||||||
|
<h3>Produkt Info @_item.Name</h3>
|
||||||
|
<table class="table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td rowspan="10">
|
||||||
|
<img src="@(_item.PictureLink)?width=300" alt="@_item.Name"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
navn
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
@_item.Name
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
varenr
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
@_item.Sku
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
belgisk varenr
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
@_item.VendorItemNo
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>kort navn</td>
|
||||||
|
<td>
|
||||||
|
@_item.ShortName
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>udgået</td>
|
||||||
|
<td>@_item.Discontinued</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>pakke størrelse</td>
|
||||||
|
<td>@_item.BoxSize</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>dokumenter</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
}
|
||||||
|
|
||||||
|
@if (_working)
|
||||||
|
{
|
||||||
|
<WorkingThreeDots />
|
||||||
|
}
|
|
@ -8,7 +8,7 @@ using Wonky.Entity.Views;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class CatalogCountryProductPage
|
public partial class CatalogProductDetailPage
|
||||||
{
|
{
|
||||||
// ##############################################################
|
// ##############################################################
|
||||||
[Inject] public HttpInterceptorService Interceptor { get; set; }
|
[Inject] public HttpInterceptorService Interceptor { get; set; }
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"appInfo": {
|
"appInfo": {
|
||||||
"name": "Wonky Online",
|
"name": "Wonky Online",
|
||||||
"version": "205.0",
|
"version": "208.0",
|
||||||
"rc": true,
|
"rc": true,
|
||||||
"sandBox": true,
|
"sandBox": true,
|
||||||
"image": "grumpy-coder.png",
|
"image": "grumpy-coder.png",
|
||||||
|
|
Loading…
Reference in a new issue