Compare commits
2 Commits
home
...
withdrawal
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5e029a3c04 | ||
![]() |
74715febed |
@@ -100,7 +100,7 @@
|
|||||||
<script src="http://static.lkme.cc/linkedme.min.js"></script>
|
<script src="http://static.lkme.cc/linkedme.min.js"></script>
|
||||||
<script src="./js/utf.js"></script>
|
<script src="./js/utf.js"></script>
|
||||||
<script src="./js/swiper.min.js"></script>
|
<script src="./js/swiper.min.js"></script>
|
||||||
<script src="./js/index.js?v=2.2"></script>
|
<script src="./js/index.js?v=2.3"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@@ -379,6 +379,8 @@ $('.withDrawalPub').click(function () {
|
|||||||
return false;
|
return false;
|
||||||
})
|
})
|
||||||
// 确定提領按钮
|
// 确定提領按钮
|
||||||
|
let birthday;
|
||||||
|
let nowTime;
|
||||||
$('.butBig').click(function () {
|
$('.butBig').click(function () {
|
||||||
var num = $('.withdrawal input').val();
|
var num = $('.withdrawal input').val();
|
||||||
var status = $(this).attr("click");
|
var status = $(this).attr("click");
|
||||||
@@ -389,15 +391,17 @@ $('.butBig').click(function () {
|
|||||||
toastMsg('超出本周最大提领次数')
|
toastMsg('超出本周最大提领次数')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let birthday = idCard.substring(6, 14);
|
|
||||||
let nowTime = moment(new Date()).format('YYYY-MM-DD');
|
|
||||||
birthday = moment(birthday).format('YYYY-MM-DD');
|
|
||||||
// return
|
// return
|
||||||
if (accountType == 2 && isRealCertifyBool == 0) {
|
if (accountType == 2 && isRealCertifyBool == 0) {
|
||||||
toastMsg('請先進行實名認證')
|
toastMsg('請先進行實名認證')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// console.log(isAdult(idCard));
|
// console.log(isAdult(idCard));
|
||||||
|
if (accountType == 2) {
|
||||||
|
birthday = idCard.substring(6, 14);
|
||||||
|
nowTime = moment(new Date()).format('YYYY-MM-DD');
|
||||||
|
birthday = moment(birthday).format('YYYY-MM-DD');
|
||||||
|
}
|
||||||
if (accountType == 2 && (moment(nowTime).isBefore(moment(birthday).add(18, 'years')))) {//
|
if (accountType == 2 && (moment(nowTime).isBefore(moment(birthday).add(18, 'years')))) {//
|
||||||
toastMsg('申請提現失敗,不支援未成年人提現');
|
toastMsg('申請提現失敗,不支援未成年人提現');
|
||||||
return
|
return
|
||||||
|
@@ -127,4 +127,4 @@
|
|||||||
<script src="../../common/js/route-constant.js"></script>
|
<script src="../../common/js/route-constant.js"></script>
|
||||||
<script src="../../common/js/svga.min.js"></script>
|
<script src="../../common/js/svga.min.js"></script>
|
||||||
<script src="./js/moment.js"></script>
|
<script src="./js/moment.js"></script>
|
||||||
<script src="./js/withdrawal.js?v=2.1"></script>
|
<script src="./js/withdrawal.js?v=2.2"></script>
|
Reference in New Issue
Block a user