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