diff --git a/index.html b/index.html index ddb03e7..f1f2a87 100644 --- a/index.html +++ b/index.html @@ -23,6 +23,9 @@ body{font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,s .card-title{font-size:20px;font-weight:700;margin-bottom:8px} .card-price{font-size:24px;font-weight:800;color:var(--ink);margin-bottom:12px} .card-cat{display:inline-block;background:var(--cyan-50);color:var(--ink);padding:4px 12px;border-radius:20px;font-size:14px;font-weight:600;margin-bottom:12px} +.status-badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:13px;font-weight:600;margin-left:8px} +.status-paid{background:#d4edda;color:#155724} +.status-waiting{background:#fff3cd;color:#856404} .btn{display:inline-block;background:var(--cyan);color:var(--ink);padding:14px 28px;border-radius:8px;font-weight:700;text-decoration:none;border:none;cursor:pointer} .btn:hover{opacity:0.9} .btn-green{background:var(--green);color:#fff} @@ -85,6 +88,7 @@ body{font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,s
Родитель оплатил онлайн → ребёнок показывает код → забирает товар
+ +Предоплаченных заказов пока нет
'; + } else { + let html = ''; + if (activeOrders.length > 0) { + html += '