fix: 更新新增帖子图标类名并调整样式作用域

This commit is contained in:
CH-122
2025-08-15 15:47:24 +08:00
parent 00d3c563e2
commit 2b824d94f2

View File

@@ -16,7 +16,7 @@
<NuxtPage keepalive />
</div>
<div v-if="showNewPostIcon && isMobile" class="new-post-icon" @click="goToNewPost">
<div v-if="showNewPostIcon && isMobile" class="app-new-post-icon" @click="goToNewPost">
<i class="fas fa-edit"></i>
</div>
</div>
@@ -74,7 +74,7 @@ const goToNewPost = () => {
</script>
<style src="~/assets/global.css"></style>
<style scoped>
<style>
.header-container {
position: fixed;
top: 0;
@@ -107,7 +107,7 @@ const goToNewPost = () => {
margin: 0 auto;
}
.new-post-icon {
.app-new-post-icon {
background-color: var(--new-post-icon-color);
color: white;
width: 60px;