feat: 相关商品样式调整

This commit is contained in:
duanshuwen
2025-11-09 17:26:01 +08:00
parent ac8baa7f95
commit bf5224dabe
2 changed files with 9 additions and 7 deletions

View File

@@ -42,7 +42,7 @@
>
<image :src="item.photoUrl" mode="aspectFill" />
<view
class="album-title absolute border-box p-8 left-0 right-0 bottom-0 color-white font-size-14 font-500 ellipsis-1"
class="album-title absolute left-0 right-0 bottom-0 color-white font-size-11 font-500 ellipsis-1 flex flex-items-center flex-justify-center"
>
{{ item.photoName }}
</view>
@@ -98,7 +98,12 @@ watch(
);
// 触摸状态
const touchState = ref({ startX: 0, startY: 0, moving: false, isClickCandidate: false });
const touchState = ref({
startX: 0,
startY: 0,
moving: false,
isClickCandidate: false,
});
const touchStart = (e, index) => {
if (index !== 0 || animatingOut.value) return;

View File

@@ -35,9 +35,6 @@
}
.album-title {
background: linear-gradient(
180deg,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.6) 100%
);
background: rgba(0, 0, 0, 0.5);
height: 20px;
}