主页
  • Resize,w 360,h 240
    fastadmin如何修改表格operate样式图标更改为文字

    关于这块的话,只能重写edit按钮才可以{field:'operate1',title:__('Operate'),table:table,events:Table.api.events.operate,formatter:function(value,row,index){varthat=$.extend({},this);vartable=$(that.table).clone(tr

    0 月亮渡河 阅读 730 点赞 0 1年前
  • Resize,w 360,h 240
    LibreOffice安装和使用

    1、官网下载安装DownloadLibreOffice|LibreOffice-FreeOfficeSuite-BasedonOpenOffice-CompatiblewithMicrosoft点击下载2、解压缩上传文件到宝塔,并解压文件3、安装进入到的RPMS目录切换到root权限,执行rpm-ivh*.rpm或rpm-Uivh*.rpm--nodeps4、环境变量配置如果报commandnot

    0 九音引魂箫 阅读 938 点赞 0 1年前
  • Resize,w 360,h 240
    个人网站实现微信扫码登录

    先看文章,了解做法和思路https://mdnice.com/writing/3fb83abf28d4486c8ce03ba89c668a8bhttps://blog.csdn.net/IT_rookie_newbie/article/details/130510852以下代码只是提供思路,并不能直接使用,如有不懂处可以有偿联系作者,Q:528772568先看流程图获取getAccessToken

    0 十里故清欢 阅读 1134 点赞 0 1年前
  • Resize,w 360,h 240
    fastadmin默认页面跳转模板修改

    修改文件路径/application/common/view/tpl/dispatch_jump.tpl,也可以在配置文件config.php修改文件路径修改样式(根据自己喜欢的样式或html修改)<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metahttp-equ

    0 陌上吟归雪 阅读 1242 点赞 0 1年前
  • Resize,w 360,h 240
    fastadmin默认跳转的成功和失败页面取消不提示的修改方法

    默认admin或index控制器的$this->success('')或$this->error('')方法的跳转页面在FastAdmin中,默认退出登录后会显示"退出成功"的提示信息并跳转页面。要实现不显示提示信息直接跳转,可以通过以下方式修改$this->redirect('index/login');使用redirect方法跳转就不会有提示信息,适用于error和su

    0 尺素 阅读 1342 点赞 0 1年前
  • Resize,w 360,h 240
    fastadmin固定表格底部分页和页数,数据在table的标题栏和底部tbody中间滚动

    效果在文件目录/public/assets/js/require-table.js最底部的returnTable前添加如下代码vartable=$("#table");table.attr('data-height',document.body.offsetHeight-53)

    0 十里故清欢 阅读 996 点赞 0 1年前
  • Resize,w 360,h 240
    fastadmin自定义搜索框

    js文件添加searchFormVisible:true,//通用搜索表单是否初始显示searchFormTemplate:'countrySearch',commonSearch:true,在index.html文件添加scrtipt标签的id需要与js代码对应一致;input.operate的data-name和input.form-control的name参数名要对应上;input.

    0 人间绝色 阅读 1045 点赞 0 1年前
  • Resize,w 360,h 240
    fastadmin修改CURD生成的html模板

    fastadminCrud命令行执行的是/application/command/Crud.php文件中的方法执行Crud命令时,使用的模板文件(index.html/edit.html/add.html)在/application/command/Crud/index.stub(edit.stub/add.stub)比如修改新增/修改弹框的时候把重置按钮替换成取消按钮或添加样式等,这样每次CUR

    0 回頭是墻 阅读 809 点赞 0 1年前
  • Resize,w 360,h 240
    fastadmin弹框添加遮罩

    fastadmin给弹框添加遮罩,普通的设置只能在iframe层打开,而且弹框只能在iframe中居中并不是整个屏幕居中,上边header和nav栏都没有被遮罩覆盖如图所示:接下来需要对弹出层进行改造一下,弹出层居中并且遮罩全屏效果如下:修改fast.js文件,路径为项目/public/assets/js/fast.js,找到open方法替换代码如下://打开一个弹出窗口open:functi

    0 柔雪恋落花 阅读 969 点赞 0 1年前
  • tp5的nginx和apache伪静态设置

    nginx配置location~*(runtime|application)/{ return403;}location/{ if(!-e$request_filename){ rewrite^(.*)$/index.php?s=$1last;break; }}apache<IfModulemod_rewrite.c>Options+FollowSymlinks

    0 恍惚 阅读 674 点赞 0 1年前