From 023ba362e6f1510ba13b07110ee473b539eb6908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=9A=E9=A3=8E=E6=8B=82=E6=9F=B3=E9=A2=9C?= <434857005@qq.com> Date: Thu, 11 May 2023 11:12:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E9=A1=B5=E9=9D=A2bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/web.py | 1 + js/version.txt | 2 +- static/css/admin.css | 2 +- templates/admin.html | 10 ++ templates/cms/mxpro/categoryContent.html | 30 +++-- templates/cms/mxpro/css/commonUI.css | 3 + templates/cms/mxpro/detailContent.html | 17 ++- templates/cms/mxpro/homeContent.html | 163 ++++------------------- templates/cms/mxpro/js/commonUI.js | 134 +++++++++++++++---- templates/cms/mxpro/searchContent.html | 14 +- 10 files changed, 187 insertions(+), 189 deletions(-) create mode 100644 templates/cms/mxpro/css/commonUI.css diff --git a/controllers/web.py b/controllers/web.py index f55c0b9..cd4f6d6 100644 --- a/controllers/web.py +++ b/controllers/web.py @@ -57,6 +57,7 @@ def web_index(web_name, theme): ctx['pg'] = pg ctx['tid'] = tid ctx['tname'] = tname + print('tid:',tid) try: if vod_id and vod_name: diff --git a/js/version.txt b/js/version.txt index 0691c72..8572a1a 100644 --- a/js/version.txt +++ b/js/version.txt @@ -1 +1 @@ -3.9.41beta20 \ No newline at end of file +3.9.41beta21 \ No newline at end of file diff --git a/static/css/admin.css b/static/css/admin.css index 9b45e0d..f8eca8d 100644 --- a/static/css/admin.css +++ b/static/css/admin.css @@ -491,7 +491,7 @@ a { font-weight: bold; font-size: 1rem; width: 290px; - height: 26; + height: 26px; border-radius: 25px; color: #eeeff9; background-color: rgb(71, 143, 250); diff --git a/templates/admin.html b/templates/admin.html index adff889..fb54922 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -195,6 +195,16 @@ $('#lives').click(function () { location.href = '/admin/lives' }); + $("summary").click(function() { + // console.log('summary被点击'); + const details = $('details'); + if(details.attr("open")){ + $(this).text('数据列表已隐藏 点击展开详情'); + }else{ + $(this).text('数据列表已展开 点击隐藏详情'); + } + details.click(); + }); }); function getFileSize(fileObj) { diff --git a/templates/cms/mxpro/categoryContent.html b/templates/cms/mxpro/categoryContent.html index f1f2d82..70425f7 100644 --- a/templates/cms/mxpro/categoryContent.html +++ b/templates/cms/mxpro/categoryContent.html @@ -2,9 +2,10 @@ {{ctx.tname}} - {{ctx.web_name}} + - + @@ -23,6 +24,7 @@ + - +
@@ -56,13 +58,13 @@