- 昵称:51助手
- 博龄:6年6个月7天
- 粉丝:122
- 关注:108
- +关注
搜索
文章分类
博客档案
tp6安装过程
摘要:1 composer安装 tp6composer create-project topthink/think tp2 安装多应用composer require topthink/think-multi-app3 重命名exaple.env 为 .e
uniapp开发
摘要:1状态管理ps:状态管理事实上就是一个容器,可以存储一些常用的变量和函数,有数据持久化的特性import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) c
vue中async/await的用法
摘要:async 异步请求意思不阻碍其它代码继续往下执行async function timeout() { return 'hello word'; } console.log(timeout()); console.log('虽然在后面,但是我先执行');可以看到
js ()=>写法
摘要:两种函数对this的解释是不同的。箭头函数() => {} 的this与父函数相同,function() {} 的this是自身的
placeholder 字体颜色
摘要:<style> // 谷歌 input::-webkit-input-placeholder{ &nbs
百度地图自定义标记图标
摘要:html<div class="baiduMap"> <div id="map" style="border:1px solid #eee;height:600px;"></di
网页打开显示loading加载
摘要:实现原理:页面一打开显示loading图标,当页面加载完时,触发 completeLoading 函数,js隐藏loading图标<style type="text/css"> #loading{ position:
tp5邮件发送
摘要:主要实现代码<?php namespace tool\emai; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; class Email {
php保留textarea格式的换行与空格
摘要://保留textarea格式 //$str 文本字符串 function textPre($str){ $str = str_replace("\r\n",'<br/>',$str); $str = str_replace("&n
百度编辑器上传图片排序问题
摘要:修改3个位置第一个\ueditor1.4.3.3\dialogs\image\image.js在722行左右,可搜索 _this.imageList.push(json); _this.imageList.push(json); 改成_this.imageList[$file.index()] = json;第2个778行左右,