官方插件 + 应用
gocron - 总控任务调度 + 定时任务管理系统
使用Go语言开发的轻量级定时任务集中调度和管理系统, 用于替代Linux-crontab
PHP - 框架日志查看器
shellcomposer require wolf-leo/phplogviewer
PHP - 常用身份验证器
shellcomposer require wolfcode/authenticator
PHP - AI
shellcomposer require wolfcode/php-ai
PHP - 七牛云上传
因为官方不肯适配 PHP 8.4
shellcomposer require wolfcode/qiniu-php-sdk
layui - switchSelect
js
layui.config({
base: '../switchSelect/' // 根据实际情况修改路径
}).extend({
switchSelect: 'switchSelect',
});
layui.use(['switchSelect'], function () {
let switchSelect = layui.switchSelect;
// 初始化组件
new switchSelect({
elem: '#switchSelectDemo', // 容器元素
data: {1: 'AAA', 2: 'BBB', 3: 'CCC'}, // 数据
default: 1, // 默认选中项
name: 'name', // 表单name
target: 'radio', // 默认样式 radio select
onSwitch: function (target) {
console.log('切换到:', target);
}
});
});