diff --git a/dist/notice-bar/index.js b/dist/notice-bar/index.js index 7043dbd..96d04f7 100644 --- a/dist/notice-bar/index.js +++ b/dist/notice-bar/index.js @@ -19,7 +19,7 @@ Component({ value: false }, // 背景颜色 - backgroundcolor: { + backgroundColor: { type: String, value: '#fefcec' }, diff --git a/examples/pages/notice-bar/index.wxml b/examples/pages/notice-bar/index.wxml index 1d90f27..108dbdb 100644 --- a/examples/pages/notice-bar/index.wxml +++ b/examples/pages/notice-bar/index.wxml @@ -4,7 +4,7 @@ - + 2018年世界杯,将于6月14日至7月15日举行 diff --git a/src/notice-bar/index.wxml b/src/notice-bar/index.wxml index 5de1e11..4fa7b4d 100644 --- a/src/notice-bar/index.wxml +++ b/src/notice-bar/index.wxml @@ -1,9 +1,9 @@ - + - + - + \ No newline at end of file