06 2021 档案

摘要:1. d3 force <template> <div :id="id"> <svg width="100vw" height="100vh" /> </div> </template> <script> /** * 力导向图 */ import * as d3 from 'd3' let gs = 阅读全文 »
posted @ 2021-06-30 13:13 玛卡巴鉲 阅读(333) 评论(0) 推荐(0) 编辑
摘要:const year = new Date().getFullYear() const month = new Date().getMonth() + 1 const days = new Date(year, month, 0).getDate() 记录进步。 阅读全文 »
posted @ 2021-06-28 14:50 玛卡巴鉲 阅读(42) 评论(0) 推荐(0) 编辑
摘要:<style> @media print { @page { margin: 0; } body { margin: 1.6cm; } } </style> <style> @page { margin: 0; size: auto; } </style> 记录进步。 阅读全文 »
posted @ 2021-06-25 17:32 玛卡巴鉲 阅读(25) 评论(0) 推荐(0) 编辑
摘要:禁止右键 oncontextmenu="return false" 禁止复制和剪切: oncopy="return false;" oncut="return false;" 禁止复制 onselectstart="return false" 禁止图片拖动 ondragstart="return f 阅读全文 »
posted @ 2021-06-25 09:40 玛卡巴鉲 阅读(134) 评论(0) 推荐(0) 编辑
摘要:《1》上传.csv格式的 <input text="file" accept=".csv" /> 《2》上传.xls格式 <input text="file" accept="application/vnd.ms-excel"/> 《3》上传.xslx格式 <input text="fiel" ac 阅读全文 »
posted @ 2021-06-07 10:34 玛卡巴鉲 阅读(281) 评论(0) 推荐(0) 编辑
摘要:代码比较简单,直接上代码: <span @click="sectionChange(child)"></span> sectionChange(child) { const scrollBox = document.querySelector('.report-detail-module') // 阅读全文 »
posted @ 2021-06-03 10:19 玛卡巴鉲 阅读(1157) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示