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}} - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - + + + + - - - - - - + + + + + + - - + + - + - - - - - - + + + + + + - - - - + + + +