From 4f7029f7fea97d8cefc0c8692dfe8596116d37c7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 18 Sep 2026 16:49:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(storefront):=20=E4=BB=B7=E6=A0=BC=E8=A1=A8?= =?UTF-8?q?=E5=88=97=E7=AD=89=E5=AE=BDflex:1=201=200px=E2=80=94=E2=80=94fi?= =?UTF-8?q?ller=E5=9F=BA=E5=AE=BDcontent=E4=BE=9D=E8=B5=96=E8=87=B4?= =?UTF-8?q?=E5=88=97=E8=BE=B9=E7=95=8C=E9=80=90=E8=A1=8C=E4=B8=8D=E9=BD=90?= =?UTF-8?q?(=E5=AE=9E=E6=B5=8Bx=3D501/449=E4=BA=A4=E6=9B=BFvs=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4513);=E8=A1=A8=E5=A4=B4/=E6=99=AE=E9=80=9A=E6=A0=BC/?= =?UTF-8?q?=E4=BB=B7=E6=A0=BCHBox=E4=B8=89=E5=A4=84=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/storefront/index.ui | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wwwroot/storefront/index.ui b/wwwroot/storefront/index.ui index 2c903e0..b622af3 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}}{{ "," 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.75, "flex": "1 1 0px"}}{{ "," if not loop.last }} {% endfor %} ] }{{ "," if price_table.rows }} @@ -184,12 +184,12 @@ "subwidgets": [ {% for c in row %} {% if c.k == 'price' %} - {"widgettype": "HBox", "options": {"css": "filler", "gap": "6px", "alignItems": "center"}, "subwidgets": [ + {"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 %} ]}{{ "," 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)"}}{{ "," 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.75, "color": "var(--ink-2)", "flex": "1 1 0px"}}{{ "," if not loop.last }} {% endif %} {% endfor %} ]