Files
marqdo/examples/anlian-mq/components/fragments.mq.md
T
cflmyandCursor b5c07385e9 feat(markup): finish v0.3 stock migration and green gold
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:43:44 +08:00

22 lines
511 B
Markdown

---
title: components/fragments
description: AJAX 片段 — /post/ten、/news/five。
导入 网页:ext/web/网页.mq.md
import db:../db/index.mq.md
import feed:feed.mq.md
---
## 帖子十
+ `board_id`="0"
**store = > db.打开**
**行 = > store.查询 表="posts" 上限=10 排序="-created_at"**
*> feed.帖子列表HTML 行=`行`*
## 新闻五
+ `news_board_id`="0"
**store = > db.打开**
**行 = > store.查询 表="news" 上限=5 排序="-created_at"**
*> feed.新闻时间线HTML 行=`行`*