mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-01 23:47:39 +08:00
fix: adjust new post icon position and close message window
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user