1 2 3 4 5 ··· 52 下一页
摘要: 一、文档 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)
摘要: 一、常用方法 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)
摘要: 一、效果图 二、示例代码 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)
摘要: 创建虚拟环境 Python 3.3+ 内置了 venv 模块,无需额外安装。 检查 Python 版本: python3 --version # 或者 python --version 创建虚拟环境: # 基本语法 python3 -m venv 环境名称 例如,创建一个名为 .venv 的虚拟环境 阅读全文
posted @ 2025-09-29 11:20 样子2018 阅读(5) 评论(0) 推荐(0)
摘要: 一、效果图 阅读全文
posted @ 2025-09-28 16:49 样子2018 阅读(5) 评论(0) 推荐(0)
摘要: 一、效果图 二、示例代码 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)
摘要: 一、效果图 二、示例代码 核心代码 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)
摘要: 一、示例代码 <!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)
摘要: 一、效果图 二、示例代码 <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)
摘要: 一、效果图 二、示例代码 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 下一页