index.html
3.8 KB
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
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=0,width=device-width, initial-scale=0.3">
<link rel="stylesheet" type="text/css" href="__CDN__/assets/css/science_competition.css" />
<link rel="stylesheet" type="text/css" href="__CDN__/assets/libs/swiper/package/swiper-bundle.min.css" />
<title></title>
</head>
<body>
<style>
@media screen and (max-width:600px) {
.main_left{
min-height: 79.4vh !important;
}
.main{
min-height: 79.4vh !important;
}
}
.rotation {
width: 100%;
height: 200px;
}
.rotation img {
width: 100%;
height: 100%;
}
.title_left text:nth-child(2) {
font-size: 14px
}
/* 灰色底白色字 */
.signActive {
background-color: #999;
color: #fff;
}
</style>
<div class="rotation">
<img src="__CDN__/assets/img/teacherRotation.png" />
</div>
<div class="main">
<ul class="main_left ">
<li>双创竞赛</li>
<li class="left_active">竞赛申报</li>
<!--<li>竞赛新闻</li>-->
<!-- <img src="__CDN__/assets/img/bulbs.png" class="bulbs" > -->
</ul>
<div class="main_right ">
<div class="title">
<div class="title_right">
<button class="btn btn-success " style="float: right;top: 10px;" onclick="javascript:history.go(-1);"> 返回</button>
</div>
<div class="title_left">
<text style="color: #555;font-weight: 550;">双创竞赛</text>
<text style="color: #999;">RESULT</text>
</div>
</div>
<div class="science-competition">
{foreach name="_list" item="vo"}
<a href="{:url('index/science_competition/detail',array('id'=>$vo.id))}">
<div class="science_competition_item">
<div class="item_left">
<img src="__SUBDOMAIN__{$vo.match_logo}"> {if $vo.match_starttime > time()}
<div class="sign" style="background-color:#FF9800;"><span style='color: #fff;font-weight: bold;'>未开始</span></div>
{elseif $vo.match_endtime
< time()} <div class="sign" style="background-color:#A8A8A8;"><span style='color: #fff;font-weight: bold'>已结束</span></div>
{elseif $vo.match_starttime
< time() && $vo.match_endtime> time()}
<div class="sign"><span style='color: #fff;font-weight: bold;'>进行中</span></div>
{else/} 未知 {/if}
<!-- <div class="sign">{:pkTime($vo.match_starttime, $vo.match_endtime , ['未开始','已结束','比赛中'])}-->
<!-- </div>-->
</div>
<div class="item_right">
<p class="item_title">{$vo.match_title}</p>
<p class="item_content">{$vo.match_desc}</p>
<p class="iconfont" style="color: #f57f17;">
比赛时间:{$vo.match_starttime|date='Y-m-d',###}-{$vo.match_endtime|date='Y-m-d',###}
</p>
<p class="iconfont" style="color: #999;"> 已报名 {$vo.item_count}</p>
</div>
</div>
</a>
{/foreach}
</div>
<div class="pagination">
{$_list->render()}
</div>
</div>
</div>
</body>
</html>