moment("2020-01-01 00:00:00").unix(); //log:当前时间时间戳 1577808000
...
4年前 (2021-07-14)
喜欢
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split("&...
4年前 (2021-07-14)
喜欢
data: ""{\"session_key\":\"1m5\\\/K\\\/53lyERNXHCQjJAnQ==\",\"openid\":\"o5r1Q5NzOzAJ_diaTlRuTz...
4年前 (2021-07-10)
喜欢
<u-button :custom-style="customStyle" @click="login">登录</u-button>
data() {
return {
...
4年前 (2021-07-09)
喜欢
var formdata=new FormData();
formdata.append("name","laotie");
wxLogin(formdata).then(function (res) {})
...
4年前 (2021-07-08)
喜欢
.anim-opacity2 {
animation: 2s opacity2 0s infinite;
-webkit-animation: 2s opacity2 0s infinite;
-moz-animation: 2s opacity2 0s infin...
4年前 (2021-06-30)
喜欢
到夏天了,电脑温度也高了,笔记本随着外接温度升高也变卡了。
macbook pro外接显示器kernel_task cpu跑满
拔掉外接显示器 kernel_task就降下来了。
Intel的CPU有睿频加速功能。说白了就是自动超频。超频时会升温,而温度太高了就会触发kerne...
4年前 (2021-06-29)
喜欢
时间戳单位为秒时
import moment from 'moment';
let timeStr = moment.unix(1537527600).format('HH:mm:ss');
console.log('timeStr...
4年前 (2021-06-27)
喜欢
除了添加autoplay属性,还要添加muted属性
<video id="video" muted class="shipin" autoplay="autoplay" controls="contro...
4年前 (2021-06-23)
喜欢
WOW.js 依赖 animate.css,所以它支持 animate.css 多达 60 多种的动画效果,能满足您的各种需求。
IE6、IE7 等老旧浏览器不支持 CSS3 动画,所以没有效果;而 wow.js 也使用了 querySelectorAll 方法,IE 低版本会报...
4年前 (2021-06-10)
喜欢