af-mobile-client-vue3 1.3.57 → 1.3.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.3.57",
4
+ "version": "1.3.58",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
package/src/App.vue CHANGED
@@ -1,5 +1,4 @@
1
1
  <script setup lang="ts">
2
- import type { ConfigProviderThemeVars } from 'vant'
3
2
  import NavBar from '@af-mobile-client-vue3/components/core/NavBar/index.vue'
4
3
  import Tabbar from '@af-mobile-client-vue3/components/core/Tabbar/index.vue'
5
4
  import { isDark, preferredDark } from '@af-mobile-client-vue3/composables/dark'
@@ -8,7 +7,7 @@ import { useHead } from '@unhead/vue'
8
7
  import {
9
8
  ConfigProvider as VanConfigProvider,
10
9
  } from 'vant/es'
11
- import { computed, reactive } from 'vue'
10
+ import { computed } from 'vue'
12
11
  import { appDescription, appName } from './constants'
13
12
 
14
13
  useHead({
@@ -41,14 +40,10 @@ const keepAliveRouteNames = computed(() => {
41
40
  const mode = computed(() => {
42
41
  return isDark.value ? 'dark' : 'light'
43
42
  })
44
-
45
- const themeVars: ConfigProviderThemeVars = reactive({
46
- baseFont: 'Inter, PingFang SC, serif',
47
- })
48
43
  </script>
49
44
 
50
45
  <template>
51
- <VanConfigProvider :theme="mode" :theme-vars="themeVars" theme-vars-scope="global">
46
+ <VanConfigProvider :theme="mode" theme-vars-scope="global">
52
47
  <NavBar />
53
48
  <router-view v-slot="{ Component }">
54
49
  <section class="app-wrapper">
@@ -63,6 +58,24 @@ const themeVars: ConfigProviderThemeVars = reactive({
63
58
 
64
59
  <style>
65
60
  @import './font-style/font.css';
61
+ body {
62
+ font-family:
63
+ Inter,
64
+ 'PingFang SC',
65
+ 'Microsoft YaHei UI',
66
+ system-ui,
67
+ -apple-system,
68
+ 'Segoe UI',
69
+ Roboto,
70
+ 'Helvetica Neue',
71
+ Arial,
72
+ 'Noto Sans',
73
+ 'Apple Color Emoji',
74
+ 'Segoe UI Emoji',
75
+ 'Segoe UI Symbol',
76
+ 'Noto Color Emoji',
77
+ sans-serif !important;
78
+ }
66
79
  input[type='password']::-ms-reveal {
67
80
  display: none;
68
81
  }
@@ -29,7 +29,9 @@
29
29
  font-weight: 400;
30
30
  font-display: swap;
31
31
  src: url('./Inter-Regular.woff2') format('woff2');
32
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
32
+ unicode-range:
33
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074,
34
+ U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
33
35
  }
34
36
 
35
37
  @font-face {
@@ -38,7 +40,9 @@
38
40
  font-weight: 500;
39
41
  font-display: swap;
40
42
  src: url('./Inter-Medium.woff2') format('woff2');
41
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
43
+ unicode-range:
44
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074,
45
+ U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
42
46
  }
43
47
 
44
48
  @font-face {
@@ -47,7 +51,9 @@
47
51
  font-weight: 600;
48
52
  font-display: swap;
49
53
  src: url('./Inter-SemiBold.woff2') format('woff2');
50
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
54
+ unicode-range:
55
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074,
56
+ U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
51
57
  }
52
58
 
53
59
  @font-face {
@@ -56,6 +62,7 @@
56
62
  font-weight: 700;
57
63
  font-display: swap;
58
64
  src: url('./Inter-Bold.woff2') format('woff2');
59
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
65
+ unicode-range:
66
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074,
67
+ U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
60
68
  }
61
-