自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 收藏
  • 关注

原创 前端实用工具和网站

前端实用工具和网站,分为性能优化、编程工具和资源三个类别

2023-01-10 16:14:08 129

原创 HTML+CSS实现加载动画

使用CSS、HTML来实现内容加载的动画效果

2022-12-30 10:43:11 480

原创 CSS实现三角形、扇形、半圆以及圆形

使用css绘制三角形、扇形、半圆、圆形

2022-11-24 15:42:58 587

原创 Vuex的基础使用

Vuex的基础使用,包含了下载配置vuex,state、getters、mutations、actions模块的用法以及相对应的辅助函数mapGetters、mapMutations、mapActions的使用,最后介绍了一下module以及命名空间

2022-11-24 00:02:16 161

原创 大前端性能优化

前端性能指标以及测量工具, 对于代码层面包括html,css,js所进行的优化.

2022-11-14 15:28:29 377

原创 Webpack基础使用

Webpack打包的基础配置,包括图片压缩、Css文件的处理,以及一些Webpack其他的使用方法

2022-11-05 14:27:14 609

原创 排序的时间复杂度及稳定性比较以及较复杂排序的JS实现

较复杂排序算法的JS实现以及所有排序算法时间复杂度的比较

2022-10-24 16:49:16 410

原创 使用Canvas画布实现简单的计时器功能

/从-90度开始,也就是-pi/2 = -90 * pi / 180。//计算新的角度, 秒数 每一个 6 度 6 / 180 = 30。//设置新原点 将150,150设置为新的坐标中心。

2022-09-25 14:07:54 378

原创 前端面试手写代码

手写深拷贝、防抖节流、bind、apply/call和一些常见的页面布局

2022-09-19 16:56:22 330

原创 Vue3+Typescript列表内容监听和fetch函数使用的注意事项

在使用富文档编辑器的时候,使用fetch函数将后端传输的URL链接转换为HTML代码并绑定到富文本的显示内容中,同时通过startWatch监听富文本内容是否改变,需要实现的是,在通过fetch函数获取到富文本的HTML内容后,开始监听富文本内容是否改变,如果改变,则将showModalTips的值修改为true。else里面的监听内容代码必须执行,在jumpUrlType为2时,执行else的内容,同时,如果jumpUrlType为0时,在修改富文本内容之后,再开始监听内容是否改变。...

2022-08-12 16:20:20 832

原创 Vue3.2+setup语法糖+ts+ElementUI-全局样式变量的配置

在设计CSS样式的过程中,为了保证样式的统一性,通常会定义一些全局预定义变量,基于sass (css预处理器) 在Vue3.2中使用这些变量

2022-06-15 17:17:13 768

原创 RK,BM,KMP字符串匹配算法的原理及JavaScript实现

RK,BM,KMP匹配算法的思想及代码实现

2022-05-29 04:06:51 607

原创 新建SpringBoot项目并整合MyBatisPlus

之前写过一个傻瓜式的Spring Boot + Vue.js 前后端数据交互,但是后端创建部分的内容,这里对那一部分内容做了简化,同时引入了CodeGenerater类,可以直接创建数据表对应的类。

2022-05-05 22:07:39 1456

原创 JavaScript 回溯算法的基本实现

回溯算法通常是应用在路径查找的相关问题中,有两个关键点,**①对于已走过的路径进行标注,防止走回头路;** **②应用递归算法找到路径,向上下左右四个方向进行递归。** 可能这样讲不太明白,以《剑指Offer》上的例题来研究以下!

2022-04-18 05:27:13 451

原创 SpringBoot+MyBatis实现一对多查询

SpringBoot使用MyBatis实现对MySQL表的一对多查询

2022-04-04 04:26:21 3219 1

原创 @GetMapping 的使用方法(从MySQL数据库中读取数据)

本文章是在上一篇 Springboot+Vue+Element UI+MySQL实现简单的页面验证登录及前后端数据传递 的基础上完成

2022-04-03 05:37:06 2595

原创 Springboot+Vue+Element UI+MySQL实现简单的页面验证登录及前后端数据传递

① 使用Vue+Element UI创建简单的登录页面创建Vue项目:命令行进入项目文件夹,输入:vue create spring_vue_project(项目名)启动Vue项目:进入vue项目文件夹,输入:cd spring_vue_project启动项目,输入:npm run serveVue项目文件简单介绍:node_modules: 存包管理的一些依赖,如果项目需要上传到版本控制平台,不建议上传此文件夹(拷贝下来的项目可以通过 npm i 进行下载publi

2022-03-27 02:38:48 1946 2

原创 LeetCode第一个缺失的正整数

LeetCode: First Missing Positive问题描述Given an unsorted integer array nums, return the smallest missing positive integer.You must implement an algorithm that runs in O(n) time and uses constant extra space.Example1Input: nums = [1,2,0]Output: 3Examp

2022-01-29 21:29:42 387

原创 LeetCode最长有效括号

LeetCode: Longest Valid Parentheses问题描述Given a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substring.Example1Input: s = “(()”Output: 2Explanation: The longest valid parentheses su

2022-01-26 02:34:43 684

原创 LeetCode下一个排列

LeetCode: Next Permutation问题描述A permutation of an array of integers is an arrangement of its members into a sequence or linear order.For example, for arr = [1,2,3], the following are considered permutations of arr: [1,2,3], [1,3,2], [3,1,2], [2,3,1].

2022-01-23 07:38:31 430

原创 LeetCode规定数量的 ‘(‘ 和 ‘)‘ 的组合 (函数嵌套)

LeetCode: Generate Parentheses问题描述Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.Example1Input: n = 3Output: ["((()))","(()())","(())()","()(())","()()()"]Example2Input: n = 1Output: ["()"]

2022-01-11 21:35:23 446

原创 LeetCode有最多水的容器

LeetCode: Container With Most Water问题描述You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i,height).Find two lines that together with the x-axis form a containe

2022-01-07 20:31:16 262

原创 LeetCode正则表达式匹配

LeetCode: Regular Expression MatchingGiven an input string s and a pattern p, implement regular expression matching with support for ’ . ’ and ’ * ’ where:’ . ’ Matches any single character’ * ’ Matches zero or more of the preceding element

2022-01-07 10:14:59 290

原创 LeetCode最长回文子串

LeetCode:Longest Palindromic Substring问题描述Given a string s, return the longest palindromic substring in s. 给一个数组s, 返回s中最长的回文子串Example1Input: s = “babad”Output: “bab”Explanation: “aba” is also a valid answer.Example2Input: s = “cbbd”Output: “bb”

2022-01-02 07:56:46 201

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除