From 690b4e2ed30307c65a79a2e32a6eeb80a6a17f9a Mon Sep 17 00:00:00 2001
From: skimrme
Date: Wed, 8 Jul 2026 15:36:48 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90paint=E7=9A=84=E5=B1=95?=
=?UTF-8?q?=E7=A4=BA=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=B9=B6=E4=B8=94=E5=AE=8C?=
=?UTF-8?q?=E6=88=90=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
blueprint/index_views.py | 2 +-
templates/blog/extension/base.html | 2 +-
templates/paint/extension/base.html | 13 ++++++
templates/paint/home.html | 67 ++++++++++++++++++-----------
4 files changed, 57 insertions(+), 27 deletions(-)
create mode 100644 templates/paint/extension/base.html
diff --git a/blueprint/index_views.py b/blueprint/index_views.py
index 51ccf60..d771bae 100644
--- a/blueprint/index_views.py
+++ b/blueprint/index_views.py
@@ -42,4 +42,4 @@ def paint_home():
for class_data in db_cursor.execute(class_sql).fetchall():
for tags_data in db_cursor.execute(tags_sql).fetchall():
- return render_template('paint/home.html', data = data, tags_data = tags_data[0], class_data = class_data[0], img_url = img_url)
\ No newline at end of file
+ return render_template('paint/home.html', data = data[::-1], tags_data = tags_data[0], class_data = class_data[0], img_url = img_url)
\ No newline at end of file
diff --git a/templates/blog/extension/base.html b/templates/blog/extension/base.html
index 68b4a46..3268430 100644
--- a/templates/blog/extension/base.html
+++ b/templates/blog/extension/base.html
@@ -9,7 +9,7 @@
{% endblock %}
{% block move %}
- {# 这里存放更多模板的数据 #}
+ {# 这里存放更多模板的数据 #}
{% endblock %}
{% include 'blog/include/footer.html' %}
+ {% block content %}
+ {# 这里存放写入模板的数据 #}
+ {% endblock %}
+
diff --git a/templates/paint/extension/base.html b/templates/paint/extension/base.html
new file mode 100644
index 0000000..3623c44
--- /dev/null
+++ b/templates/paint/extension/base.html
@@ -0,0 +1,13 @@
+
+
+ {% block style %}
+ {# 这里存放style模板的数据 #}
+ {% endblock %}
+
+