摘要: <template> <div class="about"> <div style="display:flex;"> <div class="left"> <div class="box1"> <div class="box2" :style="{ backgroundColor: bgC }" @ 阅读全文
posted @ 2022-11-13 21:35 热爱前端的5号机器 阅读(605) 评论(0) 推荐(0) 编辑
摘要: /* * 获得时间差,时间格式为 年-月-日 小时:分钟:秒 或者 年/月/日 小时:分钟:秒 * 其中,年月日为全格式,例如 : 2010-10-12 01:00:00 * 返回精度为:秒,分,小时,天 */ function GetDate(startTime, endTime, diffTyp 阅读全文
posted @ 2022-11-02 10:13 热爱前端的5号机器 阅读(70) 评论(0) 推荐(0) 编辑
摘要: <el-input v-model="value" clearable @input="ruleInput"> </el-input> // value 是输入框的值 在输入框上绑定 input事件 let numrulse=('' + value).replace(/[^\d^\.]+/g, '' 阅读全文
posted @ 2022-11-01 10:02 热爱前端的5号机器 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1.视图 <canvas id="myCan" width="500px" height="500px" style="border: 1px solid #3e2e40;"></canvas> 2.JS <script> //拿到 当前canvas 画布节点 let canvas = docume 阅读全文
posted @ 2022-10-11 17:20 热爱前端的5号机器 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 1.视图 <canvas id="myCan" width="500px" height="500px" style="border: 1px solid #3e2e40;"></canvas> 2.JS <script> //拿到 当前canvas 画布节点 let canvas = docume 阅读全文
posted @ 2022-10-11 16:36 热爱前端的5号机器 阅读(112) 评论(0) 推荐(0) 编辑
摘要: <!-- 在试图中创建 --> <canvas id="myCan" width="500px" height="500px" style="border: 1px solid #3e2e40;"></canvas> <script> //拿到 当前canvas 画布节点 let canvas = 阅读全文
posted @ 2022-10-11 15:53 热爱前端的5号机器 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-10-11 10:21 热爱前端的5号机器 阅读(18) 评论(0) 推荐(0) 编辑
摘要: <el-input style="width:12vw;" size="mini" v-model="askSearch.goodsName" placeholder="请输入物品名称搜索" clearable></el-input> //搜索框 //el-table 表格 绑定的 allTable 阅读全文
posted @ 2022-09-28 17:33 热爱前端的5号机器 阅读(197) 评论(0) 推荐(0) 编辑
摘要: //这个事件是el-tree点击每个节点的事件 也就是 node-click handleNodeClick(data, node) { this.labelList =[] this.getLabel(node); console.log(this.labelList ); //这里就是得到的值 阅读全文
posted @ 2022-09-08 18:56 热爱前端的5号机器 阅读(845) 评论(0) 推荐(0) 编辑
摘要: 在main.js中加上 app.config.warnHandler = () => null; const app = createApp(App) for (const [key, component] of Object.entries(ElementPlusIconsVue)) { app. 阅读全文
posted @ 2022-08-21 12:52 热爱前端的5号机器 阅读(1554) 评论(0) 推荐(0) 编辑