Commit 96e57db36fcf6b891312fcbdfcd13ef86c774815
1 parent
7f640e88
停车诱导 LBS页面样式更改
Showing
2 changed files
with
4 additions
and
0 deletions
js/pagejs/guidance.js
| @@ -524,6 +524,8 @@ $(function () { | @@ -524,6 +524,8 @@ $(function () { | ||
| 524 | list_wrap_height(); | 524 | list_wrap_height(); | 
| 525 | } else { | 525 | } else { | 
| 526 | $('#list_wrap').css('height', 'auto'); | 526 | $('#list_wrap').css('height', 'auto'); | 
| 527 | + $('#list_wrap').perfectScrollbar('destroy'); | ||
| 528 | + $('#list_wrap').perfectScrollbar(); | ||
| 527 | } | 529 | } | 
| 528 | 530 | ||
| 529 | console.log('请求数据ajax'); | 531 | console.log('请求数据ajax'); | 
js/pagejs/parkquery.js
| @@ -529,6 +529,8 @@ $(function () { | @@ -529,6 +529,8 @@ $(function () { | ||
| 529 | list_wrap_height(); | 529 | list_wrap_height(); | 
| 530 | } else { | 530 | } else { | 
| 531 | $('#list_wrap').css('height', 'auto'); | 531 | $('#list_wrap').css('height', 'auto'); | 
| 532 | + $('#list_wrap').perfectScrollbar('destroy'); | ||
| 533 | + $('#list_wrap').perfectScrollbar(); | ||
| 532 | } | 534 | } | 
| 533 | 535 | ||
| 534 | // console.log('请求数据ajax'); | 536 | // console.log('请求数据ajax'); | 
 
