@hlw-uni/mp-vue 2.1.69 → 2.1.70
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,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view :class="[theme, fontSizeClass, fontFamilyClass]"
|
|
3
|
-
<hlw-nav-bar :is-back="props.isBack" :title="title" :is-bar="props.isBar"></hlw-nav-bar>
|
|
2
|
+
<view :class="[theme, fontSizeClass, fontFamilyClass]">
|
|
3
|
+
<hlw-nav-bar v-if="isBar" :is-back="props.isBack" :title="title" :is-bar="props.isBar"></hlw-nav-bar>
|
|
4
4
|
<slot></slot>
|
|
5
5
|
</view>
|
|
6
6
|
</template>
|
|
@@ -69,29 +69,53 @@ const title = ref(props.title);
|
|
|
69
69
|
|
|
70
70
|
/* 全局字体样式配置 */
|
|
71
71
|
.font-family-system {
|
|
72
|
-
font-family:
|
|
73
|
-
|
|
72
|
+
font-family:
|
|
73
|
+
system-ui,
|
|
74
|
+
-apple-system,
|
|
75
|
+
BlinkMacSystemFont,
|
|
76
|
+
"Segoe UI",
|
|
77
|
+
Roboto,
|
|
78
|
+
Helvetica,
|
|
79
|
+
Arial,
|
|
80
|
+
sans-serif !important;
|
|
81
|
+
view,
|
|
82
|
+
text,
|
|
83
|
+
button,
|
|
84
|
+
input,
|
|
85
|
+
textarea {
|
|
74
86
|
font-family: inherit !important;
|
|
75
87
|
}
|
|
76
88
|
}
|
|
77
89
|
|
|
78
90
|
.font-family-sans {
|
|
79
91
|
font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif !important;
|
|
80
|
-
view,
|
|
92
|
+
view,
|
|
93
|
+
text,
|
|
94
|
+
button,
|
|
95
|
+
input,
|
|
96
|
+
textarea {
|
|
81
97
|
font-family: inherit !important;
|
|
82
98
|
}
|
|
83
99
|
}
|
|
84
100
|
|
|
85
101
|
.font-family-serif {
|
|
86
102
|
font-family: "Songti SC", "STSong", "SimSun", "Georgia", serif !important;
|
|
87
|
-
view,
|
|
103
|
+
view,
|
|
104
|
+
text,
|
|
105
|
+
button,
|
|
106
|
+
input,
|
|
107
|
+
textarea {
|
|
88
108
|
font-family: inherit !important;
|
|
89
109
|
}
|
|
90
110
|
}
|
|
91
111
|
|
|
92
112
|
.font-family-kaiti {
|
|
93
113
|
font-family: "Kaiti SC", "STKaiti", "KaiTi", "SimKai", serif !important;
|
|
94
|
-
view,
|
|
114
|
+
view,
|
|
115
|
+
text,
|
|
116
|
+
button,
|
|
117
|
+
input,
|
|
118
|
+
textarea {
|
|
95
119
|
font-family: inherit !important;
|
|
96
120
|
}
|
|
97
121
|
}
|