Explorar o código

调整新闻模板搜索框提示文字

将新闻模板桌面和移动导航搜索框的占位文字由“搜索新闻”统一改为“站内”,无障碍标签同步调整为“站内搜索”。

Validation:
- 本地首页确认两处placeholder均为“站内”
- 本地页面HTTP 200
非繁 hai 2 meses
pai
achega
104d18124c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      WebRoot/web/upload/ffkj-template/news-red-header.jsp

+ 2 - 2
WebRoot/web/upload/ffkj-template/news-red-header.jsp

@@ -15,12 +15,12 @@
 			</c:choose>
 			</c:choose>
 		</div>
 		</div>
 		<a class="brand" href="/">${website.name}</a>
 		<a class="brand" href="/">${website.name}</a>
-		<form class="search" action="/search" method="get"><input name="str" value="${str}" placeholder="搜索新闻" aria-label="搜索新闻"><button type="submit">搜索</button></form>
+		<form class="search" action="/search" method="get"><input name="str" value="${str}" placeholder="站内" aria-label="站内搜索"><button type="submit">搜索</button></form>
 	</div>
 	</div>
 </header>
 </header>
 <button class="mobile-nav-toggle" type="button" aria-label="打开导航" aria-expanded="false"><span></span><span></span><span></span></button>
 <button class="mobile-nav-toggle" type="button" aria-label="打开导航" aria-expanded="false"><span></span><span></span><span></span></button>
 <nav class="main-nav" aria-label="主导航"><ul>
 <nav class="main-nav" aria-label="主导航"><ul>
-	<li class="mobile-nav-search-item"><form class="mobile-nav-search" action="/search" method="get"><input name="str" value="${str}" placeholder="搜索新闻" aria-label="搜索新闻"><button type="submit">搜索</button></form></li>
+	<li class="mobile-nav-search-item"><form class="mobile-nav-search" action="/search" method="get"><input name="str" value="${str}" placeholder="站内" aria-label="站内搜索"><button type="submit">搜索</button></form></li>
 	<li><a class="${empty navigation ? 'active' : ''}" href="/">首页</a></li>
 	<li><a class="${empty navigation ? 'active' : ''}" href="/">首页</a></li>
 	<c:forEach items="${navList}" var="item">
 	<c:forEach items="${navList}" var="item">
 		<c:if test="${item.name ne '首页' and item.name ne '首页子栏目'}">
 		<c:if test="${item.name ne '首页' and item.name ne '首页子栏目'}">