master
yuan 7 years ago
parent 7ea1050366
commit 92be3cf81a

@ -53,7 +53,7 @@
</button>
</div>
<div class="button_center" th:if="${active && !apply}" id="applyButton">
<button class="button_position">
<button th:class="${operation_pause}?'disabled'" class="button_position">
<span style="color: #FFFFFF;">我要参加</span>
</button>
</div>
@ -87,7 +87,7 @@
</div>
</div>
<div class="button_center cancel_posttion" th:if="${active && apply}" id="cancelButton">
<button class="button_position button_color">
<button th:class="${operation_pause}?'disabled'" class="button_position button_color">
<span class="cancel">放弃活动资格</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/);

Loading…
Cancel
Save