10 2021 档案
摘要:ckplayer.json { "config": { //通用配置 "fullInteractive": true, //是否开启交互功能 "delay": 30, //延迟加载视频,单位:毫秒 "timeFrequency": 100, //计算当前播放时间和加载量的时间频率,单位:毫秒 "au
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv
阅读全文
摘要://实现指定多少时间后执行callback const wait = (delay,callback) => { let p = new Promise((res,rej)=>{ setTimeout(()=>{ res(callback) },delay) }).then((callback)=>
阅读全文
摘要:常用的父子组件通信方法: //父组件 <template> <my-header :title="title" @changeTitle="changeTitle"></my-header> </tempale> <script> import myHeader from "@/components
阅读全文
摘要:<el-form-item label="身份证号" prop="identityCardNo"> <el-input v-model.trim="dataList.identityCardNo" autocomplete="off" placeholder="请输入身份证号" maxlength=
阅读全文
摘要:vant: mounted(){ //手机后退键 let self = this; if (window.history && window.history.pushState) { $(window).on('popstate', function () { self.goback(); });
阅读全文
摘要:<div id="main" style="width: 100%;height:510px;"></div> var myChart = echarts.init(document.getElementById('main'));//创建拿到外面,里面判断没有值可以清空 var len = msg
阅读全文
摘要:<input id="StatisticsList_StartDate" editable="false" name="StatisticsList_StartDate" class="easyui-datebox" style="width: 130px" /> <input id="Statis
阅读全文
摘要:同步 uni.setStorageSync('cunData', this.curID); uni.getStorageSync('cunData') uni.removeStorageSync('cunData') 异步 uni.setStorage({ key: 'Token', data: r
阅读全文
摘要:pc function cans() { var canvas = document.createElement('canvas'); var ctx = canvas.getContext('2d'); var txt = 'http://security.tencent.com/'; ctx.t
阅读全文
摘要:window.print();打印会出现图片不在打印预览显示,不打印的问题,需要用 jqprint 插件 jquery.jqprint-0.3.js https://www.jq22.com/jquery-info347 要在jq之后引用2009年版本会有兼容性问题,之前加一段预览的页面字号不起作用
阅读全文