cbvirtua 1.0.9 → 1.0.11

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.
Files changed (63) hide show
  1. package/package.json +1 -1
  2. package/vant/style/README.md +79 -0
  3. package/vant/style/README.zh-CN.md +79 -0
  4. package/vant/style/animation.less +139 -0
  5. package/vant/style/base.less +10 -0
  6. package/vant/style/clearfix.less +5 -0
  7. package/vant/style/demo/index.vue +110 -0
  8. package/vant/style/ellipsis.less +13 -0
  9. package/vant/style/hairline.less +47 -0
  10. package/vant/style/mixins/clearfix.less +7 -0
  11. package/vant/style/mixins/ellipsis.less +15 -0
  12. package/vant/style/mixins/hairline.less +39 -0
  13. package/vant/style/normalize.less +38 -0
  14. package/vant/style/reset.less +171 -0
  15. package/vant/style/var.less +901 -0
  16. package/vant/tab/README.md +307 -0
  17. package/vant/tab/README.zh-CN.md +342 -0
  18. package/vant/tab/demo/index.vue +193 -0
  19. package/vant/tab/index.js +95 -0
  20. package/vant/tab/index.less +17 -0
  21. package/vant/tab/test/__snapshots__/demo.spec.js.snap +349 -0
  22. package/vant/tab/test/__snapshots__/index.spec.js.snap +352 -0
  23. package/vant/tab/test/__snapshots__/insert.spec.js.snap +63 -0
  24. package/vant/tab/test/demo.spec.js +4 -0
  25. package/vant/tab/test/index.spec.js +435 -0
  26. package/vant/tab/test/insert.spec.js +75 -0
  27. package/vant/tabs/Content.js +79 -0
  28. package/vant/tabs/Title.js +91 -0
  29. package/vant/tabs/index.js +453 -0
  30. package/vant/tabs/index.less +153 -0
  31. package/vant/tabs/utils.ts +53 -0
  32. package/vant/utils/constant.ts +11 -0
  33. package/vant/utils/create/bem.ts +45 -0
  34. package/vant/utils/create/component.ts +86 -0
  35. package/vant/utils/create/i18n.ts +16 -0
  36. package/vant/utils/create/index.ts +14 -0
  37. package/vant/utils/deep-assign.ts +27 -0
  38. package/vant/utils/deep-clone.ts +23 -0
  39. package/vant/utils/dom/event.ts +56 -0
  40. package/vant/utils/dom/node.ts +7 -0
  41. package/vant/utils/dom/raf.ts +40 -0
  42. package/vant/utils/dom/reset-scroll.ts +16 -0
  43. package/vant/utils/dom/scroll.ts +81 -0
  44. package/vant/utils/dom/style.ts +11 -0
  45. package/vant/utils/format/number.ts +52 -0
  46. package/vant/utils/format/string.ts +15 -0
  47. package/vant/utils/format/unit.ts +61 -0
  48. package/vant/utils/functional.ts +73 -0
  49. package/vant/utils/index.ts +79 -0
  50. package/vant/utils/interceptor.ts +27 -0
  51. package/vant/utils/router.ts +54 -0
  52. package/vant/utils/test/bem.spec.js +39 -0
  53. package/vant/utils/test/index.spec.js +152 -0
  54. package/vant/utils/test/interceptor.spec.js +50 -0
  55. package/vant/utils/types.ts +40 -0
  56. package/vant/utils/validate/date.ts +8 -0
  57. package/vant/utils/validate/email.ts +5 -0
  58. package/vant/utils/validate/mobile.ts +6 -0
  59. package/vant/utils/validate/number.ts +12 -0
  60. package/vant/utils/validate/system.ts +13 -0
  61. package/vant/utils/vnodes.ts +33 -0
  62. package/vue2/ex.vue +66 -0
  63. package/vue2/exx.vue +44 -0
@@ -0,0 +1,171 @@
1
+ @import './var';
2
+
3
+ html,
4
+ body,
5
+ div,
6
+ span,
7
+ applet,
8
+ object,
9
+ iframe,
10
+ h1,
11
+ h2,
12
+ h3,
13
+ h4,
14
+ h5,
15
+ h6,
16
+ p,
17
+ blockquote,
18
+ pre,
19
+ a,
20
+ abbr,
21
+ acronym,
22
+ address,
23
+ big,
24
+ cite,
25
+ code,
26
+ del,
27
+ dfn,
28
+ em,
29
+ img,
30
+ ins,
31
+ kbd,
32
+ q,
33
+ s,
34
+ samp,
35
+ small,
36
+ strike,
37
+ strong,
38
+ sub,
39
+ sup,
40
+ tt,
41
+ var,
42
+ b,
43
+ u,
44
+ i,
45
+ center,
46
+ dl,
47
+ dt,
48
+ dd,
49
+ ol,
50
+ ul,
51
+ li,
52
+ fieldset,
53
+ form,
54
+ label,
55
+ legend,
56
+ table,
57
+ caption,
58
+ tbody,
59
+ tfoot,
60
+ thead,
61
+ tr,
62
+ th,
63
+ td,
64
+ article,
65
+ aside,
66
+ canvas,
67
+ details,
68
+ embed,
69
+ figure,
70
+ figcaption,
71
+ footer,
72
+ header,
73
+ hgroup,
74
+ menu,
75
+ nav,
76
+ output,
77
+ ruby,
78
+ section,
79
+ summary,
80
+ time,
81
+ mark,
82
+ audio,
83
+ video {
84
+ margin: 0;
85
+ padding: 0;
86
+ font: inherit;
87
+ font-size: 100%;
88
+ vertical-align: baseline;
89
+ border: 0;
90
+ }
91
+
92
+ html {
93
+ line-height: 1;
94
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
95
+ }
96
+
97
+ ol,
98
+ ul {
99
+ list-style: none;
100
+ }
101
+
102
+ table {
103
+ border-collapse: collapse;
104
+ border-spacing: 0;
105
+ }
106
+
107
+ caption,
108
+ th,
109
+ td {
110
+ font-weight: normal;
111
+ vertical-align: middle;
112
+ }
113
+
114
+ q,
115
+ blockquote {
116
+ quotes: none;
117
+ }
118
+
119
+ q::before,
120
+ q::after,
121
+ blockquote::before,
122
+ blockquote::after {
123
+ content: '';
124
+ content: none;
125
+ }
126
+
127
+ a img {
128
+ border: none;
129
+ }
130
+
131
+ article,
132
+ aside,
133
+ details,
134
+ figcaption,
135
+ figure,
136
+ footer,
137
+ header,
138
+ hgroup,
139
+ menu,
140
+ nav,
141
+ section,
142
+ summary {
143
+ display: block;
144
+ }
145
+
146
+ * {
147
+ box-sizing: content-box;
148
+ }
149
+
150
+ body {
151
+ color: @text-color;
152
+ background-color: @background-color;
153
+ }
154
+
155
+ a {
156
+ text-decoration: none;
157
+ background: transparent;
158
+ }
159
+
160
+ button,
161
+ input[type='number'],
162
+ input[type='text'],
163
+ input[type='password'],
164
+ input[type='email'],
165
+ input[type='search'],
166
+ select,
167
+ textarea {
168
+ margin: 0;
169
+ font-family: inherit;
170
+ -webkit-appearance: none;
171
+ }