上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 74 下一页
摘要: 纯CSS实现Div高度根据自适应宽度(百分百调整) 123 阅读全文
posted @ 2018-04-12 13:32 生如逆旅,一苇以航 阅读(1224) 评论(0) 推荐(0) 编辑
摘要: html盒子铺满全屏 阅读全文
posted @ 2018-04-11 11:15 生如逆旅,一苇以航 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.runoob.com/try/try.php?filename=trycss3_justify-content 阅读全文
posted @ 2018-04-11 10:59 生如逆旅,一苇以航 阅读(1713) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://segmentfault.com/q/1010000005330351 阅读全文
posted @ 2018-04-10 10:38 生如逆旅,一苇以航 阅读(19244) 评论(1) 推荐(0) 编辑
摘要: 原文地址:http://bbs.larkapp.com/ 阅读全文
posted @ 2018-04-10 09:44 生如逆旅,一苇以航 阅读(332) 评论(0) 推荐(0) 编辑
摘要: js中的!!使用: 阅读全文
posted @ 2018-04-10 09:24 生如逆旅,一苇以航 阅读(640) 评论(0) 推荐(0) 编辑
摘要: Schema::connection('usertable')->create('test', function ($table) { $table->increments('id'); $table->string('name'); }); 'usertable'自己配置的数据库名称。'test'要创建的数据表名称 阅读全文
posted @ 2018-04-03 11:22 生如逆旅,一苇以航 阅读(1162) 评论(0) 推荐(0) 编辑
摘要: 一对一hasOne(用户-手机号) 一对多has Many(文章-评论) 一对多反向belongsTo(评论-文章) 多对多belongsToMany(用户-角色) 远层一对多hasManyThrough(国家-作者-文章) 多态关联morphpMany(文章/视频-评论) 多态多对多morphTo 阅读全文
posted @ 2018-04-02 22:59 生如逆旅,一苇以航 阅读(154) 评论(0) 推荐(0) 编辑
摘要: public function zan(Post $post){ $param=[ 'user_id'=>\Auth::id(), 'post_id'=>$post->id ] Zan::firstOrCreate($param); } 阅读全文
posted @ 2018-04-02 06:11 生如逆旅,一苇以航 阅读(1784) 评论(0) 推荐(0) 编辑
摘要: 系统维护管理命令: date 查看日期,设置日期 只有超级用户才能用date命令设置时间 date --help 显示时间的帮助命令 date{选项} 显示时间格式(以+开头,后面接时间格式) 选项:-s -set设置系统时间。 -d -date显示描述信息 %H:小时(00-23) %M:分钟(0 阅读全文
posted @ 2018-03-30 07:24 生如逆旅,一苇以航 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 74 下一页