<template>
	<view class="content">

		<view class="box-ds" v-for="(item,index) in 5" :key="index">
			<view class="d-s">
				<view class="touxiang">
					<image src="../../static/imgs/mm.jpg" mode=""></image>
				</view>
				<view class="name_">教练名称</view>
			</view>
			<view class="qiu" v-if="show == false" @click="show =!show"></view>
			<view class="qiu-x" v-else @click="show =!show">
				<u-icon name="checkbox-mark" color="#fff" size="16"></u-icon>
			</view>
		</view>
		<view style="width: 100%; height: 70px;"></view>
		<view class="bottom-box">
			<view class="anniu">选择教练</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				keyword: '',
				tabindex: 0,
				tabindex2: 1,
				show: false,
				tabList: [
					'教学学员', '教学课程',
				],

			}
		},
		onShow() {

		},
		onPullDownRefresh() {
			console.log("刷新");
			uni.stopPullDownRefresh()
		},
		onReachBottom() {
			// this.show = true
			setTimeout(() => {
				console.log("加载执行");
			}, 2000)
		},

		methods: {

			goback() {
				uni.navigateBack()
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		width: 100%;
		background: #f7f7f7;
		height: 100vh;
		box-sizing: border-box;

	}

	.touxiang {
		width: 46px;
		height: 46px;
		border-radius: 50%;
		overflow: hidden;
		margin-right: 10px;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.name_ {
		font-weight: bold;
		font-size: 16px;
		color: #333333;
	}

	.qiu {
		width: 21px;
		height: 21px;
		border-radius: 50%;
		border: 1px solid #DCDCDC;
	}

	.qiu-x {
		width: 21px;
		height: 21px;
		border-radius: 50%;
		border: 1px solid #4AA76F;
		background: #4AA76F;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.container {
		width: 100%;
		background: #f7f7f7;
		box-sizing: border-box;

	}

	.d-s {
		display: flex;
		align-items: center;

	}

	.top-d-s {
		width: 95%;
		margin: 10px auto;
		display: flex;
		align-items: center;
	}

	.touxiang {
		width: 56px;
		height: 56px;
		border-radius: 0px 0px 0px 0px;
		overflow: hidden;
		border-radius: 50%;
		margin-right: 10px;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.touxiang1 {
		width: 36px;
		height: 36px;
		border-radius: 0px 0px 0px 0px;
		overflow: hidden;
		border-radius: 50%;
		margin-right: 10px;

		image {
			width: 100%;
			height: 100%;
		}
	}



	.bai-box {
		width: 95%;
		margin: 10px auto;
		background: #FFFFFF;
		border-radius: 8px;
		box-sizing: border-box;
		padding: 15px;
	}

	.tab-box {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 10px;
	}

	.t-box {
		width: 50%;
		text-align: center;
		font-weight: 400;
		font-size: 14px;
		color: #333333;
	}

	.gang {
		width: 16px;
		height: 3px;
		margin: 0px auto;
		margin-top: 5px;
		// background: #4AA76F;
	}

	.lvsize {
		color: #4AA76F !important;
	}

	.lvback {
		background: #4AA76F;
	}

	.box-ds {
		width: 95%;
		margin: 15px auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
		background-color: #fff;
		border-radius: 4px;
		box-sizing: border-box;
		padding: 10px;
	}

	.left-box {
		width: 106px;
		height: 66px;
		overflow: hidden;
		border-radius: 6px;
		margin-right: 10px;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.box-title {
		font-weight: 800;
		font-size: 14px;
		color: #333333;
		margin-bottom: 5px;
	}

	.wrap-box {
		width: 100%;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		flex-wrap: wrap;

	}

	.icon-lv {
		background: #E6F5F0;
		border-radius: 2px 2px 2px 2px;

		box-sizing: border-box;
		padding: 5px;
		font-weight: 400;
		font-size: 10px;
		font-size: 10px;
		color: #4AA76F;
		margin-right: 10px;
	}

	.icon-h {
		background: #FFEDD4;
		border-radius: 2px 2px 2px 2px;

		box-sizing: border-box;
		padding: 5px;
		font-weight: 400;
		font-size: 10px;
		font-size: 10px;
		color: #EDA23A;
	}

	.price_ {
		font-weight: bold;
		font-size: 14px;
		color: #FB423B;
		margin-right: 15px;
	}

	.sc {
		font-size: 10px;
		color: #AAAAAA;
		text-decoration-line: line-through;
		text-transform: none;
	}

	.liang-box {
		border-top: 1px solid #DDDDDD;

		box-sizing: border-box;
		padding: 10px 0px;
		margin-top: 10px;
	}

	.lb-box {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: 12px;
		color: #999999;
		margin-bottom: 5px;

	}

	.right-icon {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		font-size: 12px;
		font-weight: bold;
		margin-top: 10px;

	}

	.h-bs- {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px solid #EEEEEE;
		box-sizing: border-box;
		padding: 10px 0px;
		font-size: 12px;
	}

	.anniu {
		width: 313px;
		height: 40px;
		background: #FFFFFF;
		border-radius: 20px 20px 20px 20px;
		border: 1px solid #4AA76F;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #4AA76F;
		margin: 15px auto;
	}

	.top-input {
		width: 100%;
		background: #fff;
		box-sizing: border-box;
		padding: 10px 0px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.bottom-box {
		width: 100%;
		box-sizing: border-box;
		padding: 5px;
		background: #fff;
		position: fixed;
		bottom: 0px;
		left: 0px;
		height: 70px;
		overflow: hidden;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.anniu {
		width: 311px;
		height: 40px;
		background: #4AA76F;
		border-radius: 20px 20px 20px 20px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #fff;
	}
</style>