摘要: # 用法 <TabColDisplay :total="total" api-url="hgp/order" api-name="hgpLocalList" :s-param="listQuery" :select-ids="selIds" title="快速开单列表" :table-data="c 阅读全文
posted @ 2024-04-09 11:47 李昂唐 阅读(72) 评论(0) 推荐(0)
摘要: let arr1 = [8,3,9,14,32,2,1,5] // 归并排序 function mergeSort(arr){ if(arr.length<2)return arr let mid = Math.floor(arr.length/2) let left = arr.slice(0,m 阅读全文
posted @ 2024-01-17 10:46 李昂唐 阅读(11) 评论(0) 推荐(0)
摘要: <template> <div class="viewport" @scroll="scroll"> <div class="list-phantom" :style="{height: totalHeight+'px'}"></div> <div class="list-area" :style= 阅读全文
posted @ 2024-01-08 16:46 李昂唐 阅读(69) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>ECharts</title> <style> /* 主体部分 */ *{ margin: 0; padding: 0; list-style: none; } img{ wi 阅读全文
posted @ 2022-07-12 16:35 李昂唐 阅读(22) 评论(0) 推荐(0)
摘要: 1、首先安装新包npm install之后,出现各种loader报错 删除node_modules和package-lock.json重新npm install 2、因为之前安装的是three-js和vue-3d-model,其中的 this.texture.image = { ...this.te 阅读全文
posted @ 2022-07-11 14:53 李昂唐 阅读(889) 评论(0) 推荐(0)
摘要: vue2的项目变大之后,保存会卡在75%的地方好几秒,严重耽误开发效率 解决办法: npm install babel-plugin-dynamic-import-node 在.babelrc配置中添加 "env": { "development":{ "plugins": ["dynamic-im 阅读全文
posted @ 2022-07-04 16:53 李昂唐 阅读(444) 评论(0) 推荐(0)
摘要: ## 默认展示一行,点击箭头展开更多,设置最大高度,超出显示滚动条 字段解释:dataList为后台接口请求的选项数据,showAll是否展示全部(类型数组,长度跟dataList相等,属性默认false) <i>标签收起展开按钮,点击事件传入行的index,标记点击了哪一行进行展开,showAll 阅读全文
posted @ 2022-05-19 15:18 李昂唐 阅读(1597) 评论(0) 推荐(0)
摘要: <template> <div> <div id="tab1" class="tab"> <div :class="{scroll:scroll,container:1}"> <div class="wrapper"> <header :class="{flex:flex}" :style="{le 阅读全文
posted @ 2022-04-29 15:42 李昂唐 阅读(711) 评论(0) 推荐(0)
摘要: 1、使用变量(使用$符号标识变量)比如$highlight-color 变量声明:可以在css规则块定义之外存在。当定义在css规则块内,则该变量只能在规则块内使用 变量引用:border: 1px solid $highlight-color; 变量命名:可以使用中划线和下划线,效果相同 通过 # 阅读全文
posted @ 2022-04-13 10:21 李昂唐 阅读(108) 评论(0) 推荐(0)
摘要: // 判断是否无限循环小数 export function f (n) { if (n 1) return false else if (n % 2 0) { return f(n / 2) } else if (n % 5 0) { return f(n / 5) } else return tr 阅读全文
posted @ 2022-02-26 11:13 李昂唐 阅读(437) 评论(0) 推荐(0)