@10yun/cv-mobile-ui 0.4.1 → 0.4.2

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 (112) hide show
  1. package/package.json +1 -1
  2. package/ui-cv/cv-badge/{uni-badge.vue → cv-badge.vue} +2 -2
  3. package/ui-cv/cv-calendar/calendar.js +762 -345
  4. package/ui-cv/cv-calendar/cv-calendar-item.vue +198 -0
  5. package/ui-cv/cv-calendar/cv-calendar.vue +508 -0
  6. package/ui-cv/cv-card/cv-card.vue +427 -0
  7. package/ui-cv/cv-col/cv-col.vue +2965 -0
  8. package/ui-cv/cv-collapse/cv-collapse.vue +146 -0
  9. package/ui-cv/cv-collapse-item/cv-collapse-item.vue +395 -0
  10. package/ui-cv/cv-combox/cv-combox.vue +250 -0
  11. package/ui-cv/cv-countdown/cv-countdown.vue +245 -0
  12. package/ui-cv/cv-data-checkbox/cv-data-checkbox.vue +841 -0
  13. package/ui-cv/cv-data-indexed-list/cv-data-indexed-list-item.vue +154 -0
  14. package/ui-cv/cv-data-indexed-list/cv-data-indexed-list.vue +376 -0
  15. package/ui-cv/cv-data-picker/cv-data-picker.vue +486 -0
  16. package/ui-cv/cv-data-pickerview/{uni-data-picker.js → cv-data-picker.js} +0 -0
  17. package/ui-cv/cv-data-pickerview/cv-data-pickerview.vue +304 -0
  18. package/ui-cv/cv-dateformat/cv-dateformat.vue +86 -0
  19. package/ui-cv/cv-datetime-picker/calendar.vue +752 -738
  20. package/ui-cv/cv-datetime-picker/cv-datetime-picker.vue +958 -0
  21. package/ui-cv/cv-datetime-picker/time-picker.vue +900 -892
  22. package/ui-cv/cv-easyinput/cv-easyinput.vue +514 -0
  23. package/ui-cv/cv-fab/cv-fab.vue +465 -0
  24. package/ui-cv/cv-fab/{uni-fab.vue.bak → cv-fab.vue.bak} +2 -2
  25. package/ui-cv/cv-fav/cv-fav.vue +150 -0
  26. package/ui-cv/cv-file-picker/cv-file-picker.vue +619 -0
  27. package/ui-cv/cv-form-item/cv-form-item.vue +1 -1
  28. package/ui-cv/cv-goods-nav/{uni-goods-nav.vue → cv-goods-nav.vue} +1 -1
  29. package/ui-cv/{cv-icons2/cv-icons2.vue → cv-icon2/cv-icon2.vue} +3 -3
  30. package/ui-cv/{cv-icons2 → cv-icon2}/icons.js +0 -0
  31. package/ui-cv/{cv-icons2 → cv-icon2}/uni.ttf +0 -0
  32. package/ui-cv/cv-indexed-list/cv-indexed-list-item.vue +154 -0
  33. package/ui-cv/cv-indexed-list/cv-indexed-list.vue +371 -0
  34. package/ui-cv/cv-input-password/cv-input-password.vue +2 -2
  35. package/ui-cv/{cv-link/uni-link.vue → cv-link2/cv-link2.vue} +1 -1
  36. package/ui-cv/cv-list/cv-list.vue +107 -0
  37. package/ui-cv/cv-list/cv-refresh.vue +65 -0
  38. package/ui-cv/cv-list-ad/cv-list-ad.vue +113 -0
  39. package/ui-cv/cv-list-chat/{uni-list-chat.scss → cv-list-chat.scss} +0 -0
  40. package/ui-cv/cv-list-chat/{uni-list-chat.vue → cv-list-chat.vue} +0 -0
  41. package/ui-cv/cv-list-item/cv-list-item.vue +449 -0
  42. package/ui-cv/cv-nav-bar/cv-nav-bar.vue +256 -0
  43. package/ui-cv/cv-nav-bar/{uni-status-bar.vue → cv-status-bar.vue} +0 -0
  44. package/ui-cv/cv-notice-bar/cv-notice-bar.vue +453 -0
  45. package/ui-cv/cv-number-box/cv-number-box.vue +223 -0
  46. package/ui-cv/cv-pagination/cv-pagination.vue +397 -0
  47. package/ui-cv/cv-popup/cv-popup.vue +429 -0
  48. package/ui-cv/cv-popup-dialog/{uni-popup-dialog.vue → cv-popup-dialog.vue} +0 -0
  49. package/ui-cv/cv-popup-message/cv-popup-message.vue +143 -0
  50. package/ui-cv/cv-popup-share/{uni-popup-share.vue → cv-popup-share.vue} +0 -0
  51. package/ui-cv/cv-row/{uni-row.vue → cv-row.vue} +1 -1
  52. package/ui-cv/cv-search-bar/cv-search-bar.vue +280 -0
  53. package/ui-cv/cv-section/{uni-section.vue → cv-section.vue} +0 -0
  54. package/ui-cv/cv-segmented-control/{uni-segmented-control.vue → cv-segmented-control.vue} +0 -0
  55. package/ui-cv/cv-status-bar/{uni-status-bar.vue → cv-status-bar.vue} +0 -0
  56. package/ui-cv/cv-steps/cv-steps.vue +293 -0
  57. package/ui-cv/cv-swipe-action/{uni-swipe-action.vue → cv-swipe-action.vue} +0 -0
  58. package/ui-cv/cv-swipe-action-item/{uni-swipe-action-item.vue → cv-swipe-action-item.vue} +0 -0
  59. package/ui-cv/cv-swiper-dot/cv-swiper-dot.vue +255 -0
  60. package/ui-cv/cv-table/cv-table.vue +460 -0
  61. package/ui-cv/cv-tag/cv-tag.vue +276 -0
  62. package/ui-cv/cv-tbody/cv-tbody.vue +28 -0
  63. package/ui-cv/cv-td/cv-td.vue +93 -0
  64. package/ui-cv/cv-test/{uni-test.vue → cv-test.vue} +0 -0
  65. package/ui-cv/cv-th/cv-th.vue +270 -0
  66. package/ui-cv/cv-thead/cv-thead.vue +114 -0
  67. package/ui-cv/cv-title/cv-title.vue +168 -0
  68. package/ui-cv/cv-tr/cv-tr.vue +166 -0
  69. package/ui-cv/cv-transition/cv-transition.vue +279 -0
  70. package/ui-cv/cv-calendar/uni-calendar-item.vue +0 -171
  71. package/ui-cv/cv-calendar/uni-calendar.vue +0 -504
  72. package/ui-cv/cv-card/uni-card.vue +0 -420
  73. package/ui-cv/cv-col/uni-col.vue +0 -2968
  74. package/ui-cv/cv-collapse/uni-collapse.vue +0 -146
  75. package/ui-cv/cv-collapse-item/uni-collapse-item.vue +0 -378
  76. package/ui-cv/cv-combox/uni-combox.vue +0 -237
  77. package/ui-cv/cv-countdown/uni-countdown.vue +0 -234
  78. package/ui-cv/cv-data-checkbox/uni-data-checkbox.vue +0 -792
  79. package/ui-cv/cv-data-indexed-list/uni-data-indexed-list-item.vue +0 -142
  80. package/ui-cv/cv-data-indexed-list/uni-data-indexed-list.vue +0 -364
  81. package/ui-cv/cv-data-picker/uni-data-picker.vue +0 -468
  82. package/ui-cv/cv-data-pickerview/uni-data-pickerview.vue +0 -298
  83. package/ui-cv/cv-dateformat/uni-dateformat.vue +0 -88
  84. package/ui-cv/cv-datetime-picker/uni-datetime-picker.vue +0 -874
  85. package/ui-cv/cv-easyinput/uni-easyinput.vue +0 -438
  86. package/ui-cv/cv-fab/uni-fab.vue +0 -443
  87. package/ui-cv/cv-fav/uni-fav.vue +0 -136
  88. package/ui-cv/cv-file-picker/uni-file-picker.vue +0 -614
  89. package/ui-cv/cv-indexed-list/uni-indexed-list-item.vue +0 -142
  90. package/ui-cv/cv-indexed-list/uni-indexed-list.vue +0 -357
  91. package/ui-cv/cv-list/uni-list.vue +0 -107
  92. package/ui-cv/cv-list/uni-refresh.vue +0 -65
  93. package/ui-cv/cv-list-ad/uni-list-ad.vue +0 -106
  94. package/ui-cv/cv-list-item/uni-list-item.vue +0 -428
  95. package/ui-cv/cv-nav-bar/uni-nav-bar.vue +0 -244
  96. package/ui-cv/cv-notice-bar/uni-notice-bar.vue +0 -394
  97. package/ui-cv/cv-number-box/uni-number-box.vue +0 -224
  98. package/ui-cv/cv-pagination/uni-pagination.vue +0 -376
  99. package/ui-cv/cv-popup/uni-popup.vue +0 -412
  100. package/ui-cv/cv-popup-message/uni-popup-message.vue +0 -143
  101. package/ui-cv/cv-search-bar/uni-search-bar.vue +0 -262
  102. package/ui-cv/cv-steps/uni-steps.vue +0 -250
  103. package/ui-cv/cv-swiper-dot/uni-swiper-dot.vue +0 -205
  104. package/ui-cv/cv-table/uni-table.vue +0 -455
  105. package/ui-cv/cv-tag/uni-tag.vue +0 -283
  106. package/ui-cv/cv-tbody/uni-tbody.vue +0 -30
  107. package/ui-cv/cv-td/uni-td.vue +0 -88
  108. package/ui-cv/cv-th/uni-th.vue +0 -259
  109. package/ui-cv/cv-thead/uni-thead.vue +0 -114
  110. package/ui-cv/cv-title/uni-title.vue +0 -171
  111. package/ui-cv/cv-tr/uni-tr.vue +0 -156
  112. package/ui-cv/cv-transition/uni-transition.vue +0 -287
@@ -1,106 +0,0 @@
1
- <template>
2
- <!-- #ifdef APP-NVUE -->
3
- <cell>
4
- <!-- #endif -->
5
- <view class="uni-list-ad">
6
- <view v-if="borderShow" :class="{'uni-list--border':border,'uni-list-item--first':isFirstChild}"></view>
7
- <ad style="width: 200px;height: 300px;border-width: 1px;border-color: red;border-style: solid;" adpid="1111111111" unit-id="" appid="" apid="" type="feed" @error="aderror" @close="closeAd"></ad>
8
- </view>
9
- <!-- #ifdef APP-NVUE -->
10
- </cell>
11
- <!-- #endif -->
12
-
13
- </template>
14
-
15
- <script>
16
- // #ifdef APP-NVUE
17
- const dom = uni.requireNativePlugin('dom');
18
- // #endif
19
- export default {
20
- name: 'UniListAd',
21
- props: {
22
- title: {
23
- type: String,
24
- default: '',
25
-
26
- }
27
- },
28
- // inject: ['list'],
29
- data() {
30
- return {
31
- isFirstChild: false,
32
- border: false,
33
- borderShow: true,
34
- }
35
- },
36
-
37
- mounted() {
38
- this.list = this.getForm()
39
- if (this.list) {
40
- if (!this.list.firstChildAppend) {
41
- this.list.firstChildAppend = true
42
- this.isFirstChild = true
43
- }
44
- this.border = this.list.border
45
- }
46
- },
47
- methods: {
48
- /**
49
- * 获取父元素实例
50
- */
51
- getForm(name = 'uniList') {
52
- let parent = this.$parent;
53
- let parentName = parent.$options.name;
54
- while (parentName !== name) {
55
- parent = parent.$parent;
56
- if (!parent) return false
57
- parentName = parent.$options.name;
58
- }
59
- return parent;
60
- },
61
- aderror(e) {
62
- console.log("aderror: " + JSON.stringify(e.detail));
63
- },
64
- closeAd(e) {
65
- this.borderShow = false
66
- }
67
- }
68
- }
69
- </script>
70
-
71
- <style scoped>
72
- .uni-list-ad {
73
- position: relative;
74
- border: 1px red solid;
75
- }
76
-
77
- .uni-list--border {
78
- position: relative;
79
- padding-bottom: 1px;
80
- /* #ifdef APP-PLUS */
81
- border-top-color: #e5e5e5;
82
- border-top-style: solid;
83
- border-top-width: 0.5px;
84
- /* #endif */
85
- margin-left: 15px;
86
- }
87
-
88
- /* #ifndef APP-NVUE */
89
- .uni-list--border:after {
90
- position: absolute;
91
- top: 0;
92
- right: 0;
93
- left: 0;
94
- height: 1px;
95
- content: "";
96
- -webkit-transform: scaleY(0.5);
97
- transform: scaleY(0.5);
98
- background-color: #e5e5e5;
99
- }
100
-
101
- .uni-list-item--first:after {
102
- height: 0px;
103
- }
104
-
105
- /* #endif */
106
- </style>
@@ -1,428 +0,0 @@
1
- <template>
2
- <!-- #ifdef APP-NVUE -->
3
- <cell>
4
- <!-- #endif -->
5
-
6
- <view :class="{ 'uni-list-item--disabled': disabled }" :hover-class="(!clickable && !link) || disabled || showSwitch ? '' : 'uni-list-item--hover'" class="uni-list-item" @click="onClick">
7
- <view v-if="!isFirstChild" class="border--left" :class="{ 'uni-list--border': border }"></view>
8
- <view class="uni-list-item__container" :class="{ 'container--right': showArrow || link, 'flex--direction': direction === 'column' }">
9
- <slot name="header">
10
- <view class="uni-list-item__header">
11
- <view v-if="thumb" class="uni-list-item__icon">
12
- <image :src="thumb" class="uni-list-item__icon-img" :class="['uni-list--' + thumbSize]" />
13
- </view>
14
- <view v-else-if="showExtraIcon" class="uni-list-item__icon">
15
- <uni-icons :color="extraIcon.color" :size="extraIcon.size" :type="extraIcon.type" />
16
- </view>
17
- </view>
18
- </slot>
19
- <slot name="body">
20
- <view class="uni-list-item__content" :class="{ 'uni-list-item__content--center': thumb || showExtraIcon || showBadge || showSwitch }">
21
- <text v-if="title" class="uni-list-item__content-title" :class="[ellipsis !== 0 && ellipsis <= 2 ? 'uni-ellipsis-' + ellipsis : '']">{{ title }}</text>
22
- <text v-if="note" class="uni-list-item__content-note">{{ note }}</text>
23
- </view>
24
- </slot>
25
- <slot name="footer">
26
- <view v-if="rightText || showBadge || showSwitch" class="uni-list-item__extra" :class="{ 'flex--justify': direction === 'column' }">
27
- <text v-if="rightText" class="uni-list-item__extra-text">{{ rightText }}</text>
28
- <uni-badge v-if="showBadge" :type="badgeType" :text="badgeText" />
29
- <switch v-if="showSwitch" :disabled="disabled" :checked="switchChecked" @change="onSwitchChange" />
30
- </view>
31
- </slot>
32
- </view>
33
- <uni-icons v-if="showArrow || link" :size="16" class="uni-icon-wrapper" color="#bbb" type="arrowright" />
34
- </view>
35
- <!-- #ifdef APP-NVUE -->
36
- </cell>
37
- <!-- #endif -->
38
- </template>
39
-
40
- <script>
41
- /**
42
- * ListItem 列表子组件
43
- * @description 列表子组件
44
- * @tutorial https://ext.dcloud.net.cn/plugin?id=24
45
- * @property {String} title 标题
46
- * @property {String} note 描述
47
- * @property {String} thumb 左侧缩略图,若thumb有值,则不会显示扩展图标
48
- * @property {String} thumbSize = [lg|base|sm] 略缩图大小
49
- * @value lg 大图
50
- * @value base 一般
51
- * @value sm 小图
52
- * @property {String} badgeText 数字角标内容
53
- * @property {String} badgeType 数字角标类型,参考[uni-icons](https://ext.dcloud.net.cn/plugin?id=21)
54
- * @property {String} rightText 右侧文字内容
55
- * @property {Boolean} disabled = [true|false] 是否禁用
56
- * @property {Boolean} clickable = [true|false] 是否开启点击反馈
57
- * @property {String} link = [navigateTo|redirectTo|reLaunch|switchTab] 是否展示右侧箭头并开启点击反馈
58
- * @value navigateTo 同 uni.navigateTo()
59
- * @value redirectTo 同 uni.redirectTo()
60
- * @value reLaunch 同 uni.reLaunch()
61
- * @value switchTab 同 uni.switchTab()
62
- * @property {String | PageURIString} to 跳转目标页面
63
- * @property {Boolean} showBadge = [true|false] 是否显示数字角标
64
- * @property {Boolean} showSwitch = [true|false] 是否显示Switch
65
- * @property {Boolean} switchChecked = [true|false] Switch是否被选中
66
- * @property {Boolean} showExtraIcon = [true|false] 左侧是否显示扩展图标
67
- * @property {Object} extraIcon 扩展图标参数,格式为 {color: '#4cd964',size: '22',type: 'spinner'}
68
- * @property {String} direction = [row|column] 排版方向
69
- * @value row 水平排列
70
- * @value column 垂直排列
71
- * @event {Function} click 点击 uniListItem 触发事件
72
- * @event {Function} switchChange 点击切换 Switch 时触发
73
- */
74
- export default {
75
- name: 'UniListItem',
76
- emits: ['click', 'switchChange'],
77
- props: {
78
- direction: {
79
- type: String,
80
- default: 'row'
81
- },
82
- title: {
83
- type: String,
84
- default: ''
85
- },
86
- note: {
87
- type: String,
88
- default: ''
89
- },
90
- ellipsis: {
91
- type: [Number],
92
- default: 0
93
- },
94
- disabled: {
95
- type: [Boolean, String],
96
- default: false
97
- },
98
- clickable: {
99
- type: Boolean,
100
- default: false
101
- },
102
- showArrow: {
103
- type: [Boolean, String],
104
- default: false
105
- },
106
- link: {
107
- type: [Boolean, String],
108
- default: false
109
- },
110
- to: {
111
- type: String,
112
- default: ''
113
- },
114
- showBadge: {
115
- type: [Boolean, String],
116
- default: false
117
- },
118
- showSwitch: {
119
- type: [Boolean, String],
120
- default: false
121
- },
122
- switchChecked: {
123
- type: [Boolean, String],
124
- default: false
125
- },
126
- badgeText: {
127
- type: String,
128
- default: ''
129
- },
130
- badgeType: {
131
- type: String,
132
- default: 'success'
133
- },
134
- rightText: {
135
- type: String,
136
- default: ''
137
- },
138
- thumb: {
139
- type: String,
140
- default: ''
141
- },
142
- thumbSize: {
143
- type: String,
144
- default: 'base'
145
- },
146
- showExtraIcon: {
147
- type: [Boolean, String],
148
- default: false
149
- },
150
- extraIcon: {
151
- type: Object,
152
- default () {
153
- return {
154
- type: 'contact',
155
- color: '#000000',
156
- size: 20
157
- };
158
- }
159
- },
160
- border: {
161
- type: Boolean,
162
- default: true
163
- }
164
- },
165
- // inject: ['list'],
166
- data() {
167
- return {
168
- isFirstChild: false
169
- };
170
- },
171
- mounted() {
172
- this.list = this.getForm()
173
- // 判断是否存在 uni-list 组件
174
- if (this.list) {
175
- if (!this.list.firstChildAppend) {
176
- this.list.firstChildAppend = true;
177
- this.isFirstChild = true;
178
- }
179
- }
180
- },
181
- methods: {
182
- /**
183
- * 获取父元素实例
184
- */
185
- getForm(name = 'uniList') {
186
- let parent = this.$parent;
187
- let parentName = parent.$options.name;
188
- while (parentName !== name) {
189
- parent = parent.$parent;
190
- if (!parent) return false
191
- parentName = parent.$options.name;
192
- }
193
- return parent;
194
- },
195
- onClick() {
196
- if (this.to !== '') {
197
- this.openPage();
198
- return;
199
- }
200
- if (this.clickable || this.link) {
201
- this.$emit('click', {
202
- data: {}
203
- });
204
- }
205
- },
206
- onSwitchChange(e) {
207
- this.$emit('switchChange', e.detail);
208
- },
209
- openPage() {
210
- if (['navigateTo', 'redirectTo', 'reLaunch', 'switchTab'].indexOf(this.link) !== -1) {
211
- this.pageApi(this.link);
212
- } else {
213
- this.pageApi('navigateTo');
214
- }
215
- },
216
- pageApi(api) {
217
- uni[api]({
218
- url: this.to,
219
- success: res => {
220
- this.$emit('click', {
221
- data: res
222
- });
223
- },
224
- fail: err => {
225
- this.$emit('click', {
226
- data: err
227
- });
228
- console.error(err.errMsg);
229
- }
230
- });
231
- }
232
- }
233
- };
234
- </script>
235
-
236
- <style scoped>
237
- .uni-list-item {
238
- /* #ifndef APP-NVUE */
239
- display: flex;
240
- /* #endif */
241
- font-size: 16px;
242
- position: relative;
243
- justify-content: space-between;
244
- align-items: center;
245
- background-color: #fff;
246
- flex-direction: row;
247
- /* #ifdef H5 */
248
- cursor: pointer;
249
- /* #endif */
250
- }
251
-
252
- .uni-list-item--disabled {
253
- opacity: 0.3;
254
- }
255
-
256
- .uni-list-item--hover {
257
- background-color: #f1f1f1;
258
- }
259
-
260
- .uni-list-item__container {
261
- position: relative;
262
- /* #ifndef APP-NVUE */
263
- display: flex;
264
- /* #endif */
265
- flex-direction: row;
266
- padding: 12px 15px;
267
- padding-left: 15px;
268
- flex: 1;
269
- overflow: hidden;
270
- }
271
-
272
- .container--right {
273
- padding-right: 0;
274
- }
275
-
276
- .uni-list--border {
277
- position: absolute;
278
- top: 0;
279
- right: 0;
280
- left: 0;
281
- /* #ifdef APP-NVUE */
282
- border-top-color: #e5e5e5;
283
- border-top-style: solid;
284
- border-top-width: 0.5px;
285
- /* #endif */
286
- }
287
-
288
- /* #ifndef APP-NVUE */
289
- .uni-list--border:after {
290
- position: absolute;
291
- top: 0;
292
- right: 0;
293
- left: 0;
294
- height: 1px;
295
- content: "";
296
- -webkit-transform: scaleY(0.5);
297
- transform: scaleY(0.5);
298
- background-color: #e5e5e5;
299
- }
300
-
301
- /* #endif */
302
- .uni-list-item__content {
303
- /* #ifndef APP-NVUE */
304
- display: flex;
305
- /* #endif */
306
- padding-right: 8px;
307
- flex: 1;
308
- color: #3b4144;
309
- flex-direction: column;
310
- justify-content: space-between;
311
- overflow: hidden;
312
- }
313
-
314
- .uni-list-item__content--center {
315
- justify-content: center;
316
- }
317
-
318
- .uni-list-item__content-title {
319
- font-size: 14px;
320
- color: #3b4144;
321
- overflow: hidden;
322
- }
323
-
324
- .uni-list-item__content-note {
325
- margin-top: 6rpx;
326
- color: #999;
327
- font-size: 12px;
328
- overflow: hidden;
329
- }
330
-
331
- .uni-list-item__extra {
332
- /* #ifndef APP-NVUE */
333
- display: flex;
334
- /* #endif */
335
- flex-direction: row;
336
- justify-content: flex-end;
337
- align-items: center;
338
- }
339
-
340
- .uni-list-item__header {
341
- /* #ifndef APP-NVUE */
342
- display: flex;
343
- /* #endif */
344
- flex-direction: row;
345
- align-items: center;
346
- }
347
-
348
- .uni-list-item__icon {
349
- margin-right: 18rpx;
350
- flex-direction: row;
351
- justify-content: center;
352
- align-items: center;
353
- }
354
-
355
- .uni-list-item__icon-img {
356
- /* #ifndef APP-NVUE */
357
- display: block;
358
- /* #endif */
359
- height: 26px;
360
- width: 26px;
361
- margin-right: 10px;
362
- }
363
-
364
- .uni-icon-wrapper {
365
- /* #ifndef APP-NVUE */
366
- display: flex;
367
- /* #endif */
368
- align-items: center;
369
- padding: 0 10px;
370
- }
371
-
372
- .flex--direction {
373
- flex-direction: column;
374
- /* #ifndef APP-NVUE */
375
- align-items: initial;
376
- /* #endif */
377
- }
378
-
379
- .flex--justify {
380
- /* #ifndef APP-NVUE */
381
- justify-content: initial;
382
- /* #endif */
383
- }
384
-
385
- .uni-list--lg {
386
- height: 40px;
387
- width: 40px;
388
- }
389
-
390
- .uni-list--base {
391
- height: 26px;
392
- width: 26px;
393
- }
394
-
395
- .uni-list--sm {
396
- height: 20px;
397
- width: 20px;
398
- }
399
-
400
- .uni-list-item__extra-text {
401
- color: #999;
402
- font-size: 12px;
403
- }
404
-
405
- .uni-ellipsis-1 {
406
- /* #ifndef APP-NVUE */
407
- overflow: hidden;
408
- white-space: nowrap;
409
- text-overflow: ellipsis;
410
- /* #endif */
411
- /* #ifdef APP-NVUE */
412
- lines: 1;
413
- /* #endif */
414
- }
415
-
416
- .uni-ellipsis-2 {
417
- /* #ifndef APP-NVUE */
418
- overflow: hidden;
419
- text-overflow: ellipsis;
420
- display: -webkit-box;
421
- -webkit-line-clamp: 2;
422
- -webkit-box-orient: vertical;
423
- /* #endif */
424
- /* #ifdef APP-NVUE */
425
- lines: 2;
426
- /* #endif */
427
- }
428
- </style>