zhangmeng
2024-04-19 e3ba120cb766a17e098e58d11c39ffc600a3070c
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
export default {
    props: {
        // 提示内容
        loadingText: {
            type: [String, Number],
            default: uni.$u.props.loadingPage.loadingText
        },
        // 文字上方用于替换loading动画的图片
        image: {
            type: String,
            default: uni.$u.props.loadingPage.image
        },
        // 加载动画的模式,circle-圆形,spinner-花朵形,semicircle-半圆形
        loadingMode: {
            type: String,
            default: uni.$u.props.loadingPage.loadingMode
        },
        // 是否加载中
        loading: {
            type: Boolean,
            default: uni.$u.props.loadingPage.loading
        },
        // 背景色
        bgColor: {
            type: String,
            default: uni.$u.props.loadingPage.bgColor
        },
        // 文字颜色
        color: {
            type: String,
            default: uni.$u.props.loadingPage.color
        },
        // 文字大小
        fontSize: {
            type: [String, Number],
            default: uni.$u.props.loadingPage.fontSize
        },
        // 加载中图标的颜色,只能rgb或者十六进制颜色值
        loadingColor: {
            type: String,
            default: uni.$u.props.loadingPage.loadingColor
        }
    }
}