hbuilderx
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>