This commit is contained in:
Ling53666
2025-08-18 09:11:51 +08:00
commit 02554225da
2516 changed files with 133155 additions and 0 deletions

View File

@ -0,0 +1 @@
@keyframes ant-skeleton-loading{0%{background-position:100% 50%}100%{background-position:0 50%}}.ant-skeleton-paragraph-animate .ant-skeleton-paragraph-row{background:linear-gradient(90deg,#eee 25%,rgba(204,204,204,.6) 37%,#eee 63%);background-size:400% 100%;animation:ant-skeleton-loading 1.4s ease infinite}.ant-skeleton-paragraph-row{width:100%;height:15px;margin-bottom:12px;border-radius:4px;background:#eee}.ant-skeleton-paragraph-row:nth-last-of-type(1){margin-bottom:0}.ant-skeleton-paragraph-row:nth-last-of-type(1):not(:nth-of-type(1)){width:60%}

View File

@ -0,0 +1,14 @@
<view
a:if="{{loading && rows > 0}}"
class="ant-skeleton-paragraph {{animate ? 'ant-skeleton-paragraph-animate' : ''}} {{className || ''}}"
style="{{style}}"
>
<block
a:for="{{rows}}"
a:for-index="index"
a:for-item="item"
>
<view class="ant-skeleton-paragraph-row"></view>
</block>
</view>
<slot a:else></slot>

View File

@ -0,0 +1 @@
export {};

View File

@ -0,0 +1,3 @@
import { Component } from '../../_util/simply';
import { SkeletonParagraphDefaultProps } from './props';
Component(SkeletonParagraphDefaultProps);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1,5 @@
import { ISkeletonBaseProps } from '../props';
export interface SkeletonParagraphProps extends ISkeletonBaseProps {
rows: number;
}
export declare const SkeletonParagraphDefaultProps: Partial<SkeletonParagraphProps>;

View File

@ -0,0 +1,3 @@
import { __assign } from "tslib";
import { SkeletonDefaultBaseProps } from '../props';
export var SkeletonParagraphDefaultProps = __assign(__assign({}, SkeletonDefaultBaseProps), { rows: 3 });