Browse Source

修改样式

lex 1 year ago
parent
commit
2c257f9737
2 changed files with 9 additions and 19 deletions
  1. 8 18
      dev-dist/sw.js
  2. 1 1
      src/components/card-preview/video-modal/index.module.less

+ 8 - 18
dev-dist/sw.js

@@ -22,7 +22,7 @@ if (!self.define) {
   const singleRequire = (uri, parentUri) => {
     uri = new URL(uri + ".js", parentUri).href;
     return registry[uri] || (
-
+      
         new Promise(resolve => {
           if ("document" in self) {
             const script = document.createElement("script");
@@ -35,7 +35,7 @@ if (!self.define) {
             resolve();
           }
         })
-
+      
       .then(() => {
         let promise = registry[uri];
         if (!promise) {
@@ -82,21 +82,11 @@ define(['./workbox-5357ef54'], (function (workbox) { 'use strict';
     "revision": "3ca0b8505b4bec776b69afdba2768812"
   }, {
     "url": "index.html",
-    "revision": "0.k9m6fls6u18"
+    "revision": "0.dm3q4j1upco"
   }], {});
   workbox.cleanupOutdatedCaches();
-  workbox.registerRoute(
-    new workbox.NavigationRoute(workbox.createHandlerBoundToURL('index.html'), {
-      allowlist: [/^\/$/]
-    }),
-    workbox.strategies.networkOnly()
-  );
-  workbox.routing.registerRoute(
-    new RegExp('.*.html|css'),
-    workbox.strategies.networkFirst()
-  );
-  workbox.routing.registerRoute(
-    new RegExp('|js'),
-    workbox.strategies.networkOnly()
-  );
-});
+  workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {
+    allowlist: [/^\/$/]
+  }));
+
+}));

+ 1 - 1
src/components/card-preview/video-modal/index.module.less

@@ -141,7 +141,7 @@
 .sliderPopup {
   position: absolute;
   z-index: 9999;
-  left: 144px;
+  left: 130px;
   bottom: 82px;
   display: flex;
   align-items: center;