首页 文章 hbuilderx

hbuilderx

2024-12-02 18:24  浏览数:17  来源:小键人14712319    

let size = 5modelList(size)document.querySelector('.much').addEventListener('click',funct
ion(){size += 5modelList(size)}) function modelList(num){ mui.ajax(`http://124.93.196.45
:10091/Neusoft/times-model/appModel/app-o/list?pageNum=1&pageSize=${num}`,{ dataType:'j
son', type:'get', timeout:10000, headers:{'Content-Type':'application/json'},
success:function(data){ console.log(data) let con = '' for (var i = 0 ; i < data.
rows.length ; i++) { con += `<li class="mui-table-view-cell mui-media"> <a href="javascr
ipt:;"> <img class="mui-media-object mui-pull-left" src="http://124.93.196.45:10091/Neuso
ft/times-model${data.rows[i].picPath}" style="width:100px;height:100px;background:skyblue;
"> <div class="mui-media-body listdiv" > <span>${data.rows[i].title}</span> <span>楷模姓名:
${data.rows[i].modelName}</span> <p class="mui-ellipsis-2">${data.rows[i].content}</p> <
/div> </a> </li>` } document.querySelector('.modelList').innerHTML = con }, error:fu
nction(xhr,type,errorThrown){ console.log(type); } }); }mui.ajax('http://124.93.196.
45:10091/Neusoft/times-model/appNotice/app-o/loopMap/appModel/app-o/list',{dataType:'json'
,type:'get',success:function(data){console.log(data)}});var gallery = mui('.mui-slider');g
allery.slider({ interval:1000}); </script>



声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)