IOS active 状态失效问题 失效原因 By default, Safari Mobile does not use the :active state unless there is a touchstart event handler on the relevant element or ...
分类:
移动开发 时间:
2020-06-29 00:21:02
阅读次数:
69
else if (element.className) {// a b c => .a.b.c return "." + element.className.split(' ').filter(item => !!item).join('.'); ...
分类:
其他好文 时间:
2020-06-29 00:04:39
阅读次数:
60
Form表单中的参数 :model 绑定的是表单的数据对象 :rules 是表单的验证规则对象 ref 是当前表单组件的引用对象 el-from-item 的 prop属性: 专门用来指定校验规则 所有的校验规则都在:rules 所绑定的对象中定义 Form 方法 重置/清空 的方法 resetFo ...
分类:
其他好文 时间:
2020-06-28 22:36:03
阅读次数:
99
题外话 好久没更新博客了,不是因为最近没在学习,而是最近学的多了,感觉记流水账式的博文是在污染网络,以后的博文都会是网上不好找或找不到的问题 正文 在使用ng-zorro时利用cdk-virtual-scroll-viewport 这个标签做虚拟滚动时报了错,虽然只是在控制台报错,不影响实际显示结果 ...
分类:
其他好文 时间:
2020-06-28 19:03:45
阅读次数:
180
vue.js实现切换式轮播图 HTML部分 <body> <div id="app"> <div id="banner"> <div id="imglist"> <a href="" v-for="(item,index) in Rot_a" :key="index"><img :src="item ...
分类:
Web程序 时间:
2020-06-28 18:40:47
阅读次数:
142
方法有很多种 自定义类名 <el-button class="search_button" @click="search">查询</el-button> .search_button { color: #ffffff; background: #15ac86; border: none; borde ...
分类:
其他好文 时间:
2020-06-28 15:25:07
阅读次数:
145
每日思考一遍人生,还是要学习的 0x01 web 1、计算器-1 源码: 1 #!/usr/bin/env python3 2 # -*- coding: utf-8 -*- 3 from flask import Flask, render_template, request,session 4 ...
分类:
其他好文 时间:
2020-06-28 15:19:09
阅读次数:
51
想给百度云视频加速,可是 shadow-root (closed) 下的元素没有办法访问和修改。所以video获取不到,想了半天,发现可以往里面加html代码来实现元素访问。实现原理,element 对象的两个属性parentNode 返回父级元素firstChild 返回元素的首个子元素 chor ...
分类:
其他好文 时间:
2020-06-28 09:43:53
阅读次数:
86
1.星形条纹图案 星形线的笛卡尔坐标方程式为: x=r*cos(θ)^3 y=r*sin(θ)^3 (0≤θ≤2π) 圆的笛卡尔坐标方程式为: x=r*cos(θ) y=r*sin(θ) (0≤θ≤2π) 在星形线中绘制一个内接圆,再在内接圆中绘制一个内接星形线。编写如下的HTML代码。 <!DOC ...
分类:
编程语言 时间:
2020-06-28 09:24:12
阅读次数:
80
Flatten Nested List Iterator (M) 题目 Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list ...
分类:
其他好文 时间:
2020-06-28 09:23:02
阅读次数:
45