diff --git a/wwwroot/storefront/index.ui b/wwwroot/storefront/index.ui index b622af3..a6040b4 100644 --- a/wwwroot/storefront/index.ui +++ b/wwwroot/storefront/index.ui @@ -226,9 +226,10 @@ "fontSize": "11px", "color": {{json.dumps('#27ae60' if extra.subscribed else '#94a3b8')}} } - }, + }{% if not (extra.subscribed and not extra.planned) %},{% endif %} {% endif %} {% endif %} +{% if not (is_pipeline and extra.subscribed and not extra.planned) %} { "widgettype": "HBox", "options": { @@ -246,25 +247,8 @@ } } {% elif is_pipeline and extra.subscribed %} - { - "widgettype": "Button", - "options": { - "label": "进入产线", - "bgcolor": "#2563eb", - "color": "#fff", - "padding": "8px 24px", - "borderRadius": "6px" - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "script", - "target": "self", - "script": {{json.dumps("var _tp=bricks.getWidgetById('main_content',bricks.app);if(_tp&&_tp.open_tab){_tp.open_tab({name:" + json.dumps(extra.tab_name, ensure_ascii=False) + ",label:" + json.dumps(extra.tab_label, ensure_ascii=False) + ",url:" + json.dumps(extra.url, ensure_ascii=False) + ",removable:true});}", ensure_ascii=False)}} - } - ] - } +{# 进入产线按钮已删(2026-09-18 用户要求):导航由卡片整体 click bind 承担 + (is_pipeline 分支的 open_tab),此处不渲染任何控件 #} {% elif is_model %} { "widgettype": "Text", @@ -318,6 +302,7 @@ {% endif %} ] } +{% endif %} ] } {% endif %}