V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  hm20062006ok  ›  全部回复第 6 页 / 共 8 页
回复总数  145
1  2  3  4  5  6  7  8  
2021-04-26 12:27:49 +08:00
回复了 hm20062006ok 创建的主题 Vue.js Vue/JavaScript 中如何了解一个方法的全部参数列表和解释?
@noe132 当我看看到 Vue Router 的时候,发现可以传一个 router 。new Vue({ router, render: h => h(app) })
2021-04-25 09:57:58 +08:00
回复了 xinhaiw 创建的主题 JetBrains WebStorm 报错 JavaScript 的类
Please try calling File | Invalidate caches and restart.
2021-04-22 21:31:50 +08:00
回复了 v64500 创建的主题 全球工单系统 我家电视机正在监视所有连网设备
恐怖
2021-04-21 16:27:47 +08:00
回复了 eroko 创建的主题 问与答 8 瓶水 2 瓶有毒 6 个耗子 要求单次检验出结果
@qaz168000 单次检验
如果其中一组有两瓶毒药。小鼠 A 喝毒药 1,2,小鼠 B 喝毒药 2,3,小鼠 C 喝毒药 3,4 。
如果三只都死了,可能的组合有:
1,3 有毒( 1 被 A 喝,3 被 B,C 喝)。2,4 有毒( 2 被 A,B 喝,4 被 C 喝)

还是找不出来呀?
如果其中一组有两瓶毒药。小鼠 A 喝毒药 1,2,小鼠 B 喝毒药 2,3,小鼠 C 喝毒药 3,4. 如果三只都死了,可能的组合有:1,3 有毒( 1 被 A 喝,3 被 B,C 喝)。2,4 有毒( 2 被 A,B 喝,4 被 C 喝)
还是找不出来呀?
2021-04-21 00:50:45 +08:00
回复了 eroko 创建的主题 问与答 8 瓶水 2 瓶有毒 6 个耗子 要求单次检验出结果
@noe132 是的, 想错了
2021-04-21 00:25:05 +08:00
回复了 eroko 创建的主题 问与答 8 瓶水 2 瓶有毒 6 个耗子 要求单次检验出结果
8 瓶毒药两两混合一次得到:1+2,1+3...1+8,2+3,2+4,...2+8,3+4,3+5...3+8......7+8. 一共 28 瓶混合物,编号为 1-28, 转换为 5 位数的二进制( 00001.....11100),按照上面回答种视频说的,小鼠 1 喝所有二进制第一位为 1 的混合物,小鼠 2 喝所有二进制第二位为 1 的混合物..... 需要 5 只小鼠可以检验出结果。
2021-04-20 20:24:02 +08:00
回复了 eroko 创建的主题 问与答 8 瓶水 2 瓶有毒 6 个耗子 要求单次检验出结果
@noe132 "将 2 瓶水两两组合混合一共 8x8=64 种状态" 不是只有 28 瓶(两两混合后的)+ 8 瓶(原始的) = 36 种状态吗?
2021-04-19 16:55:19 +08:00
回复了 LeeReamond 创建的主题 问与答 有关 Github Pages 托管自己博客的原理?
前几天玩了下 Cloudflare 的 Pages 。预设的框架支持 Vue,React,Angular 等。使用方式是先在 Cloudflare Pages 绑定一个你 github 的仓库。然后你 pull 代码到 github,Cloudflare Pages 自动帮你 build,发布到 xxx.pages.dev.
2021-04-19 13:48:06 +08:00
回复了 LeeReamond 创建的主题 Vue.js vue 如何实现 loading 读条,加载完成后显示页面?
第一个问题, 如果“用户第一次访问我的网站”打开的是首页。下面有一个效果:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">

<title>WebSiteName</title>
<style type="text/css">body {
margin: 0;
padding: 0
}

.loading {
width: 100%;
height: 100%;
background: #fff;
position: absolute
}

.lodingco {
width: 200px;
height: 80px;
text-align: center;
z-index: 1;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto
}

.loading h2 {
color: #666;
margin: 0;
text-transform: uppercase;
letter-spacing: .1em;
font-size: 20px;
font-weight: 400;
font-family: cursive
}

.loading span {
display: inline-block;
vertical-align: middle;
width: .6em;
height: .6em;
margin: .19em;
background: #007DB6;
border-radius: .6em;
-webkit-animation: loading 1s infinite alternate;
animation: loading 1s infinite alternate;
animation: loading 1s infinite alternate
}

.loading span:nth-of-type(2) {
background: #008FB2;
-webkit-animation-delay: .2s;
animation-delay: .2s
}

.loading span:nth-of-type(3) {
background: #009B9E;
-webkit-animation-delay: .4s;
animation-delay: .4s
}

.loading span:nth-of-type(4) {
background: #00A77D;
-webkit-animation-delay: .6s;
animation-delay: .6s
}

.loading span:nth-of-type(5) {
background: #00B247;
-webkit-animation-delay: .8s;
animation-delay: .8s
}

.loading span:nth-of-type(6) {
background: #5AB027;
-webkit-animation-delay: 1s;
animation-delay: 1s
}

.loading span:nth-of-type(7) {
background: #A0B61E;
-webkit-animation-delay: 1.2s;;
animation-delay: 1.2s
}

@-webkit-keyframes loading {
0% {
opactty: 0
}
100% {
opacity: 1
}
}

@keyframes loading {
0% {
opacity: 0
}
100% {
opacity: 1;
}
}</style>
</head>
<body>

<div id="app">
<div class="loading">
<div class="lodingco"><h2>WebSiteName Loading</h2>
<span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
</div>
</div>

</body>


</script>
</html>
东西南北,xx 路南往北方向
买了
2021-04-14 11:54:33 +08:00
回复了 nockyQ 创建的主题 程序员 有用过淘宝教育的朋友吗
Chrome89 可以看
2021-04-13 20:17:05 +08:00
回复了 QZFCANBA 创建的主题 问与答 求一个完整的黑苹果教程
显卡和网卡尽量买免驱的。然后看 2 楼的指南
2021-04-11 11:51:15 +08:00
回复了 GGGG430 创建的主题 Ubuntu 安装 ubuntu20.04 后的几个问题
2021-04-07 13:36:09 +08:00
回复了 fengerzh 创建的主题 Apple Mac 自带原生输入法中英文切换技巧?
“刚输入两个字母 he,突然发现不对,想切换成英文” 这时候按 enter
2021-03-31 12:49:16 +08:00
回复了 zhoudaiyu 创建的主题 问与答 大家做项目的时候用到过多深的数学知识?
Android 自定义动画的缓动函数
2021-03-29 20:06:51 +08:00
回复了 l890908 创建的主题 程序员 Thinkphp5 路由 变量不能放在最前面?
Route::get('hello/:name/[:city]','index/index/hello',['param_depr' => '-'],[ 'name' => '\w+' , 'city' => '[A-Za-z]+' ]);
表示只有在该路由规则访问的时候,才使用-作为 url 分隔符。
分母+1
1  2  3  4  5  6  7  8  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   938 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 23:23 · PVG 07:23 · LAX 16:23 · JFK 19:23
Developed with CodeLauncher
♥ Do have faith in what you're doing.