feat(fittingRoom): 切换默认衣服库类型并优化样式

- 将默认衣服库类型从“我的衣橱”切换为“衣服库”
- 更新页面加载时的默认 token 值
- 调整遮罩层背景透明度以提升视觉效果
- 更新组件最后编辑时间戳
This commit is contained in:
liguigong
2025-10-16 14:22:11 +08:00
parent 617f4f6acf
commit f86ad7cf6a
3 changed files with 4 additions and 4 deletions
@@ -2,7 +2,7 @@
* @Author: liguigong liguigong@shopline.com * @Author: liguigong liguigong@shopline.com
* @Date: 2025-09-19 16:26:36 * @Date: 2025-09-19 16:26:36
* @LastEditors: liguigong liguigong@shopline.com * @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 * @FilePath: pages/fittingRoom/components/s-grid-clothes.vue
* @Description: 这是默认设置,可以在设置工具File Description中进行配置 * @Description: 这是默认设置,可以在设置工具File Description中进行配置
--> -->
@@ -106,7 +106,7 @@
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
background: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.25);
z-index: 3; z-index: 3;
.edit { .edit {
+1 -1
View File
@@ -103,7 +103,7 @@
// const template = computed(() => sheep.$store('app').template?.home); // const template = computed(() => sheep.$store('app').template?.home);
onLoad((options) => { onLoad((options) => {
uni.setStorageSync('token', options?.token ?? '86e0032580ac4ca8b1f4f5e9395d1cf8'); uni.setStorageSync('token', options?.token ?? 'a2ae4e11fb8f4393aafcce7de467d2e2');
console.log('🚀 ~ URL上的token ~ options?.token: ', options?.token); console.log('🚀 ~ URL上的token ~ options?.token: ', options?.token);
fittingRoomStore.getCategory(); fittingRoomStore.getCategory();
fittingRoomStore.getCloths(); fittingRoomStore.getCloths();
+1 -1
View File
@@ -25,7 +25,7 @@ const fittingRoom = defineStore({
visable: false, // 上传模特, 选模特的 visable: false, // 上传模特, 选模特的
modelList: [], // 模特列表 modelList: [], // 模特列表
currentModel: {}, currentModel: {},
type: true, // true: 我的衣橱, false: 衣服库 type: false, // true: 我的衣橱, false: 衣服库
tab: 0, // 对应下面tabs的序号 tab: 0, // 对应下面tabs的序号
tabs: ['全部', '上衣', '下装', '连衣裙', '外套', '套装', '发型'], tabs: ['全部', '上衣', '下装', '连衣裙', '外套', '套装', '发型'],
tabsMap: _tabsMap, tabsMap: _tabsMap,