@vtj/materials 0.10.6 → 0.10.8

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 (77) hide show
  1. package/dist/assets/antdv/index.umd.js +2 -2
  2. package/dist/assets/charts/index.umd.js +2 -2
  3. package/dist/assets/element/index.umd.js +2 -2
  4. package/dist/assets/ui/index.umd.js +2 -2
  5. package/dist/assets/uni-h5/index.umd.js +3 -3
  6. package/dist/assets/uni-ui/index.umd.js +3 -3
  7. package/dist/assets/vant/index.umd.js +2 -2
  8. package/dist/deps/@vtj/charts/index.umd.js +2 -2
  9. package/dist/deps/@vtj/icons/index.umd.js +2 -2
  10. package/dist/deps/@vtj/ui/index.umd.js +3 -3
  11. package/dist/deps/@vtj/utils/index.umd.js +20 -20
  12. package/dist/deps/@vueuse/core/index.iife.min.js +1 -1
  13. package/dist/deps/uni-ui/index.umd.js +1 -1
  14. package/dist/deps/uni-ui/style.css +1 -1
  15. package/package.json +7 -7
  16. package/src/uni-h5/components/input.ts +2 -2
  17. package/src/uni-h5/components/scrollView.ts +3 -3
  18. package/src/uni-h5/components/video.ts +1 -1
  19. package/src/uni-ui/components/badge.ts +1 -5
  20. package/src/uni-ui/components/breadcrumb.ts +1 -20
  21. package/src/uni-ui/components/collapse.ts +22 -23
  22. package/src/uni-ui/components/grid.ts +0 -9
  23. package/src/uni-ui/components/group.ts +1 -10
  24. package/src/uni-ui/components/index.ts +4 -4
  25. package/src/uni-ui/components/popup.ts +10 -2
  26. package/src/uni-ui/components/swiperDot.ts +21 -7
  27. package/src/uni-ui/components/table.ts +9 -3
  28. package/src/uni-ui/components/transition.ts +10 -1
  29. package/src/uni-ui/index.ts +19 -44
  30. package/src/uni-ui/lib/uni-collapse/uni-collapse.vue +153 -0
  31. package/src/uni-ui/lib/uni-collapse-item/uni-collapse-item.vue +425 -0
  32. package/src/uni-ui/lib/uni-data-picker/keypress.js +45 -0
  33. package/src/uni-ui/lib/uni-data-picker/uni-data-picker.vue +604 -0
  34. package/src/uni-ui/lib/uni-data-pickerview/uni-data-picker.js +622 -0
  35. package/src/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.css +76 -0
  36. package/src/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.vue +335 -0
  37. package/src/uni-ui/lib/uni-datetime-picker/calendar-item.vue +181 -170
  38. package/src/uni-ui/lib/uni-datetime-picker/calendar.vue +977 -939
  39. package/src/uni-ui/lib/uni-datetime-picker/time-picker.vue +1024 -932
  40. package/src/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue +15 -17
  41. package/src/uni-ui/lib/uni-datetime-picker/util.js +419 -392
  42. package/src/uni-ui/lib/uni-fav/i18n/en.json +4 -0
  43. package/src/uni-ui/lib/uni-fav/i18n/index.js +8 -0
  44. package/src/uni-ui/lib/uni-fav/i18n/zh-Hans.json +4 -0
  45. package/src/uni-ui/lib/uni-fav/i18n/zh-Hant.json +4 -0
  46. package/src/uni-ui/lib/uni-fav/uni-fav.vue +170 -0
  47. package/src/uni-ui/lib/uni-file-picker/choose-and-upload-file.js +280 -0
  48. package/src/uni-ui/lib/uni-file-picker/uni-file-picker.vue +668 -0
  49. package/src/uni-ui/lib/uni-file-picker/upload-file.vue +325 -0
  50. package/src/uni-ui/lib/uni-file-picker/upload-image.vue +292 -0
  51. package/src/uni-ui/lib/uni-file-picker/utils.js +110 -0
  52. package/src/uni-ui/lib/uni-grid/uni-grid.vue +148 -0
  53. package/src/uni-ui/lib/uni-indexed-list/uni-indexed-list-item.vue +152 -128
  54. package/src/uni-ui/lib/uni-indexed-list/uni-indexed-list.vue +50 -50
  55. package/src/uni-ui/lib/uni-load-more/i18n/en.json +5 -0
  56. package/src/uni-ui/lib/uni-load-more/i18n/index.js +8 -0
  57. package/src/uni-ui/lib/uni-load-more/i18n/zh-Hans.json +5 -0
  58. package/src/uni-ui/lib/uni-load-more/i18n/zh-Hant.json +5 -0
  59. package/src/uni-ui/lib/uni-load-more/uni-load-more.vue +456 -0
  60. package/src/uni-ui/lib/uni-notice-bar/uni-notice-bar.vue +484 -0
  61. package/src/uni-ui/lib/uni-popup/uni-popup.vue +4 -4
  62. package/src/uni-ui/lib/uni-popup-message/uni-popup-message.vue +149 -0
  63. package/src/uni-ui/lib/uni-rate/uni-rate.vue +362 -343
  64. package/src/uni-ui/lib/uni-row/uni-row.vue +193 -0
  65. package/src/uni-ui/lib/uni-search-bar/i18n/en.json +4 -0
  66. package/src/uni-ui/lib/uni-search-bar/i18n/index.js +8 -0
  67. package/src/uni-ui/lib/uni-search-bar/i18n/zh-Hans.json +4 -0
  68. package/src/uni-ui/lib/uni-search-bar/i18n/zh-Hant.json +4 -0
  69. package/src/uni-ui/lib/uni-search-bar/uni-search-bar.vue +339 -0
  70. package/src/uni-ui/lib/uni-swipe-action-item/bindingx.js +294 -285
  71. package/src/uni-ui/lib/uni-swipe-action-item/uni-swipe-action-item.vue +8 -9
  72. package/src/uni-ui/lib/uni-th/filter-dropdown.vue +551 -503
  73. package/src/uni-ui/lib/uni-tr/table-checkbox.vue +165 -163
  74. package/src/uni-ui/lib/uni-tr/uni-tr.vue +6 -6
  75. package/src/uni-ui/lib/uni-transition/createAnimation.js +131 -0
  76. package/src/uni-ui/lib/uni-transition/uni-transition.vue +310 -0
  77. package/src/version.ts +2 -2
@@ -0,0 +1,148 @@
1
+ <template>
2
+ <view class="uni-grid-wrap">
3
+ <view
4
+ :id="elId"
5
+ ref="uni-grid"
6
+ class="uni-grid"
7
+ :class="{ 'uni-grid--border': showBorder }"
8
+ :style="{ 'border-left-color': borderColor }">
9
+ <slot />
10
+ </view>
11
+ </view>
12
+ </template>
13
+
14
+ <script>
15
+ // #ifdef APP-NVUE
16
+ const dom = uni.requireNativePlugin('dom');
17
+ // #endif
18
+
19
+ /**
20
+ * Grid 宫格
21
+ * @description 宫格组件
22
+ * @tutorial https://ext.dcloud.net.cn/plugin?id=27
23
+ * @property {Number} column 每列显示个数
24
+ * @property {String} borderColor 边框颜色
25
+ * @property {Boolean} showBorder 是否显示边框
26
+ * @property {Boolean} square 是否方形显示
27
+ * @property {Boolean} Boolean 点击背景是否高亮
28
+ * @event {Function} change 点击 grid 触发,e={detail:{index:0}},index 为当前点击 gird 下标
29
+ */
30
+ export default {
31
+ name: 'UniGrid',
32
+ emits: ['change'],
33
+ props: {
34
+ // 每列显示个数
35
+ column: {
36
+ type: Number,
37
+ default: 3
38
+ },
39
+ // 是否显示边框
40
+ showBorder: {
41
+ type: Boolean,
42
+ default: true
43
+ },
44
+ // 边框颜色
45
+ borderColor: {
46
+ type: String,
47
+ default: '#D2D2D2'
48
+ },
49
+ // 是否正方形显示,默认为 true
50
+ square: {
51
+ type: Boolean,
52
+ default: true
53
+ },
54
+ highlight: {
55
+ type: Boolean,
56
+ default: true
57
+ }
58
+ },
59
+ provide() {
60
+ return {
61
+ grid: this
62
+ };
63
+ },
64
+ data() {
65
+ const elId = `Uni_${Math.ceil(Math.random() * 10e5).toString(36)}`;
66
+ return {
67
+ elId,
68
+ width: 0
69
+ };
70
+ },
71
+ created() {
72
+ this.children = [];
73
+ },
74
+ mounted() {
75
+ this.$nextTick(() => {
76
+ this.init();
77
+ });
78
+ },
79
+ methods: {
80
+ init() {
81
+ setTimeout(() => {
82
+ this._getSize((width) => {
83
+ this.children.forEach((item, index) => {
84
+ item.width = width;
85
+ });
86
+ });
87
+ }, 50);
88
+ },
89
+ change(e) {
90
+ this.$emit('change', e);
91
+ },
92
+ _getSize(fn) {
93
+ // #ifndef APP-NVUE
94
+ uni
95
+ .createSelectorQuery()
96
+ .in(this)
97
+ .select(`#${this.elId}`)
98
+ .boundingClientRect()
99
+ .exec((ret) => {
100
+ this.width = parseInt((ret[0].width - 1) / this.column) + 'px';
101
+ fn(this.width);
102
+ });
103
+ // #endif
104
+ // #ifdef APP-NVUE
105
+ // dom.getComponentRect(this.$refs['uni-grid'], (ret) => {
106
+ // this.width = parseInt((ret.size.width - 1) / this.column) + 'px'
107
+ // fn(this.width)
108
+ // })
109
+ // #endif
110
+ }
111
+ }
112
+ };
113
+ </script>
114
+
115
+ <style lang="scss" scoped>
116
+ .uni-grid-wrap {
117
+ /* #ifndef APP-NVUE */
118
+ display: flex;
119
+ /* #endif */
120
+ flex: 1;
121
+ flex-direction: column;
122
+ /* #ifdef H5 */
123
+ width: 100%;
124
+ /* #endif */
125
+ }
126
+
127
+ .uni-grid {
128
+ /* #ifndef APP-NVUE */
129
+ display: flex;
130
+ /* #endif */
131
+ // flex: 1;
132
+ flex-direction: row;
133
+ flex-wrap: wrap;
134
+ }
135
+
136
+ .uni-grid--border {
137
+ position: relative;
138
+ /* #ifdef APP-NVUE */
139
+ border-left-color: #d2d2d2;
140
+ border-left-style: solid;
141
+ border-left-width: 0.5px;
142
+ /* #endif */
143
+ /* #ifndef APP-NVUE */
144
+ z-index: 1;
145
+ border-left: 1px #d2d2d2 solid;
146
+ /* #endif */
147
+ }
148
+ </style>
@@ -1,144 +1,168 @@
1
1
  <template>
2
- <view>
3
- <view v-if="loaded || list.itemIndex < 15" class="uni-indexed-list__title-wrapper">
4
- <text v-if="list.items && list.items.length > 0" class="uni-indexed-list__title">{{ list.key }}</text>
5
- </view>
6
- <view v-if="(loaded || list.itemIndex < 15) && list.items && list.items.length > 0" class="uni-indexed-list__list">
7
- <view v-for="(item, index) in list.items" :key="index" class="uni-indexed-list__item" hover-class="uni-indexed-list__item--hover">
8
- <view class="uni-indexed-list__item-container" @click="onClick(idx, index)">
9
- <view class="uni-indexed-list__item-border" :class="{'uni-indexed-list__item-border--last':index===list.items.length-1}">
10
- <view v-if="showSelect" style="margin-right: 20rpx;">
11
- <uni-icons :type="item.checked ? 'checkbox-filled' : 'circle'" :color="item.checked ? '#007aff' : '#C0C0C0'" size="24" />
12
- </view>
13
- <text class="uni-indexed-list__item-content">{{ item.name }}</text>
14
- </view>
15
- </view>
16
- </view>
17
- </view>
18
- </view>
2
+ <view>
3
+ <view
4
+ v-if="loaded || list.itemIndex < 15"
5
+ class="uni-indexed-list__title-wrapper">
6
+ <text
7
+ v-if="list.items && list.items.length > 0"
8
+ class="uni-indexed-list__title"
9
+ >{{ list.key }}</text
10
+ >
11
+ </view>
12
+ <view
13
+ v-if="
14
+ (loaded || list.itemIndex < 15) && list.items && list.items.length > 0
15
+ "
16
+ class="uni-indexed-list__list">
17
+ <view
18
+ v-for="(item, index) in list.items"
19
+ :key="index"
20
+ class="uni-indexed-list__item"
21
+ hover-class="uni-indexed-list__item--hover">
22
+ <view
23
+ class="uni-indexed-list__item-container"
24
+ @click="onClick(idx, index)">
25
+ <view
26
+ class="uni-indexed-list__item-border"
27
+ :class="{
28
+ 'uni-indexed-list__item-border--last':
29
+ index === list.items.length - 1
30
+ }">
31
+ <view v-if="showSelect" style="margin-right: 20rpx">
32
+ <uni-icons
33
+ :type="item.checked ? 'checkbox-filled' : 'circle'"
34
+ :color="item.checked ? '#007aff' : '#C0C0C0'"
35
+ size="24" />
36
+ </view>
37
+ <text class="uni-indexed-list__item-content">{{ item.name }}</text>
38
+ </view>
39
+ </view>
40
+ </view>
41
+ </view>
42
+ </view>
19
43
  </template>
20
44
 
21
45
  <script>
22
- export default {
23
- name: 'UniIndexedList',
24
- emits:['itemClick'],
25
- props: {
26
- loaded: {
27
- type: Boolean,
28
- default: false
29
- },
30
- idx: {
31
- type: Number,
32
- default: 0
33
- },
34
- list: {
35
- type: Object,
36
- default () {
37
- return {}
38
- }
39
- },
40
- showSelect: {
41
- type: Boolean,
42
- default: false
43
- }
44
- },
45
- methods: {
46
- onClick(idx, index) {
47
- this.$emit("itemClick", {
48
- idx,
49
- index
50
- })
51
- }
52
- }
53
- }
46
+ export default {
47
+ name: 'UniIndexedList',
48
+ emits: ['itemClick'],
49
+ props: {
50
+ loaded: {
51
+ type: Boolean,
52
+ default: false
53
+ },
54
+ idx: {
55
+ type: Number,
56
+ default: 0
57
+ },
58
+ list: {
59
+ type: Object,
60
+ default() {
61
+ return {};
62
+ }
63
+ },
64
+ showSelect: {
65
+ type: Boolean,
66
+ default: false
67
+ }
68
+ },
69
+ methods: {
70
+ onClick(idx, index) {
71
+ this.$emit('itemClick', {
72
+ idx,
73
+ index
74
+ });
75
+ }
76
+ }
77
+ };
54
78
  </script>
55
79
 
56
80
  <style lang="scss" scoped>
57
- .uni-indexed-list__list {
58
- background-color: $uni-bg-color;
59
- /* #ifndef APP-NVUE */
60
- display: flex;
61
- /* #endif */
62
- flex-direction: column;
63
- border-top-style: solid;
64
- border-top-width: 1px;
65
- border-top-color: #DEDEDE;
66
- }
81
+ .uni-indexed-list__list {
82
+ background-color: $uni-bg-color;
83
+ /* #ifndef APP-NVUE */
84
+ display: flex;
85
+ /* #endif */
86
+ flex-direction: column;
87
+ border-top-style: solid;
88
+ border-top-width: 1px;
89
+ border-top-color: #dedede;
90
+ }
67
91
 
68
- .uni-indexed-list__item {
69
- font-size: 14px;
70
- /* #ifndef APP-NVUE */
71
- display: flex;
72
- /* #endif */
73
- flex: 1;
74
- flex-direction: row;
75
- justify-content: space-between;
76
- align-items: center;
77
- }
92
+ .uni-indexed-list__item {
93
+ font-size: 14px;
94
+ /* #ifndef APP-NVUE */
95
+ display: flex;
96
+ /* #endif */
97
+ flex: 1;
98
+ flex-direction: row;
99
+ justify-content: space-between;
100
+ align-items: center;
101
+ }
78
102
 
79
- .uni-indexed-list__item-container {
80
- padding-left: 15px;
81
- flex: 1;
82
- position: relative;
83
- /* #ifndef APP-NVUE */
84
- display: flex;
85
- box-sizing: border-box;
86
- /* #endif */
87
- flex-direction: row;
88
- justify-content: space-between;
89
- align-items: center;
90
- /* #ifdef H5 */
91
- cursor: pointer;
92
- /* #endif */
93
- }
103
+ .uni-indexed-list__item-container {
104
+ padding-left: 15px;
105
+ flex: 1;
106
+ position: relative;
107
+ /* #ifndef APP-NVUE */
108
+ display: flex;
109
+ box-sizing: border-box;
110
+ /* #endif */
111
+ flex-direction: row;
112
+ justify-content: space-between;
113
+ align-items: center;
114
+ /* #ifdef H5 */
115
+ cursor: pointer;
116
+ /* #endif */
117
+ }
94
118
 
95
- .uni-indexed-list__item-border {
96
- flex: 1;
97
- position: relative;
98
- /* #ifndef APP-NVUE */
99
- display: flex;
100
- box-sizing: border-box;
101
- /* #endif */
102
- flex-direction: row;
103
- justify-content: space-between;
104
- align-items: center;
105
- height: 50px;
106
- padding: 25px;
107
- padding-left: 0;
108
- border-bottom-style: solid;
109
- border-bottom-width: 1px;
110
- border-bottom-color: #DEDEDE;
111
- }
119
+ .uni-indexed-list__item-border {
120
+ flex: 1;
121
+ position: relative;
122
+ /* #ifndef APP-NVUE */
123
+ display: flex;
124
+ box-sizing: border-box;
125
+ /* #endif */
126
+ flex-direction: row;
127
+ justify-content: space-between;
128
+ align-items: center;
129
+ height: 50px;
130
+ padding: 25px;
131
+ padding-left: 0;
132
+ border-bottom-style: solid;
133
+ border-bottom-width: 1px;
134
+ border-bottom-color: #dedede;
135
+ }
112
136
 
113
- .uni-indexed-list__item-border--last {
114
- border-bottom-width: 0px;
115
- }
137
+ .uni-indexed-list__item-border--last {
138
+ border-bottom-width: 0px;
139
+ }
116
140
 
117
- .uni-indexed-list__item-content {
118
- flex: 1;
119
- font-size: 14px;
120
- color: #191919;
121
- }
141
+ .uni-indexed-list__item-content {
142
+ flex: 1;
143
+ font-size: 14px;
144
+ color: #191919;
145
+ }
122
146
 
123
- .uni-indexed-list {
124
- /* #ifndef APP-NVUE */
125
- display: flex;
126
- /* #endif */
127
- flex-direction: row;
128
- }
147
+ .uni-indexed-list {
148
+ /* #ifndef APP-NVUE */
149
+ display: flex;
150
+ /* #endif */
151
+ flex-direction: row;
152
+ }
129
153
 
130
- .uni-indexed-list__title-wrapper {
131
- /* #ifndef APP-NVUE */
132
- display: flex;
133
- width: 100%;
134
- /* #endif */
135
- background-color: #f7f7f7;
136
- }
154
+ .uni-indexed-list__title-wrapper {
155
+ /* #ifndef APP-NVUE */
156
+ display: flex;
157
+ width: 100%;
158
+ /* #endif */
159
+ background-color: #f7f7f7;
160
+ }
137
161
 
138
- .uni-indexed-list__title {
139
- padding: 6px 12px;
140
- line-height: 24px;
141
- font-size: 16px;
142
- font-weight: 500;
143
- }
162
+ .uni-indexed-list__title {
163
+ padding: 6px 12px;
164
+ line-height: 24px;
165
+ font-size: 16px;
166
+ font-weight: 500;
167
+ }
144
168
  </style>
@@ -1,24 +1,24 @@
1
1
  <template>
2
2
  <view class="uni-indexed-list" ref="list" id="list">
3
3
  <!-- #ifdef APP-NVUE -->
4
- <list
4
+ <!-- <list
5
5
  class="uni-indexed-list__scroll"
6
6
  scrollable="true"
7
7
  show-scrollbar="false">
8
8
  <cell
9
9
  v-for="(list, idx) in lists"
10
10
  :key="idx"
11
- :ref="'uni-indexed-list-' + idx">
12
- <!-- #endif -->
13
- <!-- #ifndef APP-NVUE -->
14
- <!-- <scroll-view
15
- :scroll-into-view="scrollViewId"
16
- class="uni-indexed-list__scroll"
17
- scroll-y>
18
- <view
19
- v-for="(list, idx) in lists"
20
- :key="idx"
21
- :id="'uni-indexed-list-' + idx"> -->
11
+ :ref="'uni-indexed-list-' + idx"> -->
12
+ <!-- #endif -->
13
+ <!-- #ifndef APP-NVUE -->
14
+ <scroll-view
15
+ :scroll-into-view="scrollViewId"
16
+ class="uni-indexed-list__scroll"
17
+ scroll-y>
18
+ <view
19
+ v-for="(list, idx) in lists"
20
+ :key="idx"
21
+ :id="'uni-indexed-list-' + idx">
22
22
  <!-- #endif -->
23
23
  <indexed-list-item
24
24
  :list="list"
@@ -27,12 +27,12 @@
27
27
  :showSelect="showSelect"
28
28
  @itemClick="onClick"></indexed-list-item>
29
29
  <!-- #ifndef APP-NVUE -->
30
- <!-- </view>
31
- </scroll-view> -->
32
- <!-- #endif -->
33
- <!-- #ifdef APP-NVUE -->
34
- </cell>
35
- </list>
30
+ </view>
31
+ </scroll-view>
32
+ <!-- #endif -->
33
+ <!-- #ifdef APP-NVUE -->
34
+ <!-- </cell>
35
+ </list> -->
36
36
  <!-- #endif -->
37
37
  <view
38
38
  class="uni-indexed-list__menu"
@@ -66,21 +66,21 @@
66
66
  <script>
67
67
  import indexedListItem from './uni-indexed-list-item.vue';
68
68
  // #ifdef APP-NVUE
69
- const dom = weex.requireModule('dom');
69
+ // const dom = weex.requireModule('dom');
70
70
  // #endif
71
71
  // #ifdef APP-PLUS
72
- function throttle(func, delay) {
73
- var prev = Date.now();
74
- return function () {
75
- var context = this;
76
- var args = arguments;
77
- var now = Date.now();
78
- if (now - prev >= delay) {
79
- func.apply(context, args);
80
- prev = Date.now();
81
- }
82
- };
83
- }
72
+ // function throttle(func, delay) {
73
+ // var prev = Date.now();
74
+ // return function () {
75
+ // var context = this;
76
+ // var args = arguments;
77
+ // var now = Date.now();
78
+ // if (now - prev >= delay) {
79
+ // func.apply(context, args);
80
+ // prev = Date.now();
81
+ // }
82
+ // };
83
+ // }
84
84
 
85
85
  function touchMove(e) {
86
86
  let pageY = e.touches[0].pageY;
@@ -95,14 +95,14 @@
95
95
  this.touchmoveIndex = index;
96
96
  // #endif
97
97
  // #ifdef APP-NVUE
98
- dom.scrollToElement(this.$refs['uni-indexed-list-' + index][0], {
99
- animated: false
100
- });
101
- this.touchmoveIndex = index;
98
+ // dom.scrollToElement(this.$refs['uni-indexed-list-' + index][0], {
99
+ // animated: false
100
+ // });
101
+ // this.touchmoveIndex = index;
102
102
  // #endif
103
103
  }
104
104
  }
105
- const throttleTouchMove = throttle(touchMove, 40);
105
+ // const throttleTouchMove = throttle(touchMove, 40);
106
106
  // #endif
107
107
 
108
108
  /**
@@ -205,11 +205,11 @@
205
205
  });
206
206
  // #endif
207
207
  // #ifdef APP-NVUE
208
- dom.getComponentRect(this.$refs['list'], (res) => {
209
- this.winOffsetY = res.size.top;
210
- this.winHeight = res.size.height;
211
- this.itemHeight = this.winHeight / this.lists.length;
212
- });
208
+ // dom.getComponentRect(this.$refs['list'], (res) => {
209
+ // this.winOffsetY = res.size.top;
210
+ // this.winHeight = res.size.height;
211
+ // this.itemHeight = this.winHeight / this.lists.length;
212
+ // });
213
213
  // #endif
214
214
  },
215
215
  touchStart(e) {
@@ -221,9 +221,9 @@
221
221
  this.scrollViewId = 'uni-indexed-list-' + index;
222
222
  this.touchmoveIndex = index;
223
223
  // #ifdef APP-NVUE
224
- dom.scrollToElement(this.$refs['uni-indexed-list-' + index][0], {
225
- animated: false
226
- });
224
+ // dom.scrollToElement(this.$refs['uni-indexed-list-' + index][0], {
225
+ // animated: false
226
+ // });
227
227
  // #endif
228
228
  }
229
229
  },
@@ -241,7 +241,7 @@
241
241
  }
242
242
  // #endif
243
243
  // #ifdef APP-PLUS
244
- throttleTouchMove.call(this, e);
244
+ // throttleTouchMove.call(this, e);
245
245
  // #endif
246
246
  },
247
247
  touchEnd() {
@@ -361,12 +361,12 @@
361
361
  color: #aaa;
362
362
  }
363
363
 
364
- .uni-indexed-list__menu--active {
365
- // background-color: rgb(200, 200, 200);
366
- }
364
+ // .uni-indexed-list__menu--active {
365
+ // // background-color: rgb(200, 200, 200);
366
+ // }
367
367
 
368
- .uni-indexed-list__menu--active {
369
- }
368
+ // .uni-indexed-list__menu--active {
369
+ // }
370
370
 
371
371
  .uni-indexed-list__menu-text--active {
372
372
  border-radius: 16px;
@@ -0,0 +1,5 @@
1
+ {
2
+ "uni-load-more.contentdown": "Pull up to show more",
3
+ "uni-load-more.contentrefresh": "loading...",
4
+ "uni-load-more.contentnomore": "No more data"
5
+ }
@@ -0,0 +1,8 @@
1
+ import en from './en.json'
2
+ import zhHans from './zh-Hans.json'
3
+ import zhHant from './zh-Hant.json'
4
+ export default {
5
+ en,
6
+ 'zh-Hans': zhHans,
7
+ 'zh-Hant': zhHant
8
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "uni-load-more.contentdown": "上拉显示更多",
3
+ "uni-load-more.contentrefresh": "正在加载...",
4
+ "uni-load-more.contentnomore": "没有更多数据了"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "uni-load-more.contentdown": "上拉顯示更多",
3
+ "uni-load-more.contentrefresh": "正在加載...",
4
+ "uni-load-more.contentnomore": "沒有更多數據了"
5
+ }