From a6dec89d092dee26983506122758d725036fdd3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Sat, 1 Aug 2026 13:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2=E6=95=88?= =?UTF-8?q?=E6=9E=9C,=E4=BD=86=E6=98=AF=E4=BC=9A=E5=8D=A1=E9=A1=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hunliji-api/main.go | 3 +- .../src/components/PhotoGallery.vue | 45 ++-- .../src/composables/useImageWarmup.js | 60 +++++ vite-tailwindcss/src/directives/reveal.js | 47 +++- vite-tailwindcss/src/styles/animations.css | 13 +- vite-tailwindcss/src/views/index/index.vue | 244 ++++++++++++++---- vite-tailwindcss/vite.config.js | 2 +- 7 files changed, 340 insertions(+), 74 deletions(-) create mode 100644 vite-tailwindcss/src/composables/useImageWarmup.js diff --git a/hunliji-api/main.go b/hunliji-api/main.go index 9c342b1..d544065 100644 --- a/hunliji-api/main.go +++ b/hunliji-api/main.go @@ -111,7 +111,8 @@ func requireAdmin(c *gin.Context) bool { } func initDB() { - dsn := "root:mysql_PKC65h@tcp(127.0.0.1:3306)/nl_wedding?charset=utf8mb4&parseTime=True&loc=Local" + dsn := "root:root@tcp(127.0.0.1:3306)/nl_wedding?charset=utf8mb4&parseTime=True&loc=Local" + //dsn := "root:mysql_PKC65h@tcp(127.0.0.1:3306)/nl_wedding?charset=utf8mb4&parseTime=True&loc=Local" var err error db, err = gorm.Open(mysql.Open(dsn), &gorm.Config{}) if err != nil { diff --git a/vite-tailwindcss/src/components/PhotoGallery.vue b/vite-tailwindcss/src/components/PhotoGallery.vue index f7b6c02..20a2e0c 100644 --- a/vite-tailwindcss/src/components/PhotoGallery.vue +++ b/vite-tailwindcss/src/components/PhotoGallery.vue @@ -1,5 +1,5 @@