TVB云播1.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. var rule={
  2. title:'TVA云播',
  3. //模板:'mxpro',
  4. host:'http://www.tvyb03.com',
  5. url:'vod/show/id/fyfilter.html',
  6. filterable:1,//是否启用分类筛选,
  7. filter_url:'{{fl.cateId}}{{fl.area}}{{fl.by}}{{fl.class}}{{fl.lang}}{{fl.letter}}/page/fypage{{fl.year}}',
  8. class_name:'电影&电视剧&综艺&动漫&日韩剧&国产剧&欧美剧&港台剧',
  9. class_url:'1&2&3&4&16&13&15&14',
  10. filter: {
  11. "1":[
  12. {
  13. "key":"cateId",
  14. "name":"类型",
  15. "value":[
  16. {"n":"全部","v":"1"},
  17. {"n":"动作片","v":"6"},
  18. {"n":"喜剧片","v":"7"},
  19. {"n":"爱情片","v":"8"},
  20. {"n":"科幻片","v":"9"},
  21. {"n":"恐怖片","v":"10"},
  22. {"n":"剧情片","v":"11"},
  23. {"n":"战争片","v":"12"}
  24. ]
  25. },
  26. {
  27. "key":"class",
  28. "name":"剧情",
  29. "value":[
  30. {"n":"全部","v":""},
  31. {"n":"喜剧","v":"/class/喜剧"},
  32. {"n":"爱情","v":"/class/爱情"},
  33. {"n":"恐怖","v":"/class/恐怖"},
  34. {"n":"动作","v":"/class/动作"},
  35. {"n":"科幻","v":"/class/科幻"},
  36. {"n":"剧情","v":"/class/剧情"},
  37. {"n":"战争","v":"/class/战争"},
  38. {"n":"警匪","v":"/class/警匪"},
  39. {"n":"犯罪","v":"/class/犯罪"},
  40. {"n":"动画","v":"/class/动画"},
  41. {"n":"奇幻","v":"/class/奇幻"},
  42. {"n":"武侠","v":"/class/武侠"},
  43. {"n":"冒险","v":"/class/冒险"},
  44. {"n":"枪战","v":"/class/枪战"},
  45. {"n":"悬疑","v":"/class/悬疑"},
  46. {"n":"惊悚","v":"/class/惊悚"},
  47. {"n":"经典","v":"/class/经典"},
  48. {"n":"青春","v":"/class/青春"},
  49. {"n":"文艺","v":"/class/文艺"},
  50. {"n":"微电影","v":"/class/微电影"},
  51. {"n":"古装","v":"/class/古装"},
  52. {"n":"历史","v":"/class/历史"},
  53. {"n":"运动","v":"/class/运动"},
  54. {"n":"农村","v":"/class/农村"},
  55. {"n":"儿童","v":"/class/儿童"},
  56. {"n":"网络电影","v":"/class/网络电影"}
  57. ]
  58. },
  59. {
  60. "key":"area",
  61. "name":"地区",
  62. "value":[
  63. {"n":"全部","v":""},
  64. {"n":"大陆","v":"/area/大陆"},
  65. {"n":"香港","v":"/area/香港"},
  66. {"n":"台湾","v":"/area/台湾"},
  67. {"n":"美国","v":"/area/美国"},
  68. {"n":"法国","v":"/area/法国"},
  69. {"n":"英国","v":"/area/英国"},
  70. {"n":"日本","v":"/area/日本"},
  71. {"n":"韩国","v":"/area/韩国"},
  72. {"n":"德国","v":"/area/德国"},
  73. {"n":"泰国","v":"/area/泰国"},
  74. {"n":"印度","v":"/area/印度"},
  75. {"n":"意大利","v":"/area/意大利"},
  76. {"n":"西班牙","v":"/area/西班牙"},
  77. {"n":"加拿大","v":"/area/加拿大"},
  78. {"n":"其他","v":"/area/其他"}
  79. ]
  80. },
  81. {
  82. "key":"lang",
  83. "name":"语言",
  84. "value":[
  85. {"n":"全部","v":""},
  86. {"n":"国语","v":"/lang/国语"},
  87. {"n":"英语","v":"/lang/英语"},
  88. {"n":"粤语","v":"/lang/粤语"},
  89. {"n":"韩语","v":"/lang/韩语"},
  90. {"n":"日语","v":"/lang/日语"},
  91. {"n":"法语","v":"/lang/法语"},
  92. {"n":"德语","v":"/lang/德语"},
  93. {"n":"其它","v":"/lang/其它"}
  94. ]
  95. },
  96. {
  97. "key":"year",
  98. "name":"年份",
  99. "value":[
  100. {"n":"全部","v":""},
  101. {"n":"2023","v":"/year/2023"},
  102. {"n":"2022","v":"/year/2022"},
  103. {"n":"2021","v":"/year/2021"},
  104. {"n":"2020","v":"/year/2020"},
  105. {"n":"2019","v":"/year/2019"},
  106. {"n":"2018","v":"/year/2018"},
  107. {"n":"2017","v":"/year/2017"},
  108. {"n":"2016","v":"/year/2016"},
  109. {"n":"2015","v":"/year/2015"},
  110. {"n":"2014","v":"/year/2014"},
  111. {"n":"2013","v":"/year/2013"},
  112. {"n":"2012","v":"/year/2012"},
  113. {"n":"2011","v":"/year/2011"},
  114. {"n":"2010","v":"/year/2010"},
  115. {"n":"2009","v":"/year/2009"},
  116. {"n":"2008","v":"/year/2008"},
  117. {"n":"2007","v":"/year/2007"},
  118. {"n":"2006","v":"/year/2006"},
  119. {"n":"2005","v":"/year/2005"},
  120. {"n":"2004","v":"/year/2004"}
  121. ]
  122. },
  123. {
  124. "key":"by",
  125. "name":"排序",
  126. "value":[
  127. {"n":"全部","v":""},
  128. {"n":"时间","v":"/by/time"},
  129. {"n":"人气","v":"/by/hits"},
  130. {"n":"评分","v":"/by/score"}
  131. ]
  132. }
  133. ],
  134. "2":[
  135. {
  136. "key":"cateId",
  137. "name":"类型",
  138. "value":[
  139. {"n":"全部","v":"2"},
  140. {"n":"国产剧","v":"13"},
  141. {"n":"港台剧","v":"14"},
  142. {"n":"日韩剧","v":"15"},
  143. {"n":"欧美剧","v":"16"}
  144. ]
  145. },
  146. {
  147. "key":"class",
  148. "name":"剧情",
  149. "value":[
  150. {"n":"全部","v":""},
  151. {"n":"古装","v":"/class/古装"},
  152. {"n":"青春","v":"/class/青春"},
  153. {"n":"偶像","v":"/class/偶像"},
  154. {"n":"喜剧","v":"/class/喜剧"},
  155. {"n":"家庭","v":"/class/家庭"},
  156. {"n":"犯罪","v":"/class/犯罪"},
  157. {"n":"动作","v":"/class/动作"},
  158. {"n":"奇幻","v":"/class/奇幻"},
  159. {"n":"剧情","v":"/class/剧情"},
  160. {"n":"历史","v":"/class/历史"},
  161. {"n":"经典","v":"/class/经典"},
  162. {"n":"乡村","v":"/class/乡村"},
  163. {"n":"情景","v":"/class/情景"},
  164. {"n":"商战","v":"/class/商战"},
  165. {"n":"网剧","v":"/class/网剧"},
  166. {"n":"其他","v":"/class/其他"}
  167. ]
  168. },
  169. {
  170. "key":"area",
  171. "name":"地区",
  172. "value":[
  173. {"n":"全部","v":""},
  174. {"n":"内地","v":"/area/内地"},
  175. {"n":"韩国","v":"/area/韩国"},
  176. {"n":"香港","v":"/area/香港"},
  177. {"n":"台湾","v":"/area/台湾"},
  178. {"n":"日本","v":"/area/日本"},
  179. {"n":"美国","v":"/area/美国"},
  180. {"n":"泰国","v":"/area/泰国"},
  181. {"n":"英国","v":"/area/英国"},
  182. {"n":"新加坡","v":"/area/新加坡"},
  183. {"n":"其他","v":"/area/其他"}
  184. ]
  185. },
  186. {
  187. "key":"year",
  188. "name":"年份",
  189. "value":[
  190. {"n":"全部","v":""},
  191. {"n":"2023","v":"/year/2023"},
  192. {"n":"2022","v":"/year/2022"},
  193. {"n":"2021","v":"/year/2021"},
  194. {"n":"2020","v":"/year/2020"},
  195. {"n":"2019","v":"/year/2019"},
  196. {"n":"2018","v":"/year/2018"},
  197. {"n":"2017","v":"/year/2017"},
  198. {"n":"2016","v":"/year/2016"},
  199. {"n":"2015","v":"/year/2015"},
  200. {"n":"2014","v":"/year/2014"},
  201. {"n":"2013","v":"/year/2013"},
  202. {"n":"2012","v":"/year/2012"},
  203. {"n":"2011","v":"/year/2011"},
  204. {"n":"2010","v":"/year/2010"},
  205. {"n":"2009","v":"/year/2009"},
  206. {"n":"2008","v":"/year/2008"},
  207. {"n":"2007","v":"/year/2007"},
  208. {"n":"2006","v":"/year/2006"},
  209. {"n":"2005","v":"/year/2005"},
  210. {"n":"2004","v":"/year/2004"}
  211. ]
  212. },
  213. {
  214. "key":"lang",
  215. "name":"语言",
  216. "value":[
  217. {"n":"全部","v":""},
  218. {"n":"国语","v":"/lang/国语"},
  219. {"n":"英语","v":"/lang/英语"},
  220. {"n":"粤语","v":"/lang/粤语"},
  221. {"n":"韩语","v":"/lang/韩语"},
  222. {"n":"日语","v":"/lang/日语"},
  223. {"n":"其它","v":"/lang/其它"}
  224. ]
  225. },
  226. {
  227. "key":"by",
  228. "name":"排序",
  229. "value":[
  230. {"n":"全部","v":""},
  231. {"n":"时间","v":"/by/time"},
  232. {"n":"人气","v":"/by/hits"},
  233. {"n":"评分","v":"/by/score"}
  234. ]
  235. }
  236. ],
  237. "3":[
  238. {
  239. "key":"class",
  240. "name":"剧情",
  241. "value":[
  242. {"n":"全部","v":""},
  243. {"n":"选秀","v":"/class/选秀"},
  244. {"n":"情感","v":"/class/情感"},
  245. {"n":"访谈","v":"/class/访谈"},
  246. {"n":"播报","v":"/class/播报"},
  247. {"n":"旅游","v":"/class/旅游"},
  248. {"n":"音乐","v":"/class/音乐"},
  249. {"n":"美食","v":"/class/美食"},
  250. {"n":"纪实","v":"/class/纪实"},
  251. {"n":"曲艺","v":"/class/曲艺"},
  252. {"n":"生活","v":"/class/生活"},
  253. {"n":"游戏互动","v":"/class/游戏互动"},
  254. {"n":"财经","v":"/class/财经"},
  255. {"n":"求职","v":"/class/求职"}
  256. ]
  257. },
  258. {
  259. "key":"area",
  260. "name":"地区",
  261. "value":[
  262. {"n":"全部","v":""},
  263. {"n":"内地","v":"/area/内地"},
  264. {"n":"港台","v":"/area/港台"},
  265. {"n":"日韩","v":"/area/日韩"},
  266. {"n":"欧美","v":"/area/欧美"}
  267. ]
  268. },
  269. {
  270. "key":"lang",
  271. "name":"语言",
  272. "value":[
  273. {"n":"全部","v":""},
  274. {"n":"国语","v":"/lang/国语"},
  275. {"n":"英语","v":"/lang/英语"},
  276. {"n":"粤语","v":"/lang/粤语"},
  277. {"n":"韩语","v":"/lang/韩语"},
  278. {"n":"日语","v":"/lang/日语"},
  279. {"n":"其它","v":"/lang/其它"}
  280. ]
  281. },
  282. {
  283. "key":"year",
  284. "name":"年份",
  285. "value":[
  286. {"n":"全部","v":""},
  287. {"n":"2023","v":"/year/2023"},
  288. {"n":"2022","v":"/year/2022"},
  289. {"n":"2021","v":"/year/2021"},
  290. {"n":"2020","v":"/year/2020"},
  291. {"n":"2019","v":"/year/2019"},
  292. {"n":"2018","v":"/year/2018"},
  293. {"n":"2017","v":"/year/2017"},
  294. {"n":"2016","v":"/year/2016"},
  295. {"n":"2015","v":"/year/2015"},
  296. {"n":"2014","v":"/year/2014"},
  297. {"n":"2013","v":"/year/2013"},
  298. {"n":"2012","v":"/year/2012"},
  299. {"n":"2011","v":"/year/2011"},
  300. {"n":"2010","v":"/year/2010"},
  301. {"n":"2009","v":"/year/2009"},
  302. {"n":"2008","v":"/year/2008"},
  303. {"n":"2007","v":"/year/2007"},
  304. {"n":"2006","v":"/year/2006"},
  305. {"n":"2005","v":"/year/2005"},
  306. {"n":"2004","v":"/year/2004"}
  307. ]
  308. },
  309. {
  310. "key":"by",
  311. "name":"排序",
  312. "value":[
  313. {"n":"全部","v":""},
  314. {"n":"时间","v":"/by/time"},
  315. {"n":"人气","v":"/by/hits"},
  316. {"n":"评分","v":"/by/score"}
  317. ]
  318. }
  319. ],
  320. "4":[
  321. {
  322. "key":"class",
  323. "name":"剧情",
  324. "value":[
  325. {"n":"全部","v":""},
  326. {"n":"情感","v":"/class/情感"},
  327. {"n":"科幻","v":"/class/科幻"},
  328. {"n":"热血","v":"/class/热血"},
  329. {"n":"推理","v":"/class/推理"},
  330. {"n":"搞笑","v":"/class/搞笑"},
  331. {"n":"冒险","v":"/class/冒险"},
  332. {"n":"萝莉","v":"/class/萝莉"},
  333. {"n":"校园","v":"/class/校园"},
  334. {"n":"动作","v":"/class/动作"},
  335. {"n":"机战","v":"/class/机战"},
  336. {"n":"运动","v":"/class/运动"},
  337. {"n":"战争","v":"/class/战争"},
  338. {"n":"少年","v":"/class/少年"},
  339. {"n":"少女","v":"/class/少女"},
  340. {"n":"社会","v":"/class/社会"},
  341. {"n":"原创","v":"/class/原创"},
  342. {"n":"亲子","v":"/class/亲子"},
  343. {"n":"益智","v":"/class/益智"},
  344. {"n":"励志","v":"/class/励志"},
  345. {"n":"其它","v":"/class/其他"}
  346. ]
  347. },
  348. {
  349. "key":"area",
  350. "name":"地区",
  351. "value":[
  352. {"n":"全部","v":""},
  353. {"n":"国产","v":"/area/国产"},
  354. {"n":"日本","v":"/area/日本"},
  355. {"n":"欧美","v":"/area/欧美"},
  356. {"n":"其他","v":"/area/其他"}
  357. ]
  358. },
  359. {
  360. "key":"lang",
  361. "name":"语言",
  362. "value":[
  363. {"n":"全部","v":""},
  364. {"n":"国语","v":"/lang/国语"},
  365. {"n":"英语","v":"/lang/英语"},
  366. {"n":"粤语","v":"/lang/粤语"},
  367. {"n":"韩语","v":"/lang/韩语"},
  368. {"n":"日语","v":"/lang/日语"},
  369. {"n":"其它","v":"/lang/其它"}
  370. ]
  371. },
  372. {
  373. "key":"year",
  374. "name":"年份",
  375. "value":[
  376. {"n":"全部","v":""},
  377. {"n":"2023","v":"/year/2023"},
  378. {"n":"2022","v":"/year/2022"},
  379. {"n":"2021","v":"/year/2021"},
  380. {"n":"2020","v":"/year/2020"},
  381. {"n":"2019","v":"/year/2019"},
  382. {"n":"2018","v":"/year/2018"},
  383. {"n":"2017","v":"/year/2017"},
  384. {"n":"2016","v":"/year/2016"},
  385. {"n":"2015","v":"/year/2015"},
  386. {"n":"2014","v":"/year/2014"},
  387. {"n":"2013","v":"/year/2013"},
  388. {"n":"2012","v":"/year/2012"},
  389. {"n":"2011","v":"/year/2011"},
  390. {"n":"2010","v":"/year/2010"},
  391. {"n":"2009","v":"/year/2009"},
  392. {"n":"2008","v":"/year/2008"},
  393. {"n":"2007","v":"/year/2007"},
  394. {"n":"2006","v":"/year/2006"},
  395. {"n":"2005","v":"/year/2005"},
  396. {"n":"2004","v":"/year/2004"}
  397. ]
  398. },
  399. {
  400. "key":"by",
  401. "name":"排序",
  402. "value":[
  403. {"n":"全部","v":""},
  404. {"n":"时间","v":"/by/time"},
  405. {"n":"人气","v":"/by/hits"},
  406. {"n":"评分","v":"/by/score"}
  407. ]
  408. }
  409. ]
  410. },
  411. filter_def:{
  412. 1:{cateId:'1'},
  413. 2:{cateId:'2'},
  414. 3:{cateId:'3'},
  415. 4:{cateId:'4'},
  416. 13:{cateId:'13'},
  417. 14:{cateId:'14'},
  418. 15:{cateId:'15'},
  419. 16:{cateId:'16'}
  420. },
  421. searchUrl:'/vod/search.html?wd=**&submit=',
  422. searchable:2,//是否启用全局搜索,
  423. quickSearch:1,//是否启用快速搜索,
  424. filterable:0,//是否启用分类筛选,
  425. play_parse:true,
  426. lazy:'',
  427. limit:6,
  428. // 推荐:'ul.myui-vodlist;ul li;*;*;*;*',
  429. 推荐:'ul.myui-vodlist;li;*;*;*;*',
  430. // 推荐:'ul.myui-vodlist;ul&&li;*;*;*;*', // 此写法本地js无效
  431. double:true, // 推荐内容是否双层定位
  432. 一级:'.myui-vodlist__box;a&&title;.lazyload&&data-original;.tag&&Text;a&&href',
  433. 二级:{"title":"h1&&Text;.data:eq(0) a:eq(0)&&Text","img":".lazyload&&data-original","desc":";.data:eq(0) a:eq(2)&&Text;.data:eq(0) a:eq(1)&&Text;.data:eq(2)&&Text;.data:eq(3)&&Text","content":".text-collapse span&&Text","tabs":".myui-panel__head h3","lists":".myui-content__list:eq(#id) li"},
  434. 搜索:'ul.myui-vodlist__media li;*;*;*;*',
  435. }