-
zhangwei
2024-10-08 93a986bc80abdef75923054b9df9adb6e1ccff52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { AllowedComponentProps, VNodeProps } from './_common'
 
declare interface LoadingPageProps {
  /**
   * 提示内容
   * @default "正在加载"
   */
  loadingText?: string | number
  /**
   * 文字上方用于替换loading动画的图片
   */
  image?: string
  /**
   * 加载动画的模式
   * @default "circle"
   */
  loadingMode?: 'circle' | 'spinner' | 'semicircle'
  /**
   * 是否加载中
   * @default false
   */
  loading?: boolean
  /**
   * 背景颜色
   * @default "#ffffff"
   */
  bgColor?: string
  /**
   * 文字颜色
   * @default "#C8C8C8"
   */
  color?: string
  /**
   * 文字大小
   * @default 19
   */
  fontSize?: string | number
  /**
   * 图标大小
   * @default 28
   */
  iconSize?: string | number
  /**
   * 加载中图标的颜色
   * @default "#C8C8C8"
   */
  loadingColor?: string
}
 
declare interface _LoadingPage {
  new (): {
    $props: AllowedComponentProps &
      VNodeProps &
      LoadingPageProps
  }
}
 
export declare const LoadingPage: _LoadingPage