|
@@ -31,7 +31,11 @@
|
|
|
:style="{ background: isPhone && showMenu ? themeColorPhone : '' }"
|
|
|
>
|
|
|
<template v-if="isPhone">
|
|
|
- <div style="text-align: right; color: black" @click="toggleMenu">
|
|
|
+ <div
|
|
|
+ class="toggle-box"
|
|
|
+ :class="[showMenu ? 'toggle-box-fold' : '']"
|
|
|
+ @click="toggleMenu"
|
|
|
+ >
|
|
|
<i
|
|
|
:class="[showMenu ? 'el-icon-s-fold' : 'el-icon-s-unfold']"
|
|
|
v-if="showMenu"
|
|
@@ -46,6 +50,7 @@
|
|
|
:change-id="changeId"
|
|
|
:changeTreeData="changeTreeData"
|
|
|
:currentTreeID="chapterId"
|
|
|
+ v-show="(isPhone && showMenu) || !isPhone"
|
|
|
/>
|
|
|
<div class="moveBtn-nnpe" v-move></div>
|
|
|
</div>
|
|
@@ -587,7 +592,7 @@ export default {
|
|
|
&-phone {
|
|
|
width: 50%;
|
|
|
height: 100%;
|
|
|
- padding-top: 20px;
|
|
|
+ padding-top: 50px;
|
|
|
z-index: 4;
|
|
|
overflow-x: hidden;
|
|
|
}
|
|
@@ -790,6 +795,19 @@ export default {
|
|
|
width: 1000px;
|
|
|
height: 700px;
|
|
|
}
|
|
|
+.toggle-box {
|
|
|
+ position: fixed;
|
|
|
+ top: 15px;
|
|
|
+ left: 0;
|
|
|
+ z-index: 5;
|
|
|
+ text-align: right;
|
|
|
+ color: black;
|
|
|
+ padding: 10px;
|
|
|
+ width: 40px;
|
|
|
+ &-fold {
|
|
|
+ width: 50%;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
.GCLS-BOOK-Container {
|