From 54be87985c199b19d21d8def8c070f147f23305e Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 22 Nov 2018 09:12:28 +0800 Subject: [PATCH 1/2] feat: add repeat play audio/video mode --- src/components/buttons/Repeat.vue | 52 ++++++++++++++++++++++++++++++ src/components/files/Preview.vue | 53 +++++++++++++++++++++++++++---- src/i18n/en.yaml | 1 + src/i18n/zh-cn.yaml | 1 + src/store/index.js | 1 + src/store/mutations.js | 1 + 6 files changed, 103 insertions(+), 6 deletions(-) create mode 100644 src/components/buttons/Repeat.vue diff --git a/src/components/buttons/Repeat.vue b/src/components/buttons/Repeat.vue new file mode 100644 index 0000000..0152be8 --- /dev/null +++ b/src/components/buttons/Repeat.vue @@ -0,0 +1,52 @@ + + + diff --git a/src/components/files/Preview.vue b/src/components/files/Preview.vue index 5aff507..89ea829 100644 --- a/src/components/files/Preview.vue +++ b/src/components/files/Preview.vue @@ -4,24 +4,24 @@ - + - -
- -