<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[别告诉我有Bug]]></title><description><![CDATA[我的愿望是一夜暴富啊]]></description><link>https://blog.csdn.net/animatecat</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; animatecat]]></copyright><item><title><![CDATA[css 实现满屏升空的气球动画]]></title><link>https://blog.csdn.net/animatecat/article/details/135158146</link><guid>https://blog.csdn.net/animatecat/article/details/135158146</guid><author>animatecat</author><pubDate>Fri, 22 Dec 2023 17:56:12 +0800</pubDate><description><![CDATA[css 实现满屏升空的气球动画
实现步骤
step1 定义气球的样式，并在气球上添加白色椭圆形。
step2 定义气球棒和气球口。
step3 设置气球动画：实现气球从下到上匀速移动就可以升空了。
step4 设置气球颜色、大小、位置变量。
step5 生成多个气球盒子，将变量传入。]]></description><category></category></item><item><title><![CDATA[微信小程序--判断目标元素是否在可视区域内（可视区域播放视频）]]></title><link>https://blog.csdn.net/animatecat/article/details/135000573</link><guid>https://blog.csdn.net/animatecat/article/details/135000573</guid><author>animatecat</author><pubDate>Thu, 14 Dec 2023 18:10:37 +0800</pubDate><description><![CDATA[微信小程序判断目标元素是否在可视区域内（可视区域播放视频）
1、创建对象实例
2、获取/指定界面上的节点信息
3、判断节点是否在当前屏幕可视区域]]></description><category></category></item><item><title><![CDATA[常见经典动效实现总结（老虎机、打字机、纸牌翻转等等）]]></title><link>https://blog.csdn.net/animatecat/article/details/130026603</link><guid>https://blog.csdn.net/animatecat/article/details/130026603</guid><author>animatecat</author><pubDate>Sat, 08 Apr 2023 14:37:00 +0800</pubDate><description><![CDATA[常见动效老虎机、打字机、纸牌翻转等等效果实现
1、老虎机  2、打字机 3、纸牌翻转 4、水波纹]]></description><category></category></item><item><title><![CDATA[微前端--qiankun原理概述]]></title><link>https://blog.csdn.net/animatecat/article/details/130011492</link><guid>https://blog.csdn.net/animatecat/article/details/130011492</guid><author>animatecat</author><pubDate>Fri, 07 Apr 2023 15:58:04 +0800</pubDate><description><![CDATA[微前端概述微前端概念是从微服务概念扩展而来的，摒弃大型单体方式，将前端整体分解为小而简单的块，这些块可以独立开发、测试和部署，同时仍然聚合为一个产品出现在客户面前。可以理解微前端是一种将多个可独立交付的小型前端应用聚合为一个整体的架构风格。二》微前端架构核心1、技术栈无关：主框架不限制接入应用的技术栈，微应用具备完全自主权2、独立开发、独立部署：微应用仓库独立，前后端可独立开发，部署完成后主框架自动完成同步更新3、增量升级。]]></description><category></category></item><item><title><![CDATA[requestAnimationFrame 请求动画帧]]></title><link>https://blog.csdn.net/animatecat/article/details/129918775</link><guid>https://blog.csdn.net/animatecat/article/details/129918775</guid><author>animatecat</author><pubDate>Sun, 02 Apr 2023 22:55:45 +0800</pubDate><description><![CDATA[requestAnimationFrame动画请求帧-----它是一个浏览器的宏任务。 requestAnimationFrame的用法与setTimeout、setInterval很相似，只是不需要设置时间间隔而已。requestAnimationFrame使用一个回调函数作为参数，这个回调函数会在浏览器重绘之前调用。它返回一个整数，表示定时器的编号，这个值可以传递给cancelAnimationFrame用于取消这个函数的执行]]></description><category></category></item><item><title><![CDATA[css变量用法（原生js、小程序）]]></title><link>https://blog.csdn.net/animatecat/article/details/128327353</link><guid>https://blog.csdn.net/animatecat/article/details/128327353</guid><author>animatecat</author><pubDate>Thu, 15 Dec 2022 11:43:26 +0800</pubDate><description><![CDATA[微信小程序-css变量用法: var()定义变量]]></description><category></category></item><item><title><![CDATA[算法系列-leetcode-剑指offer26.树的子结构]]></title><link>https://blog.csdn.net/animatecat/article/details/127072519</link><guid>https://blog.csdn.net/animatecat/article/details/127072519</guid><author>animatecat</author><pubDate>Tue, 27 Sep 2022 15:33:21 +0800</pubDate><description><![CDATA[思路: 先找到b的根元素在a上是否存在,不存在直接false,存在的话再去比较a的左子树和b的左子树是否相同，右子树同理，递归可得；注意⚠️：a树上可能存在多个与b树根元素相同的点,如果第一个相同的点的子树上不存在b,则继续在a的子树上寻找。输入两棵二叉树A和B，判断B是不是A的子结构。(约定空树不是任意一个树的子结构)返回 true，因为 B 与 A 的一个子树拥有相同的结构和节点值。B是A的子结构， 即 A中有出现和B相同的结构和节点值。]]></description><category></category></item><item><title><![CDATA[解决微信小程序报错request:fail url not in domain list]]></title><link>https://blog.csdn.net/animatecat/article/details/126949749</link><guid>https://blog.csdn.net/animatecat/article/details/126949749</guid><author>animatecat</author><pubDate>Tue, 20 Sep 2022 11:51:18 +0800</pubDate><description><![CDATA[解决微信小程序报错request:fail url not in domain list]]></description><category></category></item><item><title><![CDATA[微信小程序地理位置API使用流程]]></title><link>https://blog.csdn.net/animatecat/article/details/126950047</link><guid>https://blog.csdn.net/animatecat/article/details/126950047</guid><author>animatecat</author><pubDate>Tue, 20 Sep 2022 11:49:58 +0800</pubDate><description><![CDATA[微信小程序定地理位置接口使用流程wx.chooseLocation等]]></description><category></category></item><item><title><![CDATA[小程序锚点定位（通讯录）]]></title><link>https://blog.csdn.net/animatecat/article/details/126485212</link><guid>https://blog.csdn.net/animatecat/article/details/126485212</guid><author>animatecat</author><pubDate>Tue, 23 Aug 2022 15:14:31 +0800</pubDate><description><![CDATA[小程序锚点]]></description><category></category></item><item><title><![CDATA[微信小程序插件--wxml-to-canvas(生成图片)]]></title><link>https://blog.csdn.net/animatecat/article/details/125981963</link><guid>https://blog.csdn.net/animatecat/article/details/125981963</guid><author>animatecat</author><pubDate>Tue, 26 Jul 2022 11:21:43 +0800</pubDate><description><![CDATA[小程序内通过静态模板和样式绘制 canvas ，导出图片，可用于生成分享图等场景]]></description><category></category></item><item><title><![CDATA[微信小程序：全局状态管理mobx-miniprogram（类似store）]]></title><link>https://blog.csdn.net/animatecat/article/details/125663857</link><guid>https://blog.csdn.net/animatecat/article/details/125663857</guid><author>animatecat</author><pubDate>Thu, 07 Jul 2022 19:33:47 +0800</pubDate><description><![CDATA[微信小程序：全局状态管理mobx-miniprogram，在小程序中，常常有些数据需要在几个页面或组件中共享。使用 MobX 来管理小程序的跨页面数据, 其实类似于vuex的store。]]></description><category></category></item><item><title><![CDATA[小程序开发中踩坑问题记录]]></title><link>https://blog.csdn.net/animatecat/article/details/125527844</link><guid>https://blog.csdn.net/animatecat/article/details/125527844</guid><author>animatecat</author><pubDate>Wed, 29 Jun 2022 19:11:01 +0800</pubDate><description><![CDATA[记录微信小程序开发遇到的问题]]></description><category></category></item><item><title><![CDATA[nvm详解（mac环境nvm安装步骤及踩坑问题）]]></title><link>https://blog.csdn.net/animatecat/article/details/125183346</link><guid>https://blog.csdn.net/animatecat/article/details/125183346</guid><author>animatecat</author><pubDate>Wed, 08 Jun 2022 14:42:25 +0800</pubDate><description><![CDATA[nvm-node版本管理工具
xcode-select: note: no developer tools were found at 'xxx'
command not found: nvm]]></description><category></category></item><item><title><![CDATA[vscode安装包下载速度过慢]]></title><link>https://blog.csdn.net/animatecat/article/details/125172541</link><guid>https://blog.csdn.net/animatecat/article/details/125172541</guid><author>animatecat</author><pubDate>Tue, 07 Jun 2022 20:28:49 +0800</pubDate><description><![CDATA[解决vscode下载速度慢的问题]]></description><category></category></item><item><title><![CDATA[js 金额千分位转换]]></title><link>https://blog.csdn.net/animatecat/article/details/124684603</link><guid>https://blog.csdn.net/animatecat/article/details/124684603</guid><author>animatecat</author><pubDate>Tue, 10 May 2022 13:51:04 +0800</pubDate><description><![CDATA[1.数字转千分位


​
/*
 * 默认返回当前数字千分位格式
 * 参数说明：
 * number：要格式化的数字
 * decimals：保留几位小数
 * dec_point：小数点符号
 * thousands_sep：千分位符号
 * roundtag:舍入参数，默认 "ceil" 向上取,"floor"向下取,"round" 四舍五入
 * 默认为保留两位小数，以逗号隔开，四舍五入
 * */
export function formatCurrency(
  number: string |]]></description><category></category></item><item><title><![CDATA[算法系列-leetcode-1480.一维数组的动态和]]></title><link>https://blog.csdn.net/animatecat/article/details/124549580</link><guid>https://blog.csdn.net/animatecat/article/details/124549580</guid><author>animatecat</author><pubDate>Tue, 03 May 2022 00:35:47 +0800</pubDate><description><![CDATA[1480. 一维数组的动态和（简单）

给你一个数组nums。数组「动态和」的计算公式为：runningSum[i] = sum(nums[0]…nums[i])。

请返回nums的动态和。



示例 1：


输入：nums = [1,2,3,4]
输出：[1,3,6,10]
解释：动态和计算过程为 [1, 1+2, 1+2+3, 1+2+3+4] 。

示例 2：


输入：nums = [1,1,1,1,1]
输出：[1,2,3,4,5]
解释：动态和计算过程为 [1, 1+1, 1+1...]]></description><category></category></item><item><title><![CDATA[算法系列-leetcode-34.二叉树中和为某一值的路径]]></title><link>https://blog.csdn.net/animatecat/article/details/124463580</link><guid>https://blog.csdn.net/animatecat/article/details/124463580</guid><author>animatecat</author><pubDate>Wed, 27 Apr 2022 23:48:47 +0800</pubDate><description><![CDATA[剑指 Offer 34. 二叉树中和为某一值的路径（中等）

给你二叉树的根节点 root 和一个整数目标和 targetSum ，找出所有 从根节点到叶子节点 路径总和等于给定目标和的路径。

叶子节点 是指没有子节点的节点。



示例 1：




输入：root = [5,4,8,11,null,13,4,7,2,null,null,5,1], targetSum = 22
输出：[[5,4,11,2],[5,8,4,5]]

深度优先遍历


/**
 * Definition for a bin]]></description><category></category></item><item><title><![CDATA[算法系列-leetcode-42.接雨水]]></title><link>https://blog.csdn.net/animatecat/article/details/124416821</link><guid>https://blog.csdn.net/animatecat/article/details/124416821</guid><author>animatecat</author><pubDate>Mon, 25 Apr 2022 22:59:59 +0800</pubDate><description><![CDATA[42. 接雨水（困难）

给定 n 个非负整数表示每个宽度为 1 的柱子的高度图，计算按此排列的柱子，下雨之后能接多少雨水。



示例 1：




输入：height = [0,1,0,2,1,0,1,3,2,1,2,1]
输出：6
解释：上面是由数组 [0,1,0,2,1,0,1,3,2,1,2,1] 表示的高度图，在这种情况下，可以接 6 个单位的雨水（蓝色部分表示雨水）。 


示例 2：


输入：height = [4,2,0,3,2,5]
输出：9

动态规划


/**
 * @para.]]></description><category></category></item><item><title><![CDATA[算法系列-leetcode-40.最小的k个数]]></title><link>https://blog.csdn.net/animatecat/article/details/124371300</link><guid>https://blog.csdn.net/animatecat/article/details/124371300</guid><author>animatecat</author><pubDate>Sat, 23 Apr 2022 22:06:47 +0800</pubDate><description><![CDATA[剑指 Offer 40. 最小的k个数（简单）

输入整数数组arr，找出其中最小的k个数。例如，输入4、5、1、6、2、7、3、8这8个数字，则最小的4个数字是1、2、3、4。



示例 1：


输入：arr = [3,2,1], k = 2
输出：[1,2] 或者 [2,1]


示例 2：


输入：arr = [0,1,2,1], k = 1
输出：[0]

排序

先排序在输出前k个数


/**
 * @param {number[]} arr
 * @param {number} ...]]></description><category></category></item></channel></rss>