|
|
@ -49,12 +49,12 @@ |
|
|
|
<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="apply()" style="display: block;">报名</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> |
|
|
|
</div> |
|
|
|
<div class="border-2 w-full mt-2.5 flex justify-between p-2 text-sm"> |
|
|
|
<p style="color: #999999;">山西跳协**培训红头文件</p> |
|
|
|
<button class="text-xs text-blue-400 border border-blue-400 rounded-full w-10 h-5">查看</button> |
|
|
|
<button class="text-xs text-blue-400 border border-blue-400 rounded-full w-10 h-5" onclick="p1449996929974149120.lookFile()">查看</button> |
|
|
|
</div> |
|
|
|
<div class="border-2 w-full mt-2.5 p-2 text-sm" id="pxxz" style="display: none;"> |
|
|
|
<div class="flex justify-between"> |
|
|
@ -67,7 +67,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<script> |
|
|
|
function apply(){ |
|
|
|
/* function apply(){ |
|
|
|
var bigBox=document.querySelector('.bigBox') |
|
|
|
var applyBtn=document.querySelector('#applyBtn') |
|
|
|
var registrationSuccess=document.querySelector('#registrationSuccess') |
|
|
@ -76,7 +76,7 @@ |
|
|
|
applyBtn.style.display='none' |
|
|
|
bigBox.style.height='13rem' |
|
|
|
pxxz.style.display='block' |
|
|
|
} |
|
|
|
} */ |
|
|
|
|
|
|
|
var p1449996929974149120 = { |
|
|
|
token: '', |
|
|
@ -122,6 +122,21 @@ |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// 报名按钮 |
|
|
|
apply(){ |
|
|
|
const pId = this.dom.parentNode.getAttribute('data-pid'); |
|
|
|
const uId = this.dom.parentNode.getAttribute('data-uid'); |
|
|
|
const rId = this.dom.parentNode.getAttribute('data-rid'); |
|
|
|
location.href=`https://test.tall.wiki/ts/apply?pid=${pId}&uid=${uId}&rid=${rId}` |
|
|
|
}, |
|
|
|
// 学员查看红头文件 |
|
|
|
lookFile(){ |
|
|
|
const pId = this.dom.parentNode.getAttribute('data-pid'); |
|
|
|
const uId = this.dom.parentNode.getAttribute('data-uid'); |
|
|
|
const rId = this.dom.parentNode.getAttribute('data-rid'); |
|
|
|
location.href=`https://test.tall.wiki/ts/file?pid=${pId}&uid=${uId}&rid=${rId}` |
|
|
|
}, |
|
|
|
|
|
|
|
// 跳转详情 |
|
|
|
jumpDetails(that) { |
|
|
|
const pId = this.dom.parentNode.getAttribute('data-pid'); |
|
|
|