@@ -144,7 +144,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_iPortalQueryResou
144144 <!-- 搜索 -->
145145 < div class ='input-group ' style ="width: 220px;margin-bottom: 15px; ">
146146 < 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 ' />
148148 </ div >
149149 < input type ="button " class ="btn btn-default " data-i18n ="[value]nav.examples.query " onclick ="onClickQuery(true) "/>
150150 </ div >
@@ -177,7 +177,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_iPortalQueryResou
177177< script type ="text/javascript " include ="jquery,bootstrap-css " src ="../js/include-web.js "> </ script >
178178< script type ="text/javascript " src ="../../dist/leaflet/include-leaflet.js "> </ script >
179179< script >
180- //iportal的URL地址 或根据情况添加自己的本地iportal地址:http://localhost:8091 /iportal
180+ //iportal的URL地址 或根据情况添加自己的本地iportal地址:http://localhost:8190 /iportal
181181 var iPortalUrl = "https://iptl.supermap.io/iportal" ;
182182 //默认请求的参数
183183 var resourceCurrentPage = 1 ; //默认请求第一页
@@ -216,7 +216,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_iPortalQueryResou
216216 var thumbnail = resourceItem . thumbnail ;
217217 // 此判断获取部分相对路径的default图片
218218 if ( thumbnail . indexOf ( "./" ) === 0 ) {
219- thumbnail = iPortalUrl + thumbnail ;
219+ thumbnail = iPortalUrl + thumbnail . replace ( "./" , "/" ) ;
220220 }
221221 var resourcesDOM = $ ( "<div class='col-md-4 gallery-item'>" +
222222 "<div class='gallery-item-border'>" +
0 commit comments