update pay function

This commit is contained in:
2025-11-22 15:48:31 +08:00
parent 8e16d3cd3a
commit 0fcb7322ed
2 changed files with 35 additions and 7 deletions

28
.tailwindignore Normal file
View File

@@ -0,0 +1,28 @@
# Tailwind 忽略文件 - 明确排除不需要扫描的目录
# 构建输出
build/
dist/
# Python 相关
venv/
__pycache__/
*.pyc
migrations/
# 依赖
node_modules/
# 文档和配置
docs/
scripts/
certs/
# 日志和临时文件
*.log
flask_session/
# 其他
*.docx
*.csv
*.conf

View File

@@ -1,16 +1,16 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
const { heroui } = require("@heroui/react"); const { heroui } = require("@heroui/react");
const path = require("path");
module.exports = { module.exports = {
content: [ content: [
// 使用绝对路径Tailwind 推荐方式,避免误报 // 只扫描 src 和 public 目录(不使用 glob精确指定
path.join(__dirname, "./src/**/*.{js,jsx}"), "src/**/*.js",
path.join(__dirname, "./public/index.html"), "src/**/*.jsx",
"public/index.html",
// Hero UI 组件库 // Hero UI 组件库(仅必需文件)
path.join(__dirname, "./node_modules/@heroui/theme/dist/**/*.js"), "node_modules/@heroui/theme/dist/components/*.js",
path.join(__dirname, "./node_modules/@heroui/react/dist/**/*.js"), "node_modules/@heroui/react/dist/index.js",
], ],
darkMode: "class", darkMode: "class",