From d14672667fbf97a729b86a3813c46092abb7f474 Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Sun, 16 Dec 2018 12:40:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=BC=94=E7=A4=BA=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=98=BE=E7=A4=BA=EF=BC=8C=E5=B8=AE=E5=8A=A9=E7=90=86?= =?UTF-8?q?=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 1dfab754fe77b7a8f6fa1d053c7f2df52a72fb3d [formerly 1dfab754fe77b7a8f6fa1d053c7f2df52a72fb3d [formerly 1dfab754fe77b7a8f6fa1d053c7f2df52a72fb3d [formerly 1dfab754fe77b7a8f6fa1d053c7f2df52a72fb3d [formerly c126939c14dfc1f4de83826542d25b6742a0efba [formerly 0feb4c994c1b1ec96b04e19165d22f3d9b9798b5]]]]] Former-commit-id: b86edf90b0d5a101666f974c0870383d4bddf4d4 Former-commit-id: 1fff3f00778fdc111a1afe6b510c2aaf9eaa90a6 Former-commit-id: c493552f0eec495528ad7fce12850accce9faef7 [formerly d269ed5b45a082222ecc68712255f8496c817f2e] Former-commit-id: 5ee1efa4e3fbf9355d9715cf5ba0521934320503 Former-commit-id: f5ad3a4b65fcaef1387fe5ca7acf77ff7b10f15c Former-commit-id: 079eebf234456b8b466d44f7513f2da9e43d4bce Former-commit-id: 544e86957c428321a8461a2bba43494fa2cf00ba Former-commit-id: 0505b45caaf091d3fad13337a13be7f612619f47 --- .../day/components/code-and-result.vue | 36 +++--- src/pages/demo/filters/day/index.vue | 118 +++++++++--------- 2 files changed, 73 insertions(+), 81 deletions(-) diff --git a/src/pages/demo/filters/day/components/code-and-result.vue b/src/pages/demo/filters/day/components/code-and-result.vue index 67463d06..b3c1fb50 100644 --- a/src/pages/demo/filters/day/components/code-and-result.vue +++ b/src/pages/demo/filters/day/components/code-and-result.vue @@ -1,18 +1,26 @@ @@ -33,15 +41,6 @@ export default { } }, methods: { - buttonClass (index) { - if (index === 0) { - return 'code-and-result--button__first' - } else if (index === this.labelList.length - 1) { - return 'code-and-result--button__last' - } else { - return 'code-and-result--button' - } - }, handleClip (value) { clipboard.writeText(value) this.$notify({ @@ -56,22 +55,15 @@ export default { diff --git a/src/pages/demo/filters/day/index.vue b/src/pages/demo/filters/day/index.vue index 7c6ce7ee..1044b18d 100644 --- a/src/pages/demo/filters/day/index.vue +++ b/src/pages/demo/filters/day/index.vue @@ -5,76 +5,76 @@ 原值 value : {{value}} - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - + + + + - - - - - - + + + + + + - - + + - + - - - - - - + + + + + + - - - - + + + +