vdesign-ui 0.2.5 → 0.2.6

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 (195) hide show
  1. package/package.json +1 -1
  2. package/dist/components/actionbar/index.js +0 -8
  3. package/dist/components/actionbar/index.vue +0 -39
  4. package/dist/components/actionbar/style.less +0 -44
  5. package/dist/components/actionbar-cell/index.js +0 -7
  6. package/dist/components/actionbar-cell/index.vue +0 -38
  7. package/dist/components/actions/index.js +0 -7
  8. package/dist/components/actions/index.vue +0 -76
  9. package/dist/components/actions/style.less +0 -109
  10. package/dist/components/actions-cell/index.js +0 -7
  11. package/dist/components/actions-cell/index.vue +0 -94
  12. package/dist/components/actions-cell/style.less +0 -39
  13. package/dist/components/activityviews/index.js +0 -8
  14. package/dist/components/activityviews/index.vue +0 -192
  15. package/dist/components/activityviews/style.less +0 -152
  16. package/dist/components/badge/index.js +0 -8
  17. package/dist/components/badge/index.vue +0 -49
  18. package/dist/components/badge/style.less +0 -54
  19. package/dist/components/button/index.js +0 -8
  20. package/dist/components/button/index.vue +0 -93
  21. package/dist/components/button/style.less +0 -558
  22. package/dist/components/calendar/end.png +0 -0
  23. package/dist/components/calendar/index-element.vue +0 -84
  24. package/dist/components/calendar/index.js +0 -8
  25. package/dist/components/calendar/index.vue +0 -52
  26. package/dist/components/calendar/start.png +0 -0
  27. package/dist/components/calendar/style.less +0 -138
  28. package/dist/components/checkbox/index.js +0 -8
  29. package/dist/components/checkbox/index.vue +0 -161
  30. package/dist/components/checkbox/style.less +0 -289
  31. package/dist/components/checkbox-group/index.js +0 -7
  32. package/dist/components/checkbox-group/index.vue +0 -69
  33. package/dist/components/common/state/index.vue +0 -33
  34. package/dist/components/common/state/style.less +0 -48
  35. package/dist/components/data-list/index.js +0 -10
  36. package/dist/components/data-list/index.vue +0 -19
  37. package/dist/components/data-list/style.less +0 -623
  38. package/dist/components/datetime-picker/index.js +0 -8
  39. package/dist/components/datetime-picker/index.vue +0 -37
  40. package/dist/components/datetime-picker/style.less +0 -24
  41. package/dist/components/dialog/index.js +0 -8
  42. package/dist/components/dialog/index.vue +0 -164
  43. package/dist/components/dialog/overlay-manager.js +0 -18
  44. package/dist/components/dialog/style.less +0 -139
  45. package/dist/components/divider/index.js +0 -8
  46. package/dist/components/divider/index.vue +0 -54
  47. package/dist/components/divider/style.less +0 -92
  48. package/dist/components/dropdown/index.js +0 -8
  49. package/dist/components/dropdown/index.vue +0 -218
  50. package/dist/components/dropdown/style.less +0 -432
  51. package/dist/components/empty/404-dark.png +0 -0
  52. package/dist/components/empty/404.png +0 -0
  53. package/dist/components/empty/index.js +0 -8
  54. package/dist/components/empty/index.vue +0 -138
  55. package/dist/components/empty/network-dark.png +0 -0
  56. package/dist/components/empty/network.png +0 -0
  57. package/dist/components/empty/nocoupons-dark.png +0 -0
  58. package/dist/components/empty/nocoupons.png +0 -0
  59. package/dist/components/empty/nodata-dark.png +0 -0
  60. package/dist/components/empty/nodata.png +0 -0
  61. package/dist/components/empty/nomargin-dark.png +0 -0
  62. package/dist/components/empty/nomargin.png +0 -0
  63. package/dist/components/empty/nonotice-dark.png +0 -0
  64. package/dist/components/empty/nonotice.png +0 -0
  65. package/dist/components/empty/noocomments-dark.png +0 -0
  66. package/dist/components/empty/noocomments.png +0 -0
  67. package/dist/components/empty/noorders-dark.png +0 -0
  68. package/dist/components/empty/noorders.png +0 -0
  69. package/dist/components/empty/noposition-dark.png +0 -0
  70. package/dist/components/empty/noposition.png +0 -0
  71. package/dist/components/empty/nosearch-dark.png +0 -0
  72. package/dist/components/empty/nosearch.png +0 -0
  73. package/dist/components/empty/style.less +0 -61
  74. package/dist/components/footer/index.js +0 -7
  75. package/dist/components/footer/index.vue +0 -33
  76. package/dist/components/footer/style.less +0 -21
  77. package/dist/components/footnav/index.js +0 -7
  78. package/dist/components/footnav/index.vue +0 -93
  79. package/dist/components/footnav/style.less +0 -23
  80. package/dist/components/footnav-item/index.js +0 -7
  81. package/dist/components/footnav-item/index.vue +0 -50
  82. package/dist/components/footnav-item/style.less +0 -39
  83. package/dist/components/form/index.js +0 -7
  84. package/dist/components/form/index.vue +0 -12
  85. package/dist/components/headnav/index.js +0 -7
  86. package/dist/components/headnav/index.vue +0 -185
  87. package/dist/components/headnav/style.less +0 -232
  88. package/dist/components/icon/font/iconfont.css +0 -163
  89. package/dist/components/icon/font/iconfont.js +0 -6
  90. package/dist/components/icon/index.js +0 -9
  91. package/dist/components/icon/index.vue +0 -96
  92. package/dist/components/icon/style.less +0 -44
  93. package/dist/components/input/calcTextareaHeight.js +0 -162
  94. package/dist/components/input/index.js +0 -8
  95. package/dist/components/input/index.vue +0 -345
  96. package/dist/components/input/style.less +0 -471
  97. package/dist/components/list/index.js +0 -8
  98. package/dist/components/list/index.vue +0 -152
  99. package/dist/components/list/style.less +0 -213
  100. package/dist/components/loading/index.js +0 -7
  101. package/dist/components/loading/index.vue +0 -68
  102. package/dist/components/loading/style.less +0 -54
  103. package/dist/components/mixins/clickoutside.js +0 -81
  104. package/dist/components/mixins/dom.js +0 -41
  105. package/dist/components/mixins/languageMixin.js +0 -41
  106. package/dist/components/mixins/outlineConfigPlugin.js +0 -45
  107. package/dist/components/mixins/router-link.js +0 -23
  108. package/dist/components/mixins/themeMixin.js +0 -43
  109. package/dist/components/noticebar/index.js +0 -8
  110. package/dist/components/noticebar/index.vue +0 -258
  111. package/dist/components/noticebar/style.less +0 -328
  112. package/dist/components/overlay/index.js +0 -8
  113. package/dist/components/overlay/index.vue +0 -184
  114. package/dist/components/overlay/style.less +0 -23
  115. package/dist/components/pagebreak/index.js +0 -7
  116. package/dist/components/pagebreak/index.vue +0 -67
  117. package/dist/components/pagebreak/style.less +0 -42
  118. package/dist/components/password/index.js +0 -8
  119. package/dist/components/password/index.vue +0 -60
  120. package/dist/components/popover/index.js +0 -8
  121. package/dist/components/popover/index.vue +0 -100
  122. package/dist/components/popover/style.less +0 -346
  123. package/dist/components/popover/vue-popover.vue +0 -314
  124. package/dist/components/popup/index.js +0 -7
  125. package/dist/components/popup/index.vue +0 -243
  126. package/dist/components/radio/index.js +0 -8
  127. package/dist/components/radio/index.vue +0 -184
  128. package/dist/components/radio/style.less +0 -294
  129. package/dist/components/radio-group/index.js +0 -6
  130. package/dist/components/radio-group/index.vue +0 -58
  131. package/dist/components/result/completed-dark.png +0 -0
  132. package/dist/components/result/completed.png +0 -0
  133. package/dist/components/result/error-dark.png +0 -0
  134. package/dist/components/result/error.png +0 -0
  135. package/dist/components/result/index.js +0 -8
  136. package/dist/components/result/index.vue +0 -73
  137. package/dist/components/result/style.less +0 -44
  138. package/dist/components/result/wait-dark.png +0 -0
  139. package/dist/components/result/wait.png +0 -0
  140. package/dist/components/search/index.js +0 -8
  141. package/dist/components/search/index.vue +0 -66
  142. package/dist/components/selector/index.js +0 -8
  143. package/dist/components/selector/index.vue +0 -161
  144. package/dist/components/selector/style.less +0 -484
  145. package/dist/components/skeleton/index.js +0 -7
  146. package/dist/components/skeleton/index.vue +0 -206
  147. package/dist/components/skeleton/style.less +0 -197
  148. package/dist/components/slider/draggable.js +0 -49
  149. package/dist/components/slider/index.js +0 -7
  150. package/dist/components/slider/index.vue +0 -167
  151. package/dist/components/slider/style.less +0 -100
  152. package/dist/components/slider/utils.js +0 -60
  153. package/dist/components/step/index.js +0 -7
  154. package/dist/components/step/index.vue +0 -48
  155. package/dist/components/step/style.less +0 -58
  156. package/dist/components/step-item/index.js +0 -7
  157. package/dist/components/step-item/index.vue +0 -126
  158. package/dist/components/step-item/style.less +0 -362
  159. package/dist/components/stepper/index.js +0 -8
  160. package/dist/components/stepper/index.vue +0 -146
  161. package/dist/components/style/index.vue +0 -42
  162. package/dist/components/switch/index.js +0 -8
  163. package/dist/components/switch/index.vue +0 -72
  164. package/dist/components/switch/style.less +0 -56
  165. package/dist/components/tab/index.js +0 -7
  166. package/dist/components/tab/index.vue +0 -53
  167. package/dist/components/tabs/index.js +0 -8
  168. package/dist/components/tabs/index.vue +0 -172
  169. package/dist/components/tabs/style.less +0 -377
  170. package/dist/components/tag/index.js +0 -7
  171. package/dist/components/tag/index.vue +0 -64
  172. package/dist/components/tag/style.less +0 -211
  173. package/dist/components/title/index.js +0 -8
  174. package/dist/components/title/index.vue +0 -99
  175. package/dist/components/title/style.less +0 -188
  176. package/dist/components/toast/index.js +0 -94
  177. package/dist/components/toast/index.vue +0 -49
  178. package/dist/components/toast/style.less +0 -55
  179. package/dist/components/transition/index.js +0 -8
  180. package/dist/components/transition/index.vue +0 -13
  181. package/dist/components/transition/style.less +0 -208
  182. package/dist/components/upload/index.js +0 -7
  183. package/dist/components/upload/index.vue +0 -106
  184. package/dist/components/upload/style.less +0 -147
  185. package/dist/components/utils/assist.js +0 -34
  186. package/dist/components/utils/env.js +0 -2
  187. package/dist/demo.html +0 -10
  188. package/dist/locale/ar.js +0 -98
  189. package/dist/locale/en.js +0 -98
  190. package/dist/locale/zh.js +0 -98
  191. package/dist/token.css +0 -2990
  192. package/dist/vdesign-ui.common.js +0 -27486
  193. package/dist/vdesign-ui.css +0 -1
  194. package/dist/vdesign-ui.umd.js +0 -27496
  195. package/dist/vdesign-ui.umd.min.js +0 -32
@@ -1,138 +0,0 @@
1
- <template>
2
- <div class="vd-empty" :class="wrapClasses">
3
- <div class="vd-empty__img" v-if="size !== 'card'">
4
- <slot name="image">
5
- <img :src="currentImage" alt="empty" />
6
- </slot>
7
- </div>
8
- <p class="vd-empty__txt" :class="textClasses" v-if="description || $slots.description">
9
- <slot name="description">
10
- {{ description }}
11
- </slot>
12
- </p>
13
- <div class="vd-empty__footer" :class="footerClasses" v-if="$slots.default">
14
- <slot></slot>
15
- </div>
16
- </div>
17
- </template>
18
-
19
- <script>
20
- import { themeMixin } from '../mixins/themeMixin';
21
- const prefixCls = 'vd-empty';
22
-
23
- export default {
24
- name: 'vd-empty',
25
- mixins: [themeMixin], // 引入混入
26
- props: {
27
- image: {
28
- type: String,
29
- default: 'nodata', // 默认类型
30
- validator(value) {
31
- // 只接受以下类型值
32
- return ['nodata', 'network', 'notfound','noposition','nomargin','nocoupons','nosearch','nonotice','noorders','noocomments'].includes(value);
33
- }
34
- },
35
- description: String,
36
- size: {
37
- type:String,
38
- default: 'large', // 大场景布局,使用L尺寸 小场景内容居中使用 S 尺寸 card(空状态>1 时,不显示图片,只显示暂无数据的文字)
39
- },
40
- },
41
- data() {
42
- return {
43
- defaultImages: {
44
- nodata: {
45
- light: require('./nodata.png'),
46
- dark: require('./nodata-dark.png')
47
- },
48
- network: {
49
- light: require('./network.png'),
50
- dark: require('./network-dark.png')
51
- },
52
- notfound: {
53
- light: require('./404.png'),
54
- dark: require('./404-dark.png')
55
- },
56
- noposition: {
57
- light: require('./noposition.png'),
58
- dark: require('./noposition-dark.png')
59
- },
60
- nomargin: {
61
- light: require('./nomargin.png'),
62
- dark: require('./nomargin-dark.png')
63
- },
64
- nocoupons: {
65
- light: require('./nocoupons.png'),
66
- dark: require('./nocoupons-dark.png')
67
- },
68
- nosearch: {
69
- light: require('./nosearch.png'),
70
- dark: require('./nosearch-dark.png')
71
- },
72
- nonotice: {
73
- light: require('./nonotice.png'),
74
- dark: require('./nonotice-dark.png')
75
- },
76
- noorders: {
77
- light: require('./noorders.png'),
78
- dark: require('./noorders-dark.png')
79
- },
80
- noocomments: {
81
- light: require('./noocomments.png'),
82
- dark: require('./noocomments-dark.png')
83
- },
84
- }
85
- }
86
- },
87
- computed: {
88
- currentImage() {
89
- const image = this.image;
90
- if (image && (image.startsWith('http') || image.startsWith('data:image'))) {
91
- return image;
92
- } else if (this.defaultImages[image]) {
93
- return this.defaultImages[image][this.theme];
94
- } else {
95
- return this.defaultImages['nodata'][this.theme];
96
- }
97
- },
98
- wrapClasses() {
99
- return [
100
- {
101
- [`${prefixCls}--${this.size}`]: this.size
102
- }
103
- ]
104
- },
105
- textClasses() {
106
- return [
107
- {
108
- [`${prefixCls}--${this.size}__txt`]: this.size
109
- }
110
- ]
111
- },
112
- footerClasses() {
113
- return [
114
- {
115
- [`${prefixCls}--${this.size}__footer`]: this.size
116
- }
117
- ]
118
- }
119
- },
120
- methods: {
121
- preloadImages() {
122
- Object.values(this.defaultImages).forEach((modes) => {
123
- Object.values(modes).forEach((src) => {
124
- const img = new Image();
125
- img.src = src;
126
- });
127
- });
128
- }
129
- },
130
- mounted() {
131
- this.preloadImages();
132
- },
133
- }
134
- </script>
135
-
136
- <style lang="less">
137
- @import './style.less';
138
- </style>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,61 +0,0 @@
1
- @empty-prefix-cls: vd-empty;
2
-
3
- .@{empty-prefix-cls} {
4
- display: flex;
5
- flex-direction: column;
6
- justify-content: center;
7
- align-items: center;
8
- box-sizing: border-box;
9
- padding: 0 20px;
10
-
11
- &__img {
12
- width: 164px;
13
- height: 118px;
14
-
15
- img {
16
- width: 100%;
17
- height: 100%;
18
- }
19
- }
20
-
21
- &__txt {
22
- font-size: var(--en-single-f-d-r-fontSize);
23
- font-weight: var(--en-single-f-d-r-fontWeight);
24
- color: var(--color-empty-text);
25
- }
26
-
27
- &__footer {
28
- display: flex;
29
- justify-content: center;
30
- }
31
-
32
- &--small {
33
- &__txt {
34
- margin-block-start: var(--spacing-empty-small-text-margin_top);
35
- }
36
-
37
- &__footer {
38
- margin-block-start: var(--spacing-empty-small-text-margin_bottom);
39
- }
40
- }
41
-
42
- &--large {
43
- &__txt {
44
- margin-block-start: var(--spacing-empty-large-text-margin_top);
45
- }
46
-
47
- &__footer {
48
- margin-block-start: var(--spacing-empty-large-text-margin_bottom);
49
- }
50
- }
51
-
52
- &--card {
53
- height: var(--height-empty-card);
54
-
55
- &__txt {
56
- margin-block-start: 0;
57
- font-size: var(--en-single-f-c-r-fontSize);
58
- font-weight: var(--en-single-f-c-r-fontWeight);
59
- }
60
- }
61
- }
@@ -1,7 +0,0 @@
1
- import Footer from './index.vue';
2
- import './style.less';
3
- Footer.install = function(Vue) {
4
- Vue.component(Footer.name, Footer)
5
- }
6
-
7
- export default Footer;
@@ -1,33 +0,0 @@
1
- <template>
2
- <div class="vd-footer">
3
- <div class="vd-footer__link" v-if="$slots.default">
4
- <slot>
5
- </slot>
6
- </div>
7
- <div class="vd-footer__text" v-if="text || $slots.text">
8
- <slot name="text">
9
- {{ text }}
10
- </slot>
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
- export default {
17
- name: 'vd-footer',
18
- props: {
19
- text: {
20
- type: String,
21
- default: ''
22
- }
23
-
24
- },
25
- computed: {
26
-
27
- }
28
- }
29
- </script>
30
-
31
- <style lang="less">
32
- @import './style.less';
33
- </style>
@@ -1,21 +0,0 @@
1
- @footer-prefix-cls: vd-footer;
2
-
3
- .@{footer-prefix-cls} {
4
- display: flex;
5
- align-items: center;
6
- flex-direction: column;
7
- justify-content: center;
8
- padding: var(--spacing-footer-padding_top) 0 var(--spacing-footer-padding_bottom);
9
-
10
- &__link {
11
- display: flex;
12
- align-items: center;
13
- margin-block-end: var(--spacing-footer-link-margin_bottom);
14
- }
15
-
16
- &__text {
17
- font-size: var(--en-single-f-b-r-fontSize);
18
- font-weight: var(--en-single-f-b-r-fontWeight);
19
- color: var(--text-color-h2);
20
- }
21
- }
@@ -1,7 +0,0 @@
1
- import FootNav from './index.vue';
2
- import './style.less';
3
- FootNav.install = function(Vue) {
4
- Vue.component(FootNav.name, FootNav)
5
- }
6
-
7
- export default FootNav;
@@ -1,93 +0,0 @@
1
- <template>
2
- <div class="vd-foot-nav--placeholder" :style="{height:height + 'px'}">
3
- <div class="vd-foot-nav" ref="footNav"
4
- :class="{ 'vd-foot-nav--fixed': fixed, 'vd-hairline--top': border, 'vd-foot-nav--unfit': !this.fit }"
5
- :style="style">
6
- <slot></slot>
7
- </div>
8
- </div>
9
- </template>
10
-
11
- <script>
12
- import { inBrowser } from '../utils/env'
13
- export default {
14
- name: 'vd-foot-nav',
15
- props: {
16
- value: Number,
17
- fixed: {
18
- type: Boolean,
19
- default: true
20
- },
21
- border: {
22
- type: Boolean,
23
- default: true
24
- },
25
- zIndex: {
26
- type: [Number, String],
27
- default: 1,
28
- },
29
- safeAreaInsetBottom: {
30
- type: Boolean,
31
- default: null,
32
- },
33
- placeholder: Boolean,
34
- beforeChange: {
35
- type: Function,
36
- default: null,
37
- },
38
- },
39
- computed: {
40
- fit() {
41
- return this.safeAreaInsetBottom !== null ? this.safeAreaInsetBottom : this.fixed;
42
- },
43
- style() {
44
- return {
45
- zIndex: this.zIndex
46
- };
47
- }
48
- },
49
- data() {
50
- return {
51
- height: 0,
52
- }
53
- },
54
- watch: {
55
- },
56
- methods: {
57
- async onChange(active) {
58
- // 处理 before-change 回调,允许用户决定是否切换
59
- if (this.beforeChange) {
60
- const canChange = await this.beforeChange(active);
61
- if (!canChange) return;
62
- }
63
-
64
- if (active !== this.value) {
65
- this.$emit('input', active);
66
- this.$emit('change', active);
67
- }
68
- },
69
- setHeight() {
70
- if (this.$refs.footNav) {
71
- this.height = this.$refs.footNav.getBoundingClientRect().height;
72
- }
73
- },
74
- },
75
- mounted() {
76
- if (inBrowser && this.placeholder && this.fixed) {
77
- this.setHeight();
78
- const resizeHandler = () => {
79
- requestAnimationFrame(this.setHeight); // 使用 requestAnimationFrame 优化性能
80
- };
81
-
82
- // setHeight();
83
- window.addEventListener('resize', resizeHandler);
84
- this.$once('hook:beforeDestroy', () => window.removeEventListener('resize', resizeHandler));
85
- }
86
- }
87
-
88
- }
89
- </script>
90
-
91
- <style lang="less">
92
- @import './style.less';
93
- </style>
@@ -1,23 +0,0 @@
1
- @footnav-prefix-cls: vd-foot-nav;
2
-
3
- .@{footnav-prefix-cls} {
4
- width: 100%;
5
- display: flex;
6
- padding: 4px var(--spacing-footnav-icon-margin_bottom);
7
- height: var(--height-footnav-content);
8
- background-color: var(--color-footnav-bg);
9
- padding-bottom: constant(safe-area-inset-bottom);
10
- padding-bottom: env(safe-area-inset-bottom);
11
-
12
- &--fixed {
13
- position: fixed;
14
- bottom: 0;
15
- left: 0;
16
- width: 100%;
17
- z-index: 1;
18
- }
19
-
20
- &--unfit {
21
- padding-bottom: 0;
22
- }
23
- }
@@ -1,7 +0,0 @@
1
- import FootNavItem from './index.vue';
2
- import './style.less';
3
- FootNavItem.install = function(Vue) {
4
- Vue.component(FootNavItem.name, FootNavItem)
5
- }
6
-
7
- export default FootNavItem;
@@ -1,50 +0,0 @@
1
- <template>
2
- <div class="vd-foot-nav-item" :class="{ 'vd-foot-nav-item--active': isActive }" @click="onClick">
3
- <vd-badge v-if="iconName|| $slots.icon" :is-dot="dot" :value="badge" :max="99">
4
- <slot name="icon"><vd-icon :name="iconName" size="large"></vd-icon></slot>
5
- </vd-badge>
6
- <slot></slot>
7
- </div>
8
- </template>
9
-
10
- <script>
11
-
12
- import RouterLink from '../mixins/router-link';
13
- import VdIcon from '../icon';
14
- import VdBadge from '../badge';
15
-
16
- export default {
17
- name: 'vd-foot-nav-item',
18
- components: {
19
- VdIcon,
20
- VdBadge
21
- },
22
- mixins: [RouterLink],
23
- props: {
24
- iconName: String,
25
- dot: Boolean,
26
- badge: [Number, String],
27
- },
28
- computed: {
29
- isActive() {
30
- return this.$parent.value === this.$parent.$slots.default.indexOf(this.$vnode);
31
- },
32
- },
33
- data() {
34
- return {
35
- };
36
- },
37
- methods: {
38
- onClick(event) {
39
- const index = this.$parent.$slots.default.indexOf(this.$vnode);
40
- this.$parent.onChange(index);
41
- this.$emit('click', event);
42
- this.routerLink();
43
- },
44
- }
45
- }
46
- </script>
47
-
48
- <style lang="less">
49
- @import './style.less';
50
- </style>
@@ -1,39 +0,0 @@
1
- @footnav-item-prefix-cls: vd-foot-nav-item;
2
-
3
- .@{footnav-item-prefix-cls} {
4
- flex: 1;
5
- display: flex;
6
- align-items: center;
7
- flex-direction: column;
8
- justify-content: center;
9
- font-size: var(--en-single-f-a-r-fontSize);
10
- font-weight: var(--en-single-f-a-r-fontWeight);
11
- color: var(--color-footnav-text-default);
12
-
13
- .vd-iconfont {
14
- margin-bottom: 2px;
15
- font-size: var(--icon-footnav-size);
16
- color: var(--text-color-h2);
17
- }
18
-
19
- &:active {
20
- border-color: transparent;
21
- background-color: transparent;
22
- color: var(--color-button-border-text-press);
23
- }
24
-
25
- &--active {
26
- color: var(--color-footnav-text-active);
27
-
28
- .vd-iconfont {
29
- color: var(--color-footnav-text-active);
30
- }
31
- }
32
-
33
- .vd-badge {
34
- .is-fixed {
35
- top: 4px;
36
- right: 4px;
37
- }
38
- }
39
- }
@@ -1,7 +0,0 @@
1
- import Form from './index.vue';
2
- import './style.less';
3
- Form.install = function(Vue) {
4
- Vue.component(Form.name, Form)
5
- }
6
-
7
- export default Form;
@@ -1,12 +0,0 @@
1
- <template>
2
- <div class="vd-form"></div>
3
- </template>
4
-
5
- <script>
6
-
7
- export default {
8
- name: 'vd-form',
9
- }
10
- </script>
11
-
12
- <style lang="less"></style>
@@ -1,7 +0,0 @@
1
- import HeadNav from './index.vue';
2
- import './style.less';
3
- HeadNav.install = function(Vue) {
4
- Vue.component(HeadNav.name, HeadNav)
5
- }
6
-
7
- export default HeadNav;