会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fubai
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2024年9月8日
鼠标悬停显示的轮播图
摘要: 今日整理,发现这种轮播图是最难实现的一种, 1.再循环中难以控制单一品类商品显示 解决办法: 在外面的主类里面添加&:hover触发标签属性的更改,这样可以单一作用 2.在循环中触发事件,所有的同一事件都会触发 解决办法:先建立模版控制排版,再从单一内容开始微调 <script setup> imp
阅读全文
posted @ 2024-09-08 22:04 浮白呀
阅读(21)
评论(0)
推荐(0)
2024年9月6日
关闭eslintrc的文件名检测
摘要: 在.eslintrc.cjs添加 rules:{ 'vue/multi-word-component-names': 0 } }
阅读全文
posted @ 2024-09-06 20:22 浮白呀
阅读(14)
评论(0)
推荐(0)
axios请求配置
摘要: 一般在util下的http.js中配置 import axios from "axios"; //创建实例基地址 const httpInstance=axios.create({ baseURL:"http://pcapi-xiaotuxian-front-devtest.itheima.net"
阅读全文
posted @ 2024-09-06 20:05 浮白呀
阅读(19)
评论(0)
推荐(0)
element修改默认主题颜色
摘要: element有一套默认的颜色,我们可以根据需求去配置 1.前置 首先elementplus和自动导入插件要配置好 npm i elementPlus npm install -D unplugin-vue-components unplugin-auto-import 且在vite.config.
阅读全文
posted @ 2024-09-06 18:27 浮白呀
阅读(1338)
评论(0)
推荐(0)
关于前端vsCode的gitee管理
摘要: 无论是学习项目还是企业项目,我们都需要进行项目管理方便回退 在码云上创建一个简单的项目仓库 复制项目http地址 在vsCode上初始化 git init git add . git commit -m "first" 4.项目连接 git remote add origin +项目地址 5.假如已
阅读全文
posted @ 2024-09-06 13:23 浮白呀
阅读(11)
评论(0)
推荐(0)
2024年7月21日
关于虚拟机重启后docker的Mysql无法相连的措施
摘要: 关闭防火墙 systemctl stop firewalld.service 重启docker ` sudo systemctl restart docker ` 清除docker的iptable规则 sudo iptables -F sudo iptables -X sudo iptables -
阅读全文
posted @ 2024-07-21 08:34 浮白呀
阅读(67)
评论(0)
推荐(0)
2024年7月12日
Linux使用nginx常见命令
摘要: 启动nginx ` ./nginx ` 关闭nginx `nginx -s stop` ` nginx -s quit ` 查看相应进程 ` ps aux | grep nginx ` 关闭相应进程 ` ps aux | grep nginx ` 找出进程id(pid)后 ` kill -s QUI
阅读全文
posted @ 2024-07-12 10:05 浮白呀
阅读(33)
评论(0)
推荐(0)
2024年7月8日
Spring Task定时执行
摘要: 在项目中,我们时常会遇到需要定时去自动执行一串代码的需求 具体实现 Spring 3.0已经包含了它的坐标 spring-context 第一步, 启动类添加@EnableScheduling开启定时执行 第二步,创建定时任务类 package com.sky.task; import com.sk
阅读全文
posted @ 2024-07-08 16:42 浮白呀
阅读(20)
评论(0)
推荐(0)
2024年5月21日
使用HttpClient发送请求
摘要: 导入依赖 <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.13</version> </dependency> 相关案例 @Text
阅读全文
posted @ 2024-05-21 18:22 浮白呀
阅读(59)
评论(0)
推荐(0)
2024年5月18日
在spring boot中使用redis
摘要: 第一步,引入依赖 ``` <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> ``` 第二步,配置
阅读全文
posted @ 2024-05-18 13:53 浮白呀
阅读(23)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告