-
Notifications
You must be signed in to change notification settings - Fork 2
/
gamesIndex.php
91 lines (74 loc) · 1.72 KB
/
gamesIndex.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
/**
* @name 生蚝体育竞赛管理系统-Web2-比赛首页
* @author Jerry Cheung <[email protected]>
* @since 2019-05-30
* @version 2019-07-22
*/
?>
<!DOCTYPE html>
<html>
<?php
$pageName='赛事首页';
include 'include/header.php';
?>
<?php include 'include/component.php'; ?>
<body style="background-color:#57c5e2;">
<style type="text/css">
td{
text-align: center;
}
</style>
<div id="app">
<choose-games-modal></choose-games-modal>
<page-navbar></page-navbar>
<games-title ref="header"></games-title>
<div class="container">
<div class="row">
<games-navbar></games-navbar>
<div class="col-md-10">
<table class="table table-bordered table-hover table-striped">
<tbody>
<tr>
<th style="width: 22%;vertical-align: middle;">赛事名:</th>
<td>{{gamesInfo['name']}}</td>
</tr>
<tr>
<th style="vertical-align: middle;">主办方:</th>
<td style="vertical-align: middle;">{{gamesInfo['organizer']}}</td>
</tr>
<tr>
<th style="vertical-align: middle;">举办地:</th>
<td style="vertical-align: middle;">{{gamesInfo['venue']}}</td>
</tr>
<tr>
<th style="vertical-align: middle;">开始日:</th>
<td style="vertical-align: middle;">{{gamesInfo['startDate']}}</td>
</tr>
<tr>
<th style="vertical-align: middle;">结束日:</th>
<td style="vertical-align: middle;">{{gamesInfo['endDate']}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script>
var vm = new Vue({
el:'#app',
data:{
gamesInfo:{}
},
methods:{
},
mounted:function(){
this.gamesInfo=this.$refs.header.gamesInfo;
//this.getList();
}
});
</script>
<?php include 'include/footer.php'; ?>
</body>
</html>