mali-applet-ui 0.1.35 → 0.1.37
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.
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
<scroll-view scroll-y>
|
|
5
5
|
<slot></slot>
|
|
6
6
|
</scroll-view>
|
|
7
|
-
<view v-if="showPage"
|
|
8
|
-
<view v-if="loadStatus === '
|
|
7
|
+
<view v-if="showPage" class="load-more">
|
|
8
|
+
<view v-if="loadStatus === 'more'" class="more">上拉显示更多</view>
|
|
9
|
+
<view v-if="loadStatus === 'noMore'" class="no-more">没有更多数据了</view>
|
|
9
10
|
</view>
|
|
10
11
|
</view>
|
|
11
12
|
</view>
|
|
@@ -151,4 +152,11 @@ export default {
|
|
|
151
152
|
flex-direction: column;
|
|
152
153
|
}
|
|
153
154
|
}
|
|
155
|
+
.load-more {
|
|
156
|
+
text-align: center;
|
|
157
|
+
.more,
|
|
158
|
+
.no-more {
|
|
159
|
+
padding: 20rpx;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
154
162
|
</style>
|
package/package.json
CHANGED
package/storage/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import XEUtils from 'xe-utils'
|
|
2
2
|
|
|
3
3
|
export function setStorage(key, value, options = {}) {
|
|
4
|
-
const opts = {
|
|
4
|
+
const opts = { ...options }
|
|
5
5
|
const data = {
|
|
6
6
|
data: value,
|
|
7
7
|
expires: XEUtils.eqNull(opts.expires) ? null : XEUtils.toNumber(opts.expires)
|