小程序 | 两个小程序之间的跳转
app.json "navigateToMiniProgramAppIdList": [ "wx2b4ceXXXXX2c62dd0" ] index.wxml 撩m资料 index.js tap_hly:function(){ wx.navigateToMiniProgram({ appId: 'wx2b4ceXXXXX2c62dd0', path: 'pa
app.json "navigateToMiniProgramAppIdList": [ "wx2b4ceXXXXX2c62dd0" ] index.wxml 撩m资料 index.js tap_hly:function(){ wx.navigateToMiniProgram({ appId: 'wx2b4ceXXXXX2c62dd0', path: 'pa
js Page({ /** * 页面的初始数据 */ data: { widthScreen: null, moveData: null, rotateData: null, alphaData: null, scaleData: null, skewData: null, matrixData: null }, moveClick: function (
index.js Page({ onReady(e) { // 使用 wx.createAudioContext 获取 audio 上下文 context this.audioCtx = wx.createAudioContext('myAudio') }, data: { poster: 'http://y.gtimg.cn/music/photo_new
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