上一页 1 2 3 4 5 6 7 8 ··· 21 下一页
摘要: 使用计算属性 <div id="flow" :style="{ height: scrollerHeight }"></div> computed: { // 滚动区高度 scrollerHeight: function () { return this.nodeList.length * 30 + 阅读全文
posted @ 2023-02-13 20:24 sinceForever 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 背景如下 左侧菜单无限添加子级菜单后,菜单宽度需要被改变,且右侧页面同时被往右侧推。而不是只改变菜单宽度,右侧页面被遮挡。 错误:只改变菜单宽度,则会压住右侧内容 正确:添加多层菜单,菜单无限变宽,但是右侧也同步被推后。 下面是我的代码:有不懂的地方可以留言问我 variables.scss $si 阅读全文
posted @ 2023-02-13 20:22 sinceForever 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: mavon-editor原本是没有带颜色选择器的,产品提出的需求,只好自定义一个了 这里是看了源码再加上看别人的博客,然后加了个插槽,我使用的是elementui的颜色选择器 el-color-picker <mavon-editor v-model="queryParams.template" : 阅读全文
posted @ 2023-01-31 14:06 sinceForever 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 项目推送到git: git init # 初始化本地版本库 git remote add -A #把当前目录下的所有文件添加到暂存区里面去 git commit -m "提交所有文件" # -m 后面的文字是注释 git remote add origin http://192.168.5.70:3 阅读全文
posted @ 2023-01-12 13:38 sinceForever 阅读(38) 评论(0) 推荐(0) 编辑
摘要: <template> <div ref="chart" class="echarts-con" :style="{'zoom': zoom}"></div> </template> <script> import * as echarts from 'echarts' // import { Ele 阅读全文
posted @ 2022-12-02 18:50 sinceForever 阅读(1084) 评论(0) 推荐(0) 编辑
摘要: <html> <div> 冒泡排序,数组去重,回文,字符串中出现次数最多的字符 </div> <script> // 冒泡排序: function bubbleSort(arr) { let len = arr.length for (let i = 1; i < len - 1; i++) { f 阅读全文
posted @ 2022-11-15 14:37 sinceForever 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1,turntable.vue文件,这个里面显示菜单的时候,上一行文字还不能消除,我已经在研究了,等我搞好了我会更新这里的。后期等我多研究研究pixijs,我会出一些pixijs的文章。 <template> <view> <div id='pixi'></div> </view> </templa 阅读全文
posted @ 2022-11-09 11:53 sinceForever 阅读(605) 评论(2) 推荐(0) 编辑
摘要: let checkEnglishName = (rule, value, callback) => { if (!value) { return callback(new Error('内容不能为空!')) } if (/[A-Za-z0-9]$/.test(value) == false) { c 阅读全文
posted @ 2022-08-02 11:49 sinceForever 阅读(166) 评论(0) 推荐(0) 编辑
摘要: this.vehicleEcuNum = [{ecuId: '1,2,3'},{ecuId: '4,5,6'}] this.vehicleEcuNum = this.dataList .map((item) => { return item.ecuId.split(',').length }) .r 阅读全文
posted @ 2022-08-01 13:54 sinceForever 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 1,狗粮。 我自己买过贵族,冠能,伯纳天纯。这几款风评都不错的,建议不要买过于便宜的狗粮和散装狗粮。注意:千万别买到毒狗粮,315曝光过的,这里我不方便说品牌啦,因为我自己买过,狗狗吃了就吐了。 2,罐头,零食,冻干,磨牙棒,玩具。 零食:我一般买的人吃的火腿肠,鸡肉肠。首先,人吃的火腿肠,味道好, 阅读全文
posted @ 2022-07-26 09:54 sinceForever 阅读(739) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 21 下一页