上一页 1 2 3 4 5 6 7 ··· 23 下一页
摘要: GitHub对照地址:https://github.com/sass/node-sass 常用的: node:^14.18.1 node-sass:^4.14.1 sass-loader:^7.3.1 阅读全文
posted @ 2024-08-13 08:52 yw3692582 阅读(443) 评论(0) 推荐(0)
摘要: let url = 'xxx' axios .get(url, { responseType: 'blob', }) .then(res => { let reader = new FileReader() reader.readAsText(res, 'GBK') reader.onload = 阅读全文
posted @ 2024-06-05 09:38 yw3692582 阅读(78) 评论(0) 推荐(0)
摘要: <div id="app" style="display: flex; position: absolute; left: -6000px"></div> 在mounted中: let app_dom = document.getElementById("app"); app_dom.style.l 阅读全文
posted @ 2023-11-28 09:04 yw3692582 阅读(214) 评论(0) 推荐(0)
摘要: /deep/ .el-table td, /deep/ .el-table th { padding: 8px 0; } // 鼠标悬停背景色 .el-table tbody tr:hover > td { background-color: transparent; } 阅读全文
posted @ 2023-11-03 08:51 yw3692582 阅读(67) 评论(0) 推荐(0)
摘要: 1、安装 jmuxer npm install jmuxer@2.0.5 2、.vue文件中使用 <template> <div> <video id="dom_id" muted="muted" controls class="video_box"></video> <div v-if="!has 阅读全文
posted @ 2023-10-28 21:02 yw3692582 阅读(3333) 评论(0) 推荐(0)
摘要: 1、draw_shape.js 1 /** 2 * 绘制不规则多边形 3 */ 4 5 import { Message } from 'element-ui' 6 7 export function draw_test(cav, list) { 8 // 画布初始化 9 let ctx = cav 阅读全文
posted @ 2023-10-24 13:35 yw3692582 阅读(1067) 评论(1) 推荐(0)
摘要: 1、draw.js /** * 画布中绘制矩形 * 参数: cav-画布对象 list-矩形数组 i-选中矩形下标 **/ /* 操作执行方法分发 */ export function draw(cav, list, i) { // 画布初始化 let ctx = cav.getContext('2 阅读全文
posted @ 2023-10-16 14:16 yw3692582 阅读(529) 评论(0) 推荐(0)
摘要: import Vue from 'vue' import store from '../store' function copyMethod(value) { let text = '' switch (typeof value) { case 'number': text = value.toSt 阅读全文
posted @ 2023-10-11 16:21 yw3692582 阅读(97) 评论(0) 推荐(0)
摘要: https://chenxuan0000.github.io/vue-seamless-scroll/zh/guide/#npm 阅读全文
posted @ 2023-09-26 09:53 yw3692582 阅读(117) 评论(0) 推荐(0)
摘要: 1、先看这个(必看):https://www.cnblogs.com/lyt520/p/16545806.html 2、安装移动端log(如不需要可跳过此步骤) npm install vconsole main.js中引入: import VConsole from 'vconsole' cons 阅读全文
posted @ 2023-09-22 15:04 yw3692582 阅读(2034) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 23 下一页