css3简单旋转

摘要: <style type="text/css"> .img{ width:1200px; height:300px; border:1px solid red; margin:auto; } li{ list-style:none; float:left; margin-left:15px; -web 阅读全文
posted @ 2018-09-30 13:10 旺仔小裤头 阅读(122) 评论(0) 推荐(0) 编辑

vue 路由的安装及使用

摘要: 安装: 1.cmd下输入: npm install vue-router --save //安装路由 2.npm run dev //重新启动 使用: 1.在mian.js下引入,使用,配置路由 import VueRouter from 'vue-router' Vue.use(VueRouter 阅读全文
posted @ 2018-09-26 18:08 旺仔小裤头 阅读(5130) 评论(0) 推荐(0) 编辑

vue 父组件与子组件之间的相互调用

摘要: 子组件调用父组件东西: 1.在父组件与子组件契合的标签的的template模板中绑定 v-bind:自定义一个名字=“要调用的名字” 2.在子组件的script中props:["自定义的名字"] 最严谨的props:{ 自定义的名字:{ type:数据类型, required:true }, 自定义 阅读全文
posted @ 2018-09-26 16:25 旺仔小裤头 阅读(457) 评论(0) 推荐(0) 编辑

vue 脚手架安装

摘要: 1.安装node.js最新版本2.cmd下输入 1.node -v得到版本号检测是否安装成功 版本号要在6.9以上 2.npm -v 版本号要在3.10以上3.安装脚手架 1.npm install --global vue-cli //(windows下) mark下最前面要输入sudo //全局 阅读全文
posted @ 2018-09-26 14:50 旺仔小裤头 阅读(185) 评论(0) 推荐(0) 编辑

PHP 加密方式

摘要: 1.MD5() 2.Sha1() 3.urlencode()方法用于加密,urldecode()方法用于解密 4.base64_encode ( ) 64位加密 base64_decode ( ) 解密 阅读全文
posted @ 2018-08-13 17:07 旺仔小裤头 阅读(133) 评论(0) 推荐(0) 编辑

php 微信分享

摘要: /** * 获取签名 微信分享 */ function getSignPackage() { $AppID='wx0492be96499b8b5c'; $AppSecret ='8218182e99f47db899c884b690f2d142'; $protocol = (!empty($_SERV 阅读全文
posted @ 2018-08-13 12:26 旺仔小裤头 阅读(126) 评论(0) 推荐(0) 编辑

php 微信授权登录,获取微信用户信息

摘要: public function _initialize(){ header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, 阅读全文
posted @ 2018-08-10 15:19 旺仔小裤头 阅读(581) 评论(0) 推荐(0) 编辑

ajax 删除数据无刷新

摘要: //html页面 <!doctype html><head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="widt 阅读全文
posted @ 2018-08-03 18:48 旺仔小裤头 阅读(475) 评论(0) 推荐(0) 编辑

PHP 直接查看换取的图片

摘要: <!doctype html><head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device- 阅读全文
posted @ 2018-08-03 18:43 旺仔小裤头 阅读(117) 评论(0) 推荐(0) 编辑

summernote富文本编辑器

摘要: <!doctype html><head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device- 阅读全文
posted @ 2018-08-03 18:40 旺仔小裤头 阅读(308) 评论(0) 推荐(0) 编辑