Skip to content

Commit 5af5104

Browse files
authored
feat: infinite v14 adaption (#2841)
1 parent 80bc6b3 commit 5af5104

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,7 @@
799799
"sort": 5,
800800
"show": true,
801801
"taro": true,
802+
"v15": true,
802803
"author": "swag~jun"
803804
},
804805
{

src/packages/infiniteloading/demos/h5/demo1.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const Demo1 = () => {
5959
<g clipPath="url(#clip0_878_2529)">
6060
<path
6161
d="M23.1507 10.6435C21.8958 9.29889 21.6209 7.28491 20.8022 6.60353C19.9835 5.92216 18.7824 7.00753 18.3402 7.6467C15.896 5.92216 11.9879 6.00054 11.9879 6.00054C11.9879 6.00054 8.09759 5.92216 5.6475 7.6467C5.20528 7.00753 4.01012 5.92216 3.19143 6.60353C2.37274 7.28491 2.10383 9.29889 0.848906 10.6435C-0.0892994 11.6566 -0.166985 11.952 0.215468 12.754C0.591945 13.556 2.93447 14.2193 4.58977 12.6334C4.81088 13.4595 6.67534 18 11.9938 18C17.3123 18 19.1887 13.4595 19.4039 12.6334C21.0592 14.2193 23.4077 13.556 23.7901 12.754C24.1666 11.952 24.0889 11.6566 23.1507 10.6435Z"
62-
fill="#818181"
62+
fill="#E4E4E4"
6363
/>
6464
</g>
6565
</svg>

src/packages/infiniteloading/demos/h5/demo2.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const Demo2 = () => {
6868
>
6969
<path
7070
d="M34.7243 10.965C32.842 8.94809 32.4297 5.92727 31.2018 4.90525C29.9738 3.88324 28.1722 5.51123 27.5089 6.46993C23.8429 3.88324 17.9809 4.00082 17.9809 4.00082C17.9809 4.00082 12.1458 3.88324 8.47083 6.46993C7.80754 5.51123 6.01488 3.88324 4.78691 4.90525C3.55894 5.92727 3.15559 8.94809 1.2733 10.965C-0.133943 12.4844 -0.250465 12.9276 0.323186 14.1305C0.887874 15.3334 4.40149 16.3283 6.88432 13.9496C7.21596 15.1887 10.0125 21.9991 17.9899 21.9991C25.9672 21.9991 28.7817 15.1887 29.1043 13.9496C31.5872 16.3283 35.1098 15.3334 35.6834 14.1305C36.2481 12.9276 36.1316 12.4844 34.7243 10.965Z"
71-
fill="#818181"
71+
fill="#E4E4E4"
7272
/>
7373
</svg>
7474
下拉刷新
@@ -83,9 +83,9 @@ const Demo2 = () => {
8383
fill="none"
8484
className="nut-infinite-bottom-tips-icons"
8585
>
86-
<circle cx="2" cy="12" r="2" fill="#818181" />
87-
<circle cx="12" cy="12" r="2" fill="#818181" />
88-
<circle cx="22" cy="12" r="2" fill="#818181" />
86+
<circle cx="2" cy="12" r="2" fill="#E4E4E4" />
87+
<circle cx="12" cy="12" r="2" fill="#E4E4E4" />
88+
<circle cx="22" cy="12" r="2" fill="#E4E4E4" />
8989
</svg>
9090
加载中
9191
</>

src/packages/infiniteloading/infiniteloading.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
justify-content: center;
3434
width: 100%;
3535
padding-top: 6px;
36-
font-size: $font-size-s;
3736
color: $infiniteloading-color;
3837
text-align: center;
3938

4039
&-tips {
4140
display: flex;
4241
justify-content: center;
4342
align-items: center;
43+
font-size: $font-size-xxs;
4444

4545
&-icons {
4646
margin-right: 8px;

0 commit comments

Comments
 (0)