From f111e9fc64f33915553fcbcc90a6f7a76c2c062a Mon Sep 17 00:00:00 2001 From: SevenOutman Date: Tue, 27 Mar 2018 13:29:40 +0800 Subject: [PATCH] add loading indicator to progress bar thumb --- README.md | 2 +- .../aplayer-controller-progress.vue | 41 +++++++++++++++++++ src/components/aplayer-icon.vue | 1 + src/vue-aplayer.vue | 21 ++++++++-- 4 files changed, 61 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2e61aa3b..b7c65a37 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ [![devDependency Status](https://img.shields.io/david/dev/SevenOutman/vue-aplayer.svg?style=flat-square)](https://david-dm.org/SevenOutman/vue-aplayer#info=devDependencies) [![npm](https://img.shields.io/npm/dt/vue-aplayer.svg?style=flat-square)](https://www.npmjs.com/package/vue-aplayer) -![vue-aplayer](https://i.loli.net/2018/03/16/5aab3da0746e7.png) +![Vue-APlayer](https://i.loli.net/2018/03/16/5aab3da0746e7.png) ### Features - Clean and simple UI diff --git a/src/components/aplayer-controller-progress.vue b/src/components/aplayer-controller-progress.vue index 6ac6777b..609ee6bc 100644 --- a/src/components/aplayer-controller-progress.vue +++ b/src/components/aplayer-controller-progress.vue @@ -21,6 +21,11 @@ class="aplayer-thumb" :style="{borderColor: theme, backgroundColor: thumbHovered ? theme : '#fff'}" > + + + @@ -29,8 +34,12 @@