From f86ad7cf6a81069b092421219bc05a4f85df513e Mon Sep 17 00:00:00 2001 From: liguigong Date: Thu, 16 Oct 2025 14:22:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(fittingRoom):=20=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E8=A1=A3=E6=9C=8D=E5=BA=93=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将默认衣服库类型从“我的衣橱”切换为“衣服库” - 更新页面加载时的默认 token 值 - 调整遮罩层背景透明度以提升视觉效果 - 更新组件最后编辑时间戳 --- pages/fittingRoom/components/s-grid-clothes.vue | 4 ++-- pages/fittingRoom/index.vue | 2 +- sheep/store/fittingRoom.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/fittingRoom/components/s-grid-clothes.vue b/pages/fittingRoom/components/s-grid-clothes.vue index 8ce6c79..e07f976 100644 --- a/pages/fittingRoom/components/s-grid-clothes.vue +++ b/pages/fittingRoom/components/s-grid-clothes.vue @@ -2,7 +2,7 @@ * @Author: liguigong liguigong@shopline.com * @Date: 2025-09-19 16:26:36 * @LastEditors: liguigong liguigong@shopline.com - * @LastEditTime: 2025-10-13 15:22:56 + * @LastEditTime: 2025-10-16 14:21:02 * @FilePath: pages/fittingRoom/components/s-grid-clothes.vue * @Description: 这是默认设置,可以在设置》工具》File Description中进行配置 --> @@ -106,7 +106,7 @@ left: 0; right: 0; bottom: 0; - background: rgba(0, 0, 0, 0.1); + background: rgba(0, 0, 0, 0.25); z-index: 3; .edit { diff --git a/pages/fittingRoom/index.vue b/pages/fittingRoom/index.vue index 9b965b4..646f7d4 100644 --- a/pages/fittingRoom/index.vue +++ b/pages/fittingRoom/index.vue @@ -103,7 +103,7 @@ // const template = computed(() => sheep.$store('app').template?.home); onLoad((options) => { - uni.setStorageSync('token', options?.token ?? '86e0032580ac4ca8b1f4f5e9395d1cf8'); + uni.setStorageSync('token', options?.token ?? 'a2ae4e11fb8f4393aafcce7de467d2e2'); console.log('🚀 ~ URL上的token ~ options?.token: ', options?.token); fittingRoomStore.getCategory(); fittingRoomStore.getCloths(); diff --git a/sheep/store/fittingRoom.js b/sheep/store/fittingRoom.js index f38612f..43756f0 100644 --- a/sheep/store/fittingRoom.js +++ b/sheep/store/fittingRoom.js @@ -25,7 +25,7 @@ const fittingRoom = defineStore({ visable: false, // 上传模特, 选模特的 modelList: [], // 模特列表 currentModel: {}, - type: true, // true: 我的衣橱, false: 衣服库 + type: false, // true: 我的衣橱, false: 衣服库 tab: 0, // 对应下面tabs的序号 tabs: ['全部', '上衣', '下装', '连衣裙', '外套', '套装', '发型'], tabsMap: _tabsMap,