<template name="ranking">
	<view class="container" :class="show ?'slidein':''" @touchstart="Dever.slide" @touchend="end">
		<scroll-view scroll-x class="bg-white nav">
			<view class="flex text-center">
				<view class="cu-item flex-sub" :class="k == index?'text-orange cur':''" v-for="(v, k) in fetch.ranking" :key="k" @click="select(k)">
					{{v.name}}
				</view>
			</view>
		</scroll-view>
		<scroll-view scroll-y class="container_content">
			<view class="description" v-if="fetch.ranking.length > 0">
				<rich-text class="p" :nodes="fetch.ranking[index].desc"></rich-text>
			</view>
			<view class="score-cont" >
				<view class="tip noborder">
					<text class="ico-refresh"></text>
					<picker @change="change" :value="periods_index" :range="ranking_periods">
						<view class="picker">
							左滑关闭，当前是{{periods_index>=0?ranking_periods[periods_index]:'左滑关闭，点此查看往期'}}
						</view>
					</picker>
				</view>
				<view class="top3" v-if="fetch.ranking_data.length > 0">
					<view>
						<view class="no2" v-if="fetch.ranking_data.length > 1">
							<view class="avatar-wrap">
								<image :src="fetch.ranking_data[1].user.avatar"></image>
							</view>
							<view class="name">{{fetch.ranking_data[1].user.username}}
								<text>{{fetch.ranking_data[1].num}}{{fetch.ranking[index].unit}}</text>
							</view>
						</view>
						<view class="no1">
							<view class="avatar-wrap">
								<image :src="fetch.ranking_data[0].user.avatar"></image>
							</view>
							<view class="name">{{fetch.ranking_data[0].user.username}}
								<text>{{fetch.ranking_data[0].num}}{{fetch.ranking[index].unit}}</text>
							</view>
						</view>
						<view class="no3" v-if="fetch.ranking_data.length > 2">
							<view class="avatar-wrap">
								<image :src="fetch.ranking_data[2].user.avatar"></image>
							</view>
							<view class="name">{{fetch.ranking_data[2].user.username}}
								<text>{{fetch.ranking_data[2].num}}{{fetch.ranking[index].unit}}</text>
							</view>
						</view>
					</view>
				</view>
				<view class="scorelist" v-if="fetch.ranking_data.length > 2">
					<view class="scoreitem" v-for="(v, k) in fetch.ranking_data" :key="k" v-if="k > 2">
						<view class="avatar">
							<text class="order-num">{{k+1}}</text>
							<image :src="v.user.avatar"></image>
							<text class="name">{{v.user.username}}</text>
						</view>
						<view class="score">{{v.num}}{{fetch.ranking[index].unit}}</view>
					</view> 
				</view>
			</view>
		</scroll-view>
	</view>
</template>

<script>
export default {
	name: "ranking",
	props: {
		id : 0,
		bgcolor : '',
		color : '',
	},
	data() {
		return {
			fetch : {
				ranking_periods : [],
				ranking_data : [],
				ranking : [],
			},
			periods_index : 0,
			index : 0,
			show : false,
			ranking_periods : [],
		}
	},
	mounted() {
		this.getData();
	},
	methods:{
		getData : function() {
			var self = this;
			this.Dever.get(this, 'app/collection/?l=api.getRanking', {id:this.id,noloading:1}, function(t) {
				if (t && t.ranking && t.ranking[self.index]) {
					self.getRankingData(t.ranking[self.index].id, 0);
				}
			});
		},
		getRankingData : function(ranking_id, ranking_periods) {
			var self = this;
			this.fetch.ranking_data = [];
			this.Dever.get(this, 'app/collection/?l=api.getRankingData', {id:this.id,ranking_id:ranking_id,ranking_periods:ranking_periods}, function(t) {
				self.show = true;
				if (t && t.ranking_periods) {
					for (var i in t.ranking_periods) {
						self.ranking_periods[i] = t.ranking_periods[i].name;
					}
				}
			});
		},
		select : function(index) {
			this.index = index;
			this.periods_index = 0;
			this.getRankingData(this.fetch.ranking[this.index].id, 0);
		},
		hideRanking : function() {
			this.show = false;
			this.$emit('hideRanking');
		},
		end : function(e) {
			var type = this.Dever.slideEnd(e);
			if (type == 3 || type == 4) {
				this.hideRanking();
			}
		},
		change : function(e) {
			this.periods_index = e.detail.value;
			this.getRankingData(this.fetch.ranking[this.index].id, this.fetch.ranking_periods[this.periods_index].id);
		}
	},
	components:{
		
	}
}
</script>

<style>
.container {
  background: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition-property: transform;
  transition-duration: 0.3s;
  transition-timing-function: ease-in;
  z-index:20;
}
.container.slidein{
  transform: translateY(0);
}
.container_content {
	height: 92%;
}
.btn-wrapper {
  justify-content: space-around;
  width: 100%;
}

.button {
  height: 80rpx;
  border: 1rpx solid #cc1619;
  color: #cc1619;
  font-size: 30rpx;
  min-width: 300rpx;
  border-radius: 40rpx;
  text-align: center;
  line-height: 80rpx;
  display: block;
  position: relative;
}
.button>button{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0;
}

.button.primary {
  background-color: #000;
  color: #fff;
}

.button.blk {
  background-color: #000;
  color: #fff;
  border-color: #000;
}
.header .tit{
  font-size: 30rpx;
  line-height: 36rpx;
  margin: 50rpx 0 50rpx 29rpx;
  overflow: hidden;
}
.description{
  width: 710rpx;
  margin: 0 auto;
  padding-top: 40rpx;
  padding-bottom: 40rpx;
}
.description image{
  width: 100%;
}

.score-cont{
  width: 690rpx;
  margin: 0 auto;
  overflow: visible;
  min-height: 400rpx;
}
.score-cont .tip{
  border-top: #CCCCCC 1rpx solid;
  font-size: 26rpx;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: 33rpx 0 40rpx;
}
.score-cont .tip.noborder{
  border: 0;
}
.score-cont .tip .ico-refresh{
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAv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QIXLL5Er4QoNkOxatkZakAamMTHG+WtjfPZJEKVfFlU3tsynxU+JoJiqnpqiNAPPC5BvgjFsf1URcfOZe19rG6xjCgJSeH/FaEjNhR6rWAYhhwnqaIhQhtsr4nCbEyf6+bUrsFPuy3FZR19YR3Vmw1jbHjn8c4g638IfGZjqSwYZ5XlVohbjrkrtFt3bz8/TOnXpwiFuulL1ibGKiQn6xo7fOZREIl10ofUZZHTCSvpuM2Oq6AkDAEJ+SjHSpFWPXdnkPvZrHYhGdb2QzvLB73c/WXMLiiz+jWsVywUmbmYbaBPOwiPWXO/mE1yeSwDxfwuJTIoY+DzMtx7nazTWzDNcAQs3PLo/0Bhx6PcaUZOJrPL4+8Lbl/3Nln3xB4EGAAwlCnQ9YtQ6QAAAABJRU5ErkJggg==) no-repeat;
  background-size: 26rpx 30rpx;
  width: 26rpx;
  height: 30rpx;
  display: block;
  margin-right: 14rpx;
}
.score-cont .top3{
  display: flex;
  align-items: center;
  background: url(data:image/png;base64,[encoded data, 5224 characters]) no-repeat;
  background-size: 690rpx 229rpx;
  width: 690rpx;
  height: 229rpx;
}
.score-cont .top3>view{
  width: 690rpx;
  margin: -29rpx auto 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  font-size: 24rpx;
  color: #ffffff;
}
.score-cont .top3 image{
  width: 66rpx;
  height: 66rpx;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  border: 2rpx solid #fff;
}
.score-cont .top3>view .no1,.score-cont .top3>view .no2,.score-cont .top3>view .no3{
  width: 33.33%;
  flex-shrink: 0;
}
.score-cont .top3 .name{
  display: block;
  font-size: 24rpx;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 20rpx;
  box-sizing: border-box;
}
.score-cont .top3 .name text{
  display: block;
  font-size: 22rpx;
}
.score-cont .top3 .avatar-wrap{
  position: relative;
  margin-bottom: 18rpx;
  overflow: visible;
}
.score-cont .top3 .avatar-wrap:after{
  content: '';
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yddD+us5sKV3ePaKW5TC4m2dRzJcKT8d8eO4sDkSvu7KvyNa/f9P71PgXEsSagKHun8We8YdwFH5E3VI541jdoDpCE+kKdjIQRDCC6hfGHA0+KmsXj1ueHex3zfWhQBgJlnHsat+3cpt3ppBUcr0zP9jPCX2S27rAPi5EQBhLglur//5c0CB9en1tKBD+YJgc1ky/xSOBMGvS3aFC+MBwS2mgZ/4XYAARyXi7iYVf/AAAAABJRU5ErkJggg==) no-repeat;
  background-size: 34rpx 34rpx;
  bottom: -12rpx;
  left: 50%;
  transform: translate(-50%,0);
}
.score-cont .top3 .no1 image{
  width: 96rpx;
  height: 96rpx;
}
.score-cont .top3 .no2 .avatar-wrap:after{
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAjCAYAAADxG9hnAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZi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t0+ki/4sj3Q/jUjnzGT0QpUDRbb4/VsxEI2/p4B4Oampo7t4Kw/yrpqNJJ5VKve2pIwjtNEsGn5JBpFO3kkIo/ogFSzaIOXPW5/u75pz9wNhOXPl3jMDv5VvDu7kGkmqDxxINF9KskmbSMD3CpEUxl4YNlu3HU0bpB9f+ut+IBLBMCWjnf7ndwXCHCW99wsRByPZzyab858AAwAq7dNqa69WKwAAAABJRU5ErkJggg==);
}
.scorelist{
  border-left: 1rpx solid #e5e5e5;
  border-right: 1rpx solid #e5e5e5;
  width: 636rpx;
  margin: -27rpx 0 0 27rpx;
  box-sizing: border-box;
}
.scorelist .scoreitem{
  display: flex;
  height: 135rpx;
  align-items: center;
  border-bottom: 1rpx solid #F0F0F0;
  justify-content: space-between;
  padding: 0 30rpx;
}
.scorelist .scoreitem .avatar{
  display: flex;
  align-items: center;
}
.scorelist .scoreitem .avatar image{
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  margin: 0 15rpx;
}
.scorelist .scoreitem .avatar .name{
  font-size: 28rpx;
}
.scorelist .scoreitem .score{
  font-size: 28rpx;
  color: #666;
}
.scorelist .scoreitem .order-num{
  font-size: 28rpx;
  width: 50rpx;
  height: 50rpx;
  text-align: center;
  line-height: 50rpx;
}
.loading{
  padding:50rpx;
}
</style>
