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="./js/utf.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>
|
||||
|
||||
</html>
|
@@ -379,6 +379,8 @@ $('.withDrawalPub').click(function () {
|
||||
return false;
|
||||
})
|
||||
// 确定提領按钮
|
||||
let birthday;
|
||||
let nowTime;
|
||||
$('.butBig').click(function () {
|
||||
var num = $('.withdrawal input').val();
|
||||
var status = $(this).attr("click");
|
||||
@@ -389,15 +391,17 @@ $('.butBig').click(function () {
|
||||
toastMsg('超出本周最大提领次数')
|
||||
return
|
||||
}
|
||||
let birthday = idCard.substring(6, 14);
|
||||
let nowTime = moment(new Date()).format('YYYY-MM-DD');
|
||||
birthday = moment(birthday).format('YYYY-MM-DD');
|
||||
// return
|
||||
if (accountType == 2 && isRealCertifyBool == 0) {
|
||||
toastMsg('請先進行實名認證')
|
||||
return
|
||||
}
|
||||
// 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')))) {//
|
||||
toastMsg('申請提現失敗,不支援未成年人提現');
|
||||
return
|
||||
|
@@ -127,4 +127,4 @@
|
||||
<script src="../../common/js/route-constant.js"></script>
|
||||
<script src="../../common/js/svga.min.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