图片:<img :src="item.cover" class="img"/><span v-bind:style="{backgroundImage: 'url(' + item.cover + ')'}"></span>滚动加载 //是否返回底部 // 设置一个开关来避免重负请求数据 mount ...
分类:
其他好文 时间:
2017-10-10 16:41:09
阅读次数:
147
body { background: url("img_tree.png") no-repeat fixed 50% 50%/cover #ffffff ; }等价于 body { background-image: url("img_tree.png"); background-repeat: n ...
分类:
Web程序 时间:
2017-10-08 18:56:44
阅读次数:
253
题目链接:http://codeforces.com/gym/100431/ 考虑到对于一个串β,能cover它的最短的α必然是它的border的某个前缀,或者是这个β本身。 所谓border,就是next[len(β)],直观含义是除了串本身以外,使得前缀等于后缀的最长的一段前缀。 发现如果bor ...
分类:
其他好文 时间:
2017-10-07 14:49:06
阅读次数:
232
Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are n ...
分类:
其他好文 时间:
2017-09-29 16:48:31
阅读次数:
112
作者:road'cover链接:https://www.zhihu.com/question/29369715/answer/104456866来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 声明: 1.不是大神,是大神口中的实验品 2.知内知外都有相关参考,此文为本 ...
分类:
Web程序 时间:
2017-09-22 12:07:11
阅读次数:
203
稍微做一点点手脚就不会超时了。。。还是挺简单的,考试时候也做出来了。。。 ...
分类:
其他好文 时间:
2017-09-20 12:14:35
阅读次数:
247
istanbul 和 mocha 结合进行nodejs测试的时候最后执行 istanbul cover _mocha test.sqrt.js的时候报错 如图: 用 ../node_modules/mocha/bin/_mocha 代替 _mocha 即,执行的命令为 istanbul cover ...
分类:
Web程序 时间:
2017-09-15 16:47:15
阅读次数:
324
<html><head> <style type="text/css"> .bg-blur { float: left; background-repeat: no-repeat; background-position: center; background-size: cover; -webki ...
分类:
Web程序 时间:
2017-09-13 14:03:33
阅读次数:
186
function showDialog(msg, mode, t, func, cover, funccancel, leftmsg, confirmtxt, canceltxt, closetime, locationtime) 函数参数功能表 应用方法 弹出一个有确定按钮的提示 有确定按钮的提示 ...
分类:
Web程序 时间:
2017-09-09 17:14:58
阅读次数:
205
background-size是CSS3新增的属性,但是IE8以下还是不支持 background-size:contain; // 缩小图片来适应元素的尺寸(保持像素的长宽比);background-size :cover; // 扩展图片来填满元素(保持像素的长宽比);background-si ...
分类:
Web程序 时间:
2017-09-04 10:57:14
阅读次数:
1521