Sfoglia il codice sorgente

增加部分全局样式

zhangyujun 3 anni fa
parent
commit
7eaf270855
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13 0
      src/App.vue

+ 13 - 0
src/App.vue

@@ -58,6 +58,11 @@ export default {
 /* #endif  */
 
 /*每个页面公共css */
+page {
+  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica,
+    Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB",
+    "Microsoft Yahei", sans-serif;
+}
 view {
   margin: 0;
   padding: 0;
@@ -71,4 +76,12 @@ html {
 .night {
   filter: invert(1) hue-rotate(180deg);
 }
+.van-overlay {
+  position: fixed;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  background-color: rgba(0, 0, 0, 0.65);
+}
 </style>