diry3943542 1 anno fa
parent
commit
abb79f7517
5 ha cambiato i file con 18 aggiunte e 16 eliminazioni
  1. 1 1
      lib/config.json
  2. 0 0
      lib/css/style.css
  3. 17 9
      lib/js/SIcon.js
  4. 0 0
      lib/js/index.js
  5. 0 6
      lib/js/index2.js

+ 1 - 1
lib/config.json

@@ -1 +1 @@
-{"_hash":1727657956909,"VITE_APP_API_BASE_URL":"http://192.168.200.14:2002","VITE_APP_API_FILE_URL":"/","VITE_APP_SOCKET_URL":"/","VITE_USER_NODE_ENV":"production"}
+{"_hash":1727658650403,"VITE_APP_API_BASE_URL":"http://192.168.200.14:2002","VITE_APP_API_FILE_URL":"/","VITE_APP_SOCKET_URL":"/","VITE_USER_NODE_ENV":"production"}

File diff suppressed because it is too large
+ 0 - 0
lib/css/style.css


+ 17 - 9
lib/js/SIcon.js

@@ -1,6 +1,6 @@
-import { openBlock as o, createBlock as t, resolveDynamicComponent as a, normalizeClass as n, normalizeStyle as r } from "vue";
-import { l } from "./index2.js";
-const c = {
+import { ref as c, watch as n, openBlock as l, createBlock as s, resolveDynamicComponent as m, normalizeClass as i, normalizeStyle as u } from "vue";
+import { l as f } from "./index2.js";
+const p = {
   __name: "SIcon",
   props: {
     name: {
@@ -13,16 +13,24 @@ const c = {
     },
     color: {
       type: String,
-      default: window.$theme.color
+      default: ""
     }
   },
   setup(e) {
-    return (s, m) => (o(), t(a(e.name), {
-      class: n(e.name),
-      style: r({ fontSize: e.size + "px", color: e.color })
+    var o;
+    const a = e, t = c(((o = window.$theme) == null ? void 0 : o.color) || "");
+    return n(
+      () => a.color,
+      (r) => {
+        t.value = r;
+      },
+      { immediate: !0 }
+    ), (r, d) => (l(), s(m(e.name), {
+      class: i(e.name),
+      style: u({ fontSize: e.size + "px", color: t.value })
     }, null, 8, ["class", "style"]));
   }
-}, f = /* @__PURE__ */ l(c, [["__scopeId", "data-v-a031aafb"]]);
+}, z = /* @__PURE__ */ f(p, [["__scopeId", "data-v-4888dff0"]]);
 export {
-  f as default
+  z as default
 };

File diff suppressed because it is too large
+ 0 - 0
lib/js/index.js


File diff suppressed because it is too large
+ 0 - 6
lib/js/index2.js


Some files were not shown because too many files changed in this diff