uview-plus 3.7.28 → 3.7.30
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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view class="u-pagination">
|
|
3
|
+
<view>{{currentPage}}</view>
|
|
3
4
|
<!-- 上一页按钮 -->
|
|
4
5
|
<view
|
|
5
6
|
:class="[
|
|
@@ -16,8 +17,9 @@
|
|
|
16
17
|
</view>
|
|
17
18
|
|
|
18
19
|
<!-- 页码列表 -->
|
|
19
|
-
<
|
|
20
|
+
<template v-for="(page,index) in displayedPages" :key="index" v-if="layout.includes('pager')">
|
|
20
21
|
<view
|
|
22
|
+
class="u-pagination-item"
|
|
21
23
|
:class="[
|
|
22
24
|
'u-pagination-item',
|
|
23
25
|
{ active: page === currentPage }
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
>
|
|
27
29
|
{{ page }}
|
|
28
30
|
</view>
|
|
29
|
-
</
|
|
31
|
+
</template>
|
|
30
32
|
|
|
31
33
|
<!-- 总数显示 -->
|
|
32
34
|
<view v-if="total > 0 && layout.includes('total')" class="u-pagination-total">
|
|
@@ -196,9 +196,7 @@
|
|
|
196
196
|
style.flex = 1
|
|
197
197
|
}
|
|
198
198
|
// 背景色,一般用于设置为transparent,去除默认的白色背景
|
|
199
|
-
|
|
200
|
-
style.backgroundColor = this.bgColor
|
|
201
|
-
}
|
|
199
|
+
style.backgroundColor = this.bgColor
|
|
202
200
|
if(this.round) {
|
|
203
201
|
const value = addUnit(this.round)
|
|
204
202
|
if(this.mode === 'top') {
|
|
@@ -344,7 +342,6 @@
|
|
|
344
342
|
|
|
345
343
|
<style lang="scss" scoped>
|
|
346
344
|
$u-popup-flex:1 !default;
|
|
347
|
-
$u-popup-content-background-color: #fff !default;
|
|
348
345
|
|
|
349
346
|
.u-popup {
|
|
350
347
|
flex: $u-popup-flex;
|
|
@@ -361,7 +358,6 @@
|
|
|
361
358
|
}
|
|
362
359
|
|
|
363
360
|
&__content {
|
|
364
|
-
background-color: $u-popup-content-background-color;
|
|
365
361
|
position: relative;
|
|
366
362
|
|
|
367
363
|
&--round-top {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "uview-plus",
|
|
3
3
|
"name": "uview-plus",
|
|
4
4
|
"displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙跨端移动组件库,组件丰富维护更新稳定。",
|
|
5
|
-
"version": "3.7.
|
|
5
|
+
"version": "3.7.30",
|
|
6
6
|
"description": "零云®uview-plus已兼容vue3支持多语言,120+全面的组件和便捷的工具会让您信手拈来。近期新增拖动排序、条码、图片裁剪、下拉刷新、虚拟列表、签名、Markdown等。",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"uview",
|
|
@@ -77,7 +77,8 @@
|
|
|
77
77
|
"jd": "-",
|
|
78
78
|
"harmony": "√",
|
|
79
79
|
"qq": "√",
|
|
80
|
-
"lark": "-"
|
|
80
|
+
"lark": "-",
|
|
81
|
+
"xhs": "-"
|
|
81
82
|
},
|
|
82
83
|
"quickapp": {
|
|
83
84
|
"huawei": "-",
|