更新 'SrcJu.js'

Ju
src48597962 2 years ago
parent b9380edc31
commit 7eb807cf8a
  1. 20
      SrcJu.js

@ -1245,9 +1245,8 @@ function newsousuopage() {
}); });
let typebtn = runModes; let typebtn = runModes;
typebtn.push("影视"); typebtn.forEach((it,i) =>{
typebtn.forEach(it =>{ let obj = {
d.push({
title: getMyVar("sousuoPageType",runMode)==it?`““””<b><span style="color: #3399cc">`+it+`</span></b>`:it, title: getMyVar("sousuoPageType",runMode)==it?`““””<b><span style="color: #3399cc">`+it+`</span></b>`:it,
url: $('#noLoading#').lazyRule((it) => { url: $('#noLoading#').lazyRule((it) => {
putMyVar("sousuoPageType",it); putMyVar("sousuoPageType",it);
@ -1256,7 +1255,18 @@ function newsousuopage() {
return "hiker://empty"; return "hiker://empty";
},it), },it),
col_type: 'text_5' col_type: 'text_5'
}
if(i>4){
obj.extra.longClick = [{
title:"聚影",
js: $.toString(()=>{
putMyVar("sousuoPageType","聚影");
initConfig({依赖: getMyVar('SrcJuCfg')});
refreshPage(false);
return "hiker://empty";
}) })
}];
}
}) })
let recordlist = storage0.getItem('searchrecord') || []; let recordlist = storage0.getItem('searchrecord') || [];
@ -1304,7 +1314,7 @@ function newsousuopage() {
col_type: 'text_center_1', col_type: 'text_center_1',
url: "hiker://empty", url: "hiker://empty",
extra: { extra: {
id: getMyVar('sousuoPageType')=="影"?"loading":"sousuoloading"+getMyVar('sousuoPageType',''), id: getMyVar('sousuoPageType')=="影"?"loading":"sousuoloading"+getMyVar('sousuoPageType',''),
lineVisible: false lineVisible: false
} }
}); });
@ -1312,7 +1322,7 @@ function newsousuopage() {
let name = getMyVar('sousuoname',''); let name = getMyVar('sousuoname','');
if(name){ if(name){
deleteItemByCls('searchrecord'); deleteItemByCls('searchrecord');
if(getMyVar('sousuoPageType')=="影"){ if(getMyVar('sousuoPageType')=="影"){
initConfig({依赖: getMyVar('SrcJuCfg').replace('Ju','master')}); initConfig({依赖: getMyVar('SrcJuCfg').replace('Ju','master')});
require(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('Ju','master') + 'SrcJyXunmi.js'); require(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('Ju','master') + 'SrcJyXunmi.js');
xunmi(name); xunmi(name);

Loading…
Cancel
Save