From 8c2c1bb3c40c177fd19b629fd0aac7f377a7b5cc Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 18 Sep 2026 17:47:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(storefront):=20=E4=BB=B7=E6=A0=BC=E8=A1=A8?= =?UTF-8?q?=E6=95=B4=E4=BD=93=E5=AD=97=E5=8F=B7=C3=970.7(0.75=E2=86=920.52?= =?UTF-8?q?5,=E7=94=A8=E6=88=B72026-09-18:=E6=95=B4=E4=B8=AA=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E8=A1=A8=E7=BC=A9=E5=B0=8F)=E2=80=94=E2=80=94?= =?UTF-8?q?=E8=A1=A8=E5=A4=B4/=E6=99=AE=E9=80=9A=E6=A0=BC/=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC/=E5=8E=9F=E4=BB=B7=E5=9B=9B=E5=A4=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/storefront/index.ui | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wwwroot/storefront/index.ui b/wwwroot/storefront/index.ui index a6040b4..7af7812 100644 --- a/wwwroot/storefront/index.ui +++ b/wwwroot/storefront/index.ui @@ -173,7 +173,7 @@ "options": {"css": "tabular-header-row", "width": "100%"}, "subwidgets": [ {% for h in price_table.headers %} - {"widgettype": "Text", "options": {"otext": {{json.dumps(h, ensure_ascii=False)}}, "text": {{json.dumps(h, ensure_ascii=False)}}, "i18n": true, "halign": "left", "css": "filler", "cfontsize": 0.75, "flex": "1 1 0px"}}{{ "," if not loop.last }} + {"widgettype": "Text", "options": {"otext": {{json.dumps(h, ensure_ascii=False)}}, "text": {{json.dumps(h, ensure_ascii=False)}}, "i18n": true, "halign": "left", "css": "filler", "cfontsize": 0.525, "flex": "1 1 0px"}}{{ "," if not loop.last }} {% endfor %} ] }{{ "," if price_table.rows }} @@ -185,11 +185,11 @@ {% for c in row %} {% if c.k == 'price' %} {"widgettype": "HBox", "options": {"css": "filler", "gap": "6px", "alignItems": "center", "flex": "1 1 0px"}, "subwidgets": [ - {"widgettype": "Text", "options": {"otext": {{json.dumps(c.t, ensure_ascii=False)}}, "text": {{json.dumps(c.t, ensure_ascii=False)}}, "i18n": true, "halign": "left", "cfontsize": 0.75, "color": "#e74c3c"}}{% if c.orig %}, - {"widgettype": "Text", "options": {"otext": {{json.dumps(c.orig, ensure_ascii=False)}}, "text": {{json.dumps(c.orig, ensure_ascii=False)}}, "i18n": true, "halign": "left", "cfontsize": 0.75, "color": "var(--ink-3)", "textDecoration": "line-through"}}{% endif %} + {"widgettype": "Text", "options": {"otext": {{json.dumps(c.t, ensure_ascii=False)}}, "text": {{json.dumps(c.t, ensure_ascii=False)}}, "i18n": true, "halign": "left", "cfontsize": 0.525, "color": "#e74c3c"}}{% if c.orig %}, + {"widgettype": "Text", "options": {"otext": {{json.dumps(c.orig, ensure_ascii=False)}}, "text": {{json.dumps(c.orig, ensure_ascii=False)}}, "i18n": true, "halign": "left", "cfontsize": 0.525, "color": "var(--ink-3)", "textDecoration": "line-through"}}{% endif %} ]}{{ "," if not loop.last }} {% else %} - {"widgettype": "Text", "options": {"otext": {{json.dumps(c.t, ensure_ascii=False)}}, "text": {{json.dumps(c.t, ensure_ascii=False)}}, "i18n": true, "halign": "left", "css": "filler", "cfontsize": 0.75, "color": "var(--ink-2)", "flex": "1 1 0px"}}{{ "," if not loop.last }} + {"widgettype": "Text", "options": {"otext": {{json.dumps(c.t, ensure_ascii=False)}}, "text": {{json.dumps(c.t, ensure_ascii=False)}}, "i18n": true, "halign": "left", "css": "filler", "cfontsize": 0.525, "color": "var(--ink-2)", "flex": "1 1 0px"}}{{ "," if not loop.last }} {% endif %} {% endfor %} ]