Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: 网站美化部分 “琥珀” 会穿透图片 #98

Open
8620hachiroku opened this issue Nov 16, 2024 · 2 comments
Open

[BUG]: 网站美化部分 “琥珀” 会穿透图片 #98

8620hachiroku opened this issue Nov 16, 2024 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@8620hachiroku
Copy link

描述错误

Screenshot_20241116-132728_Iceraven

重现步骤

任意一个带图片的话题均可触发

预期行为

琥珀应该在图片下方,而不是穿过图片

截图

No response

附加信息

No response

@8620hachiroku 8620hachiroku added bug Something isn't working enhancement New feature or request labels Nov 16, 2024
@Ashiroid
Copy link

Ashiroid commented Dec 7, 2024

補充:不僅是圖片,根據個人觀察,所有的界面元素,除去背景以外,包括字體及視頻,都被附加了透明效果,導致可以通過圖片看見壁紙。

本人沒有vue相關的編程經歷,但根據JS屬性繼承推測,建議排查打包導出vue實例的時候後沒有讓界面中的元素繼承背景版的透明屬性。

舉個不恰當的例子:

<div style="color:red"> <!--container-->
  this is red
  <p> this is also red</p> <!--without style="color:red" in sub-container-->
</div>

祝早日解決

@KUN1007
Copy link
Owner

KUN1007 commented Dec 7, 2024

補充:不僅是圖片,根據個人觀察,所有的界面元素,除去背景以外,包括字體及視頻,都被附加了透明效果,導致可以通過圖片看見壁紙。

本人沒有vue相關的編程經歷,但根據JS屬性繼承推測,建議排查打包導出vue實例的時候後沒有讓界面中的元素繼承背景版的透明屬性。

舉個不恰當的例子:

<div style="color:red"> <!--container-->
  this is red
  <p> this is also red</p> <!--without style="color:red" in sub-container-->
</div>

祝早日解決

感谢建议, 最近正在编写新网站, 编写完后会着手解决论坛项目的 BUG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants