摘要: 效果图: ![image](https://img2023.cnblogs.com/blog/1843814/202306/1843814-20230626105344949-539264607.png) ### 环境及依赖配置 node版本参考:v14.18.3 npm版本参考:6.14.15 # 阅读全文
posted @ 2023-06-26 11:19 Edith6 阅读(382) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="wh100 relative" id="elrdID"> <!-- 图片热区 --> <img id="mapImg" style="opacity: 0.4" class="wh100" src="@/assets/images/mapImg.png" 阅读全文
posted @ 2022-04-01 10:31 Edith6 阅读(390) 评论(0) 推荐(0) 编辑
摘要: <el-table class="w100" height="100%" :span-method="spanMethod" :data="state.tableTemData" :cell-style="cellStyle" border :show-header="false"> <el-tab 阅读全文
posted @ 2022-02-10 16:20 Edith6 阅读(1493) 评论(2) 推荐(0) 编辑
摘要: vite目前暂不支持qiankun qiankun官网:https://qiankun.umijs.org/zh/guide 主应用(vue2版本) 安装qiankun :$ yarn add qiankun # 或者 npm i qiankun -S main.js import { regist 阅读全文
posted @ 2021-11-05 18:33 Edith6 阅读(1081) 评论(0) 推荐(0) 编辑
摘要: 安装插件 postcss-pxtorem yarn add postcss-pxtorem 根目录新建 postcss.config.js module.exports = { "plugins": { "postcss-pxtorem": { rootValue: 100, //根节点字体大小,以 阅读全文
posted @ 2021-10-20 10:08 Edith6 阅读(1751) 评论(0) 推荐(0) 编辑
摘要: 官网地址:https://v3.cn.vuejs.org/api/sfc-script-setup.html <template> <Map ref="ref_map"/> </template> <script setup> import { computed, reactive, ref, wa 阅读全文
posted @ 2021-09-27 17:03 Edith6 阅读(1050) 评论(0) 推荐(0) 编辑
摘要: //imgurl 图片url export function getBase64ByURL (imgUrl) { return new Promise(resolve => { window.URL = window.URL || window.webkitURL; var xhr = new XM 阅读全文
posted @ 2021-09-27 13:59 Edith6 阅读(790) 评论(0) 推荐(0) 编辑
摘要: 轴角: 轴角表示方式:(x,y,z,thead) 从一个坐标(x,y,z)经旋转a角度后得到(x1,y1,z1) 设两个坐标点a(x1,y1,z1) b(x2,y2,z2) 轴角计算方法: 1、叉乘-->点乘 >反正切求角度 二维向量叉乘公式:a(x1,y1),b(x2,y2),则a×b=(x1y2 阅读全文
posted @ 2021-08-31 16:52 Edith6 阅读(3142) 评论(0) 推荐(0) 编辑
摘要: 只需要包裹在需要滚动的容器外层,如下: <el-scrollbar class="customScrollbar"> <!-- 需要滚动的容器 --> </el-scrollbar> 样式(必须设置) .customScrollbar{ height:100% } .customScrollbar 阅读全文
posted @ 2021-08-27 10:46 Edith6 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 安装 viewerjs npm install viewerjs --save 引入 main.js import Viewer from 'viewerjs' import 'viewerjs/dist/viewer.css' Vue.use(Viewer) 使用 showImage(url) { 阅读全文
posted @ 2021-07-26 15:06 Edith6 阅读(270) 评论(0) 推荐(0) 编辑