- 博客(16)
- 资源 (5)
- 论坛 (1)
- 收藏
- 关注
转载 Vue获取当前日期时间、获取指定时间的前、后多少天的日期
https://blog.csdn.net/ForeverBana/article/details/103472751Vue获取当前日期https://blog.csdn.net/weixin_34301132/article/details/91423700?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_weight&depth_1-utm_source=d..
2020-06-30 16:31:58
2174
转载 H5移动端开发遇到问题,和方案
1. 弹出数字键盘 <!-- 有"#" "*"符号输入 --> <input type="tel"> <!-- 纯数字 --> <input pattern="\d*">安卓跟IOS的表现形式应该不一样,大家可以自己试试。当运用了正则pattern后,就不用关注input的类型了打开原生应用 <a href="weixin://">打开微信</a> <a href="alipays:/.
2020-06-30 14:51:23
73
原创 bind call apply函数
<script type="text/javascript"> //bind call apply /* 三个方法相同点: 目标函数被调用时,改变this的指向为指定的值 三个方法都是函数的方法,挂载在Function.prototype上 */ /* 三个方法不同点: 目标函数调用call和apply后,会直接被执行 目标函数调用bind后,不会立即执行,而是返回一个新的函数 调用新函数才会执行目标函数 */ func.
2020-06-25 22:34:16
112
转载 Js return小结
https://blog.csdn.net/q3254421/article/details/83154247?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase先看.
2020-06-24 17:19:56
89
原创 React 初识组件
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title></title> <script src="https://cdn.bootcss.com/react/16.4.0/umd/react.development.js"></script> <script src="https://cdn.bootcss..
2020-06-17 17:31:01
69
转载 css hover控制其他元素
<html><body><style> #a:hover {color : #FFFF00;} #a:hover > #b:first-child{color : #FF0000;} #a:hover > #b{color : #FF00FF;} #a:hover + #c{color : #00FF00;} #a:hover + #c > #b{color : #0000FF;}</st.
2020-06-15 22:35:25
773
转载 修改滚动条默认样式(CSS)
https://segmentfault.com/a/1190000021855840scrollbar.css@charset "utf-8";/* 修改滚动条默认样式 */::-webkit-scrollbar{ width: 6px; /*设置滚动条宽度为6px*/}/*定义滚动条轨道 内阴影+圆角*/::-webkit-scrollbar-track { border-radius: 12px; background-color: #e7e7e7; .
2020-06-11 17:44:33
404
转载 React点击事件 ,并传参
constructor(props){ super(props); this.state = {}; this.checkMenu = this.checkMenu.bind(this);}clicked = (param)=>{ //点击传参 return (event)=>{ console.log(event.target.value); // 定义属性值 console.log(event.target.value).
2020-06-09 16:44:00
432
转载 React 跳转页面 传递传递参数,并获取参数
1.跳转页面并传递参数this.props.history.push("/detail", {dotData: record});2.在detail页面回去参数const messages = this.props.location.state.dotDataclicked = (param) => { this.props.history.push("/Index", { dotData: this.name });.
2020-06-09 16:23:12
293
转载 Vue 过滤器filters及基本用法,之数字中间加**的过滤器
https://blog.csdn.net/weixin_43787528/article/details/88065405?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.noneca
2020-06-09 15:10:56
352
转载 Js、jQuery、Vue浏览器改变可视区域触发事件,监听浏览器窗口大小的变化事件
https://www.jianshu.com/p/922da4e4105ehttps://blog.csdn.net/u012172536/article/details/51832061window.onresize=function(){ //改变可视区域触发 location=location; //页面刷新}用JS或者jQuery监听浏览器窗口大小的变化事件$(window).resize(function () { //当浏览器大小变化时
2020-06-08 10:14:35
380
转载 Vue 动态获取可视区高度,Vue实时设置元素高度根据可视区高度变化
链接:https://www.jianshu.com/p/37c73afb678b<div class="allposition_qw_content" ref="qwcontent" ></div>data() { fullHeight: '' ";//fullHeight: document.documentElement.clientHeight 屏幕高度 默认值 } },methods: { changeFixe...
2020-06-08 10:01:37
3471
转载 CSS3 calc() 实现计算
原文链接:http://caibaojian.com/css3-calc.htmlcalc()的运算规则calc()使用通用的数学运算规则,但是也提供更智能的功能:使用“+”、“-”、“*” 和 “/”四则运算; 可以使用百分比、px、em、rem等单位; 可以混合使用各种单位进行计算; 表达式中有“+”和“-”时,其前后必须要有空格,如"widht: calc(12%+5em)"这种没有空格的写法是错误的; 表达式中有“*”和“/”时,其前后可以没有空格,但建议留有空格。css3 的
2020-06-05 16:09:00
88
转载 Vue 中用this.$refs获取dom元素宽高,给element表格设置动态高度
https://www.jianshu.com/p/371659eb1fe3//获取table的宽度:style="'width:'+dataWidths+'px'"letdataWidth=this.$refs.tab1.offsetWidth;//offsetHeight
2020-06-04 18:51:51
5586
转载 Vue Notice消息无缝滚动
https://www.cnblogs.com/conglvse/p/9988134.htmlvue实现消息向上无缝滚动效果<div class="notice"> <ul :class="{anim:animate}" @mouseenter="Stop()" @mouseleave="Up()"> <li class="h" v-for="(item,index) in noticeList" :key="inde..
2020-06-03 10:44:16
138
jQuery插件实现图片展开效果,jquery.gallery。仿腾讯QQ空间说说图片展示效果。.html
2020-04-01
loverxy丶Du的留言板
发表于 2020-01-02 最后回复 2020-03-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人 TA的粉丝