fix: adjust new post icon position and close message window

This commit is contained in:
Tim
2025-08-27 20:39:46 +08:00
parent ec0fd63e30
commit 0c2264e509
2 changed files with 6 additions and 1 deletions

View File

@@ -138,7 +138,7 @@ const goToNewPost = () => {
height: 60px; height: 60px;
border-radius: 50%; border-radius: 50%;
position: fixed; position: fixed;
bottom: 40px; bottom: 70px;
right: 20px; right: 20px;
font-size: 20px; font-size: 20px;
cursor: pointer; cursor: pointer;

View File

@@ -16,6 +16,7 @@
@click="reboundToDefault" @click="reboundToDefault"
></i> ></i>
<i class="fas fa-expand" title="在页面中打开" @click="expand"></i> <i class="fas fa-expand" title="在页面中打开" @click="expand"></i>
<i class="fas fa-times" title="关闭" @click="close"></i>
</div> </div>
</div> </div>
</template> </template>
@@ -48,6 +49,10 @@ function expand() {
navigateTo(target) navigateTo(target)
} }
function close() {
floatRoute.value = null
}
function injectBaseTag() { function injectBaseTag() {
if (!iframeRef.value) return if (!iframeRef.value) return