Browse Source

报名

ts-sign-up
xuesinan 4 years ago
parent
commit
a92f5efa07
  1. 18
      index.html

18
index.html

@ -47,9 +47,10 @@
<div class="title"></div>
<div class="flex justify-between">
<div class="text-sm">培训报名</div>
<div>
<!-- <button id="registrationSuccess" class="nightClockBtn text-xs rounded-md py-1 px-3" style="display: none;">报名成功</button> -->
<button id="applyBtn" class="nightClockBtn bg-blue-500 text-xs rounded-md py-1 px-3 text-white" onclick="p1449996929974149120.apply()" style="display: block;">报名</button>
<div class="flex items-center">
<button id="registrationSuccess" class="nightClockBtn text-xs rounded-md py-1 px-3" style="display: none;">报名成功</button>
<button id="applyBtn" class="nightClockBtn bg-blue-500 text-xs rounded-md py-1 px-3 text-white" onclick="p1449996929974149120.apply()">报名</button>
<button class="not-pay text-xs text-center text-white bg-blue-500 rounded-full w-10 h-5" style="display: none;" onclick="p1449996929974149120.toPay()">去缴费</button>
</div>
</div>
@ -60,10 +61,7 @@
<div class="person-info border-2 w-full mt-2.5 flex justify-between p-2 text-sm" id="pxxz" style="display: none;">
<span style="color: #999999;">报名信息</span>
<div class="">
<button class="text-xs text-blue-500 border border-blue-500 rounded-full w-10 h-5" onclick="p1449996929974149120.lookFile()">查看</button>
<button class="not-pay text-xs text-center text-white bg-blue-500 rounded-full w-10 h-5" style="display: none;" onclick="p1449996929974149120.toPay()">去缴费</button>
</div>
<button class="text-xs text-blue-500 border border-blue-500 rounded-full w-10 h-5" onclick="p1449996929974149120.apply()">查看</button>
</div>
</div>
</div>
@ -138,7 +136,11 @@
console.log(data);
if (data) {
var personInfo = that.dom.querySelector('.person-info');
personInfo.style.display = 'block';
personInfo.style.display = 'flex';
var registrationSuccess = that.dom.querySelector('#registrationSuccess');
registrationSuccess.style.display = 'block';
var applyBtn = that.dom.querySelector('#applyBtn');
applyBtn.style.display = 'none';
if (data.payStatus === 0) {
var notPay = that.dom.querySelector('.not-pay');

Loading…
Cancel
Save