摘要: GetCircleCenter(x1,y1,x2,y2,r){ let c1 = (x2 * x2 - x1 * x1 + y2 * y2 - y1 * y1) / (2 * (x2 - x1)); let c2 = (y2 - y1) / (x2 - x1); let A = c2 * c2 + 阅读全文
posted @ 2024-01-10 10:17 旸神逆神旸 阅读(31) 评论(0) 推荐(0)
摘要: getLastNumberStr(str){ let strs = str.replace(/[^\d]/g,'|'); let strsArr = strs.split('|').filter((i=>i && i!='|')); return strsArr[strsArr.length-1]; 阅读全文
posted @ 2023-02-02 16:53 旸神逆神旸 阅读(108) 评论(0) 推荐(0)
摘要: HTML: <el-tree :data="treedata" :default-expand-all="isExpandAll" :indent="50" :check-strictly="false" show-checkbox node-key="id" :key="Math.random() 阅读全文
posted @ 2021-12-09 15:24 旸神逆神旸 阅读(831) 评论(0) 推荐(0)
摘要: 效果图: 代码: <template> <div class="custom-tree-container"> <el-table :data="tableData1" style="width:800px" max-height="320" border :cell-style="cellStyl 阅读全文
posted @ 2021-09-10 09:15 旸神逆神旸 阅读(1941) 评论(0) 推荐(0)
摘要: 1: 2: 3: 代码: <template> <div class="btn_box"> <input type="file" accept=".xls" ref="filebox" id="fileinput" style="display: none;" @change="checkFileS 阅读全文
posted @ 2021-09-08 19:27 旸神逆神旸 阅读(700) 评论(0) 推荐(0)
摘要: 效果: <template> <div class="custom-tree-container"> <el-time-picker is-range v-model="value1" value-format="HH:mm:ss" range-separator="至" start-placeho 阅读全文
posted @ 2021-09-07 15:19 旸神逆神旸 阅读(1976) 评论(0) 推荐(0)
摘要: 这个问题是因为引入的JS的问题,独立引入和完整引入都存在这个问题,换成按模块化加载就不会存在这个问题了。 <script src="//qidian.gtimg.com/lulu/theme/peak/js/plugin/sea.js"></script> <script> seajs.config 阅读全文
posted @ 2020-09-11 11:51 旸神逆神旸 阅读(149) 评论(0) 推荐(0)
摘要: 直接放效果图和代码效果图: 1.默认初始效果 2.选择后效果 代码 <template> <basic-container> <h2>VUE element ui根据数组生成多个互不干扰的下拉菜单并获取对应参数</h2> <el-row> <el-col> <el-button @click="aa 阅读全文
posted @ 2020-07-27 13:47 旸神逆神旸 阅读(792) 评论(0) 推荐(0)
摘要: 效果图: 直接上代码: mounted() { this.CS(); }, methods: { CS() { var data = [{ "name": "C", "size": 240, "data": 57 }, { "name": "F", "size": 520, "data": 42 } 阅读全文
posted @ 2020-05-18 17:42 旸神逆神旸 阅读(1719) 评论(0) 推荐(0)
摘要: 效果图: HTML代码: <div class="chart-dis-area" style="display: flex; background-color:#0B1837 ;"> <div v-for="(item,index) in chartList" class="chart-item-a 阅读全文
posted @ 2020-05-06 14:00 旸神逆神旸 阅读(1872) 评论(0) 推荐(0)