Home Article Practice hbuilderx

hbuilderx

2024-12-02 18:24  views:18  source:小键人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>



Disclaimer: The above articles are added by users themselves and are only for typing and communication purposes. They do not represent the views of this website, and this website does not assume any legal responsibility. This statement is hereby made! If there is any infringement of your rights, please contact us promptly to delete it.

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