IAPP获取链接中的内容填充列表属性事例

IAPP获取连接中的内容填充列表属性事例

t()
{
  ss(sss.sk+"forumecho.php?admin="+sss.ziy,url)
  hs(url,url)
  f(url==null)
  {
    ufnsui()
    {
      tw("数据加载失败,请重试")
    }
  }
else f(url=="后台无任何帖子"||url=="后台账号不存在")
 {
   ufnsui()
    {
      //us(8,"text",url)
      tw(url)
    }
 }
else
{
  sj(url,"[<",null,url)
  sl(url,"[<",url)
  for(url;url)
  {
    sj(url,null,"-/-",id)
    sj(url,"-/-","-//-",name)
    sj(url,"-//-","-///-",title)
    sj(url,"-///-","-////-",content)
    sj(url,"-////-",">]",time)
    sj(title,"[","]",fl)
    //软件分类
    sj(title,"☆","☆",mc)
    //软件名称
    sj(content,"△","△",logo)
    //软件头像
    sj(content,"▽","▽",js)
    //软件介绍
    sj(content,"○","○",dx)
    //软件大小
    sj(content,"◇","◇",xz)
    //软件下载
    sj(content,"□","□",img1)
    //软件图片1
    sj(content,"♤","♤",img2)
    //软件图片2
    sj(content,"♡","♡",img3)
    //软件图片3
    ula(list,8=logo,22=mc,28=fl,26=dx,23=js,29=xz,30=img1,31=img2,32=img3,-1=id,-2=name)
    ufnsui()
    {
    uls(首页.46, list, "软件.iyu", -1, -2)
    }
  }
ufnsui()
  {
//  us(8,"visibility","gone")
 // us(7,"visibility","visible")
  }
}
}

根据链接截取,截取字符号中的内容设置为列表模板的内容,具体看以上代码


限时折扣

© 版权声明
THE END
喜欢就支持一下吧
点赞14 分享