ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
* 随机开屏数据提取 | 回调参 | 说明 | | --- | --- | | img | 开屏图 | | delay | 延迟秒数 | | type | 展示类型(0无1外部2内部) | | url | 跳转链接 | | weight | 权重(越高展示频率越大) | | onoff | 是否允许用户提前关闭(1允许0不允许) | ~~~ rand_open_screen(); ~~~ * 装载测试数据demo ~~~ let demo = []; demo.push({'img':'图片1','delay':10,'type':'1','url':'http://1','weight':1,'onoff':0}); demo.push({'img':'图片2','delay':10,'type':'1','url':'http://2','weight':1,'onoff':0}); demo.push({'img':'图片3','delay':10,'type':'1','url':'http://3','weight':1,'onoff':0}); demo.push({'img':'图片4','delay':10,'type':'1','url':'http://4','weight':1,'onoff':0}); encode_cache('sbh_open_screen',demo); ~~~