77 lines
3.1 KiB
HTML
77 lines
3.1 KiB
HTML
<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/layui-v2.9.3/layui/css/layui.css">
|
|
<link rel="stylesheet" type="text/css" href="__CDN__/assets/css/door/css/newClub.css?v={$site.version}">
|
|
<div class="fly-right">
|
|
<div class="fr-wrap">
|
|
<div class="searchbox">
|
|
<p class="my-event">飞手公会 | Pilot Association</p>
|
|
</div>
|
|
{if $is_sociaty}
|
|
<div class="sociatybox sociatylist">
|
|
<table border="0">
|
|
<thead>
|
|
<td>
|
|
<p>飞手姓名</p>
|
|
<p>Pilot Name</p>
|
|
</td>
|
|
<td>
|
|
<p>性别</p>
|
|
<p>Gender</p>
|
|
</td>
|
|
<td>
|
|
<p>出生日期</p>
|
|
<p>Birth</p>
|
|
</td>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>{$playerinfo.real_name}</td>
|
|
<td>{$playerinfo.gender}</td>
|
|
<td>{$playerinfo.birthday}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>您已加入飞手公会,敬请期待俱乐部邀请您加入队伍参赛</p>
|
|
<button>退出公会</button>
|
|
</div>
|
|
{else}
|
|
{if $is_joinclub}
|
|
<div class="nosociaty">
|
|
<img src="/assets/addons/cms/img/nosociaty.png">
|
|
<p>您已同意队伍邀请,无法再次加入飞手公会</p>
|
|
</div>
|
|
{else}
|
|
<div class="nosociaty">
|
|
<img src="/assets/addons/cms/img/nosociaty.png">
|
|
<p>飞手仅在加入公会后,俱乐部才可查询并邀请飞手加入队伍参赛</p>
|
|
<button>加入公会</button>
|
|
</div>
|
|
{/if}
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
<script src="__CDN__/assets/css/door/js/jquery.form.min.js"></script>
|
|
<script src="__CDN__/assets/css/door/layui/layui.js"></script>
|
|
<script>
|
|
layui.use(['layer','laypage'],function(){
|
|
const laypage=layui.laypage;
|
|
const layer=layui.layer;
|
|
|
|
$('.nosociaty button').click(function(){
|
|
$.get('/index/clubinvate/join_sociaty',function(res){
|
|
if(res.code){
|
|
location.reload();
|
|
}
|
|
})
|
|
})
|
|
$('.sociatybox button').click(function(){
|
|
$.get('/index/clubinvate/exit_sociaty',function(res){
|
|
if(res.code){
|
|
location.reload();
|
|
}
|
|
})
|
|
})
|
|
})
|
|
|
|
</script> |