<template name="dever-audio">
	<view class="control">
		<view v-if="lrc">
			<bing-lyric :lyrics="lyrics" :centerStyle="centerStyle" :curTime="currentTimeSecond" :areaStyle="cuAreaStyle" :selectControlStyle="selectControlStyle" :lyricStyle="lyricStyle"
					 @centerBtnClick="centerBtnClick" @copyLyrics="copy"></bing-lyric>
		</view>

		<view @click="open" v-if="!lrc">
			<cover-image v-if="pic" class="poster" :src="pic" mode="aspectFill" style="height:auto">
			</cover-image>
			
			<cover-image
			class="ico-music-playing" v-if="playButton"></cover-image>
			
			<cover-image
			class="ico-music-play" v-if="!playButton"></cover-image>
		</view>
		
		<view :class="audioClass">
			<view class="audio-wrapper">
				<view class="audio-number">{{currentTime}}</view>
				<slider class="audio-slider" :activeColor="color" block-size="16" :value="current" :max="duration" @changing="seek=true,current=$event.detail.value"
				 @change="change"></slider>
				<view class="audio-number">{{durationTime}}</view>
			</view>
			<view class="audio-controll" v-if="lrc">
				<cover-image class="image" v-if="!recycleStatus" @click="setRecycle" src="@/static/music/recycle.png" mode="aspectFit"></cover-image>
				
				<cover-image class="image" v-if="recycleStatus" @click="setRecycle" src="@/static/music/recycled.png" mode="aspectFit"></cover-image>
				
				<cover-image class="image" @click="last" src="@/static/music/last.png" mode="aspectFit"></cover-image>
				
				<cover-image class="image" v-if="!play" @click="open" src="@/static/music/play.png" mode="aspectFit"></cover-image>
				<cover-image class="image" v-if="play" @click="open" src="@/static/music/pause.png" mode="aspectFit"></cover-image>
				
				<cover-image class="image" @click="next" src="@/static/music/next.png" mode="aspectFit"></cover-image>
			</view>
		</view>
	</view>
</template>

<script>
import bingLyric from '@/lib/bing-lyric/bing-lyric.vue'
import copyText from "@/lib/clipboard.thorui.js"; 
export default {
	name: "dever-audio",
	props: {
		src : {
			type    : String,
			value	: null
		},
		loop : {
			type    : Boolean,
			value	: false
		},
		pic : {
			type    : String,
			value	: null
		},
		auto : {
			type    : Boolean,
			value	: false
		},
		control : {
			type    : Boolean,
			value	: false
		},
		color: {
			type:String,
			default:'#169af3'
		},
		title : '',
		singer : '',
		lrc : '',
		lrc_color : '',
		lrc_atcolor : '',
		recycle : '',
	},
	components:{
		bingLyric
	},
	data() {
		return {
			time : {},
			objectFit : 'fill',
			play : false,
			playButton : false,
			audio : false,
			recycleStatus : false,
			audioClass : 'audio-lrc',
			currentTime: '', //当前播放时间
			duration:'',
			durationTime: '', //总时长
			current: 0, //slider当前进度
			loading: false, //是否处于读取状态
			paused: true, //是否处于暂停状态
			seek: false ,//是否处于拖动状态
			currentTimeSecond: 0,//当前播放秒数
			centerStyle: {
				btnImg: '../../static/music/btn.png',
			},
			lyricStyle: {
				color: this.lrc_color ,//歌词颜色,
				activeColor: this.lrc_atcolor ,//当前播放的歌词的颜色,
				fontSize: '16px' ,//歌词字体尺寸
				activeFontSize: '16px' ,//当前播放的歌词的字体尺寸
				lineHeight: '40px' ,//每句歌词的显示区域的高度 以此来调整歌词间距
				activeLineHeight: '32px' ,//当前播放歌词的显示区域的高度
				selectedBGColor: 'inherit' ,//进入歌词选择模式时，被选择的歌词背景颜色
			},
			cuAreaStyle: {
				width: '100vw',
				height: '100vh',
				background : 'url('+this.pic+')',
			},
			selectControlStyle : {
				color : 'white',
				itemBackgroundColor : '#333333',
				backgroundColor : 'rgba(0,0,0,0)',
			},
			lyrics: [],
			
		};
	},
	watch: {
		//监听总时长改变
		duration(e) {
			//this.durationTime = this.format(e)
		},
		//监听当前进度改变
		current(e) {
			this.currentTime = this.format(e)
			this.currentTimeSecond = e;
			this.timeUpdate(this.currentTimeSecond);
		}
	},
	mounted() {
		
		//考虑换成getBackgroundAudioManager()
		if (this.Dever.source == 'h5') {
			this.audio = uni.createInnerAudioContext()
			this.audio.src = this.src;
			this.audio.obeyMuteSwitch = false;
			this.audio.autoplay = this.auto;
			//this.audio.loop = this.loop;
		} else {
			this.audio = uni.getBackgroundAudioManager()
			this.audio.title = this.title;
			this.audio.singer = this.singer;
			this.audio.coverImgUrl = this.pic;
			this.audio.src = this.src;
		}
		
		this.recycleStatus = this.recycle;
		if (!this.lrc) {
			this.lyrics = [];
			this.audioClass = 'audio';
		} else {
			if (this.lrc.length > 0) {
				this.lyrics = this.lrc;
			} else {
				this.lyrics = [];
			}
			
			this.audioClass = 'audio-lrc';
		}
		
		this.current = 0;
		
		//音频进度更新事件
		this.audio.onTimeUpdate(() => {
			if (!this.seek) {
				this.current = this.audio.currentTime;
			}
			if (!this.durationTime) {
				this.duration = this.audio.duration;
				this.durationTime = this.format(this.audio.duration);
			}
		})
		//音频完成更改进度事件
		this.audio.onSeeked(() => {
			this.seek = false;
		})
		//音频播放完成事件
		this.audio.onEnded(() => {
			if (this.recycleStatus) {
				// 播放下一曲
				this.next();
			} else {
				this.play = false;
				this.playButton = false;
				this.audio.seek(0);
				this.start();
			}
		});
	},
	methods:{
		start : function()  {
			this.$emit('update:load', true);
			if (!this.play) {
				this.Dever.bgm().stop();
				this.audio.play();
				this.play = true;
				this.playButton = true;
				this.$emit('play', 'start');
			}
		},
		stop : function() {
			if (this.play) {
				this.audio.pause();
				this.play = false;
				this.playButton = false;
				this.$emit('play', 'stop');
			}
		},
		open : function()  {
			if (!this.play) {
				this.start();
			} else {
				this.stop(true);
			}
		},
		//上一曲
		last : function() {
			this.$emit('last');
		},
		//下一曲
		next : function() {
			this.$emit('next');
		},
		//多曲循环播放
		setRecycle : function() {
			this.recycleStatus = !this.recycleStatus;
			this.$emit('setRecycle');
		},
		//格式化时长
		format : function(num) {
			return '0'.repeat(2 - String(Math.floor(num / 60)).length) + Math.floor(num / 60) + ':' + '0'.repeat(2 - String(
				Math.floor(num % 60)).length) + Math.floor(num % 60)
		},
		//完成拖动事件
		change : function(e) {
			this.audio.seek(e.detail.value)
		},
		copy : function(e) {
			var self = this;
			var value = '';
			for (var i in e.lyrics) {
				value += e.lyrics[i] + "\r\n";
			}
			copyText.getClipboardData(value, function(res) {
				if (res) {
					self.Dever.alert('复制成功');
				} else {
					self.Dever.alert('复制失败');
				}
			});
		},
		centerBtnClick : function(e) {
			this.currentTimeSecond = e.centerTime
			this.audio.seek(this.currentTimeSecond);
		},
		timeUpdate : function(time) {
			if (this.play == true) {
				var currentTime = time;
				currentTime = parseInt(currentTime);
				if (!this.time[currentTime]) {
					this.time[currentTime] = currentTime;
					this.$emit('play', 'time', [this, currentTime]);
				}
			}
		}
	},
}
</script>
<style scoped>
.control {
	width: 100%;
	height: 100%;
	z-index: 2;
	background: transparent;
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
}
.poster{
	background-size: cover;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.audio-lrc {
	padding: 24rpx;
	background: #fff;
	border-radius: 20rpx;
	position: absolute;
	z-index: 100;
	background: #666666;
	background: hsla(0,0%,100%,.6);
	
	bottom: 10rpx;
	left: 20rpx;
	width: 78%;
}

.audio {
	padding: 24rpx;
	background: #fff;
	border-radius: 20rpx;
	position: absolute;
	z-index: 100;
	background: transparent;
	
	bottom: 0rpx;
	left: 0rpx;
	width: 100%;
}

.audio-wrapper {
	display: flex;
	align-items: center;
}

.audio-number {
	font-size: 24rpx;
	line-height: 1;
	color: #333;
	color: #fff;
}

.audio-slider {
	flex: 1;
	margin: 0 30rpx;
}
.audio-controll {
	display: flex;
	justify-content: space-around;
	margin-top: 26rpx;
}
.audio-controll .image {
	display: inline-block;
	height: 30rpx;
	width: 30rpx;
}
.ico-music-play{
  background: url(@/static/music/speaker.png) no-repeat;
  background-size: cover;
  width: 100rpx;
  height: 100rpx;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%,-50%,0);
}
.ico-music-playing{
  background: url(data:image/gif;base64,R0lGODlhZABkAOZGAP7+/v39/fT09Pz8/Orq6vf3997e3vDw8Pv7++7u7uPj4+jo6MTExLS0tM7OzsDAwODg4NXV1d3d3eLi4vn5+ampqdvb28HBwfX19cnJyfr6+vLy8vHx8dzc3OXl5fb29u3t7cfHx9PT08/Pz7u7u9HR0dra2rCwsLe3t9fX1+vr68vLy62trdjY2OHh4a+vr7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0RbhWyA32hdOfJ79IZwQHjWwwiAbD/aLBITxtSBA4nKCmVxEffDDcIiAMktEhcTkIYiERxCijjCk4p4MR3hVBwlUvGJHCIp4ZoQNzgozHCBCFbIAB/yupHGfIeaIckNQFi/wDWxEdGOEVIS0QaYQHjdw4CF5YmuJcJggcQmEoqu3gyAUIfsCYgkaQVgSchAT3i1EjFuGkEUIYIOigg2Z5CJShpFlKXB4asYF9i2TAVgpseXBYEYP00IikazJ0KCp/enJdEf8JIkRtI/ZAyHUwaFeEpIw1U0AJqEiY54s3KdpnEZQNZqF56CHYEQiLrEAbIzbAhGsnJXzgQyFx4UbIeXwKK4hExy0i2wuNGOrTsrLkiKkhaw5iwiI3CKIWlOkaQUGVN6nzzAiLLGkImOO6O5ydi8gpSAheUqJKfM8sUsIhbhZRA4K2NnICgKTwp8kl4WFjw/8PiDBYxAxGiLBIqYJAycEs7gUTXUmLmGAEBkTii4u4z9m2SKgHLYLPIr1mugIuZ477Gzz1ErEIDfX4dom0B70bQLnw9KbUJXQCBPNW6xwbM4KoAuRCI5QC/RUmQQJEw27Y8LvZZBfJwEij5mh2NdZkF71IXf00hsl9AL0djm5Zy0weYEVUa05gesPNCN35mAAAxuuQ2bfhf9u16M+YVCf5JqDFvavml2f1M+RFUN25JF49ztYlVI0OyVWNzdVIU6ofAtXnpzcieOyEJGU6WGjjTojbhUeSSU6+89S6VJfIFHtNxyN/iWijj9q8844oLznz0y+F0+XGZy/wT28BHzxvKQzBflREL20ESuo6sU47+aCIXlLp7w8TiuUHZV7/WKC4c5A8/EBOO/CGDXTIK2+o2EY3xOc9F6VCGtSwWgBnQgxjECwRymAGLKoCDEbwwhcdDJhOQkjCfL2lhLaIHQrBNboVNlB1JfRdvCZ4kUAAADs=) no-repeat;
  background-size: cover;
  width: 100rpx;
  height: 100rpx;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%,-50%,0);
}
</style>