@nutui/nutui 4.0.3-beta.2 → 4.0.4
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/CHANGELOG.md +43 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.umd.js +2 -2
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/PullRefresh.js +1 -2
- package/dist/packages/dialog/index.scss +8 -0
- package/dist/packages/tabs/index.scss +12 -0
- package/dist/smartips/web-types.json +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +55 -55
- package/dist/styles/themes/jdb.scss +55 -55
- package/dist/styles/themes/jddkh.scss +55 -55
- package/dist/styles/themes/jdt.scss +55 -55
- package/dist/types/index.d.ts +1 -1
- package/package.json +6 -1
|
@@ -104,7 +104,7 @@ const _sfc_main = create({
|
|
|
104
104
|
return [];
|
|
105
105
|
data.forEach((item) => {
|
|
106
106
|
if (!item.title) {
|
|
107
|
-
console.
|
|
107
|
+
console.warn("[NutUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, reactive, computed, watch,
|
|
1
|
+
import { ref, reactive, computed, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createBlock, createCommentVNode, toDisplayString, renderSlot } from "vue";
|
|
2
2
|
import { c as createComponent, l as getScrollTopRoot } from "./component-81a4c1d0.js";
|
|
3
3
|
import { u as useTouch } from "./index-7a7385e4.js";
|
|
4
4
|
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
@@ -151,7 +151,6 @@ const _sfc_main = create({
|
|
|
151
151
|
(val) => {
|
|
152
152
|
if (val) {
|
|
153
153
|
setPullStatus(+props.headHeight, true);
|
|
154
|
-
nextTick(() => emit("refresh"));
|
|
155
154
|
} else {
|
|
156
155
|
setPullStatus(0);
|
|
157
156
|
}
|
|
@@ -35,6 +35,12 @@
|
|
|
35
35
|
padding: 10px 0 !important;
|
|
36
36
|
width: $tabs-vertical-titles-width;
|
|
37
37
|
flex-shrink: 0;
|
|
38
|
+
.nut-tabs__list {
|
|
39
|
+
width: 100%;
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
}
|
|
38
44
|
&.scrollable {
|
|
39
45
|
overflow-x: hidden;
|
|
40
46
|
overflow-y: auto;
|
|
@@ -92,6 +98,12 @@
|
|
|
92
98
|
background: $tabs-titles-background-color;
|
|
93
99
|
border-radius: $tabs-titles-border-radius;
|
|
94
100
|
flex-shrink: 0;
|
|
101
|
+
.nut-tabs__list {
|
|
102
|
+
width: 100%;
|
|
103
|
+
height: $tabs-horizontal-titles-height;
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-shrink: 0;
|
|
106
|
+
}
|
|
95
107
|
&.large {
|
|
96
108
|
.nut-tabs__titles-item {
|
|
97
109
|
font-size: $tabs-titles-item-large-font-size;
|