feat: 编译图片时可以把开头 /public 字段删除

2. feat(component): 查看照片新增打开原图更改
3. fix(component): 修复查看图片时放大图片按钮失效的问题
This commit is contained in:
Ad-closeNN
2026-04-20 10:08:44 +08:00
parent 8f004a9959
commit 1eba58bb92
7 changed files with 126 additions and 10 deletions
+27 -2
View File
@@ -1,12 +1,37 @@
.pswp__button {
@apply transition bg-black/40 hover:bg-black/50 active:bg-black/60 flex items-center justify-center mr-0 w-12 h-12 !important;
}
.pswp__button--zoom, .pswp__button--close {
.pswp__button--zoom, .pswp__button--open-link, .pswp__button--close {
@apply mt-4 rounded-xl active:scale-90 !important;
}
.pswp__button--zoom {
.pswp__button--zoom, .pswp__button--open-link {
@apply mr-2.5 !important;
}
.pswp__button--open-link {
@apply no-underline !important;
color: white !important;
}
.pswp__button--close {
@apply mr-4 !important;
}
.pswp__button--disabled {
@apply opacity-40 pointer-events-none !important;
}
.pswp__icn {
@apply fill-white !important;
}
.pswp__icn-shadow {
display: none !important;
}
.pswp__button--open-link .pswp__icn {
width: 24px !important;
height: 24px !important;
}
.pswp__button--open-link .pswp__icn path {
fill: currentColor !important;
}