uview-plus 3.4.72 → 3.4.73
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
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<!-- 默认下拉状态 -->
|
|
23
23
|
<view class="refresh-content">
|
|
24
24
|
<view class="refresh-indicator">
|
|
25
|
-
<
|
|
25
|
+
<up-icon name="arrow-downward" size="26px"></up-icon>
|
|
26
26
|
</view>
|
|
27
27
|
<text class="refresh-text">下拉刷新</text>
|
|
28
28
|
</view>
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<!-- 默认释放状态 -->
|
|
38
38
|
<view class="refresh-content">
|
|
39
39
|
<view class="refresh-indicator">
|
|
40
|
-
<
|
|
40
|
+
<up-icon name="arrow-upward" size="26px"></up-icon>
|
|
41
41
|
</view>
|
|
42
42
|
<text class="refresh-text">释放刷新</text>
|
|
43
43
|
</view>
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
// 下拉刷新阈值
|
|
107
107
|
threshold: {
|
|
108
108
|
type: Number,
|
|
109
|
-
default:
|
|
109
|
+
default: 80
|
|
110
110
|
},
|
|
111
111
|
// 阻尼系数
|
|
112
112
|
damping: {
|
|
@@ -116,7 +116,7 @@ export default {
|
|
|
116
116
|
// 最大下拉距离
|
|
117
117
|
maxDistance: {
|
|
118
118
|
type: Number,
|
|
119
|
-
default:
|
|
119
|
+
default: 120
|
|
120
120
|
},
|
|
121
121
|
// 是否显示加载更多
|
|
122
122
|
showLoadmore: {
|
|
@@ -311,28 +311,6 @@ export default {
|
|
|
311
311
|
padding-bottom: 10px;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
.refresh-indicator {
|
|
315
|
-
width: 24px;
|
|
316
|
-
height: 24px;
|
|
317
|
-
display: flex;
|
|
318
|
-
align-items: center;
|
|
319
|
-
justify-content: center;
|
|
320
|
-
margin-bottom: 8px;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.arrow {
|
|
324
|
-
width: 12px;
|
|
325
|
-
height: 12px;
|
|
326
|
-
border-left: 2px solid #666;
|
|
327
|
-
border-bottom: 2px solid #666;
|
|
328
|
-
transform: rotate(-45deg);
|
|
329
|
-
transition: transform 0.2s;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.arrow.rotate {
|
|
333
|
-
transform: rotate(135deg);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
314
|
.spinner {
|
|
337
315
|
width: 16px;
|
|
338
316
|
height: 16px;
|
package/package.json
CHANGED