优化今日推荐只能站内跳转bug

This commit is contained in:
1152958806@qq.com 2023-07-13 21:08:06 +08:00
parent b7dacf66e5
commit 754248f26a
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
<!-- 今日推荐 --> <!-- 今日推荐 -->
<div class="todayCard" id="todayCard" <div class="todayCard" id="todayCard"
th:if="${theme.config.top.BannerRight.todayRecommend}" th:if="${theme.config.top.BannerRight.todayRecommend}"
th:attr="onclick='javascript:window.location.href=\''+${theme.config.top.BannerRight.todayRecommendContent.todayRecommendUrl}+'\'"> th:attr="onclick='javascript:window.open(\''+ ${theme.config.top.BannerRight.todayRecommendContent.todayRecommendUrl} +'\')'">
<div class="todayCard-info"> <div class="todayCard-info">
<div class="todayCard-tips" th:text="${theme.config.top.BannerRight.todayRecommendContent.todayRecommendxTitle}"></div> <div class="todayCard-tips" th:text="${theme.config.top.BannerRight.todayRecommendContent.todayRecommendxTitle}"></div>
<div class="todayCard-title" th:text="${theme.config.top.BannerRight.todayRecommendContent.todayRecommendTitle}"></div> <div class="todayCard-title" th:text="${theme.config.top.BannerRight.todayRecommendContent.todayRecommendTitle}"></div>