From fe2d2e67954c2e02544b6569679c1d5f07725b6a Mon Sep 17 00:00:00 2001 From: thsrite Date: Mon, 6 Jan 2025 13:19:33 +0800 Subject: [PATCH] fix --- plugins/lucky/__init__.py | 53 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/plugins/lucky/__init__.py b/plugins/lucky/__init__.py index 3159bbe..43435cd 100644 --- a/plugins/lucky/__init__.py +++ b/plugins/lucky/__init__.py @@ -290,6 +290,59 @@ class Lucky(_PluginBase): { 'component': 'VRow', 'content': [ + { + 'component': 'VCol', + 'props': { + 'cols': 12, + 'md': 3, + 'sm': 6 + }, + 'content': [ + { + 'component': 'VCard', + 'props': { + 'variant': 'tonal', + }, + 'content': [ + { + 'component': 'VCardText', + 'props': { + 'class': 'd-flex align-center', + }, + 'content': [ + { + 'component': 'div', + 'content': [ + { + 'component': 'span', + 'props': { + 'class': 'text-caption' + }, + 'text': '总配置数量' + }, + { + 'component': 'div', + 'props': { + 'class': 'd-flex align-center flex-wrap' + }, + 'content': [ + { + 'component': 'span', + 'props': { + 'class': 'text-h6' + }, + 'text': dict.get('total_cnt') + } + ] + } + ] + } + ] + } + ] + }, + ] + }, { 'component': 'VCol', 'props': {