上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页
摘要: <!DOCTYPE html> <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>发送验证码倒计时功能</title> <style> @charset "utf-8 阅读全文
posted @ 2018-08-14 17:59 狗尾草的博客 阅读(240) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2018-08-14 17:57 狗尾草的博客 阅读(194) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>广告自动关闭</title> </head> <style> .tip{ position: fixed; top: 阅读全文
posted @ 2018-08-14 17:55 狗尾草的博客 阅读(529) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>广告自动关闭</title> </head> <style> .tip{ position: fixed; top: 阅读全文
posted @ 2018-08-14 17:54 狗尾草的博客 阅读(1809) 评论(0) 推荐(1) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>吸顶效果</title> <style> *{ padding: 0; margin: 0; } body{ height: 2000px; } /*吸顶效果* 阅读全文
posted @ 2018-08-14 17:52 狗尾草的博客 阅读(1947) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <style> .up { display: none; width: 100px; height: 100px; background: red 阅读全文
posted @ 2018-08-14 17:51 狗尾草的博客 阅读(165) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>表单正则验证</title> <style type="text/css"> *{ margin: 0; padding: 0; } body{ backgro 阅读全文
posted @ 2018-08-14 17:49 狗尾草的博客 阅读(795) 评论(0) 推荐(0) 编辑
摘要: 今天我给大家带来用原生js实现表单登陆的10天内免登陆 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>表单正则验证</title> <style type="text/css"> *{ margin: 0; 阅读全文
posted @ 2018-08-14 15:05 狗尾草的博客 阅读(615) 评论(0) 推荐(0) 编辑
摘要: actions:既然mutations只能处理同步函数,我大js全靠‘异步回调’吃饭,怎么能没有异步,于是actions出现了... actions和mutations的区别 1.Actions 提交的是 mutations,而不是直接变更状态。也就是说,actions会通过mutations,让m 阅读全文
posted @ 2018-08-14 08:28 狗尾草的博客 阅读(990) 评论(0) 推荐(1) 编辑
摘要: getters: 有时候,我们需要对state的数据进行筛选,过滤。这些操作都是在组件的计算属性进行的。如果多个组件需要用到筛选后的数据,那我们就必须到处重复写该计算属性函数;或者将其提取到一个公共的工具函数中,并将公共函数多处导入 - 两者都不太理想。如果把数据筛选完在传到计算属性里就不用那么麻烦 阅读全文
posted @ 2018-08-14 08:26 狗尾草的博客 阅读(1833) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页