ソースを参照

轮播图图片地址修改

limin 7 年 前
コミット
19477728e5

File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/index.html


File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/patent.html


File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/serviceIndex.html


+ 6 - 6
src/main/webapp/WEB-INF/views/portal/technologyTrading/achievement.html

@@ -77,8 +77,8 @@
 		<!-- 轮播(Carousel)项目 -->
 		<div class="carousel-inner" th:each="banner,bStatus:${abannerlist}">
 			<div class="item active">
-				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
-				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
 			</div>
 		</div>
 	</div>
@@ -92,12 +92,12 @@
 		<div class="carousel-inner" >
 			<div class="item active" th:each="banner,bStatus:${abannerlist}" th:if="${bStatus.first}">
 			<!-- /portal/continueHigh  /portal/militaryProject   /portal/practicalPatent -->
-				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
-				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
 			</div>
 			<div class="item" th:each="banner,bStatus:${abannerlist}" th:unless="${bStatus.first}">
-				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
-				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
 			</div>
 		</div>
 		<!-- 轮播(Carousel)导航 -->

+ 6 - 6
src/main/webapp/WEB-INF/views/portal/technologyTrading/demand.html

@@ -75,8 +75,8 @@
 		<!-- 轮播(Carousel)项目 -->
 		<div class="carousel-inner" th:each="banner,bStatus:${dbannerlist}">
 			<div class="item active">
-				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
-				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
 			</div>
 		</div>
 	</div>
@@ -90,12 +90,12 @@
 		<div class="carousel-inner" >
 			<div class="item active" th:each="banner,bStatus:${dbannerlist}" th:if="${bStatus.first}">
 			<!-- /portal/continueHigh  /portal/militaryProject   /portal/practicalPatent -->
-				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
-				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
 			</div>
 			<div class="item" th:each="banner,bStatus:${dbannerlist}" th:unless="${bStatus.first}">
-				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
-				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${portalHost}/upload${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}!=null and ${banner.forwardUrl}!=''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
+				<a th:if="${banner.forwardUrl}==null or ${banner.forwardUrl}==''" th:href="|${basePath }${ banner.forwardUrl}"><img th:src="|${avatarUploadHost}${banner.imgUrl}" th:alt="${banner.text}"></a>
 			</div>
 		</div>
 		<!-- 轮播(Carousel)导航 -->

File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/technologyTrading/tradingIndex.html