<div ref="test" data-id="2"></div> this.$refs.test.attributes['data-id'].value);
指定元素添加touchstart事件$('.prize-btn').on('touchstart',function(){ //...空函数即可 });或body上添加touchstart事件document.body.addEventListener('touchst
// 没有返回值 alert('你好');// 返回 false/true let res = confirm('确定删除?'); console.log(res);// 返回用户输入的值或null, 第二个值为指定的默认值(可选) var
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>获取视频封面</title> </head> <body> <img sr
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body>
Error: ENOSPC: no space left on device提示空间不足删除一下 node_modules/.cache 里的缓存文件就可以了
import Cookies from 'js-cookie';setHis() { let his = Cookies.get('his') if (his) { his = JSON.par
直接给一个新的数组里面,利用es6的延展运算符arr = [...new Set(arr)] //去重arr = arr.filter(function (s) {return s && s.trim()}) //去除空值
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
HBuilder vue文件标签分栏插件 formatAndSave https://ext.dcloud.net.cn/plugin?id=7695
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="renderer"&n
let date = new Date();const year = date.getFullYear().toString();const month = (date.getMonth() + 1).toString().padStart(2,'0');const day = date.ge
要求:每天签到送积分,第一天1积分,第二天2积分_..第七天7积分(中间不能问隔,如有从要第一天开始) 7天为一个同期在日历中显示联续7天签到与积分情况mysql:tp5 php<?php namespace app\api\controller; use app\api\controller\Common; us
百度找了很多方法,发现都不行,ajaxFileUpload 我是从githb下载的,最后发现是文件的问题,换了一个就可以了// JavaScript Document jQuery.extend({ createUploadIframe: function(id,
html<video id="videoPlay" playsinline="true" webkit-playsinline="true" x5-playsinline="true" 
<?php //$source_path 源图片地址 //$cut_h 裁剪高度 //$cut_type 裁剪类型 1像素 2百分比 //$limit_w 图片宽度小于$limit_w不处理 //$limit_w 图片高度小于$lim
$data = json_decode(html_entity_decode(stripslashes($data)), true);
let proxy = JSON.parse(JSON.stringify(proxy));
admin
seo
ljd
51zuso_70
haotao99
51zuso_77