2 Revīzijas 4efe87ee03 ... cc6b585e54

Autors SHA1 Ziņojums Datums
  liuyuyang cc6b585e54 fix: index.html swiper 样式引用路径对齐扁平 assets 目录; 移除 tab1 模板内非法 <head> 标签与失效外链 unpkg 1 nedēļu atpakaļ
  liuyuyang 21f3a54802 fix: src/assets/swiper 源仓漏了 .css 扩展名导致 404 (index.html 引用 assets/swiper/swiper.min.css) 1 nedēļu atpakaļ
3 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      src/app/tab1/tab1.page.html
  2. 0 0
      src/assets/swiper.min.css
  3. 1 1
      src/index.html

+ 1 - 1
src/app/tab1/tab1.page.html

@@ -5,7 +5,7 @@
     </ion-title>
   </ion-toolbar>
 </ion-header>
-<head><link rel="stylesheet" href="https://unpkg.com/swiper/css/swiper.min.css"></head>
+
 <ion-content [fullscreen]="true">
   <ion-header collapse="condense">
     <ion-toolbar>

+ 0 - 0
src/assets/swiper → src/assets/swiper.min.css


+ 1 - 1
src/index.html

@@ -18,7 +18,7 @@
   <meta name="apple-mobile-web-app-capable" content="yes" />
   <meta name="apple-mobile-web-app-status-bar-style" content="black" />
 <!-- Swiper轮播图样式 -->
-<link rel="stylesheet" href="assets/swiper/swiper.min.css">
+<link rel="stylesheet" href="assets/swiper.min.css">
   <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
   <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
 </head>