上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页
摘要: `示例效果图` github地址 https://github.com/icindy/wxParse 一、使用方法 1、下载wxParse文件,拷贝wxParse文件夹到自己的小程序项目中 2、在项目文件中使用 (1)、在需要使用的wxml文件中引入WxParse.wxml <! 当前.wxml ( 阅读全文
posted @ 2018-08-09 17:10 不完美的完美 阅读(5125) 评论(0) 推荐(0) 编辑
摘要: 微信小程序 获取输入框(input)内容 Page({ data:{ getInput: null }, getInput:function(e){//方法1 this.data.getInput = e.detail.value; }, //getInput: function (e) {//方法 阅读全文
posted @ 2018-08-09 12:22 不完美的完美 阅读(32232) 评论(0) 推荐(0) 编辑
摘要: {{code}} data:{ disabled: false, code: '获取验证码', }, goGetCode:function(){ var that = this; var time = 60; that.setData({ code: '60秒后重发', disabled: true 阅读全文
posted @ 2018-08-08 12:11 不完美的完美 阅读(2457) 评论(0) 推荐(1) 编辑
摘要: 1、将图片转换为块级对象 即,设置image为display:block; image { display:block; } 2、设置图片的垂直对齐方式 即,设置图片的vertical align属性为"top,text top,bottom,text bottom" image { vertica 阅读全文
posted @ 2018-08-07 15:50 不完美的完美 阅读(4817) 评论(0) 推荐(0) 编辑
摘要: axios 基于promise用于浏览器和node.js的http客户端 特点 支持浏览器和node.js 支持promise 能拦截请求和响应 能转换请求和响应数据 能取消请求 自动转换JSON数据 浏览器端支持防止CSRF(跨站请求伪造) 一、安装 npm安装 $ npm install axi 阅读全文
posted @ 2018-08-01 17:30 不完美的完美 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 生命周期图示 创建前,创建后,挂载前,挂载后,更新前,更新后,销毁前,销毁后 beforeCreate:function(){ console.log('1 beforeCreate 组件还未被创建'); }, created:function(){ console.log('2 created 组 阅读全文
posted @ 2018-07-31 17:53 不完美的完美 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Vue点击切换多个class {{item.text}} import Vue from 'vue' export default{ data:function() { return { items:[ {text: '静安区'}, {text: '宝山区'}, {text: '虹口区'}, {te 阅读全文
posted @ 2018-07-31 15:59 不完美的完美 阅读(5374) 评论(0) 推荐(0) 编辑
摘要: 这是我同事写的方法,比官网的简单 调用方法 that.weixin_share({ postUrl: '',//微信分享的php shareData: { title: ,//分享标题 desc: ,//分享描述 imgUrl: ,//分享图标 link: //分享链接 } }); 分装的方法 fu 阅读全文
posted @ 2018-07-31 14:51 不完美的完美 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 1、select默认选中项颜色为灰色,选择后变为黑色 <!DOCTYPE html select 元素 .box { width: 100%; height: 100%; text align: center; margin top: 100px; } / select 的默认下拉箭头 / / ie 阅读全文
posted @ 2018-07-25 17:29 不完美的完美 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 1.安装vue cli,通过vue v可以查明 安装vue cli步骤 vue init airyland/vux2 projectPath(项目名字) 2.安装依赖模块 方法1:npm install 方法2:npm install registry=https://registry.npm.ta 阅读全文
posted @ 2018-07-25 11:54 不完美的完美 阅读(713) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页