随笔分类 -  frontEnd

前端开发
摘要:location / { try_files $uri $uri/ /index.html; } location ^~ /api/ { proxy_redirect off; proxy_set_header HOST $host; proxy_set_header X-Real-IP $remo 阅读全文
posted @ 2020-01-15 17:30 雷神约 阅读(322) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title></title> <style> * { margin: 20px; padding: 20px; } </style></head><body><table border="1" c 阅读全文
posted @ 2019-11-26 18:04 雷神约 阅读(692) 评论(0) 推荐(0)
摘要:<!doctype html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-sca 阅读全文
posted @ 2019-11-07 14:13 雷神约 阅读(200) 评论(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 @ 2019-09-23 11:43 雷神约 阅读(264) 评论(0) 推荐(0)
摘要:修复版本 阅读全文
posted @ 2019-08-21 09:58 雷神约 阅读(894) 评论(0) 推荐(0)
摘要:原文:https://www.jianshu.com/p/496fd1cbee8d npm install qrcodejs2 save 页面中引入 import QRCode from "qrcodejs2" export default { data(){ link: 'https://baid 阅读全文
posted @ 2019-08-07 14:51 雷神约 阅读(2701) 评论(0) 推荐(0)
摘要:vue实现rsa加密,数字签名,md5加密等 小丸子超级可爱 关注 0.7 2018.09.14 11:20* 字数 238 阅读 3855评论 6喜欢 21 小丸子超级可爱 关注 0.7 2018.09.14 11:20* 字数 238 阅读 3855评论 6喜欢 21 0.7 2018.09.1 阅读全文
posted @ 2019-05-27 10:37 雷神约 阅读(1751) 评论(0) 推荐(0)
摘要:看到博客的人,请养成写博客的习惯,不会不会,就怕曾经会过,现在想不起来了,一起加油.................... 让学习真的成为一种习惯,同时要注意身体 <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <script 阅读全文
posted @ 2019-04-19 18:51 雷神约 阅读(346) 评论(0) 推荐(0)
摘要:margin: 0; color: #fff; font-size: 42px; font-weight: 700; text-shadow: #111 0px 0px 10px 阅读全文
posted @ 2019-04-12 11:11 雷神约 阅读(195) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>index</title> <script src="jquery.min.js"></script> <style> div.box{ width:1200p 阅读全文
posted @ 2019-04-01 11:14 雷神约 阅读(230) 评论(0) 推荐(0)
摘要:先安装 sockjs-client 和 stompjs 阅读全文
posted @ 2019-03-29 17:02 雷神约 阅读(849) 评论(0) 推荐(0)
摘要:<template> <div id="monitor"> 一页显示 {{currentCount}}条 当前第 {{currentPage}}页 <jc-card style="margin-bottom: 2px;"> <div slot="header" class="clearfix"> < 阅读全文
posted @ 2019-02-22 14:39 雷神约 阅读(1059) 评论(0) 推荐(0)
摘要:let arr = [ {id:1,name:"php",pid:0}, {id:2,name:"php基础",pid:1}, {id:3,name:"php面向对象",pid:1}, {id:4,name:"python",pid:0}, {id:5,name:"python迭带器",pid:4} 阅读全文
posted @ 2019-01-21 22:39 雷神约 阅读(2367) 评论(0) 推荐(1)
摘要:博客 学院 下载 GitChat TinyMind 论坛 APP 问答 商城 VIP 活动 招聘 ITeye 写博客 发Chat 登录注册 原 React+DvaJS 之 hook 路由权限控制 2016年12月09日 19:32:29 阅读数:19425 在model的subscriptions中 阅读全文
posted @ 2018-08-14 19:11 雷神约 阅读(5228) 评论(0) 推荐(0)
摘要:<script> (function anonymous() { // 声明一个函数,并直接的执行 function computed() { let HTML = document.documentElement, winW = HTML.clientWidth, desW = 750; if ( 阅读全文
posted @ 2018-08-13 15:53 雷神约 阅读(230) 评论(0) 推荐(0)
摘要:vuex- action 1、当点发送过快,页面中渲染的内容与state中的数据不一致,vuex里面的state变得慢,且不持续更新 2、action中是可以做到页面中state中数据保持一致 vuex- action 1、当点发送过快,页面中渲染的内容与state中的数据不一致,vuex里面的st 阅读全文
posted @ 2018-08-13 12:28 雷神约 阅读(553) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-08-02 11:26 雷神约 阅读(306) 评论(0) 推荐(0)
摘要:vue+vuex+axios从后台获取数据存入vuex,组件之间共享数据 在vue项目中组件间相互传值或者后台获取的数据需要供多个组件使用的情况很多的话,有必要考虑引入vuex来管理这些凌乱的状态,今天这边博文用来记录这一整个的过程,后台api接口是使用webpack-server模拟的接口,这个前 阅读全文
posted @ 2018-08-02 11:04 雷神约 阅读(1844) 评论(0) 推荐(0)
摘要:import React, {Component, PureComponent} from 'react'import ReactDOM from 'react-dom'import 'bootstrap/dist/css/bootstrap.css'/* * 如果props或者是state里面给的 阅读全文
posted @ 2018-07-30 10:58 雷神约 阅读(137) 评论(0) 推荐(0)
摘要:HTML图片热区map area的用法 <area>标记主要用于图像地图,通过该标记可以在图像地图中设定作用区域(又称为热点),这样当用户的鼠标移到指定的作用区域点击时,会自动链接到预先设定好的页面。其基本语法结构如下: <area class=type id=Value href=url alt= 阅读全文
posted @ 2018-07-27 18:02 雷神约 阅读(428) 评论(0) 推荐(0)