lin
2026-05-26 5ee4ff56beb980b460327e4c6ef4283d299d4a21
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
export default {
    props: {
        // 文字颜色
        color: {
            type: String,
            default: ''
        },
        // 字体大小,单位px
        fontSize: {
            type: [String, Number],
            default: 14
        },
        // 是否显示下划线
        underLine: {
            type: Boolean,
            default: false
        },
        // 要跳转的链接
        href: {
            type: String,
            default: ''
        },
        // 小程序中复制到粘贴板的提示语
        mpTips: {
            type: String,
            default: '链接已复制,请在浏览器打开'
        },
        // 下划线颜色
        lineColor: {
            type: String,
            default: ''
        },
        // 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色
        text: {
            type: String,
            default: ''
        },
        ...uni.$uv?.props?.link
    }
}