会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不完美的完美
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
20
下一页
2018年8月8日
微信小程序验证码获取倒计时
摘要: {{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 不完美的完美
阅读(2485)
评论(0)
推荐(1)
2018年8月7日
解决小程序里面的图片之间有空隙的问题???
摘要: 1、将图片转换为块级对象 即,设置image为display:block; image { display:block; } 2、设置图片的垂直对齐方式 即,设置图片的vertical align属性为"top,text top,bottom,text bottom" image { vertica
阅读全文
posted @ 2018-08-07 15:50 不完美的完美
阅读(5016)
评论(0)
推荐(0)
2018年8月1日
axios使用
摘要: axios 基于promise用于浏览器和node.js的http客户端 特点 支持浏览器和node.js 支持promise 能拦截请求和响应 能转换请求和响应数据 能取消请求 自动转换JSON数据 浏览器端支持防止CSRF(跨站请求伪造) 一、安装 npm安装 $ npm install axi
阅读全文
posted @ 2018-08-01 17:30 不完美的完美
阅读(587)
评论(0)
推荐(0)
2018年7月31日
生命周期(vue的钩子函数)
摘要: 生命周期图示 创建前,创建后,挂载前,挂载后,更新前,更新后,销毁前,销毁后 beforeCreate:function(){ console.log('1 beforeCreate 组件还未被创建'); }, created:function(){ console.log('2 created 组
阅读全文
posted @ 2018-07-31 17:53 不完美的完美
阅读(308)
评论(0)
推荐(0)
Vue点击切换class
摘要: Vue点击切换多个class {{item.text}} import Vue from 'vue' export default{ data:function() { return { items:[ {text: '静安区'}, {text: '宝山区'}, {text: '虹口区'}, {te
阅读全文
posted @ 2018-07-31 15:59 不完美的完美
阅读(5393)
评论(0)
推荐(0)
微信分享
摘要: 这是我同事写的方法,比官网的简单 调用方法 that.weixin_share({ postUrl: '',//微信分享的php shareData: { title: ,//分享标题 desc: ,//分享描述 imgUrl: ,//分享图标 link: //分享链接 } }); 分装的方法 fu
阅读全文
posted @ 2018-07-31 14:51 不完美的完美
阅读(377)
评论(0)
推荐(0)
2018年7月25日
项目二遇到的知识点总结
摘要: 1、select默认选中项颜色为灰色,选择后变为黑色 <!DOCTYPE html select 元素 .box { width: 100%; height: 100%; text align: center; margin top: 100px; } / select 的默认下拉箭头 / / ie
阅读全文
posted @ 2018-07-25 17:29 不完美的完美
阅读(540)
评论(0)
推荐(0)
如何使用vux创建vue项目
摘要: 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 不完美的完美
阅读(736)
评论(0)
推荐(0)
2018年6月15日
plus.networkinfo.getCurrentType()
摘要: HTML5+API device Device Device模块管理设备信息,用于获取手机设备的相关信息,如IMEI、IMSI、型号、厂商等。通过plus.device获取设备信息管理对象。 对象: networkinfo networkinfo模块用于获取网络信息 networkinfo 常量 C
阅读全文
posted @ 2018-06-15 15:06 不完美的完美
阅读(1000)
评论(0)
推荐(0)
2018年6月8日
vue点击切换颜色限制个数(用了mui框架)
摘要: vue点击切换颜色 只能点击一个 <!doctype html 修改资料 类别 类别 保存 {{item.msg}} 最多可选择三项 mui.init() var categroy = new Vue({ el:' categroy', data:{ items:[{ msg: '电影' },{ m
阅读全文
posted @ 2018-06-08 14:34 不完美的完美
阅读(325)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
20
下一页
公告