小程序实例 | 加载样式
index.wxml index.wxss .circle-line{ width: 100px; height: 100px; display: inline-block; position: relative; } .circle-line text{ display: block; width: 50%; height: 5px; opacity: .
index.wxml index.wxss .circle-line{ width: 100px; height: 100px; display: inline-block; position: relative; } .circle-line text{ display: block; width: 50%; height: 5px; opacity: .
公共专题列表 视图合成器 \View::composer('mobandizhi',function($view){ //加载 }) 使用 位置\app\Providers\AppServiceProvider.php public function boot() { \View::composer('layout.sidebar',function($vi
搜索 elasticsearch https://www.elastic.co/cn/ https://github.com/medcl/elasticsearch-analysis-ik 文档 elasticsearch基本概念 索引index 类型type 文档document 字段field 模板template es标准查询地址 http://loc
$str = "www.wangmingchang.com"; $str=bin2hex($str); $strnum = mb_strlen($str,'UTF8'); while ($strnum){ $array[] = mb_substr($str,0,2,'utf8'); $str = mb_substr($str,2,$strnum,'utf8'
分页可以使用 /admin.php/article/index/2/1.html?word=1 $url = __URL__ . '/' . $_GET['_action'] . '/' . $cid . '/{page}.html?word='.$_GET['word']; 分类id/页码.html 分页不能使用 /admin.php/article/in
index.wxss /* pages/index/index.wxss */ .placeholder{ margin: 5px; padding: 0 10px; text-align: center; background-color: #EBEBEB; color: #cfcfcf; width: 600rpx; } page{ /* backgro
index.json { "component": true, "usingComponents": {} } index.js // components/popmenu/index.js Component({ /** * 组件的属性列表 */ properties: { }, /** * 组件的初始数据 */ data: { isPopping: tr
服务容器 绑定(使用bind 或 singleton) public/indx.php下的 $app = require_once __DIR__.'/../bootstrap/app.php'; app.php 下(字符串绑定到对象中) $app->singleton( Illuminate\Contracts\Http\Kernel::class,//字
laravel中文网 https://laravel-china.org/ 支持: 队列 搜索 数据库迁移 定时脚本 数据填充包 https://github.com/fzaninotto/Faker laravel思想 服务容器 服务提供者 安装环境要求 PHP>=5.6.4 扩展 openssl php extension pdo PHP extensi
最近在做这个日历签到的项目,在这里记录一下 使用的是calendar日历插件 不废话,直接提供源码 HTML页面 日历签到 本月签到 签到累计 累计积分 全部积分 {include file="footer"} $(function(){ var arr=''; //var signList=[{"signDay":"09"},{"signDay":"11"