Merge pull request #762 from nagisa77/codex/fix-overlap-of-mobile-post-button

Adjust mobile post icon position and add close button to message box
This commit is contained in:
Tim
2025-08-27 20:40:41 +08:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+1 -1
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;
@@ -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