限时免费试用:欢迎注册 api.bigmodel.org ,快速体验大模型 API 接入服务。
当前位置:首页 >开发者

开发者

小程序 | 两个小程序之间的跳转

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 (

小程序实例 | 音频播放audio

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: .

laravel | 系统学习笔记四

公共专题列表 视图合成器 \View::composer('mobandizhi',function($view){ //加载 }) 使用 位置\app\Providers\AppServiceProvider.php public function boot() { \View::composer('layout.sidebar',function($vi

laravel | 系统学习笔记三

搜索 elasticsearch https://www.elastic.co/cn/ https://github.com/medcl/elasticsearch-analysis-ik 文档 elasticsearch基本概念 索引index 类型type 文档document 字段field 模板template es标准查询地址 http://loc

URL网址16进制加密

$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