|
@@ -124,7 +124,7 @@
|
|
|
</transition>
|
|
|
</div>
|
|
|
|
|
|
- <div class="add_desk" v-if="addDesktop && !isStandalone">
|
|
|
+ <div class="add_desk" v-if="addDesktop && !isStandalone" @touchmove.prevent>
|
|
|
<div class="addgif">
|
|
|
<div class="add-title">
|
|
|
<p>添加至桌面,方便下次继续阅读</p>
|
|
@@ -271,7 +271,8 @@ export default {
|
|
|
copyVal: "",
|
|
|
uuids: "",
|
|
|
addDesktop: false,
|
|
|
- isStandalone:Number(localStorage.getItem('userMode')) || window.navigator.standalone
|
|
|
+ isStandalone:
|
|
|
+ Number(localStorage.getItem("userMode")) || window.navigator.standalone
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
@@ -375,7 +376,7 @@ export default {
|
|
|
},
|
|
|
next() {
|
|
|
// 静默复制
|
|
|
-
|
|
|
+
|
|
|
if (this.text.next_jump) {
|
|
|
location.href = this.text.next_jump_url;
|
|
|
} else {
|
|
@@ -1143,12 +1144,14 @@ export default {
|
|
|
z-index: 1001;
|
|
|
.addgif {
|
|
|
position: absolute;
|
|
|
- bottom: 0;
|
|
|
+ top: 0;
|
|
|
left: 0;
|
|
|
- width: 100%;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ width: 80%;
|
|
|
height: 9.8rem;
|
|
|
+ margin: auto;
|
|
|
.add-gif {
|
|
|
- height: 100%;
|
|
|
background: #fff;
|
|
|
display: flex;
|
|
|
justify-content: center;
|