| | |
| | | <input hidden id="q2" value="${item.playPaiCoin}"> |
| | | <input hidden id="q3" value="${item.classPrice}"> |
| | | <input hidden id="rname" value="${item.realName}"> |
| | | <input hidden id="type" value="${type}"> |
| | | <input hidden id="type" value="${item.status}"> |
| | | @if(type==2){ |
| | | <#label id="types" name="当前状态" type="text" /> |
| | | <div class="form-group" id="provinceCode"> |
| | | <label class="col-sm-3 control-label">举办省:</label> |
| | | <div class="col-sm-9"> |
| | |
| | | <script src="${ctxPath}/modular/system/tCompetition/tCompetition_info.js"></script> |
| | | <script> |
| | | window.onload = function() { |
| | | if($("#type").val()==1){ |
| | | $("#types").html("未开始").css("color","goldenrod") |
| | | }else if($("#type").val()==2){ |
| | | $("#types").html("已开始").css("color","green") |
| | | }else if($("#type").val()==3){ |
| | | $("#types").html("已结束").css("color","red") |
| | | }else if($("#type").val()==4){ |
| | | $("#types").html("已取消").css("color","red") |
| | | } |
| | | |
| | | |
| | | |
| | | var OBJradio = document.getElementsByName("registerCondition") |
| | | for (i = 0; i < OBJradio.length; i++) {//循环查找这个radio |
| | | if ($("#s1").val() == OBJradio[i].value) {//判断是否与radio的值相同 |