Brak opisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lists_search.htm 1.4KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {eyou:assign name='page' value='search' /}
  2. {eyou:include file='/template/pc/common/main/param.htm' /}
  3. {eyou:include file='/template/pc/common/include/top.htm' /}
  4. {eyou:include file='/template/pc/common/other/background.htm' /}
  5. {eyou:include file='/template/pc/common/include/header.htm' /}
  6. <div id="search">
  7. <div id="mask"></div>
  8. {eyou:include file='/template/pc/components/nav/style_1.htm' /}
  9. <div class="container">
  10. <!-- 广告位AD4 -->
  11. <div class="part" style="">
  12. <div class="row">
  13. {eyou:include file='/template/pc/components/search/content.htm' /}
  14. </div>
  15. <div class="wordpress_pages">
  16. <form class="layui-form" action="">
  17. <ul class="pager">{eyou:pagelist listitem='index,pre,next,end,pageno' listsize='3' /}</ul>
  18. </form>
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. {eyou:include file='/template/pc/common/include/footer.htm' /}
  24. {eyou:include file='/template/pc/common/include/bottom.htm' /}
  25. <script>
  26. layui.use(['form'], function(){
  27. var form = layui.form;
  28. form.on('select(aihao-page)', function(data){
  29. console.log(data.elem); //得到select原始DOM对象
  30. console.log(data.value); //得到被选中的值
  31. console.log(data.othis); //得到美化后的DOM对象
  32. location.href = data.value;
  33. });
  34. });
  35. </script>