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

View File

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