会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
样子2018
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
52
下一页
2025年10月12日
Vue3 之pinia状态管理
摘要: 一、文档 https://pinia.vuejs.org/zh/introduction.html 二、数据持久化 安装插件 npm install pinia-plugin-persistedstate 配置 // main.js import { createApp } from 'vue' i
阅读全文
posted @ 2025-10-12 21:39 样子2018
阅读(16)
评论(0)
推荐(0)
2025年10月4日
Python 之操作excel
摘要: 一、常用方法 Workbook():创建新的工作簿 create_sheet():创建工作表 append():加入一行数据 sheep.merge_cells('A1:E1'):合并单元格 详细:https://openpyxl.readthedocs.io/en/stable/api/openp
阅读全文
posted @ 2025-10-04 10:26 样子2018
阅读(4)
评论(0)
推荐(0)
2025年10月3日
PySide6 之登录界面设计
摘要: 一、效果图 二、示例代码 from PySide6.QtWidgets import QApplication, QWidget from PySide6.QtCore import Qt, Slot, QPoint, QPropertyAnimation, QEasingCurve from Py
阅读全文
posted @ 2025-10-03 10:42 样子2018
阅读(9)
评论(0)
推荐(0)
2025年9月29日
Python 之创建虚拟目录
摘要: 创建虚拟环境 Python 3.3+ 内置了 venv 模块,无需额外安装。 检查 Python 版本: python3 --version # 或者 python --version 创建虚拟环境: # 基本语法 python3 -m venv 环境名称 例如,创建一个名为 .venv 的虚拟环境
阅读全文
posted @ 2025-09-29 11:20 样子2018
阅读(5)
评论(0)
推荐(0)
2025年9月28日
PySide6 之简易音乐播放器
摘要: 一、效果图
阅读全文
posted @ 2025-09-28 16:49 样子2018
阅读(5)
评论(0)
推荐(0)
2025年9月26日
PySide6 之鼠标事件写字板
摘要: 一、效果图 二、示例代码 from PySide6.QtWidgets import * from PySide6.QtCore import * from PySide6.QtGui import * import sys class ImageWidget(QWidget): pass '''鼠
阅读全文
posted @ 2025-09-26 12:56 样子2018
阅读(7)
评论(0)
推荐(0)
2025年9月24日
PySide6 之自定义弹出框
摘要: 一、效果图 二、示例代码 核心代码 class MyBaseDialog(QDialog): def __init__(self, parent = None): super().__init__(parent) self._hBoxLayout = QHBoxLayout(self) # 遮罩层
阅读全文
posted @ 2025-09-24 14:50 样子2018
阅读(4)
评论(0)
推荐(0)
2025年9月3日
Jquery 之插件制作
摘要: 一、示例代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>jq
阅读全文
posted @ 2025-09-03 09:18 样子2018
阅读(4)
评论(0)
推荐(0)
2025年8月16日
Uniapp 之使用renderjs实现APP中腾讯地图搜索定位选点
摘要: 一、效果图 二、示例代码 <template> <view style=""> <navBar :fixed="true" :shadow="false" :background-color="primaryColor" color="#fff" title="定位"> <view slot="le
阅读全文
posted @ 2025-08-16 14:25 样子2018
阅读(15)
评论(0)
推荐(0)
2025年8月15日
Uniapp 之renderjs解决swiper+多个video卡顿问题
摘要: 一、效果图 二、示例代码 test.vue <template> <view style="" :style="{height: windowHeight+'px'}"> <swiper class="video-swiper" vertical @change="swiperChange" :cu
阅读全文
posted @ 2025-08-15 15:26 样子2018
阅读(13)
评论(0)
推荐(0)
1
2
3
4
5
···
52
下一页
公告