Mango.Nop.Plugins/Nop.Plugin.Misc.AIPlugin/Views/Help/Index.cshtml

534 lines
20 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@{
Layout = "_Root";
ViewBag.Title = "Segítség";
}
<style>
.help-page {
max-width: 780px;
margin: 0 auto;
padding: 0 0 60px;
font-family: 'DM Sans', sans-serif;
}
.help-hero {
background: linear-gradient(135deg, #1a3c22 0%, #2d7a3a 100%);
border-radius: 12px;
padding: 36px 32px;
margin-bottom: 36px;
color: #fff;
display: flex;
align-items: center;
gap: 24px;
}
.help-hero-icon {
font-size: 48px;
opacity: 0.9;
flex-shrink: 0;
}
.help-hero h1 {
font-size: 26px;
font-weight: 800;
margin-bottom: 8px;
letter-spacing: -0.5px;
}
.help-hero p {
font-size: 15px;
opacity: 0.85;
line-height: 1.6;
margin: 0;
}
/* ── Section ─────────────────────────────────────────────── */
.help-section {
margin-bottom: 36px;
}
.help-section-title {
font-size: 18px;
font-weight: 700;
color: #1a3c22;
border-left: 4px solid #2d7a3a;
padding-left: 14px;
margin-bottom: 18px;
letter-spacing: -0.3px;
}
/* ── Step cards ──────────────────────────────────────────── */
.help-steps {
display: flex;
flex-direction: column;
gap: 12px;
}
.help-step {
display: flex;
gap: 16px;
background: #f5f7f2;
border: 1px solid #dde8da;
border-radius: 10px;
padding: 16px 18px;
align-items: flex-start;
}
.help-step-num {
width: 36px;
height: 36px;
border-radius: 50%;
background: #2d7a3a;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 700;
flex-shrink: 0;
}
.help-step-num.amber { background: #f4a236; color: #1a3c22; }
.help-step-body {}
.help-step-title { font-weight: 700; color: #1a3c22; margin-bottom: 4px; font-size: 14px; }
.help-step-desc { font-size: 13px; color: #4a5e4d; line-height: 1.6; }
/* ── Two-column flow cards ───────────────────────────────── */
.help-flow-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 16px;
}
.help-flow-card {
border-radius: 10px;
padding: 20px;
border: 2px solid;
}
.help-flow-card.green {
background: #eaf3de;
border-color: #2d7a3a;
}
.help-flow-card.amber {
background: #fff8ee;
border-color: #f4a236;
}
.hfc-icon {
font-size: 28px;
margin-bottom: 10px;
}
.help-flow-card.green .hfc-icon { color: #2d7a3a; }
.help-flow-card.amber .hfc-icon { color: #c87500; }
.hfc-title {
font-size: 15px;
font-weight: 800;
margin-bottom: 8px;
}
.help-flow-card.green .hfc-title { color: #1a3c22; }
.help-flow-card.amber .hfc-title { color: #7a4200; }
.hfc-when {
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: .5px;
margin-bottom: 6px;
}
.help-flow-card.green .hfc-when { color: #2d7a3a; }
.help-flow-card.amber .hfc-when { color: #c87500; }
.hfc-desc {
font-size: 13px;
color: #444;
line-height: 1.6;
margin-bottom: 10px;
}
.hfc-example {
font-size: 12px;
background: rgba(255,255,255,0.6);
border-radius: 6px;
padding: 8px 10px;
color: #555;
line-height: 1.5;
font-style: italic;
}
/* ── Table ───────────────────────────────────────────────── */
.help-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
margin: 14px 0;
}
.help-table th {
background: #1a3c22;
color: #fff;
padding: 9px 13px;
text-align: left;
font-weight: 600;
font-size: 11px;
text-transform: uppercase;
letter-spacing: .4px;
}
.help-table th:first-child { border-radius: 6px 0 0 0; }
.help-table th:last-child { border-radius: 0 6px 0 0; }
.help-table td {
padding: 10px 13px;
border-bottom: 1px solid #dde8da;
color: #2c3e2e;
vertical-align: top;
line-height: 1.5;
}
.help-table tr:last-child td { border-bottom: none; }
.help-table tr:nth-child(even) td { background: #f5f7f2; }
/* ── FAQ ─────────────────────────────────────────────────── */
.help-faq { display: flex; flex-direction: column; gap: 8px; }
.help-faq-item {
border: 1px solid #dde8da;
border-radius: 8px;
overflow: hidden;
}
.help-faq-q {
width: 100%;
background: #f5f7f2;
border: none;
padding: 13px 16px;
text-align: left;
font-family: 'DM Sans', sans-serif;
font-size: 13px;
font-weight: 600;
color: #1a3c22;
cursor: pointer;
display: flex;
align-items: center;
gap: 10px;
}
.help-faq-q:hover { background: #eaf3de; }
.help-faq-q .fa-chevron-down { margin-left: auto; font-size: 11px; color: #6b7c6e; transition: transform 0.2s; }
.help-faq-q.open .fa-chevron-down { transform: rotate(180deg); }
.help-faq-q .fa:first-child { color: #2d7a3a; }
.help-faq-a {
display: none;
padding: 12px 16px;
font-size: 13px;
color: #444;
line-height: 1.7;
border-top: 1px solid #dde8da;
background: #fff;
}
/* ── Banner ──────────────────────────────────────────────── */
.help-banner {
background: #fff8ee;
border: 1px solid #f4c87a;
border-left: 4px solid #f4a236;
border-radius: 8px;
padding: 14px 18px;
font-size: 13px;
color: #7a4200;
display: flex;
gap: 12px;
align-items: flex-start;
line-height: 1.6;
margin: 14px 0;
}
.help-banner .fa { color: #f4a236; flex-shrink: 0; margin-top: 1px; font-size: 16px; }
.help-banner.green {
background: #eaf3de;
border-color: #a8d08d;
border-left-color: #2d7a3a;
color: #1a3c22;
}
.help-banner.green .fa { color: #2d7a3a; }
/* ── CTA ─────────────────────────────────────────────────── */
.help-cta {
background: linear-gradient(135deg, #1a3c22 0%, #2d7a3a 100%);
border-radius: 12px;
padding: 28px 32px;
text-align: center;
color: #fff;
margin-top: 40px;
}
.help-cta h3 {
font-size: 20px;
font-weight: 800;
margin-bottom: 8px;
}
.help-cta p {
font-size: 14px;
opacity: 0.85;
margin-bottom: 20px;
line-height: 1.6;
}
.help-cta-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: #f4a236;
color: #1a3c22 !important;
font-weight: 700;
font-size: 15px;
padding: 12px 28px;
border-radius: 8px;
text-decoration: none;
transition: background 0.18s;
}
.help-cta-btn:hover { background: #e8922a; }
@@media (max-width: 600px) {
.help-hero { flex-direction: column; text-align: center; padding: 24px 20px; }
.help-flow-grid { grid-template-columns: 1fr; }
}
</style>
<div class="help-page">
<!-- ── Hero ──────────────────────────────────────────────────────── -->
<div class="help-hero">
<div class="help-hero-icon"><i class="fa fa-question-circle"></i></div>
<div>
<h1>Hogyan rendeljek a FruitBankon?</h1>
<p>Minden, amit a rendelési folyamatról tudni kell — egyszerűen elmagyarázva.</p>
</div>
</div>
<!-- ── 1. A két rendelési mód ─────────────────────────────────────── -->
<div class="help-section">
<div class="help-section-title">A két rendelési mód</div>
<div class="help-flow-grid">
<div class="help-flow-card green">
<div class="hfc-icon"><i class="fa fa-shopping-basket"></i></div>
<div class="hfc-title">Rendelés</div>
<div class="hfc-when">Azonnali teljesítés</div>
<div class="hfc-desc">A raktáron lévő árukból azonnal leadhatsz rendelést. A termékeket szabad szöveges keresővel vagy <strong>hangutasítással</strong> adhatod a kosárhoz.</div>
<div class="hfc-example">Pl. „Narancs 100 doboz, alma 50 kg" — bemond vagy begépeled, a rendszer megtalálja a termékeket.</div>
</div>
<div class="help-flow-card amber">
<div class="hfc-icon"><i class="fa fa-calendar-plus-o"></i></div>
<div class="hfc-title">Előrendelés</div>
<div class="hfc-when">Jövő heti áru</div>
<div class="hfc-desc">Ha az áru még úton van (jövő héten érkezik), leadhatsz egy kívánságlistát. Amint megérkezik a szállítmány, <strong>automatikusan rendelés lesz belőle</strong> és e-mailben értesítünk.</div>
<div class="hfc-example">Pl. Hétfőn rendeled a csütörtökön érkező narancsot — a rendszer feljegyzi és automatikusan intézi.</div>
</div>
</div>
<div class="help-banner">
<i class="fa fa-info-circle"></i>
<div>A rendszer <strong>automatikusan</strong> dönti el, melyik módot mutatja — nem kell manuálisan választani. A kiválasztott szállítási nap alapján azonnal jelzi, mire számíthatsz.</div>
</div>
</div>
<!-- ── 2. Mikor melyik mód ─────────────────────────────────────────── -->
<div class="help-section">
<div class="help-section-title">Mikor melyik mód jelenik meg?</div>
<table class="help-table">
<thead>
<tr>
<th>Mai nap</th>
<th>Kért szállítási nap</th>
<th>Mód</th>
</tr>
</thead>
<tbody>
<tr>
<td>Hétfő / Kedd / Szerda</td>
<td>Bármely nap</td>
<td><strong style="color:#c87500;">Előrendelés</strong> — a heti áru még úton van</td>
</tr>
<tr>
<td>Csütörtök / Péntek / Szombat / Vasárnap</td>
<td>Következő héten (hétfőszerda)</td>
<td><strong style="color:#2d7a3a;">Rendelés</strong> — raktárkészletből azonnal</td>
</tr>
<tr>
<td>Csütörtök / Péntek / Szombat / Vasárnap</td>
<td>Ezen a héten (csütörtökvasárnap)</td>
<td><strong style="color:#2d7a3a;">Rendelés</strong> — az áru már megérkezett</td>
</tr>
<tr>
<td>Bármely nap</td>
<td>Jövő hét csütörtöktől</td>
<td><strong style="color:#c87500;">Előrendelés</strong> — jövő heti szállítmányból</td>
</tr>
</tbody>
</table>
</div>
<!-- ── 3. Lépések ─────────────────────────────────────────────────── -->
<div class="help-section">
<div class="help-section-title">A rendelés menete lépésről lépésre</div>
<div class="help-steps">
<div class="help-step">
<div class="help-step-num">1</div>
<div class="help-step-body">
<div class="help-step-title">Válassz szállítási napot és időpontot</div>
<div class="help-step-desc">Kattints a kívánt napra a naptárban, majd állítsd be a szállítási időpontot. A rendszer azonnal jelzi, hogy rendelés vagy előrendelés lesz-e belőle.</div>
</div>
</div>
<div class="help-step">
<div class="help-step-num">2</div>
<div class="help-step-body">
<div class="help-step-title">Add meg a termékeket</div>
<div class="help-step-desc"><strong>Rendelésnél:</strong> keress szöveggel (pl. „narancs 100") vagy nyomj a mikrofon gombra és mondd be hangosan. A rendszer megtalálja a termékeket és javasolja a mennyiséget.<br><strong>Előrendelésnél:</strong> a rendszer megmutatja az előrendelhető termékeket — csak add meg a kívánt mennyiségeket.</div>
</div>
</div>
<div class="help-step">
<div class="help-step-num">3</div>
<div class="help-step-body">
<div class="help-step-title">Ellenőrizd a kosarat / összesítőt</div>
<div class="help-step-desc">Jobb oldalon látod az összes hozzáadott terméket és a becsült összeget. A súlymérést igénylő tételeknél az ár a mérés után véglegesedik.</div>
</div>
</div>
<div class="help-step">
<div class="help-step-num">4</div>
<div class="help-step-body">
<div class="help-step-title">Add le a rendelést</div>
<div class="help-step-desc"><strong>Rendelésnél:</strong> kattints a „Tovább a pénztárhoz" gombra és erősítsd meg a rendelést.<br><strong>Előrendelésnél:</strong> kattints az „Előrendelés leadása" gombra. Visszaigazolást kapsz e-mailben, majd a szállítmány megérkezésekor értesítünk a végeredményről.</div>
</div>
</div>
</div>
</div>
<!-- ── 4. Hangalapú rendelés ──────────────────────────────────────── -->
<div class="help-section">
<div class="help-section-title">Hangalapú rendelés — hogyan használd?</div>
<div class="help-banner green">
<i class="fa fa-microphone"></i>
<div>A hangalapú bevitel <strong>raktármunkások számára</strong> tervezett funkció — gyors és kézszabad rendelés mobilon, táblagépen egyaránt.</div>
</div>
<div class="help-steps">
<div class="help-step">
<div class="help-step-num">1</div>
<div class="help-step-body">
<div class="help-step-title">Nyomj a mikrofon gombra</div>
<div class="help-step-desc">A böngésző engedélyt kér a mikrofonhoz — engedélyezd. A rendszer automatikusan érzékeli, mikor kezdesz el és mikor fejezed be a beszédet.</div>
</div>
</div>
<div class="help-step">
<div class="help-step-num">2</div>
<div class="help-step-body">
<div class="help-step-title">Mondd be a termékeket és a rekeszek számát</div>
<div class="help-step-desc">Pl. „Narancs száz, alma ötven, banán harminc." Mondd határozottan, a termékek nevét és mennyiségét együtt. A rendszer automatikusan leáll, ha hallgatás érzékel.</div>
</div>
</div>
<div class="help-step">
<div class="help-step-num">3</div>
<div class="help-step-body">
<div class="help-step-title">Ellenőrizd a találatokat</div>
<div class="help-step-desc">A rendszer megjeleníti, mit értett. Ha valamit rosszul azonosított, állítsd be a mennyiséget kézzel, vagy keress rá szöveggel. Majd add a kosárhoz.</div>
</div>
</div>
</div>
</div>
<!-- ── 5. Előrendelés részletei ──────────────────────────────────── -->
<div class="help-section">
<div class="help-section-title">Előrendelés — amit tudni kell</div>
<div class="help-faq">
<div class="help-faq-item">
<button class="help-faq-q" type="button">
<i class="fa fa-circle" style="font-size:8px;"></i>
Garantált az előrendelés teljesítése?
<i class="fa fa-chevron-down"></i>
</button>
<div class="help-faq-a">
Nem — az előrendelés egy <strong>kívánságlista</strong>, nem kötelező érvényű megrendelés. Ha a szállítmány nem hoz elegendő árut (pl. kevesebb érkezett a vártnál), a rendszer az érkezési sorrend alapján osztja el a készletet. Mindig értesítünk e-mailben, hogy miből mennyi teljesült.
</div>
</div>
<div class="help-faq-item">
<button class="help-faq-q" type="button">
<i class="fa fa-circle" style="font-size:8px;"></i>
Mi történik, ha csak részben teljesül?
<i class="fa fa-chevron-down"></i>
</button>
<div class="help-faq-a">
Automatikusan létrejön egy rendelés a teljesített tételekkel, és e-mailben értesítünk a részletekről — miből mennyi érkezett, és mi maradt ki. A kiesett tételek nem kerülnek automatikusan a következő szállítmányra.
</div>
</div>
<div class="help-faq-item">
<button class="help-faq-q" type="button">
<i class="fa fa-circle" style="font-size:8px;"></i>
Mikor jön létre a tényleges rendelés?
<i class="fa fa-chevron-down"></i>
</button>
<div class="help-faq-a">
Amint az adminisztrátor feldolgozza a szállítói dokumentumokat és rögzíti az érkező árut, a rendszer automatikusan létrehozza a rendelést. Ez általában a szállítást megelőző napon, szerdán vagy csütörtökön történik.
</div>
</div>
<div class="help-faq-item">
<button class="help-faq-q" type="button">
<i class="fa fa-circle" style="font-size:8px;"></i>
Módosíthatom az előrendelésemet?
<i class="fa fa-chevron-down"></i>
</button>
<div class="help-faq-a">
Az előrendelés módosítása jelenleg fejlesztés alatt van. Addig lépj kapcsolatba velünk telefonon vagy e-mailben, és segítünk a módosításban.
</div>
</div>
<div class="help-faq-item">
<button class="help-faq-q" type="button">
<i class="fa fa-circle" style="font-size:8px;"></i>
Hol látom az előrendeléseimet?
<i class="fa fa-chevron-down"></i>
</button>
<div class="help-faq-a">
A <a href="@Url.Action("List", "CustomerPreorder")" style="color:#2d7a3a;font-weight:600;">Saját fiók → Előrendeléseim</a> oldalon látod az összes leadott előrendelést, azok állapotát és a létrejött rendelésekre mutató hivatkozást.
</div>
</div>
</div>
</div>
<!-- ── CTA ────────────────────────────────────────────────────────── -->
<div class="help-cta">
<h3>Készen állsz a rendelésre?</h3>
<p>Válassz szállítási napot, és a rendszer vezet végig a folyamaton.</p>
<a href="@Url.Action("Index", "Order")" class="help-cta-btn">
<i class="fa fa-bolt"></i> Rendelés indítása
</a>
</div>
</div>
<script asp-location="Footer">
$(function () {
// FAQ accordion
$('.help-faq-q').click(function () {
var $a = $(this).next('.help-faq-a');
var isOpen = $a.is(':visible');
$('.help-faq-a').slideUp(180);
$('.help-faq-q').removeClass('open');
if (!isOpen) {
$a.slideDown(180);
$(this).addClass('open');
}
});
});
</script>