我们来到了第二步.就是这个列表加载项的载体,listplus.iyu
①先获取我们之前赋予这些文本ID的变量内容并设置全局变量.等会用
ulag(st_vW,24,sss.ysdz)
ulag(st_vW,5,sss.ysbt)
ulag(st_vW,23,sss.ysfm)
ulag(st_vW,10,sss.yanyuan)
ulag(st_vW,11,sss.daoyan)
②立即播放单击事件.获取更加详细的信息
t()
{
strim(sss.ysdz,lj)
hs(lj,xuanji)
//截取网页
sr(xuanji,"\"","",xuanji)
sj(xuanji," 热门搜索"," 收起全部",nr)
//根据我上节说的思路去找头尾.这里截个大概的信息就好了
//简介
sj(nr,"","",jianjie)
sr(jianjie,"","",jianjie)
//疑惑我为什么要替换嘛?因为源码排列问题
//年份
sj(nr,"target=_blank>"," ",nianfeng)
//地区
sj(nr,"地区:"," ",diqu)
sj(diqu,"target=_blank>","",diqu)
//类型
sj(nr,"类型:"," ",leixing)
sj(leixing,"target=_blank>","",leixing)
//状态
sj(nr,"状态:"," ",zhuangtai)
sss leixing=leixing
sss nianfeng=nianfeng
sss jianjie=jianjie
sss diqu=diqu
sss zhuangtai=zhuangtai
uigo("选集.iyu")
//播放详情页.选集.iyu这个界面我写了.下面源码
//代码不完整,有些被吞了,不显示[滑稽]
}
}
}
半成品源码链接(改后缀.apk为.iApp):
tips:集数点播这个我需要点时间去对照修改
|