From d9fa0ff65da2a4aed9ba5ed4bb8ace289bb62cb5 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 5 May 2018 13:31:01 +0800 Subject: [PATCH] [bugfix] Stepper: integer wrong spelling (#992) --- docs/demos/views/stepper.vue | 2 +- docs/markdown/en-US/stepper.md | 4 ++-- docs/markdown/zh-CN/stepper.md | 4 ++-- packages/stepper/index.vue | 4 ++-- packages/submit-bar/index.vue | 2 +- packages/vant-css/src/submit-bar.css | 2 +- test/specs/submit-bar.spec.js | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) 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': '' }