会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Edith6
博客园
首页
新随笔
联系
订阅
管理
2023年6月26日
node服务 node-canvas 图片合并 echarts图表 绘制方框
摘要: 效果图:  ### 环境及依赖配置 node版本参考:v14.18.3 npm版本参考:6.14.15 #
阅读全文
posted @ 2023-06-26 11:19 Edith6
阅读(700)
评论(0)
推荐(0)
2022年4月1日
map area canvas 自定义图片热区
摘要: <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
阅读(452)
评论(0)
推荐(0)
2022年2月10日
element plus 树形 横向 合并 table表格
摘要: <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
阅读(1887)
评论(2)
推荐(0)
2021年11月5日
vue3 + ts + qiankun2 微服务搭建
摘要: 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
阅读(1152)
评论(0)
推荐(0)
2021年10月20日
vue3 + vite2 大屏适配(同移动端适配rem)
摘要: 安装插件 postcss-pxtorem yarn add postcss-pxtorem 根目录新建 postcss.config.js module.exports = { "plugins": { "postcss-pxtorem": { rootValue: 100, //根节点字体大小,以
阅读全文
posted @ 2021-10-20 10:08 Edith6
阅读(1849)
评论(0)
推荐(0)
2021年9月27日
vue3 script setup小记
摘要: 官网地址: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
阅读(1081)
评论(0)
推荐(0)
图片地址 转为 blob 、base64格式
摘要: //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
阅读(852)
评论(0)
推荐(0)
2021年8月31日
轴角、四元数转换
摘要: 轴角: 轴角表示方式:(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
阅读(3661)
评论(0)
推荐(0)
2021年8月27日
element-ui自带的滚动条
摘要: 只需要包裹在需要滚动的容器外层,如下: <el-scrollbar class="customScrollbar"> <!-- 需要滚动的容器 --> </el-scrollbar> 样式(必须设置) .customScrollbar{ height:100% } .customScrollbar
阅读全文
posted @ 2021-08-27 10:46 Edith6
阅读(346)
评论(0)
推荐(0)
2021年7月26日
vue viewJS 预览图片
摘要: 安装 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
阅读(338)
评论(0)
推荐(0)
下一页
公告