06 2020 档案

摘要:注意参数格式是要加密的: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale= 阅读全文
posted @ 2020-06-28 09:52 YJUI 阅读(1703) 评论(0) 推荐(0) 编辑
摘要:var common = { getQueryString : function(name){ var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); var r = ''; try{ r = location.href.split( 阅读全文
posted @ 2020-06-28 09:46 YJUI 阅读(316) 评论(0) 推荐(0) 编辑
摘要:HTML: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, us 阅读全文
posted @ 2020-06-23 16:41 YJUI 阅读(188) 评论(0) 推荐(0) 编辑
摘要:HTML: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, us 阅读全文
posted @ 2020-06-23 13:56 YJUI 阅读(170) 评论(0) 推荐(0) 编辑
摘要:HTML <a href="javascript:void(0)" class="go-top" @click="goTop"></a> index.js methods:{ goTop: function () { $('html,body').animate({ scrollTop: '0px' 阅读全文
posted @ 2020-06-23 11:38 YJUI 阅读(152) 评论(0) 推荐(0) 编辑
摘要:HTML: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, us 阅读全文
posted @ 2020-06-23 11:28 YJUI 阅读(474) 评论(0) 推荐(0) 编辑
摘要:input::-webkit-input-placeholder{ color:#fff; } input::-moz-placeholder{ /* Mozilla Firefox 19+ */ color:#fff; } input:-moz-placeholder{ /* Mozilla Fi 阅读全文
posted @ 2020-06-18 19:15 YJUI 阅读(365) 评论(0) 推荐(0) 编辑
摘要:.link span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); } 阅读全文
posted @ 2020-06-18 10:19 YJUI 阅读(173) 评论(0) 推荐(0) 编辑
摘要:解决: IOS识别(年月日时分秒) new Date(2010,0,1,0,0,0).getTime() 1、问题出在: 日期转成时间戳getTime(): var time = "2017-06-23 17:00:00"; alert(new Date(time).getTime()); Andr 阅读全文
posted @ 2020-06-11 16:46 YJUI 阅读(679) 评论(0) 推荐(0) 编辑
摘要:https://unpkg.com/babel-standalone@6.15.0/babel.min.js 阅读全文
posted @ 2020-06-03 13:57 YJUI 阅读(8208) 评论(0) 推荐(0) 编辑
摘要:export 和 export default 的区别 export import输出要加{} 一个也加{},export名与import名必须一致对应,不加{}可以起别名用as,import * as name from './mod1.js'; export default import输出名随 阅读全文
posted @ 2020-06-01 17:42 YJUI 阅读(358) 评论(0) 推荐(0) 编辑
摘要:1、运行webpack 在当前目录 管理员CMD下运行命令 : webpack PS: 只有安装webpack时才必须在管理员环境下运行,如今使用可以随便 问题1: 运行中会遇报错: 错误分析:HTML 网页中,浏览器通过 script 标签加载 JavaScript 脚本。由于浏览器脚本的默认语言 阅读全文
posted @ 2020-06-01 14:50 YJUI 阅读(278) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示