fix: 修正模板变量名plans而非db_plans
This commit is contained in:
@@ -66,7 +66,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 动态套餐 -->
|
<!-- 动态套餐 -->
|
||||||
{% for plan in db_plans if plan.is_active %}
|
{% for plan in plans if plan.is_active %}
|
||||||
<div class="col-lg-3 col-md-6 mb-4">
|
<div class="col-lg-3 col-md-6 mb-4">
|
||||||
<div class="card pricing-card h-100 {% if plan.is_recommended %}border-primary{% endif %}">
|
<div class="card pricing-card h-100 {% if plan.is_recommended %}border-primary{% endif %}">
|
||||||
{% if plan.is_recommended %}
|
{% if plan.is_recommended %}
|
||||||
|
|||||||
Reference in New Issue
Block a user