From e0d4619906471dbdca018eedb5f43f7d74ba6360 Mon Sep 17 00:00:00 2001 From: WenG <450292408@qq.com> Date: Sat, 5 Mar 2022 21:18:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F=E4=B8=8E?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/route/index/CustomIndexPageRouteController.java | 2 +- src/main/resources/static/assets/custom/index/css/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cn/com/tenlion/usercenter/controller/route/index/CustomIndexPageRouteController.java b/src/main/java/cn/com/tenlion/usercenter/controller/route/index/CustomIndexPageRouteController.java index 6723d90..6295178 100644 --- a/src/main/java/cn/com/tenlion/usercenter/controller/route/index/CustomIndexPageRouteController.java +++ b/src/main/java/cn/com/tenlion/usercenter/controller/route/index/CustomIndexPageRouteController.java @@ -58,7 +58,7 @@ public class CustomIndexPageRouteController { private List listOAuth2ClientOfMine() { List roleIds = securityComponent.listRoleIds(); if (securityComponent.isAdmin(roleIds)) { - List oAuth2ClientSimpleDTOs = oauth2ClientService.listSimple(); + List oAuth2ClientSimpleDTOs = oauth2ClientService.listSimpleByEnvironment(IOAuth2ClientService.OAUTH_CLIENT_ENVIRONMENT_FORMAL); oAuth2ClientSimpleDTOs.add(0, getUserCenter()); return oAuth2ClientSimpleDTOs; } diff --git a/src/main/resources/static/assets/custom/index/css/style.css b/src/main/resources/static/assets/custom/index/css/style.css index 7c71464..ef36bb3 100644 --- a/src/main/resources/static/assets/custom/index/css/style.css +++ b/src/main/resources/static/assets/custom/index/css/style.css @@ -5,7 +5,7 @@ .btn{float:right} .btn a{font-size:.2rem;color:#00f5ff;text-shadow:0 0 5px #fff;display:inline-block;margin-right:.2rem} .main{margin:1rem auto;width:95%;overflow:hidden} -.main-container{width:105%;height:6.5rem;overflow-y:auto} +.main-container{width:105%;height:5.5rem;overflow-y:auto} .main-container:after{content:'';display:block;clear:both} .guide-box{display:block;float:left;width:3.5rem;height:2.75rem;position:relative;background:url(../images/box-bg.png) no-repeat center;background-size:100% 100%;margin-right:1rem;margin-bottom:.5rem} .guide-box:nth-child(4n){margin-right:0}