开发框架 版主:迅睿框架研发组
内容加载完了点击在加载 没已经显示完了提示
类型:迅睿CMS 更新时间:2023-11-08 11:17:19 搜索页面

使用官方的 瀑布流滚动加载  https://www.xunruicms.com/doc/534.html

做成点击加载,在列表页使用没问题,提示加载都正常,

在搜索页面,点击加载正常,内容加载完了 点击在加载 没  已经显示完了  提示,

1

js没有报错  就是没有 已经显示完了 的提示,请问是哪里没写正确吗?



回帖
  • 外聘专员-小波工作室
    #1楼    外聘专员-小波工作室
    2023-11-08 10:32:11
    Chrome 0
    因为搜索ajax和列表ajax请求的地址是不一样的,你这个get地址要全部改成搜索的地址,后面还要加isajax参数
  • 麦尖
    #2楼    麦尖
    2023-11-08 10:48:56
    Chrome 0
    外聘专员-小波工作室 $.get('/index.php?s=api&c=api&m=template&name=search_data.html&module={MOD_DIR}&catid={$catid}&searchid={$searchid}&sototal={$sototal}&order={$params.order}&format=json&page='+Mpage+'&'+Math.random(),function(res)这个地址 该怎么写呢?
  • 外聘专员-小波工作室
    #3楼    外聘专员-小波工作室
    2023-11-08 11:05:32
    Chrome 0
    $.get('/index.php?s={MOD_DIR}&c=search&catid={$catid}&ajax_page=search_data.html&&order={$params.order}&format=json&page='+Mpage+'&'+Math.random(),function(res)
  • 麦尖
    #4楼    麦尖
    2023-11-08 11:17:19
    Chrome 0
    外聘专员-小波工作室
    $.get('/index.php?s={MOD_DIR}&c=search&catid={$catid}&ajax_page=search_data.html&&order={$params.order}&format=json&page='+Mpage+'&'+Math.random(),function(res)
    使用这个 点击加载没反应了。