瀏覽代碼

fix:天气恢复

chenzhen2 1 年之前
父節點
當前提交
c5e7c480ec
共有 30 個文件被更改,包括 78 次插入65 次删除
  1. 1 1
      dist/sk/index.html
  2. 1 0
      dist/sk/static/css/chunk-3265dce4.5fc9f02e.css
  3. 0 1
      dist/sk/static/css/chunk-351101fa.776a6ad6.css
  4. 二進制
      dist/sk/static/css/chunk-351101fa.776a6ad6.css.gz
  5. 1 0
      dist/sk/static/css/chunk-351101fa.989c1566.css
  6. 二進制
      dist/sk/static/css/chunk-351101fa.989c1566.css.gz
  7. 1 0
      dist/sk/static/css/chunk-3ebb9471.8d50d4fb.css
  8. 二進制
      dist/sk/static/css/chunk-3ebb9471.8d50d4fb.css.gz
  9. 0 1
      dist/sk/static/css/chunk-3ebb9471.c7629fbb.css
  10. 二進制
      dist/sk/static/css/chunk-3ebb9471.c7629fbb.css.gz
  11. 0 1
      dist/sk/static/css/chunk-bf348ec6.1e48a855.css
  12. 1 0
      dist/sk/static/css/chunk-e4520c6a.bcdbc779.css
  13. 0 1
      dist/sk/static/css/chunk-ea23bbc2.77db0762.css
  14. 二進制
      dist/sk/static/js/app.06d6ad5d.js.gz
  15. 2 2
      dist/sk/static/js/app.06d6ad5d.js
  16. 二進制
      dist/sk/static/js/app.882112fa.js.gz
  17. 1 1
      dist/sk/static/js/app.06d6ad5d.js.map
  18. 2 0
      dist/sk/static/js/chunk-3265dce4.6fe3f0fd.js
  19. 1 0
      dist/sk/static/js/chunk-3265dce4.6fe3f0fd.js.map
  20. 1 1
      dist/sk/static/js/chunk-351101fa.aefb0247.js
  21. 二進制
      dist/sk/static/js/chunk-351101fa.aefb0247.js.gz
  22. 1 1
      dist/sk/static/js/chunk-351101fa.aefb0247.js.map
  23. 0 2
      dist/sk/static/js/chunk-bf348ec6.f9b2e9b7.js
  24. 0 1
      dist/sk/static/js/chunk-bf348ec6.f9b2e9b7.js.map
  25. 2 0
      dist/sk/static/js/chunk-e4520c6a.ce52d697.js
  26. 1 0
      dist/sk/static/js/chunk-e4520c6a.ce52d697.js.map
  27. 0 2
      dist/sk/static/js/chunk-ea23bbc2.a646ed4e.js
  28. 0 1
      dist/sk/static/js/chunk-ea23bbc2.a646ed4e.js.map
  29. 31 25
      src/views/home/index.vue
  30. 31 24
      src/views/home/tiantan.vue

文件差異過大導致無法顯示
+ 1 - 1
dist/sk/index.html


文件差異過大導致無法顯示
+ 1 - 0
dist/sk/static/css/chunk-3265dce4.5fc9f02e.css


文件差異過大導致無法顯示
+ 0 - 1
dist/sk/static/css/chunk-351101fa.776a6ad6.css


二進制
dist/sk/static/css/chunk-351101fa.776a6ad6.css.gz


文件差異過大導致無法顯示
+ 1 - 0
dist/sk/static/css/chunk-351101fa.989c1566.css


二進制
dist/sk/static/css/chunk-351101fa.989c1566.css.gz


文件差異過大導致無法顯示
+ 1 - 0
dist/sk/static/css/chunk-3ebb9471.8d50d4fb.css


二進制
dist/sk/static/css/chunk-3ebb9471.8d50d4fb.css.gz


文件差異過大導致無法顯示
+ 0 - 1
dist/sk/static/css/chunk-3ebb9471.c7629fbb.css


二進制
dist/sk/static/css/chunk-3ebb9471.c7629fbb.css.gz


文件差異過大導致無法顯示
+ 0 - 1
dist/sk/static/css/chunk-bf348ec6.1e48a855.css


文件差異過大導致無法顯示
+ 1 - 0
dist/sk/static/css/chunk-e4520c6a.bcdbc779.css


文件差異過大導致無法顯示
+ 0 - 1
dist/sk/static/css/chunk-ea23bbc2.77db0762.css


二進制
dist/sk/static/js/app.06d6ad5d.js.gz


文件差異過大導致無法顯示
+ 2 - 2
dist/sk/static/js/app.06d6ad5d.js


二進制
dist/sk/static/js/app.882112fa.js.gz


文件差異過大導致無法顯示
+ 1 - 1
dist/sk/static/js/app.06d6ad5d.js.map


文件差異過大導致無法顯示
+ 2 - 0
dist/sk/static/js/chunk-3265dce4.6fe3f0fd.js


文件差異過大導致無法顯示
+ 1 - 0
dist/sk/static/js/chunk-3265dce4.6fe3f0fd.js.map


文件差異過大導致無法顯示
+ 1 - 1
dist/sk/static/js/chunk-351101fa.aefb0247.js


二進制
dist/sk/static/js/chunk-351101fa.aefb0247.js.gz


文件差異過大導致無法顯示
+ 1 - 1
dist/sk/static/js/chunk-351101fa.aefb0247.js.map


文件差異過大導致無法顯示
+ 0 - 2
dist/sk/static/js/chunk-bf348ec6.f9b2e9b7.js


文件差異過大導致無法顯示
+ 0 - 1
dist/sk/static/js/chunk-bf348ec6.f9b2e9b7.js.map


文件差異過大導致無法顯示
+ 2 - 0
dist/sk/static/js/chunk-e4520c6a.ce52d697.js


文件差異過大導致無法顯示
+ 1 - 0
dist/sk/static/js/chunk-e4520c6a.ce52d697.js.map


文件差異過大導致無法顯示
+ 0 - 2
dist/sk/static/js/chunk-ea23bbc2.a646ed4e.js


文件差異過大導致無法顯示
+ 0 - 1
dist/sk/static/js/chunk-ea23bbc2.a646ed4e.js.map


+ 31 - 25
src/views/home/index.vue

@@ -302,32 +302,38 @@ export default defineComponent({
           proxyData.updateStyle();
           // 第3部分轮播
 
-          let time2 = setTimeout(() => {
-            clearTimeout(time2);
-            router.push({
-              path: "/weather",
-              query: { type: proxyData.type },
-            });
-            // 30000
-          }, 30000);
-
-          // let timer = setTimeout(function () {
-          //   $(skSlogan).fadeOut();
-          //   $(aniThree).show();
-          //   $(logoLeft).addClass("logoLeftAni");
-          //   $(logoRight).addClass("logoRightAni");
-          //   $(line).addClass("lineAni");
-          //   $(text).addClass("lineAni");
-          //   clearTimeout(timer);
-          //   let time2 = setTimeout(() => {
-          //     clearTimeout(time2);
-          //     router.push({
-          //       path: "/weather",
-          //       query: { type: proxyData.type },
-          //     });
-          //     // 30000
-          //   }, 30000);
+          /**
+           * 删除第三部分的时候用此代码
+           */
+          // let time2 = setTimeout(() => {
+          //   clearTimeout(time2);
+          //   router.push({
+          //     path: "/weather",
+          //     query: { type: proxyData.type },
+          //   });
+          //   // 30000
           // }, 30000);
+
+          /**
+           * 需要第三个画面的时候
+           */
+          let timer = setTimeout(function () {
+            $(skSlogan).fadeOut();
+            $(aniThree).show();
+            $(logoLeft).addClass("logoLeftAni");
+            $(logoRight).addClass("logoRightAni");
+            $(line).addClass("lineAni");
+            $(text).addClass("lineAni");
+            clearTimeout(timer);
+            let time2 = setTimeout(() => {
+              clearTimeout(time2);
+              router.push({
+                path: "/weather",
+                query: { type: proxyData.type },
+              });
+              // 30000
+            }, 30000);
+          }, 30000);
         });
       },
       // 动态修改样式

+ 31 - 24
src/views/home/tiantan.vue

@@ -305,31 +305,38 @@ export default defineComponent({
           let type = proxyData.type;
           // 第3部分
 
-          // let timer = setTimeout(function () {
-          //   $(skSlogan).fadeOut();
-          //   $(aniThree).show();
-          //   $(logoLeft).addClass("logoLeftAni");
-          //   $(logoRight).addClass("logoRightAni");
-          //   $(line).addClass("lineAni");
-          //   $(text).addClass("lineAni");
-          //   clearTimeout(timer);
-          //   let time2 = setTimeout(() => {
-          //     clearTimeout(time2);
-          //     console.log("/weather" + "?type=" + type);
-          //     router.push({
-          //       path: "/weather",
-          //       query: { type: proxyData.type },
-          //     });
-          //   }, 30000);
-          // }, 30000);
-          let time2 = setTimeout(() => {
-            clearTimeout(time2);
-            console.log("/weather" + "?type=" + type);
-            router.push({
-              path: "/weather",
-              query: { type: proxyData.type },
-            });
+          /**
+           * 需要第三个画面的时候
+           */
+          let timer = setTimeout(function() {
+            $(skSlogan).fadeOut();
+            $(aniThree).show();
+            $(logoLeft).addClass("logoLeftAni");
+            $(logoRight).addClass("logoRightAni");
+            $(line).addClass("lineAni");
+            $(text).addClass("lineAni");
+            clearTimeout(timer);
+            let time2 = setTimeout(() => {
+              clearTimeout(time2);
+              console.log("/weather" + "?type=" + type);
+              router.push({
+                path: "/weather",
+                query: { type: proxyData.type },
+              });
+            }, 30000);
           }, 30000);
+
+          /**
+           * 删除第三部分的时候用此代码
+           */
+          // let time2 = setTimeout(() => {
+          //   clearTimeout(time2);
+          //   console.log("/weather" + "?type=" + type);
+          //   router.push({
+          //     path: "/weather",
+          //     query: { type: proxyData.type },
+          //   });
+          // }, 30000);
         });
       },
       // 动态修改样式