会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiaorain124
博客园
首页
新随笔
联系
订阅
管理
2022年4月1日
flex为1的流式布局
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>flex实现流式
阅读全文
posted @ 2022-04-01 00:16 xiaorain124
阅读(79)
评论(0)
推荐(0)
2022年3月4日
jquery中的defered
摘要: 深入理解jQuery中的Deferred 引入 1 在开发的过程中,我们经常遇到某些耗时很长的javascript操作,并且伴随着大量的异步。 2 比如我们有一个ajax的操作,这个ajax从发出请求到接收响应需要5秒,在这5秒内我们可以运行其他代码段,当响应到达后,我们需要判断响应的结果(无非就是
阅读全文
posted @ 2022-03-04 22:59 xiaorain124
阅读(86)
评论(0)
推荐(0)
2021年11月12日
npm install 安装依赖报错解决
摘要: 1.先清除缓存 npm cache clean --force 2.删除项目中的node_modules文件夹 3.安装淘宝镜像cnpm,用cnpm来安装依赖 npm install -g cnpm --registry=https://registry.npm.taobao.org 4.最后再执行
阅读全文
posted @ 2021-11-12 17:09 xiaorain124
阅读(252)
评论(0)
推荐(0)
压缩html时出现 内部js代码压缩不成功的问题
摘要: const minJs = require('uglify-es'); pipe(htmlmin({ removeComments: true, collapseWhitespace: true, minifyCSS: true, minifyJS: function(text) { return
阅读全文
posted @ 2021-11-12 16:07 xiaorain124
阅读(142)
评论(0)
推荐(0)
2021年11月11日
仿TheNorthFace官网 购物车效果
摘要: <!DOCTYPE html> <html> <head> <title>千锋教育——做真实的自己,用心做教育</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewpo
阅读全文
posted @ 2021-11-11 18:52 xiaorain124
阅读(23)
评论(0)
推荐(0)
2021年7月24日
第一章:初识javascript
摘要: JS的基本介绍 简介;JavaScript一种在浏览器中解释运行的脚本语言,它的解释器被称为JavaScript引擎,为浏览器的一部分,是广泛用于客户端的脚本语言,最早是在 HTML网页上使用,用来给HTML(HTML5)网页增加动态功能。在1995年时,由Netscape公司的Brendan Ei
阅读全文
posted @ 2021-07-24 21:35 xiaorain124
阅读(30)
评论(0)
推荐(0)
2021年3月5日
mysql安装过程
摘要: mysqld install MySQL下载与安装 一、下载 地址:https://dev.mysql.com/downloads/mysql/ 当前最新是8.0版本,我选择上一个最新的mysql-5.7.24-winx64.zip 二、安装 MySQL安装文件分两种 .msi和.zip ,.msi
阅读全文
posted @ 2021-03-05 11:57 xiaorain124
阅读(70)
评论(0)
推荐(0)
2021年1月6日
数字递增
摘要: (function($){ $.fn.numberRock=function(options){ var defaults={ speed:24, count:100 }; var opts=$.extend({}, defaults, options); var div_by = 100, cou
阅读全文
posted @ 2021-01-06 19:22 xiaorain124
阅读(84)
评论(0)
推荐(0)
加入购物车抛物线动画
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> .shop { position: fixed; top: 300px; left: 400px; } .ba
阅读全文
posted @ 2021-01-06 19:15 xiaorain124
阅读(55)
评论(0)
推荐(0)
2020年12月28日
vue指令
摘要: 常用指令 v-text和v-html 用于页面渲染 v-bind v-bind后面是 :属性名=[变量名]。例如:v-bind:title="message" 例如: <div> <a v-bind:href="href">慕课网</a> </div> <div> <img v-bind:src="
阅读全文
posted @ 2020-12-28 16:44 xiaorain124
阅读(56)
评论(0)
推荐(0)
下一页
公告