diff --git a/static/css/listingItems/items.css b/static/css/listingItems/items.css index 1389846..db3d8a0 100644 --- a/static/css/listingItems/items.css +++ b/static/css/listingItems/items.css @@ -599,4 +599,14 @@ input::-webkit-inner-spin-button { ine-height: 40px; background: #f9f9f9; border: 1px solid #e8e8e8; +} + +.signUpYes{ + /*background: linear-gradient(to right, #e82d2d , #f6a4ab);*/ + background-color: #c21f3a; + color: #FFFFFF; + padding: 6px 0px; + text-align: center; + width: 244px; + line-height: 50px; } \ No newline at end of file diff --git a/static/js/project/listingItems/bond.js b/static/js/project/listingItems/bond.js index 0060ecd..81dcf4f 100644 --- a/static/js/project/listingItems/bond.js +++ b/static/js/project/listingItems/bond.js @@ -23,6 +23,8 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function document.getElementById('bankCardName').value = tools.getCookie('bankCardName'); document.getElementById('idCard').value = tools.getCookie('idCardNum'); document.getElementById('payeePaymentLines').value = tools.getCookie('payeePaymentLines'); + document.getElementById('accountType').value = tools.getCookie('accountType'); + document.getElementById('bankType').value = tools.getCookie('bankType'); tools.doGet(webDeptType+"/bank_account_type", {}, module.accountType, true); tools.doGet(webDeptType+"/bank_type_all", {}, module.bankType, true); //项目基本信息 @@ -38,7 +40,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function var bankType = '' if(tools.getCookie('bankType') != undefined && tools.getCookie('bankType') != 'null' && tools.getCookie('bankType') != ''){ bankType = content.filter(function (e) { return e.dictValue == tools.getCookie('bankType'); })[0].dictLabel; - document.getElementById('bankType').value = bankType; + document.getElementById('bankTypeText').value = bankType; } } } @@ -49,7 +51,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function var content = data.data; if(tools.getCookie('accountType') != undefined){ var accountType = content.filter(function (e) { return e.dictValue == tools.getCookie('accountType'); })[0].dictLabel; - document.getElementById('accountType').value = accountType; + document.getElementById('accountTypeText').value = accountType; } } } @@ -250,8 +252,25 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function tools.initTips('身份证号不可为空', 'right', $('#idCard')[0], 2000) return false; } - - return true; + if (idCard == '') { + $('#idCard')[0].focus() + tools.initTips('身份证号不可为空', 'right', $('#idCard')[0], 2000) + return false; + } + let array = [] + $('#cupload-3').find('input').each(function() { + if($(this).val()!=''){ + array.push($(this).val()) + } + }); + if(array.length<1){ + $('#cupload-3')[0].focus() + tools.initTips('请上传相关凭证', 'right', $('#cupload-3')[0], 2000) + return false; + } + else{ + return true; + } } module.toTips = function(data){ console.log(data) diff --git a/static/js/project/listingItems/items.js b/static/js/project/listingItems/items.js index c0b024f..f7d9204 100644 --- a/static/js/project/listingItems/items.js +++ b/static/js/project/listingItems/items.js @@ -11,6 +11,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function loginNow:'', timer:null, biddinglistInformationDetailLength:0, + biddingTimeType:0 }, }; var tools = new Tools(); diff --git a/view/listingItems/bond.html b/view/listingItems/bond.html index 61a1f21..7b1a716 100644 --- a/view/listingItems/bond.html +++ b/view/listingItems/bond.html @@ -168,11 +168,17 @@ *账户类型: - + + + + *所属银行: - + + + + *开户姓名: diff --git a/view/listingItems/itemsDetail.html b/view/listingItems/itemsDetail.html index 3c19009..1f0d213 100644 --- a/view/listingItems/itemsDetail.html +++ b/view/listingItems/itemsDetail.html @@ -234,29 +234,36 @@