update pay function

This commit is contained in:
2025-11-22 15:43:21 +08:00
parent 9b436523ff
commit 8e16d3cd3a

View File

@@ -1,23 +1,22 @@
/** @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: [
// 只扫描 src 目录(明确指定 js 和 jsx避免 ts 匹配 node_modules // 使用绝对路径Tailwind 推荐方式,避免误报
"./src/**/*.js", path.join(__dirname, "./src/**/*.{js,jsx}"),
"./src/**/*.jsx", path.join(__dirname, "./public/index.html"),
"./public/index.html",
// Hero UI 组件库(精确路径) // Hero UI 组件库
"./node_modules/@heroui/theme/dist/**/*.js", path.join(__dirname, "./node_modules/@heroui/theme/dist/**/*.js"),
"./node_modules/@heroui/react/dist/**/*.js", path.join(__dirname, "./node_modules/@heroui/react/dist/**/*.js"),
], ],
darkMode: "class", darkMode: "class",
theme: { theme: {
extend: { extend: {
// Brainwave 自定义颜色
colors: { colors: {
n: { n: {
1: "#FFFFFF", 1: "#FFFFFF",