From 903bdd41d95a54b8020fb64b4030a8a079802d45 Mon Sep 17 00:00:00 2001 From: chenhao <852066789@qq.com> Date: Thu, 10 Jul 2025 17:53:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(sip):=20=E6=B7=BB=E5=8A=A0=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E5=95=86=E6=9F=A5=E8=AF=A2=E5=92=8C=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E7=94=9F=E6=88=90=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增代理商查询页面和相关接口 - 添加生成代理商二维码的功能 - 优化服务页面布局,增加响应式设计 - 引入 Hutool 和 Google ZXing 依赖 --- .../templates/manage/service/service.html | 84 +++++-- .../templates/system/partner/partner.html | 8 +- .../system/partner/partnerQuery.html | 218 ++++++++++++++++++ ruoyi-sip/pom.xml | 9 + .../sip/controller/MaintenanceController.java | 5 +- .../sip/controller/PartnerInfoController.java | 68 +++++- .../com/ruoyi/sip/domain/PartnerInfo.java | 150 +----------- 7 files changed, 367 insertions(+), 175 deletions(-) create mode 100644 ruoyi-admin/src/main/resources/templates/system/partner/partnerQuery.html diff --git a/ruoyi-admin/src/main/resources/templates/manage/service/service.html b/ruoyi-admin/src/main/resources/templates/manage/service/service.html index 6c81a4a7..7e7f2dfa 100644 --- a/ruoyi-admin/src/main/resources/templates/manage/service/service.html +++ b/ruoyi-admin/src/main/resources/templates/manage/service/service.html @@ -90,6 +90,49 @@ width: 80px; text-align: center; } + @media (max-width: 768px) { + .tableBOx { + width: 100%; + } + + .container,.topBox{ + display: none; + } + .table-striped thead { + display: none; /* 隐藏表头 */ + } + + .table-striped tbody tr { + display: flex; + flex-direction: column; + border-bottom: 1px solid #ddd; + margin-bottom: 10px; + } + + .table-striped tbody td { + display: flex; + justify-content: space-between; + align-items: center; + padding: 8px 10px; + border-bottom: 1px solid #eee; + } + + /*.table-striped tbody tr td:first-child {*/ + /* font-weight: bold;*/ + /* min-width: 100px;*/ + /* max-width: 120px;*/ + /*}*/ + + /* 新增样式:为每个 td 添加伪元素来显示表头 */ + .table-striped tbody tr td::before { + content: attr(data-th); /* 使用 data-th 属性来显示表头 */ + font-weight: bold; + display: inline-block; + min-width: 100px; + max-width: 100px; + margin-right: 10px; + } + }
@@ -101,7 +144,7 @@