爱你短剧.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. var rule={
  2. title:'爱你短剧',
  3. //模板:'mxpro', https://ainidj.com/vodshwo/fenle--time------2---.html
  4. host:'https://ainidj.com',
  5. url:'/vodshwo/fyfilter',
  6. filterable:1,//是否启用分类筛选,
  7. filter_url:'{{fl.cateId}}--{{fl.sortby}}------fypage---',
  8. class_name:'穿越&战神&重生&爱情&萌娃&神医&古代&玄幻&言情',
  9. class_url:'fenle&fenlei2&fenlei3&fenlei4&guda&shenyi&gudai&xuanhuan&yanqing',
  10. filter: {
  11. "fenle":[
  12. {
  13. "key":"sortby",
  14. "name":"排序",
  15. "value":[
  16. {"n":"时间","v":"time"},
  17. {"n":"人气","v":"hits"},
  18. {"n":"评分","v":"score"},
  19. ]
  20. },
  21. ],
  22. "fenlei2":[
  23. {
  24. "key":"sortby",
  25. "name":"排序",
  26. "value":[
  27. {"n":"时间","v":"time"},
  28. {"n":"人气","v":"hits"},
  29. {"n":"评分","v":"score"},
  30. ]
  31. },
  32. ],
  33. "fenlei3":[
  34. {
  35. "key":"sortby",
  36. "name":"排序",
  37. "value":[
  38. {"n":"时间","v":"time"},
  39. {"n":"人气","v":"hits"},
  40. {"n":"评分","v":"score"},
  41. ]
  42. },
  43. ],
  44. "fenlei4":[
  45. {
  46. "key":"sortby",
  47. "name":"排序",
  48. "value":[
  49. {"n":"时间","v":"time"},
  50. {"n":"人气","v":"hits"},
  51. {"n":"评分","v":"score"},
  52. ]
  53. },
  54. ],
  55. "guda":[
  56. {
  57. "key":"sortby",
  58. "name":"排序",
  59. "value":[
  60. {"n":"时间","v":"time"},
  61. {"n":"人气","v":"hits"},
  62. {"n":"评分","v":"score"},
  63. ]
  64. },
  65. ],
  66. "shenyi":[
  67. {
  68. "key":"sortby",
  69. "name":"排序",
  70. "value":[
  71. {"n":"时间","v":"time"},
  72. {"n":"人气","v":"hits"},
  73. {"n":"评分","v":"score"},
  74. ]
  75. },
  76. ],
  77. "gudai":[
  78. {
  79. "key":"sortby",
  80. "name":"排序",
  81. "value":[
  82. {"n":"时间","v":"time"},
  83. {"n":"人气","v":"hits"},
  84. {"n":"评分","v":"score"},
  85. ]
  86. },
  87. ],
  88. "xuanhuan":[
  89. {
  90. "key":"sortby",
  91. "name":"排序",
  92. "value":[
  93. {"n":"时间","v":"time"},
  94. {"n":"人气","v":"hits"},
  95. {"n":"评分","v":"score"},
  96. ]
  97. },
  98. ],
  99. "yanqing":[
  100. {
  101. "key":"sortby",
  102. "name":"排序",
  103. "value":[
  104. {"n":"时间","v":"time"},
  105. {"n":"人气","v":"hits"},
  106. {"n":"评分","v":"score"},
  107. ]
  108. },
  109. ],
  110. },
  111. filter_def:{
  112. 'fenle':{cateId:'fenle'},
  113. 'fenlei2':{cateId:'fenlei2'},
  114. 'fenlei3':{cateId:'fenlei3'},
  115. 'fenlei4':{cateId:'fenlei4'},
  116. 'guda':{cateId:'guda'},
  117. 'shenyi':{cateId:'shenyi'},
  118. 'gudai':{cateId:'gudai'},
  119. 'xuanhuan':{cateId:'xuanhuan'},
  120. 'yanqing':{cateId:'yanqing'},
  121. },
  122. searchUrl:'/vodsearch/-------------.html?wd=**',
  123. searchable:2,//是否启用全局搜索,
  124. quickSearch:0,//是否启用快速搜索,
  125. filterable:0,//是否启用分类筛选,
  126. play_parse:true,
  127. lazy:'',
  128. limit:6,
  129. 推荐:'.module-items;.module-item;*;*;*',
  130. double:true, // 推荐内容是否双层定位
  131. 一级:'.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href', //列表li对应的样式;标题;图片;描述(更新时间);链接
  132. 二级:{
  133. "title": "h1&&title",
  134. "img": "img&&data-src",
  135. "asc": ";.data:eq(0) a:eq(2)&&Text;.data:eq(0) a:eq(1)&&Text;.data:eq(2)&&Text;.data:eq(3)&&Text",
  136. "content": "无",
  137. "tabs": ".module-tab-item",
  138. "lists": ".sort-item a"
  139. },
  140. 搜索: '.module-search-item;*;*;*;*',
  141. }