摘要: echarts中自定义tooltip的换行问题 使用extraCssText属性 在官网文档中描述 tooltip: { trigger: 'item', show: true, formatter: '{b} : {c} ({d}%)', extraCssText: 'max-width:200p 阅读全文
posted @ 2023-12-04 19:28 rachelch 阅读(273) 评论(0) 推荐(0) 编辑
摘要: "files.autoSave": "afterDelay" "editor.formatOnSave": true 这两个配置不能一起使用 解决方法: 1.将"afterDelay"修改为“onFocusChange" (设置成onFocusChange或者onWindowChange) 2. 3 阅读全文
posted @ 2023-12-04 19:23 rachelch 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 一、css响应式 rpx用于响应式1.如果设计稿是375,1px = 2rpx;2.如果设计稿是750,1px = 1rpx;3.一般会随着宽度变大,元素变大,因此字体、高度最好用px; 二、配置跨域 在manifest.json - “源码视图”,添加h5配置 "h5" : { "devServe 阅读全文
posted @ 2023-12-01 16:33 rachelch 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 效果 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Doc 阅读全文
posted @ 2023-10-20 13:40 rachelch 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 问题: 表格存在错位,左侧固定列滚动时与右侧错位 解决:① 方法1给表格加上 key 确保表渲染的唯一性(new Date().getTime(), Math.random()) 时间戳,随机数,唯一值给key <el-table :data="tableData" :key="Math.rando 阅读全文
posted @ 2023-10-19 11:32 rachelch 阅读(588) 评论(0) 推荐(0) 编辑
摘要: <div class="person-list"> <div class="person-item">9939939939399399</div> <div class="person-item">1111111111111111</div> </div> <el-icon class="allow 阅读全文
posted @ 2023-07-27 16:26 rachelch 阅读(120) 评论(0) 推荐(0) 编辑
摘要: tooltip: { trigger: 'axis', axisPointer: { type: 'line', lineStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ { offset: 0, color: '#19 阅读全文
posted @ 2023-07-13 16:26 rachelch 阅读(759) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2023-06-13 10:01 rachelch 阅读(108) 评论(0) 推荐(0) 编辑
摘要: <el-menu class="mainMenu" router background-color="transparent" active-text-color="#fff" :unique-opened="true" :collapse-transition="false" :collapse= 阅读全文
posted @ 2023-05-22 16:53 rachelch 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 1、渲染ElSelect组件 const modulleFilters = ref([ { label: 1, value: 2 }, { label: 2, value: 3 }, ]); const search = ref(''); const tableColumn = [ { prop: 阅读全文
posted @ 2023-05-04 19:04 rachelch 阅读(2364) 评论(0) 推荐(0) 编辑