@@ -144,7 +144,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_iPortalQueryResou
144
144
<!-- 搜索 -->
145
145
< div class ='input-group ' style ="width: 220px;margin-bottom: 15px; ">
146
146
< span class ='input-group-addon ' data-i18n ="resources.title_iPortalQueryResourcesSearch "> </ span >
147
- < input type ='text ' class ='form-control ' id ='searchText ' " />
147
+ < input type ='text ' class ='form-control ' id ='searchText ' />
148
148
</ div >
149
149
< input type ="button " class ="btn btn-default " data-i18n ="[value]nav.examples.query " onclick ="onClickQuery(true) "/>
150
150
</ div >
@@ -177,7 +177,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_iPortalQueryResou
177
177
< script type ="text/javascript " include ="jquery,bootstrap-css " src ="../js/include-web.js "> </ script >
178
178
< script type ="text/javascript " src ="../../dist/leaflet/include-leaflet.js "> </ script >
179
179
< script >
180
- //iportal的URL地址 或根据情况添加自己的本地iportal地址:http://localhost:8091 /iportal
180
+ //iportal的URL地址 或根据情况添加自己的本地iportal地址:http://localhost:8190 /iportal
181
181
var iPortalUrl = "https://iptl.supermap.io/iportal" ;
182
182
//默认请求的参数
183
183
var resourceCurrentPage = 1 ; //默认请求第一页
@@ -216,7 +216,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_iPortalQueryResou
216
216
var thumbnail = resourceItem . thumbnail ;
217
217
// 此判断获取部分相对路径的default图片
218
218
if ( thumbnail . indexOf ( "./" ) === 0 ) {
219
- thumbnail = iPortalUrl + thumbnail ;
219
+ thumbnail = iPortalUrl + thumbnail . replace ( "./" , "/" ) ;
220
220
}
221
221
var resourcesDOM = $ ( "<div class='col-md-4 gallery-item'>" +
222
222
"<div class='gallery-item-border'>" +
0 commit comments