|
|
|
@ -53,8 +53,8 @@
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="button_center" th:if="${active && !apply}" id="applyButton">
|
|
|
|
|
<button class="button_position">
|
|
|
|
|
<span style="color: #FFFFFF;">我要参加</span>
|
|
|
|
|
<button class="button_position" th:style="'background-image:' + @{(${operation_pause} ? 'linear-gradient(0deg, #eee 0%, #eee 100%)' )} + ''">
|
|
|
|
|
<span style="color: #FFFFFF;" th:style="'color:' + @{(${operation_pause} ? '#999' )} + ''">我要参加</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div th:class="${apply}?'margin_top'" th:if="${list!=null}">
|
|
|
|
@ -87,8 +87,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="button_center cancel_posttion" th:if="${active && apply}" id="cancelButton">
|
|
|
|
|
<button class="button_position button_color">
|
|
|
|
|
<span class="cancel">放弃活动资格</span>
|
|
|
|
|
<button class="button_position button_color" th:style="'background-image:' + @{(${operation_pause} ? 'linear-gradient(0deg, #eee 0%, #eee 100%)' )} + ''">
|
|
|
|
|
<span class="cancel" th:style="'color:' + @{(${operation_pause} ? '#999' )} + ''">放弃活动资格</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -110,7 +110,7 @@
|
|
|
|
|
</html>
|
|
|
|
|
<script type="text/javascript" data-th-inline="javascript">
|
|
|
|
|
$(document).ready(function () {
|
|
|
|
|
|
|
|
|
|
var operation_pause= /*[[${operation_pause}]]*/false;
|
|
|
|
|
|
|
|
|
|
function is_weixin() {
|
|
|
|
|
var ua = navigator.userAgent.toLowerCase();
|
|
|
|
@ -121,6 +121,9 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$('#applyButton').click(function () {
|
|
|
|
|
if(operation_pause){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var u = navigator.userAgent;
|
|
|
|
|
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
|
|
|
|
|
|
|
|
@ -135,6 +138,9 @@
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
$('#cancelButton').click(function () {
|
|
|
|
|
if(operation_pause){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var u = navigator.userAgent;
|
|
|
|
|
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
|
|
|
|
|
|
|
|
|