Commit bc1a1e83709259271649085deb18f06899758c0b

Authored by ly525
1 parent 92d329ee

component(notice-bar): add color props

front-end/h5/src/components/plugins/lbp-notice-bar.js
... ... @@ -30,7 +30,8 @@ export default {
30 30 }
31 31 }),
32 32 vertical: PropTypes.boolean(),
33   - backgroundColor: PropTypes.color({ defaultValue: '#fffbe8' }), /** 淡黄色 */
  33 + backgroundColor: PropTypes.color({ label: '背景色', defaultValue: '#fffbe8' }), /** 淡黄色 */
  34 + color: PropTypes.color({ defaultValue: '#ed6a0c' }), /** 淡黄色 */
34 35 mode: {
35 36 type: String,
36 37 default: '',
... ...