<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body>
		<div class="header">
			<div class="header-back"></div>
			<div class="header-title">好友申请</div>
		</div>
		<div class="header-row"></div>
		<div class="main-body" id="App">
			<div>
				<div class="flexlist-item" v-for="(item,index) in list" :key="index">
					<image :src="item.user_head+'.100x100.jpg'" mode="widthFix" class="flexlist-img"></image>
					<div class="flex-1">
						<div class="flexlist-title">{{item.nickname}}</div>
						<div class="flexlist-desc">{{item.description}}</div>
					</div>
					<div class="flex-jc-center">
						<block v-if="item.status==0">
							<div @click="pass(item.id)" class="btn-mini mgb-5">接受</div>
							<div @click="forbid(item.id)" class="btn-mini">拒绝</div>
						</block>
						<div v-else-if="item.status==1">
							已接受
						</div>
						<div v-else>
							已禁止
						</div>
					</div>
				</div>
			</div>
		</div>
		<?php echo $this->fetch('footer.html'); ?>
		<script src="<?php echo $this->_var['skins']; ?>friend_apply/index.js"></script>
	</body>
</html>
