From 9d4d6849efd1fef0cc251625cb6ce685e0336efe Mon Sep 17 00:00:00 2001 From: leon <916117771@qq.com> Date: Tue, 28 Apr 2026 19:12:11 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"ui(dashboard):=20=E7=AD=9B=E5=8F=B7?= =?UTF-8?q?=E5=99=A8=E5=8F=B7=E7=A0=81=E6=94=B9=E4=B8=BA=E5=B7=A6=E5=8F=B3?= =?UTF-8?q?=E4=B8=A4=E5=88=97+=E4=B8=AD=E9=97=B4=E7=94=9F=E8=82=96?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E5=B8=83=E5=B1=80"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 2b4f0e171d32a4b2b7fb17e531b6b7638a7306cf. --- public/assets/js/backend/history.js | 42 +++++++++++------------------ 1 file changed, 15 insertions(+), 27 deletions(-) diff --git a/public/assets/js/backend/history.js b/public/assets/js/backend/history.js index fef71f0..335fae0 100644 --- a/public/assets/js/backend/history.js +++ b/public/assets/js/backend/history.js @@ -841,38 +841,26 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin if (!zodiacNums[animal]) zodiacNums[animal] = []; zodiacNums[animal].push(num); } - - var buildBall = function (num, zodiac) { - var colorHex = Controller.api.getColorByNum(num); - var colorRaw = colorMap[num] || ''; - var colorLabel = ''; - if (colorRaw.indexOf('红') !== -1) colorLabel = '红'; - else if (colorRaw.indexOf('蓝') !== -1) colorLabel = '蓝'; - else if (colorRaw.indexOf('绿') !== -1) colorLabel = '绿'; - return '