XiaBx 2 سال پیش
والد
کامیت
e748a1a6b5
5فایلهای تغییر یافته به همراه46 افزوده شده و 14 حذف شده
  1. 1 1
      src/App.vue
  2. BIN
      src/assets/adddeskot.gif
  3. BIN
      src/assets/addtips.png
  4. BIN
      src/assets/popimg.png
  5. 45 13
      src/view/reader.vue

+ 1 - 1
src/App.vue

@@ -132,7 +132,7 @@ export default {
         if (!token) {
           if (this.$route.name == "Pay") {
             this.showBlank = true;
-            this.toastMsg = "支付完成后,请从桌面链接重新打开,畅享阅读~";
+            this.toastMsg = "支付完成后,请从桌面应用重新打开,畅享阅读~";
           }else{
             this.showBlank = true;
           }

BIN
src/assets/adddeskot.gif


BIN
src/assets/addtips.png


BIN
src/assets/popimg.png


+ 45 - 13
src/view/reader.vue

@@ -123,22 +123,41 @@
         </div>
       </transition>
     </div>
-    <div class="add_desk" @touchmove.prevent v-if="addDesktop && !isStandalone && !addDesktops">
-      <div class="addgif">
-        <template v-if="modes == 'B'">
+    <!-- -->
+    <div class="add_desk" @touchmove.prevent v-if="addDesktop && !isStandalone">
+      <template v-if="modes == 'B'">
+        <div class="addgif">
           <div class="addpng">
-            <img src="../../src/assets/addtips.png" width="100%" />
+            <img
+              src="https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/zsy_ios_app/zsy_ios_img/guide/addtips.png"
+              width="100%"
+            />
           </div>
           <div class="add-gif">
-            <img src="../../src/assets/adddeskot.gif" />
+            <img
+              src="https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/zsy_ios_app/zsy_ios_img/guide/adddeskot.gif"
+            />
           </div>
-        </template>
-        <template v-else>
+        </div>
+      </template>
+      <template v-else-if="modes == 'A'">
+        <div class="addgif">
           <div class="popimg">
-            <img src="../assets/popimg.png" width="100%" />
+            <img
+              src="https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/zsy_ios_app/zsy_ios_img/guide/popimg.png"
+              width="100%"
+            />
           </div>
-        </template>
-      </div>
+        </div>
+      </template>
+      <template v-else>
+        <div class="global-img">
+          <img
+            src="https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/zsy_ios_app/zsy_ios_img/guide/add_global.png"
+            width="100%"
+          />
+        </div>
+      </template>
     </div>
     <div
       class="share"
@@ -865,13 +884,13 @@ export default {
     //是否从派单链接进来的标识
     if (yun) this.yun = yun;
 
-    let addDestops = getKeyByWay("addDestop");
+    /*    let addDestops = getKeyByWay("addDestop");
     if (addDestops == "true" || addDestops == true) {
       this.addDestops = true;
-    }
+    } */
     //处理用户逻辑
     const token = getKeyByWay("token");
-    if (token) { 
+    if (token) {
       //有token 上报加桌状态
       setUserMode(
         Number(window.navigator.standalone) || 0,
@@ -1060,6 +1079,19 @@ export default {
 };
 </script>
 <style lang="scss">
+.global-img {
+  position: absolute;
+  width: 100vw;
+  height: 100vh;
+  top: 0;
+  left: 0;
+  display: flex;
+  align-items: center;
+  img {
+    margin: auto;
+    display: block;
+  }
+}
 .blank_page {
   position: fixed;
   background-color: #fff;