diff --git a/docs/demos/views/stepper.vue b/docs/demos/views/stepper.vue index 9fc490235..d9d49bae2 100644 --- a/docs/demos/views/stepper.vue +++ b/docs/demos/views/stepper.vue @@ -11,7 +11,7 @@ diff --git a/packages/vant-css/src/submit-bar.css b/packages/vant-css/src/submit-bar.css index 28238630f..5de3fe021 100644 --- a/packages/vant-css/src/submit-bar.css +++ b/packages/vant-css/src/submit-bar.css @@ -35,7 +35,7 @@ } } - &__price-interger { + &__price-integer { color: $red; } diff --git a/test/specs/submit-bar.spec.js b/test/specs/submit-bar.spec.js index df95e6a4d..15c514992 100644 --- a/test/specs/submit-bar.spec.js +++ b/test/specs/submit-bar.spec.js @@ -22,7 +22,7 @@ describe('SubmitBar', () => { DOMChecker(wrapper, { text: { '.van-button__text': props.buttonText, - '.van-submit-bar__price-interger': '¥30.', + '.van-submit-bar__price-integer': '¥30.', '.van-submit-bar__price-decimal': '50', '.van-submit-bar__tip': props.tip } @@ -41,7 +41,7 @@ describe('SubmitBar', () => { DOMChecker(wrapper, { text: { '.van-button__text': '提交订单', - '.van-submit-bar__price-interger': '¥30.', + '.van-submit-bar__price-integer': '¥30.', '.van-submit-bar__price-decimal': '05', '.van-submit-bar__tip': '' }