Skip to content

Commit ac14c73

Browse files
fix: infiniteloading 组件review内容修改 (#1904)
* fix: 修复 ImagePreview 在Taro编译成H5后报错的问题 * fix: 地址关闭时, Close 事件触发两次问题解决 * feat: 组件DatePicker 添加双向绑定 * docs: 组件Picker文档修改 * feat: 组件Picker与DatePicker新增属性safe-area-inset-bottom * feat: imagepreview * fix: 组件imagepreview点击视频遮罩关闭(#1729) * fix: 解决 Picker 在微信小程序中无法使用问题 (#1774) * fix: 修改 Picker 组件 v-model 失效问题 * fix: 组件NoticeBar修改height之后,垂直轮播会卡顿 * fix: 删除Datepicker Demo演示多余内容 * fix: 组件Picker在JD小程序上适配 * fix: 组件Address京东小程序适配 * feat: 京东小程序适配 * fix: 删除空格 * feat: 删除console * fix: 京东小程序imagepreview适配 * fix: 修复 imagepreview 动态设置 initNo 显示不正确问题 * fix: 组件 InfiniteLoading 某些情况下会错误触发下拉刷新#1819 * fix: 删除pullrefresh * feat: 组件 imagepreview瘦身 * feat: 组件Picker 瘦身 * fix: address线上问题修改 * fix: 完善imagepreview * feat: 公共函数提取 * feat: 函数式改用 createComponent * fix: 文件回撤 * feat: 单元测试修改 * fix: 组件popover样式问题修改 * feat: 新增 clamp 函数 * fix: 组件Infiniteloading Review 内容修改 * fix: 组件Infiniteloading问题更新
1 parent ad3647f commit ac14c73

File tree

8 files changed

+36
-275
lines changed

8 files changed

+36
-275
lines changed

src/config.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -708,14 +708,16 @@
708708
{
709709
"version": "3.0.0",
710710
"name": "InfiniteLoading",
711-
"taro": true,
711+
"taro": false,
712712
"tarodoc": true,
713713
"type": "component",
714714
"cName": "滚动加载",
715715
"desc": "列表滚动到底部自动加载更多数据",
716716
"sort": 15,
717717
"show": true,
718-
"author": "yangxiaolu"
718+
"author": "yangxiaolu",
719+
"exportEmpty": false,
720+
"exportEmptyTaro": false
719721
},
720722
{
721723
"version": "3.0.0",

src/packages/__VUE/infiniteloading/doc.en-US.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ Scrolling to the bottom of the list automatically loads more data.
88

99
```javascript
1010
import { createApp } from 'vue';
11-
import { InfiniteLoading } from '@nutui/nutui';
11+
import { InfiniteLoading, Icon } from '@nutui/nutui';
1212

1313
const app = createApp();
1414
app.use(InfiniteLoading);
15+
app.use(Icon);
16+
1517
```
1618

1719
### Basic Usage
@@ -274,5 +276,6 @@ Scrolling to the bottom of the list automatically loads more data.
274276

275277
| Attribute | Description |
276278
|--------|----------------|
279+
| default | Scroll content |
277280
| loading | Loading text |
278281
| finished | Finished text |

src/packages/__VUE/infiniteloading/doc.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88

99
```javascript
1010
import { createApp } from 'vue';
11-
import { InfiniteLoading } from '@nutui/nutui';
11+
import { InfiniteLoading, Icon } from '@nutui/nutui';
1212

1313
const app = createApp();
1414
app.use(InfiniteLoading);
15+
app.use(Icon);
16+
1517
```
1618

1719
### 基础用法
@@ -269,5 +271,6 @@
269271

270272
| 名称 | 说明 |
271273
|--------|----------------|
274+
| default | 自定义滚动列表 |
272275
| loading | 自定义底部记载中提示 |
273276
| finished | 自定义加载完成后的提示文案 |

src/packages/__VUE/infiniteloading/index.scss

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
justify-content: center;
2626
width: 100%;
2727
overflow: hidden;
28+
transition-property: height;
29+
transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
2830
.top-box {
2931
width: 100%;
3032
display: flex;

src/packages/__VUE/infiniteloading/index.taro.vue

-228
This file was deleted.

0 commit comments

Comments
 (0)