Merge pull request #272 from lanbinshijie/main

fix: 完成今日推荐只能站内跳转的Todo
This commit is contained in:
小孙同学 2023-07-12 22:30:37 +08:00 committed by GitHub
commit e89b7ba7c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
<!-- 今日推荐 -->
<div class="todayCard" id="todayCard"
th:if="${theme.config.top.BannerRight.todayRecommend}"
th:attr="onclick='javascript:pjax.loadUrl(\''+ ${theme.config.top.BannerRight.todayRecommendContent.todayRecommendUrl} +'\')'">
th:attr="onclick='javascript:window.location.href=\''+${theme.config.top.BannerRight.todayRecommendContent.todayRecommendUrl}+'\'">
<div class="todayCard-info">
<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>