showCountDown: function(date){
var date = date.split(' ');
var firstDate = date[0].split('-');
var secondDate = date[1].split(':');
var year = firstDate[0];
var month = firstDate[1];
var day = firstDate[2];
var hour = secondDate[0];
var minute = secondDate[1];
var now = new Date();
var endDate = new Date(year, month-1, day);
var leftTime = endDate.getTime()-now.getTime();
var leftsecond = parseInt(leftTime/1000);
var showHour = Math.floor(leftsecond / 3600);
var showMinute = Math.floor((leftsecond - showHour * 3600) / 60);
if(showMinute.toString().length == 1){
showMinute = '0' + showMinute;
}
var showSecond = Math.floor(leftsecond - showHour * 3600 - showMinute * 60);
if(showSecond.toString().length == 1){
showSecond = '0' + showSecond;
}
this.countDownTime = showHour + ':' + showMinute + ':' + showSecond + '后开始直播'
this.trailerText = '已预约观看'
}