bug
jiangping
2023-11-07 64b432916af9c9218ab3f3eca614e26c542142ae
minipro_standard/uni_modules/uview-ui/components/u-row-notice/props.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,39 @@
export default {
    props: {
        // æ˜¾ç¤ºçš„内容,字符串
        text: {
            type: String,
            default: uni.$u.props.rowNotice.text
        },
        // æ˜¯å¦æ˜¾ç¤ºå·¦ä¾§çš„音量图标
        icon: {
            type: String,
            default: uni.$u.props.rowNotice.icon
        },
        // é€šå‘Šæ¨¡å¼ï¼Œlink-显示右箭头,closable-显示右侧关闭图标
        mode: {
            type: String,
            default: uni.$u.props.rowNotice.mode
        },
        // æ–‡å­—颜色,各图标也会使用文字颜色
        color: {
            type: String,
            default: uni.$u.props.rowNotice.color
        },
        // èƒŒæ™¯é¢œè‰²
        bgColor: {
            type: String,
            default: uni.$u.props.rowNotice.bgColor
        },
        // å­—体大小,单位px
        fontSize: {
            type: [String, Number],
            default: uni.$u.props.rowNotice.fontSize
        },
        // æ°´å¹³æ»šåŠ¨æ—¶çš„æ»šåŠ¨é€Ÿåº¦ï¼Œå³æ¯ç§’æ»šåŠ¨å¤šå°‘px(rpx),这有利于控制文字无论多少时,都能有一个恒定的速度
        speed: {
            type: [String, Number],
            default: uni.$u.props.rowNotice.speed
        }
    }
}