{% if seo %} {% if seo.prev_canonical_url %} {% endif %} {% if seo.next_canonical_url %} {% endif %} {% for hreflang, href in seo.alternate_links.items() %} {% endfor %} {% if seo.feed_url %} {% endif %} {% if seo_schema %} {% endif %} {% endif %} {% set sb = sidebar if sidebar is defined else {'total_users': 0, 'total_posts': 0, 'total_comments': 0, 'category_counts': []} %} {% set related = related_cards if related_cards is defined else [] %} {% set plan_recos = plan_recommendations if plan_recommendations is defined else [] %} {% set resource_links = detail_resource_links if detail_resource_links is defined else [] %} {% set post_faq = detail_faq_items if detail_faq_items is defined else [] %} {% set pricing_prefill_obj = pricing_prefill if pricing_prefill is defined and pricing_prefill else {} %} {% set pricing_target_url = pricing_prefill_obj.url if pricing_prefill_obj and pricing_prefill_obj.url else (url_for('index', lang='en') if lang == 'en' else url_for('index')) %} {% set cta_primary_label = cta_copy.primary_button if cta_copy and cta_copy.primary_button else l('去比价页筛选方案', 'Compare Plans') %} {% set cta_secondary_member_label = cta_copy.secondary_button_member if cta_copy and cta_copy.secondary_button_member else l('发布需求主题', 'Post Requirement Topic') %} {% set cta_secondary_guest_label = cta_copy.secondary_button_guest if cta_copy and cta_copy.secondary_button_guest else l('登录后发布需求', 'Login to Post Requirement') %}
中文 | English {% if current_user %} {{ current_user.username }}{% if current_user.is_banned %}{{ l('(封禁)', ' (Banned)') }}{% endif %} {{ l('个人中心', 'Profile') }} {{ l('通知', 'Notifications') }}{% if notifications_unread_count %}{{ notifications_unread_count }}{% endif %} {{ l('退出', 'Logout') }} {% else %} {{ l('登录', 'Login') }} {{ l('注册', 'Register') }} {% endif %}
{{ post.category or l('综合讨论', 'General') }} {% if post.is_pinned %}{{ l('置顶', 'Pinned') }}{% endif %} {% if post.is_featured %}{{ l('精华', 'Featured') }}{% endif %} {% if post.is_locked %}{{ l('锁帖', 'Locked') }}{% endif %} {% if post.created_at %} {% endif %}

{{ post.title }}

{% if post.updated_at and post.created_at and post.updated_at != post.created_at %} {{ l('最近更新', 'Last updated') }} {{ post.updated_at.strftime('%Y-%m-%d %H:%M') }} {% endif %} {{ l('收藏', 'Bookmarks') }} {{ bookmark_count or 0 }} {{ l('评论', 'Comments') }} {{ comments_count or comments|length }} {{ l('阅读时长', 'Read time') }} {{ read_minutes }} {{ l('分钟', 'min') }}

{{ l('延伸话题', 'Related Threads') }}

{% if related %}
    {% for item in related[:2] %} {% set rp = item.post %} {% set related_tone = (loop.index0 % 4) + 1 %}
  • {{ rp.category or l('综合讨论', 'General') }} {{ rp.title }}
    {{ l('回复', 'Replies') }} {{ item.reply_count }} {{ l('浏览', 'Views') }} {{ item.view_count }}
  • {% endfor %}
{% else %}

{{ l('暂无延伸话题,建议先看评论区争议点。', 'No related threads yet. Check comments for key disagreements.') }}

{% endif %}

{{ l('采购决策速览', 'Procurement Snapshot') }}

{{ l('本帖已沉淀讨论结论与可执行方案,建议先快速浏览要点,再进入比价页筛选。', 'This topic already contains discussion outcomes and executable options. Review the highlights first, then shortlist plans on the comparison page.') }}

  • {{ l('官方链接可直达', 'Official links available') }}
  • {{ l('结合社区经验筛选', 'Filtered with community insights') }}
  • {{ l('支持二次发帖补充需求', 'Post follow-up requirements') }}
{{ cta_primary_label }} {% if requirement_draft %} {% if current_user and not current_user.is_banned %} {{ requirement_draft.action_text_member }} {% elif current_user and current_user.is_banned %} {{ l('账号封禁中,暂不可发帖', 'Account banned. Posting is disabled.') }} {% else %} {{ requirement_draft.action_text_guest }} {% endif %} {% else %} {% if current_user and not current_user.is_banned %} {{ cta_secondary_member_label }} {% elif current_user and current_user.is_banned %} {{ l('账号封禁中,暂不可发帖', 'Account banned. Posting is disabled.') }} {% else %} {{ cta_secondary_guest_label }} {% endif %} {% endif %} {% if plan_recos %} {{ l('查看关联方案', 'Jump to Related Plans') }} {% else %} {{ l('查看全部方案', 'View All Plans') }} {% endif %}
{% if pricing_prefill_obj and pricing_prefill_obj.hint_text %}

{{ pricing_prefill_obj.hint_text }}

{% endif %}
{{ l('推荐方案', 'Recommended Plans') }} {{ plan_recos|length }}
{{ l('评论互动', 'Comment Signals') }} {{ comments_count or comments|length }}
{{ l('决策阅读', 'Decision Read') }} {{ read_minutes }} {{ l('分钟', 'min') }}
{{ l('浏览', 'Views') }}{{ post.view_count or 0 }}
{{ l('评论', 'Comments') }}{{ comments_count or comments|length }}
{{ l('点赞', 'Likes') }}{{ like_count or 0 }}
{{ l('预计阅读', 'Read Time') }}{{ read_minutes }} {{ l('分钟', 'min') }}
{{ sb.total_users or 0 }} {{ l('活跃用户', 'Active Members') }}
{{ sb.total_posts or 0 }} {{ l('社区主题', 'Topics') }}
{{ sb.total_comments or 0 }} {{ l('累计评论', 'Comments') }}
{% if current_user and can_interact %}
{% elif current_user and not can_interact %} {{ l('账号被封禁,暂不可互动', 'Your account is banned. Interaction is disabled.') }} {% else %} {{ l('登录后点赞/收藏', 'Login to like/bookmark') }} {% endif %} {% if current_user and current_user.id == post.user_id and can_interact %} {{ l('编辑帖子', 'Edit Topic') }}
{% elif current_user and current_user.id == post.user_id and not can_interact %} {{ l('账号封禁中,无法编辑或删除帖子', 'Account banned. Editing/deleting is disabled.') }} {% elif current_user and can_interact %}
{% endif %}
{{ post.content|markdown_html }}
{% if resource_links %}

{{ l('延伸阅读与采购路径', 'Extended Reading and Buying Paths') }}

{% endif %} {% if post_faq %}

{{ l('帖子导读 FAQ', 'Topic FAQ') }}

{% for item in post_faq %}
{{ item.question }}
{{ item.answer }}
{% endfor %}
{% endif %} {% if plan_recos %}

{{ l('本帖关联方案速览', 'Plans Mentioned in This Topic') }}

{{ l('查看全部方案', 'View all plans') }}
    {% for plan in plan_recos[:3] %} {% set inline_plan_href = plan.official_url or pricing_target_url %}
  • {{ plan.provider }} · {{ plan.name }}

    {{ plan.region }}

    {{ plan.price_label }}
  • {% endfor %}
{% endif %} {% if requirement_draft %}

{{ l('需求模板快捷入口', 'Requirement Template Shortcut') }}

{{ requirement_draft.intro_text }}

{{ l('预填标题', 'Prefilled title') }} {{ requirement_draft.preview_title }}
    {% for tip in requirement_draft.tips %}
  • {{ tip }}
  • {% endfor %}
{% if current_user and not current_user.is_banned %} {{ requirement_draft.action_text_member }} {% elif current_user and current_user.is_banned %} {{ l('账号封禁中,暂不可发帖', 'Account banned. Posting is disabled.') }} {% else %} {{ requirement_draft.action_text_guest }} {% endif %} {{ l('对照价格页筛选', 'Compare on Pricing Page') }}
{% endif %}

{{ cta_copy.headline }}

{{ cta_copy.description }}

{{ cta_primary_label }} {% if requirement_draft %} {% if current_user and not current_user.is_banned %} {{ requirement_draft.action_text_member }} {% elif current_user and current_user.is_banned %} {{ l('账号封禁中,暂不可发帖', 'Account banned. Posting is disabled.') }} {% else %} {{ requirement_draft.action_text_guest }} {% endif %} {% else %} {% if current_user and not current_user.is_banned %} {{ cta_secondary_member_label }} {% elif current_user and current_user.is_banned %} {{ l('账号封禁中,暂不可发帖', 'Account banned. Posting is disabled.') }} {% else %} {{ cta_secondary_guest_label }} {% endif %} {% endif %} {{ l('查看评论', 'Jump to Comments') }}

{{ l('评论', 'Comments') }}({{ comments_count or comments|length }})

{% if message %}

{{ message }}

{% endif %} {% if error %}

{{ error }}

{% endif %} {% if post.is_locked %}

{{ l('该帖子已锁定,暂不允许新增评论。', 'This topic is locked. New comments are disabled.') }}

{% elif current_user and can_interact %}
{{ l('支持 Markdown 代码块。', 'Markdown code blocks are supported.') }}
{% elif current_user and not can_interact %}

{{ l('账号被封禁,暂不可评论。', 'Your account is banned. Commenting is disabled.') }}

{% else %}

{{ l('请先', 'Please') }} {{ l('登录', 'log in') }} {{ l('后评论。', 'to comment.') }}

{% endif %} {% if comments %}
    {% for c in comments %}
  • {{ (c.author_rel.username[0] if c.author_rel and c.author_rel.username else '?')|upper }}
    {{ c.author_rel.username if c.author_rel else l('已注销用户', 'Deleted user') }} {% if c.created_at %} {% endif %}
    {{ c.content|markdown_html }}
    {% if current_user and current_user.id == c.user_id and can_interact %} {{ l('编辑', 'Edit') }}
    {% elif current_user and current_user.id == c.user_id and not can_interact %} {{ l('账号封禁中', 'Account banned') }} {% elif current_user and can_interact %}
    {% endif %}
  • {% endfor %}
{% else %}

{{ l('还没有评论,欢迎抢沙发。', 'No comments yet. Be the first to reply.') }}

{% endif %} {% if comments_total_pages is defined and comments_total_pages > 1 %} {% endif %}
{{ cta_copy.headline }} {{ l('基于本帖结论快速行动', 'Take action from this topic now') }}
{{ cta_primary_label }} {% if requirement_draft %} {% if current_user and not current_user.is_banned %} {{ l('一键发需求', 'Prefill Need') }} {% elif current_user and current_user.is_banned %} {{ l('账号封禁中', 'Account banned') }} {% else %} {{ l('登录后发需求', 'Login to Prefill') }} {% endif %} {% else %} {% if current_user and not current_user.is_banned %} {{ l('发布需求', 'Post Need') }} {% elif current_user and current_user.is_banned %} {{ l('账号封禁中', 'Account banned') }} {% else %} {{ l('登录后发帖', 'Login to Post') }} {% endif %} {% endif %} {{ l('看评论', 'Comments') }}