- 博客(9)
- 收藏
- 关注
原创 日历(vue)
days.vue文件<template> <div class="tourDaysBox" ref="dayBox"> <div class="visaDetailTop"> <p> <button class="btnBack" @click=&q
2018-03-29 15:59:33 1677
转载 日历(js)
源代码:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin: 0px; padding
2018-03-28 15:40:30 368
原创 电子签名(vue)
<template> <div class="signatureBox"> <div class="visaDetailTop"> <p> <button class="btnBack" @click="backHome">&l
2018-03-27 16:49:50 7115 8
原创 电子签名(js)
<!DOCTYPE html><html><head > <meta charset="utf-8"> <title></title> <style type="text/css"> #canvas { border: t
2018-03-27 15:05:39 876
转载 css基础
一、css精灵图: 优点:减少网页的http请求,从而大大的提高页面的性能;CSS Sprites能减少图片的字节 二、overflow 参数: scroll:必会出现滚动条。 auto:子元素内容大于父元素时出现滚动条。 visible:溢出的内容出现在父元素之外。 hidden:溢出隐藏。 三、图片 png是便携式网络图片(Portable Network Graphics)...
2018-03-21 18:15:05 246
转载 浏览器全屏
HTML5提供了启动和退出浏览器全屏模式,但是麻烦的是,必须要事件来触发。某个元素全屏:<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> &
2018-03-20 18:15:18 246
转载 javaScript反调试技巧(禁用输出、断点、计算时间差)
一、函数重定向禁用console.log原本的功能:console.log('ff');var f=function(){};window['console']['log']=f;console.log('hh');输出结果:ff或者改变本来的输入值:var c=window['console']['log'];var f=function(){ c('error')};window['conso...
2018-03-15 18:14:02 1509
原创 vue跨域
一、假如目标服务器端口是8080,我需要把vue的端口改成其他的比如8081。在config目录下打开index.js,把port的8080改成8081port: 8081数据请求,后台不允许跨域,所有需要修改配置在在config目录下打开index.js,添加以下代码dev: { // Various Dev Server settings host: 'localhost', // can...
2018-03-14 13:23:20 940
原创 axios请求
post请求:axios.post("",{}).then((res)=>{})get请求:axios.get("",{}).then((res)=>{})跨域:axios.get('http://dev.xxxxxxxxxxxxxxx',{withCredentials:true}).then((res)=>[})执行多个请求:function getUserAccount()...
2018-03-13 18:11:17 205
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人