From a0904da41b981b3d773ef1b1d41f5ec154ce8187 Mon Sep 17 00:00:00 2001 From: dzq Date: Tue, 4 Nov 2025 16:11:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(utils):=20=E6=B7=BB=E5=8A=A0toHttpsUrl?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E5=87=BD=E6=95=B0=E5=B9=B6=E5=BA=94=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加toHttpsUrl函数用于将http链接转换为https,并在多个组件和store中应用该函数 调整product-container和index页面的高度计算方式 --- .../index/components/product-container.vue | 4 +++- src/pages/index/index.vue | 13 +++++++++---- src/pages/me/index.vue | 3 ++- src/pinia/stores/ab98-user.ts | 5 +++-- src/pinia/stores/product.ts | 3 ++- src/utils/common.ts | 17 +++++++++++++++++ src/utils/index.ts | 3 +++ 7 files changed, 39 insertions(+), 9 deletions(-) diff --git a/src/pages/index/components/product-container.vue b/src/pages/index/components/product-container.vue index 1a8f04d..962bba0 100644 --- a/src/pages/index/components/product-container.vue +++ b/src/pages/index/components/product-container.vue @@ -227,7 +227,8 @@ function handleCheckout() {