{% for Release in Releases %} # 渲染列表
<div class="product">
<div class="product__info">
<button class="action action--button action--buy product_button"><a href="{
{ url_for('home.idle_details' , idleid=Release.releaseIdleid) }}">去了解</a></button> # 跳转到详情页
</div>
</div>
{% endfor %}
flask 从列表页进入详情页传参
于 2023-05-17 20:34:19 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)