player: progress bar position
This commit is contained in:
		@ -2,20 +2,18 @@
 | 
			
		||||
    <div class="a-playlist">
 | 
			
		||||
        <div class="header"><slot name="header"></slot></div>
 | 
			
		||||
        <ul :class="listClass">
 | 
			
		||||
            <li v-for="(item,index) in items" :class="itemClass" @click="!hasAction('play') && select(index)"
 | 
			
		||||
            <li v-for="(item,index) in items" :class="[itemClass, player.isPlaying(item) ? 'is-active' : '']" @click="!hasAction('play') && select(index)"
 | 
			
		||||
                :key="index">
 | 
			
		||||
                <a :class="player.isPlaying(item) ? 'is-active' : ''">
 | 
			
		||||
                    <ASoundItem
 | 
			
		||||
                        :data="item" :index="index" :set="set" :player="player_"
 | 
			
		||||
                        @togglePlay="togglePlay(index)"
 | 
			
		||||
                        :actions="actions">
 | 
			
		||||
                        <template v-slot:actions="{}">
 | 
			
		||||
                            <button class="button" v-if="editable" @click.stop="remove(index,true)">
 | 
			
		||||
                                <span class="icon is-small"><span class="fa fa-close"></span></span>
 | 
			
		||||
                            </button>
 | 
			
		||||
                        </template>
 | 
			
		||||
                    </ASoundItem>
 | 
			
		||||
                </a>
 | 
			
		||||
                <ASoundItem
 | 
			
		||||
                    :data="item" :index="index" :set="set" :player="player_"
 | 
			
		||||
                    @togglePlay="togglePlay(index)"
 | 
			
		||||
                    :actions="actions">
 | 
			
		||||
                    <template v-slot:actions="{}">
 | 
			
		||||
                        <button class="button" v-if="editable" @click.stop="remove(index,true)">
 | 
			
		||||
                            <span class="icon is-small"><span class="fa fa-close"></span></span>
 | 
			
		||||
                        </button>
 | 
			
		||||
                    </template>
 | 
			
		||||
                </ASoundItem>
 | 
			
		||||
            </li>
 | 
			
		||||
        </ul>
 | 
			
		||||
        <slot name="footer"></slot>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user