随笔分类 -  前端杂七杂八

摘要:const USER_NAME = "wangzz"; class A {} let age = 25; var job = "coder"; function printInfo() { console.log("USER_NAME: ", this.USER_NAME); console.log 阅读全文
posted @ 2024-02-12 23:59 Felix_Openmind 阅读(7) 评论(0) 推荐(0) 编辑
摘要:示例图 相关代码 <template> <div> <a-modal v-model:visible="props.uploadVisible" width="1300px" :footer="null" maskClosable @cancel="onCancelClick" > <div cla 阅读全文
posted @ 2023-10-23 17:10 Felix_Openmind 阅读(659) 评论(0) 推荐(0) 编辑
摘要:#### 示例图 ![](https://img2023.cnblogs.com/blog/2104219/202307/2104219-20230725195859752-249520233.png) #### 代码案例 ``` background: url(@/assets/nlzsimg/n 阅读全文
posted @ 2023-07-25 19:59 Felix_Openmind 阅读(11) 评论(0) 推荐(0) 编辑
摘要:``` = state.initIntrosSize" :disabled="index 1" style="font-size: 20px; margin-left: 10px; color: #cccccc" @click="removeDomain(intro)" /> 图片上传 视频上传 上 阅读全文
posted @ 2023-06-09 18:37 Felix_Openmind 阅读(147) 评论(0) 推荐(0) 编辑
摘要:#### Slice array elements Slice: To cut out a multiple items in range. It takes two parameters: starting and ending position It doesn't inclue the end 阅读全文
posted @ 2023-06-02 10:01 Felix_Openmind 阅读(4) 评论(0) 推荐(0) 编辑
摘要:.menu-box overflow-y: scroll height 100% .menu-box::-webkit-scrollbar { display: none; } 参考连接: https://www.cnblogs.com/heleiya/p/13125946.html 阅读全文
posted @ 2023-03-24 18:08 Felix_Openmind 阅读(36) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/Amnesiac666/article/details/122060057 ~(波浪号):A ~ B表示选择A标签后的所有B标签,但是A和B标签必须有相同的父元素。 ~(加号)加号又被称作兄弟选择器。A+B表示选择紧邻在A后面的B元素,且A和B必须拥 阅读全文
posted @ 2023-03-23 09:50 Felix_Openmind 阅读(1606) 评论(0) 推荐(0) 编辑
摘要:=> 要么 .abc, .xyz { margin-left:20px; width: 100px; height: 100px; } => 要么 a.abc, a.xyz { margin-left:20px; width: 100px; height: 100px; } => 要么 a { ma 阅读全文
posted @ 2023-03-21 10:31 Felix_Openmind 阅读(11) 评论(0) 推荐(0) 编辑
摘要:切割数组得到头部 > let a = [1, 2, 3, 4, 5, 6] > a.slice(2) [3, 4, 5, 6] > a.splice(2) [3, 4, 5, 6] 根据索引切取指定范围内的数组 > let arr = [1, 2, 3, 4, 5, 6] > arr.slice(2 阅读全文
posted @ 2023-03-15 19:24 Felix_Openmind 阅读(175) 评论(0) 推荐(0) 编辑
摘要:业务效果图 核心代码 <template> <a-date-picker v-model='record.payTime' show-time autoclear placeholder='请选择付款时间' valueFormat='YYYY-MM-DD HH:mm:ss' /> </templat 阅读全文
posted @ 2023-03-08 17:18 Felix_Openmind 阅读(1071) 评论(0) 推荐(0) 编辑
摘要:参考: http://t.csdn.cn/g4aDZ 业务效果图 核心代码 <a-form-model-item label='付款详情' prop='rate'> <a-table :columns='current08Form.payColumns' :data-source='current0 阅读全文
posted @ 2023-03-06 11:10 Felix_Openmind 阅读(1582) 评论(0) 推荐(0) 编辑
摘要:<br><br>.title { position: relative; padding-left: 13px; margin: 24px 0px; } .title:before { content: ''; background-color: #3796EC; width: 4px; heigh 阅读全文
posted @ 2023-03-03 13:47 Felix_Openmind 阅读(362) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/zhengzhijian/p/16859812.html 阅读全文
posted @ 2023-02-28 18:23 Felix_Openmind 阅读(4) 评论(0) 推荐(0) 编辑
摘要:参考: https://blog.csdn.net/qq_37130872/article/details/128133646 useImages.js // 获取assets静态图片 export const getAssetsImge = (name) => { return new URL(" 阅读全文
posted @ 2023-02-28 16:17 Felix_Openmind 阅读(445) 评论(0) 推荐(0) 编辑
摘要:业务效果 核心代码 <template> <a-layout class="layout"> <a-layout-header class="header" style="height: 50px"> <div class="wrapper content"> <span class="info"> 阅读全文
posted @ 2023-02-17 19:10 Felix_Openmind 阅读(1426) 评论(0) 推荐(0) 编辑
摘要:给时间添加 am或pm // 'h' is an hour number const suffixAmPm = (h) => `{h % 12 0 ? 12 : h % 12}{h < 12 ? 'am' : 'pm'}`; suffixAmPm(0); // '12am' suffixAmPm 阅读全文
posted @ 2023-02-15 21:51 Felix_Openmind 阅读(20) 评论(0) 推荐(0) 编辑
摘要:参考:https://1loc.dev/ 将一个值转为数组的方法 const castArray = (value) => (Array.isArray(value) ? value : [value]); caseArray(1); // [1] 或直接使用Array.of(val)这个构造方法代 阅读全文
posted @ 2023-02-09 16:08 Felix_Openmind 阅读(46) 评论(0) 推荐(0) 编辑

*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}
点击右上角即可分享
微信分享提示