www_fpvone_cn/application/index/view/players - 副本/myclub.html

356 lines
12 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<link rel="stylesheet" type="text/css" href="__CDN__/assets/css/door/css/flyer.css">
<link rel="stylesheet" type="text/css" href="__CDN__/assets/css/door/css/public.css">
<link rel="stylesheet" type="text/css" href="__CDN__/assets/css/door/css/layui.css">
<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_1291339_s2iegrqsymf.css">
<link rel="stylesheet" type="text/css" href="__CDN__/assets/css/door/css/newClub.css?v={$site.version}">
<div class="fly-right verify">
{switch name="$user_player_status" }
{case value="1"}
<div class="loadmsg">
<div class="loadbox">
<i class="iconfont icon-jiazai"></i>
<div>
<p>
<span>加入俱乐部</span>
<span>申请正在审核中...</span>
</p>
<p class="engtitle">
<span>Join The Club</span>
<span>Under Review...</span>
</p>
<a class="rebtn" onclick="cancelApply({$club_player_checkid})">撤销申请</a>
</div>
</div>
<span class="iconfont icon-wurenji"></span>
</div>
{/case}
{case value="3"}
<!-- 认证失败 -->
<div class="loadmsg wrongmsg">
<div class="loadbox">
<i class="iconfont icon-cuowu"></i>
<div>
<p>
<span>加入俱乐部</span>
<span>申请已被拒绝!</span>
</p>
<p class="engtitle">
<span>Join The Club</span>
<span>The application has been rejected</span>
</p>
<div class="wrongtext">拒绝理由:{$user_player_reject_reason|default="无"}</div>
<a href="/index/players/joinclub" class="rebtn">加入俱乐部</a>
</div>
</div>
<span class="iconfont icon-wurenji"></span>
</div>
{/case}
{case value="2"}
<!-- 飞手认证成功 -->
<div class="loadmsg flyer-pass">
<div class="loadbox">
<div>
<div class="passbox">
<i class="iconfont icon-wurenji"></i>
<p class="passname">
<span>加入俱乐部</span>
<span>Join The Club</span>
</p>
</div>
<div class="passbox flyerdone">
<i class="iconfont icon-tongguo"></i>
<span>申请通过,您已是俱乐部成员</span>
</div>
</div>
</div>
<span class="iconfont icon-wurenji"></span>
</div>
{/case}
{case value="4"}
<div class="loadmsg">
<div class="loadbox">
<i class="iconfont icon-jiazai"></i>
<div>
<p>
<span>退出俱乐部</span>
<span>申请正在审核中...</span>
</p>
<p class="engtitle">
<span>Exit The Club</span>
<span>Under Review...</span>
</p>
</div>
</div>
<span class="iconfont icon-wurenji"></span>
</div>
{/case}
{case value="5"}
<div class="loadmsg wrongmsg">
<div class="loadbox">
<i class="iconfont icon-cuowu"></i>
<div>
<p>
<span>退出俱乐部</span>
<span>申请已被拒绝!</span>
</p>
<p class="engtitle">
<span>Exit The Club</span>
<span>The application has been rejected</span>
</p>
<div class="wrongtext">拒绝理由:{$user_player_reject_reason|default="无"}</div>
<a class="rebtn" onclick="cancelexit({$club_player_checkid})">撤销申请</a>
</div>
</div>
<span class="iconfont icon-wurenji"></span>
</div>
{/case}
{/switch}
{if $user_player_status==2||$user_player_status==4||$user_player_status==5}
<div class="clubmain">
<div class="clubinfo">
<div class="info">
<div class="item">
<div>
<div class="name">
<p>队伍名称</p>
<p>Club Name</p>
</div>
<div class="text">{$user_player_clubinfo.name}</div>
</div>
</div>
<div class="item">
<div>
<div class="name">
<p>所属地区</p>
<p>Address</p>
</div>
<div class="text">{$user_player_clubinfo.province}{$user_player_clubinfo.city}{$user_player_clubinfo.district}</div>
</div>
</div>
<div class="item">
<div>
<div class="name">
<p>参赛主体</p>
<p>Competitors</p>
</div>
<div class="text">{$user_player_clubinfo.competitors}</div>
</div>
</div>
<div class="item twocows">
<div>
<div class="name">
<p>队徽</p>
<p>Club Logo</p>
</div>
<div class="text"><img src="{$user_player_clubinfo.logo}" width="120"></div>
</div>
<div>
<div class="name">
<p>队旗</p>
<p>Club Flag</p>
</div>
<div class="text"><img src="{$user_player_clubinfo.flag}" width="120"></div>
</div>
</div>
<div class="item">
<div>
<div class="name">
<p>ASFC会员</p>
<p>ASFC User</p>
</div>
<div class="text">{$user_player_clubinfo.asfc_num}</div>
</div>
</div>
<div class="item twocows">
<div>
<div class="name">
<p>领队</p>
<p>Club Leader</p>
</div>
<div class="text">{$user_player_clubinfo.leader}</div>
</div>
<div>
<div class="name">
<p>联系电话</p>
<p>Contact</p>
</div>
<div class="text">{$user_player_clubinfo.leader_tel}</div>
</div>
</div>
<div class="item twocows">
<div>
<div class="name">
<p>副领队1</p>
<p>Deputy Leader</p>
</div>
<div class="text">{$user_player_clubinfo.deputy_leader1}</div>
</div>
<div>
<div class="name">
<p>联系电话</p>
<p>Contact</p>
</div>
<div class="text">{$user_player_clubinfo.deputy_leader1_tel}</div>
</div>
</div>
<div class="item twocows">
<div>
<div class="name">
<p>副领队2</p>
<p>Deputy Leader</p>
</div>
<div class="text">{$user_player_clubinfo.deputy_leader2}</div>
</div>
<div>
<div class="name">
<p>联系电话</p>
<p>Contact</p>
</div>
<div class="text">{$user_player_clubinfo.deputy_leader2_tel}</div>
</div>
</div>
<div class="item twocows">
<div>
<div class="name">
<p>主教练</p>
<p>Deputy Leader</p>
</div>
<div class="text">{$user_player_clubinfo.head_coach}</div>
</div>
<div>
<div class="name">
<p>联系电话</p>
<p>Contact</p>
</div>
<div class="text">{$user_player_clubinfo.head_coach_tel}</div>
</div>
</div>
<div class="item twocows">
<div>
<div class="name">
<p>教练员1</p>
<p>Deputy Leader</p>
</div>
<div class="text">{$user_player_clubinfo.coach1}</div>
</div>
<div>
<div class="name">
<p>联系电话</p>
<p>Contact</p>
</div>
<div class="text">{$user_player_clubinfo.coach1_tel}</div>
</div>
</div>
{if $user_player_clubinfo.coach2}
<div class="item twocows">
<div>
<div class="name">
<p>教练员2</p>
<p>Deputy Leader</p>
</div>
<div class="text">{$user_player_clubinfo.coach2}</div>
</div>
<div>
<div class="name">
<p>联系电话</p>
<p>Contact</p>
</div>
<div class="text">{$user_player_clubinfo.coach2_tel}</div>
</div>
</div>
{/if}
{if $user_player_clubinfo.coach3}
<div class="item twocows">
<div>
<div class="name">
<p>教练员2</p>
<p>Deputy Leader</p>
</div>
<div class="text">{$user_player_clubinfo.coach3}</div>
</div>
<div>
<div class="name">
<p>联系电话</p>
<p>Contact</p>
</div>
<div class="text">{$user_player_clubinfo.coach3_tel}</div>
</div>
</div>
{/if}
{if $user_player_clubinfo.coach4}
<div class="item twocows">
<div>
<div class="name">
<p>教练员2</p>
<p>Deputy Leader</p>
</div>
<div class="text">{$user_player_clubinfo.coach4}</div>
</div>
<div>
<div class="name">
<p>联系电话</p>
<p>Contact</p>
</div>
<div class="text">{$user_player_clubinfo.coach4_tel}</div>
</div>
</div>
{/if}
</div>
<div class="btn">
<p class="time">提交时间 {$user_player_clubinfo.player_applytime}</p>
{if $user_player_status==2}
<a onclick="exitClub({$user_player_clubinfo.id})">
<p>退出俱乐部</p>
<p class="ename">Exit The Club</p>
</a>
{/if}
</div>
</div>
</div>
{/if}
</div>
<script type="text/javascript" charset="utf-8">
// 退出俱乐部
function exitClub(id){
$.post('{:url("index/players/player_exit")}',{
club_id:id
},function(res){
if(res.code){
layer.msg('提交成功',{icon:1});
setTimeout(function () {
location.href = '/index/players/myclub.html';
}, 2000);
}
})
}
// 撤销加入俱乐部申请
function cancelApply(id){
$.post('{:url("index/players/cancel_apply")}',{
club_player_checkid:id
},function(res){
if(res.code){
layer.msg('撤销成功',{icon:1});
setTimeout(function () {
location.href = '/index/players/joinclub.html';
}, 2000);
}
})
}
// 撤销退出俱乐部申请
function cancelexit(id){
$.post('{:url("index/players/cancel_exit")}',{
club_player_checkid:id
},function(res){
if(res.code){
layer.msg('撤销成功',{icon:1});
setTimeout(function () {
location.href = '/index/players/myclub';
}, 2000);
}
})
}
</script>