摘要: https://github.com/liu21st/thinkphp/blob/master/ThinkPHP/Library/Think/Template/TagLib/Cx.class.php#L24官方的Cx的模板库定义了if的默认嵌套层数,修改这个层数可以支持更多的嵌套格式(还有一种... 阅读全文
posted @ 2017-08-10 15:48 Newman·Li 阅读(214) 评论(0) 推荐(0)
摘要: 废话不多说直接代码:css样式代码: .scroll-layer{ width: 100%; background: #fff; position: fixed; top: 0; left: 0; z-index: 1000;}.scroll-layer p{ hei... 阅读全文
posted @ 2017-08-10 15:16 Newman·Li 阅读(535) 评论(0) 推荐(0)
摘要: http://www.runoob.com/php/php-oop.html1.对接口的继承使用implements,抽象类使用extends.2.接口中不可以声明变量,但可以声明类常量.抽象类中可以声明各种变量3.接口没有构造函数,抽象类可以有4.接口中的方法默认为public,抽象类中的方... 阅读全文
posted @ 2017-08-10 12:19 Newman·Li 阅读(70) 评论(0) 推荐(0)