From e6a4a0025031eca10405bd15e4ef9e32749733e8 Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Sat, 23 Dec 2023 00:21:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=92=8C=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=9C=A8=E6=96=B0=E7=AA=97=E5=8F=A3=E6=89=93=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/templates/base.html | 70 +++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/api/templates/base.html b/api/templates/base.html index d39baa5..f28ab30 100644 --- a/api/templates/base.html +++ b/api/templates/base.html @@ -1,45 +1,47 @@ -{% load static %} +{% load static %} + + - -{% block title %}{% endblock %} - - - - -{% block link %}{% endblock %} + + {% block title %}{% endblock %} + + + + + {% block link %}{% endblock %} + - - + + //监听导航点击 + element.on('nav(demo)', function (elem) { + //console.log(elem) + layer.msg(elem.text()); + }); + }); + - +
+ {% block legend_name %}{% endblock %} +
+ {% block content %}{% endblock %} + \ No newline at end of file