detail.html
5.0 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!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/scompetition_detial.css" />
<link rel="stylesheet" type="text/css" href="__CDN__/assets/libs/swiper/package/swiper-bundle.min.css" />
<title></title>
<style type="text/css">
@media screen and (min-width:600px) {
.main_left{
min-height: 79.4vh !important;
}
.main{
min-height: 79.4vh !important;
}
}
.resource {
margin-bottom: 25px;
}
.resource_title {
font-size: 17px;
font-weight: bold;
}
.resource li a{
font-size: 16px;
margin-left: 10px;
}
#modal2{
padding:0.5rem 1rem;
}
.m_item{
padding:0.5rem 0;
font-size: 1rem;
border-bottom: 1px solid #eee;
}
.title_right a {
display: block;
float: right;
margin-right: 12px;
}
.rotation{
width: 100%;
/* height: 200px; */
}
.rotation img{
width: 100%;
height: 200px;
}
</style>
</head>
<body>
<div id="modal2" style="display: none;">
{foreach name="_types" item="vo"}
<a href="{:url('index/science_competition/enter',['match_type_id'=>$vo['id']])}">
<div class="m_item">
<p style="color: #0066FF;">{$vo.name}</p>
<p>{$vo.desc_content}</p>
</div>
</a>
{/foreach}
</div>
<style type="text/css">
.rotation{
width: 100%;
/* height: 200px; */
}
</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">
<a style="background: #18BB9C;width: 45px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px;" href="javascript:history.go(-1);">返回</a>
{if $match['match_starttime'] > time()}
<a style="background: #dadada;width: 95px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px;" href="javascript:;">报名未开始</a>
{/if}
{if $match['match_starttime'] < time() AND $match['match_endtime'] > time()}
{if($registerFlg == 1)}
<a style="background: #00caff;width: 90px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px;" href="{:url('index/science_competition/enter',['match_id'=>$match['id']])}">立即报名</a>
{else/}
<a style="background: #dadada;width: 95px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px;" href="javascript:;">报名已关闭</a>
{/if}
{/if}
{if $match['match_endtime'] < time()}
<a style="background: #dadada;width: 90px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px" href="javascript:;">报名已结束</a>
{/if}
</div>
<div class="title_left">
<text style="color: #343434;width:550px;font-size:18px;font-weight: 550;">{$match.match_title}</text>
<!-- <text style="color: #999;">DECLARE</text>-->
</div>
</div>
<div class="science-competition">
<div class="detial_info">
<text class="iconfont" style="color: #f57f17;"> 比赛时间:{$match.match_starttime|date='Y-m-d',###}至{$match.match_endtime|date='Y-m-d',###}</text>
<text>主办单位:{$match.organizer}</text>
<text class="iconfont"> 已报名 {$match.item_count}</text>
</div>
<div class="detial_content">
{$match.match_content}
<div class="mybutton">
<!-- {if $match['match_starttime'] < time() AND $match['match_endtime'] > time()}
{if $match['match_type'] == 0}
<a style="background: #00caff;width: 90px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px;" href="{:url('index/science_competition/enter',['match_type_id'=>$_types[0]['id']])}">立即报名</a>
{else/}
<a id="apply" style="background: #00caff;width: 90px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px;" href="javascript:;">立即报名</a>
{/if}
{/if}
{if $match['match_endtime'] < time()}
<a style="background: #dadada;width: 90px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px" href="javascript:;">报名已结束</a>
{/if}-->
</div>
</div>
<div class="resource">
<p class="resource_title">资料下载:</p>
{notempty name="match.rule_resources"}
<ul>
{foreach $match.rule_resources as $key => $val}
<li><a target="_blank" href="__SUBDOMAIN__{$val}">{$key}</a></li>
{/foreach}
</ul>
{/notempty}
</div>
</div>
</div>
</div>
</body>
</html>