style(app): 优化图片预览弹窗样式

- 调整图片预览弹窗的背景色和最大宽度
- 修复 ItemList 组件中的 Lot 号码显示问题
This commit is contained in:
xingyy 2025-03-07 09:23:18 +08:00
parent ae87146c5f
commit f673fbed7f
2 changed files with 5 additions and 1 deletions

View File

@ -56,6 +56,10 @@ provide('slideDirection', slideDirection)
</template>
<style>
.van-popup.van-popup--center.van-image-preview{
background-color: transparent!important;
max-width: 100%!important;
}
:root:root {
--van-dialog-radius: 8px
}

View File

@ -93,7 +93,7 @@ function formatNumber(num) {
:src="item.artwork?.hdPic"
class="w-full object-cover rounded-4px"
/>
<div
<div
class="absolute rounded-2px overflow-hidden line-height-12px left-[8px] top-[8px] h-[17px] w-[60px] flex items-center justify-center bg-[#2b53ac] text-[12px] text-[#fff]"
>
Lot{{ formatNumber(item.index) }}