自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 问答 (2)
  • 收藏
  • 关注

原创 xlsx.js在小程序端的使用

获取xlsx.js,jszip.js在xlsx.js此处(大概2958行)增加引入,const jszip = require(“./jszip”)

2024-04-15 14:04:12 105

原创 微信小程序使用we-rich的一些修改和兼容富文本编辑器

【代码】微信小程序使用we-rich的一些修改和兼容富文本编辑器。

2024-04-15 13:56:12 177

原创 汇编和c++初学,c++字符串加整型,导致的字符串偏移

字符串加整形,导致的字符串偏移

2024-01-15 15:35:18 510

原创 win10使用debug,汇编初学

【代码】win10使用debug,汇编初学。

2024-01-10 09:46:00 582

原创 JS二维数组fill的问题,含js分段数据的小算法

执行这段代码,你会发现修改了[0][0]的值,[1][0]也发生了改变。

2023-12-08 11:43:49 52

原创 无聊整了个下雨js

<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <tit

2023-12-07 11:14:49 56

原创 油猴test,在每个页面都添加返回顶部按钮

// ==UserScript==// @name totop// @namespace http://unamerrr.net/// @version 0.1// @match *://*/*// @description 返回顶部// @author unamerrr// @grant none// ==/UserScript==(function() { 'use strict'; var toT

2021-02-13 10:59:21 492

原创 vue iconfont的使用

官网选图标到购物车添加至图标的项目,然后选class下载至本地解压后复制里面的demo除外文件到项目里,main.js里面引用iconfont.css用的话:let name= iconfont.css文件里面 .iconfont下面的类名(就是你下载的)去掉:before然后使用i标签,class=“iconfont name”class里的iconfont后面带个空格+name...

2021-01-29 20:27:04 145

原创 sequelize一个表同时有两个属性belongsTo另一个表时查询方法

一开始查百度说是自我关联解决了我试了很多次都不行其实只要设置别名,查询带上就可以了,这是user和comment表user.hasMany(models.comment)comment.belongsTo(models.user, { foreignKey: 'userId', targetKey: 'id', as: 'user'})comment.belongsTo(models.user, { foreignKey: 'toUserId', targetKey: 'i

2021-01-18 10:55:05 684

原创 node 使用session 获取数据undefined的问题

设置验证码和获取验证码phoneCode.get('/code', (req, res) => { req.session.code = "1234" console.log(req.session); successSend(res, {}, "发送成功")})log.post('/register', (req, res) => { const body = req.body const account = body.account || "" const p

2021-01-12 16:20:43 1399 1

原创 node canvas插件遇到的坑

const bigCanvas = createCanvas(cWidth, cHeight) console.log(cWidth, cHeight); const blockCanvas = createCanvas(bWidth, bHeight) const bigCtx = bigCanvas.getContext('2d'); const blockCtx = blockCanvas.getContext('2d'); loadImage(fileP).then((im..

2021-01-11 15:27:50 529

原创 vue-video-player的使用方法,vue-video-player在移动端点击画面不触发事件&&不能暂停播放的解决方法

单页面引用import "video.js/dist/video-js.css";import { videoPlayer } from "vue-video-player";import VideoPlayerOption from "@/app/com/bean/VideoPlayerOption";html <div class="video"> <video-player class="video-player vjs-custom-skin"

2021-01-06 08:37:43 7873

原创 好友聊天项目

链接

2021-01-01 13:42:40 162

原创 学习&整理(只是存链接索引),会经常更新

js原型继承valueOf、toString的隐式调用函数柯里化slice方法,将具有length属性转数组Object.defineProperty()javascript基本函数getAbsoluteUrl、isNative和insertRuleElement.matches()VNodeVNodeVNodeVueVue源码解析准备篇...

2020-12-28 15:00:32 52

原创 vue+node+mongodb的购物app项目

项目连接

2020-08-30 15:16:29 265 1

原创 node+art-template

使用后端渲染https://gitee.com/unamerrr/blogManager

2020-08-28 15:05:09 105

原创 遍历数组练习(filter,some,foreach)

<div> <p>按照价格查询:<input type="text">-<input type="text"> <input type="button" value="搜索">按照商品名称查询: <input type="text"><input type="button" value="查询"> </p> </div> <table style=

2020-07-23 14:44:57 150

原创 js实现瀑布流

.imgBox { position: relative; width: 660px; margin: 0 auto; } .imgBox img { position: absolute; }<div class="imgBox"> <img src="../images/1.png" alt=""> <img src="../images/nav.jpg" alt=""> <img src

2020-07-23 09:40:32 90

原创 动态标签切换

* { padding: 0; margin: 0; } .tab { width: 800px; margin: 100px auto; position: relative; } .tab h3 { margin: 20px auto; text-align: center; } .tab-nav ul { list-style: none; height: 35px; border: 1p..

2020-07-22 16:34:48 151

原创 js实现的todolist

* { margin: 0; padding: 0 } body { background-color: rgb(205, 205, 205); } .header { background-color: #000; height: 60px; } .header-bar { width: 500px; margin: 0 auto; } .header-title { font-size: 30p..

2020-07-21 17:45:53 945

原创 商品大图展示效果

<div class="shopping clearfix"> <div class="dragFather "> <div class="dragBox"></div> <img class="smallImg" src="../../images/lm.jpg" alt=""> <div class="big"> <img class="bigImg" src="..

2020-07-19 13:37:50 165

原创 js实现的轮播图

<div class="swap"> <ul class="imgList clearfix"> <li><img src="../../images/1.png" alt=""></li> <li><img src="../../images/2.png" alt=""></li> <li><img src="../../images/3.png..

2020-07-19 13:32:35 70

原创 php回调函数:多维数组求和,逐个输入多维数组元素

function shuzuqiuhe(arr,arr,arr,res=0){result=0;for(result=0; for (result=0;for(i=0; i<count(i <count(i<count(arr) ; KaTeX parse error: Expected '}', got 'EOF' at end of input: … if(is_numeric(arr[KaTeX parse error: Expected 'EOF', got '&

2020-07-09 14:54:48 168

原创 有php7apache2_4.dll的php下载

https://pan.baidu.com/s/1kDGZFvfNMExsC521PbWABA zq96

2020-07-04 20:11:46 416

原创 Can‘t locate API module structure `PHP7_module‘ in file......

php不能大写把LoadModule PHP7_module… 改成 LoadModule php7_module…就可以启动了

2020-07-04 20:07:09 1728

原创 vscode黑屏的解决方案

vscode黑屏的一次性解决方案,重新启动又会黑屏,原因不明

2019-11-08 16:45:01 23771 23

原创 webpack和webpack-dev-server的安装,查了很多网站,终于能用了

**webpack 和 webpack-dev-server 的安装,看完就能用 以前装过的话要先卸载,卸载代码(卸载全局安装的的代码)**npm uninstall webpack -g项目中本地安装的可以直接删除项目中的node_modules文件夹然后说安装吧,打开vscode的终端(终端-新建终端)依次输入下面的代码,等待安装npm init -ynpm i jquery...

2019-10-18 14:07:40 813

空空如也

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

TA关注的人

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