bill 1 päivä sitten
vanhempi
commit
58b4a57911
4 muutettua tiedostoa jossa 19 lisäystä ja 8 poistoa
  1. 16 6
      src/below.vue
  2. 1 1
      src/main.ts
  3. 1 1
      src/store/sys.ts
  4. 1 0
      src/utils/index.ts

+ 16 - 6
src/below.vue

@@ -6,7 +6,10 @@
       <span>建议使用以下浏览器</span>
       <div class="list">
         <div v-for="item in items">
-          <a :href="item.link"><img :src="item.icon" /></a>
+          <img :src="item.icon" />
+          <p>
+            <a :href="item.link"><ui-icon type="close" /> {{ item.name }}</a>
+          </p>
         </div>
       </div>
     </div>
@@ -16,18 +19,21 @@
 <script lang="ts" setup>
 const items = [
   {
+    name: "Firefox",
     icon: "images/ff.png",
     link: "http://www.firefox.com.cn/",
   },
   {
+    name: "Microsoft Edge",
     icon: "images/eg.png",
     link: "https://www.microsoft.com/en-us/edge",
   },
+  // {
+  //   icon: "images/safar.png",
+  //   link: "https://www.apple.com/safari/",
+  // },
   {
-    icon: "images/safar.png",
-    link: "https://www.apple.com/safari/",
-  },
-  {
+    name: "Chrome",
     icon: "images/chrome.png",
     link: "https://www.google.com/chrome/",
   },
@@ -67,8 +73,12 @@ const items = [
   justify-content: center;
   margin-top: 20px;
 
+  a {
+    color: #999;
+    text-decoration: none;
+  }
   > div {
-    margin: 0 10px;
+    margin: 0 20px;
     img {
       width: 70px !important;
     }

+ 1 - 1
src/main.ts

@@ -18,10 +18,10 @@ if (isFirefoxBelow("115.9")) {
   app = createApp(Below)
 } else {
   app = createApp(Home);
-  app.use(Components);
   app.use(router);
   app.use(VueKonva);
 }
+app.use(Components);
 app.mount("#app");
 
 if (import.meta.env.DEV) {

+ 1 - 1
src/store/sys.ts

@@ -22,7 +22,7 @@ export const isNow = computed(() => !!(mode.value & Flags.NOW));
 export const appEl = ref<HTMLDivElement | null>(null);
 export const prefix = ref("");
 
-export const defTitle = ref("案件信息");
+export const defTitle = ref("多元融合");
 export const title = computed(() => {
   console.error(currentMeta.value);
   const last =

+ 1 - 0
src/utils/index.ts

@@ -328,6 +328,7 @@ export function isFirefoxBelow(targetVersion = "115.9") {
 function compareVersionStrings(v1: string, v2: string) {
   const seg1 = String(v1).split('.').map(s => parseInt(s, 10) || 0);
   const seg2 = String(v2).split('.').map(s => parseInt(s, 10) || 0);
+  console.log(v1, v2, seg1, seg2)
   const len = Math.max(seg1.length, seg2.length);
   for (let i = 0; i < len; i++) {
     const a = seg1[i] || 0;