调整配置、样式与背景图片

This commit is contained in:
wanggeng 2022-07-20 09:40:12 +08:00
parent 6915341dd8
commit 81ae64a415
3 changed files with 12 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -7,6 +7,9 @@
<title th:text="${systemTitle}"></title> <title th:text="${systemTitle}"></title>
<link rel="stylesheet" href="assets/custom/index/css/swiper.min.css?t=1"> <link rel="stylesheet" href="assets/custom/index/css/swiper.min.css?t=1">
<link rel="stylesheet" href="assets/custom/index/css/style.css?t=1"> <link rel="stylesheet" href="assets/custom/index/css/style.css?t=1">
<style>
.swiper-slide a {position: unset;}
</style>
</head> </head>
<body> <body>
<div id="app"> <div id="app">
@ -21,14 +24,16 @@
<div class="swiper-container"> <div class="swiper-container">
<div class="swiper-wrapper"> <div class="swiper-wrapper">
<div class="swiper-slide" th:each="oAuth2Client: ${listOAuth2Client}"> <div class="swiper-slide" th:each="oAuth2Client: ${listOAuth2Client}">
<a th:href="${oAuth2Client.webServerRedirectUri}" class="guide-box"> <div class="guide-box">
<div class="slide-box"> <div class="slide-box">
<img th:if="${oAuth2Client.systemIcon ne ''}" th:src="'route/file/download/false/'+ ${oAuth2Client.systemIcon}" alt=""> <a th:href="${oAuth2Client.webServerRedirectUri}">
<img th:if="${oAuth2Client.systemIcon eq ''}" src="assets/custom/index/images/system.png"/> <img th:if="${oAuth2Client.systemIcon ne ''}" th:src="'route/file/download/false/'+ ${oAuth2Client.systemIcon}" alt="">
<div class="system-name" th:text="${oAuth2Client.clientName}"></div> <img th:if="${oAuth2Client.systemIcon eq ''}" src="assets/custom/index/images/system.png"/>
<div class="system-name-small" th:text="${oAuth2Client.environment}"></div> <div class="system-name" th:text="${oAuth2Client.clientName}"></div>
<!--<div class="system-name-small" th:text="${oAuth2Client.environment}"></div>-->
</a>
</div> </div>
</a> </div>
</div> </div>
</div> </div>
<div class="swiper-pagination"></div> <div class="swiper-pagination"></div>
@ -54,6 +59,7 @@
delay: 3000, delay: 3000,
disableOnInteraction : false disableOnInteraction : false
}, },
slideToClickedSlide: true,
pagination: { pagination: {
el: '.swiper-pagination', el: '.swiper-pagination',
clickable: true, clickable: true,