123456789101112131415161718192021222324252627282930313233 |
- // import '../css/bootstrap.less';
- import '../css/public.css';
- import '../css/toPayment.less';
- $(function () {
- var paymentNumber = 9999.00;
- var paymentBank = null;
- $('#payNumber').html(paymentNumber);
- $('.payment-type-select li').on('click', function () {
- $(this).addClass('active').siblings().removeClass('active');
- $("#toB2CList").hide();
- $("#toB2BList").hide();
- $("#toWXZF").hide();
- var payType = this.dataset.paytype;
- switch (payType) {
- case 'b2b':
- $("#toB2BList").show();
- paymentBank = 'cmb'
- break;
- case 'b2c':
- $("#toB2CList").show();
- paymentBank = 'icbc'
- break;
- case 'wx':
- $("#toWXZF").show();
- break;
- }
- })
- $('.payment-bank-bankList li').on('click', function () {
- $(this).addClass('active').siblings().removeClass('active');
- paymentBank = this.dataset.bankname;
- })
- })
|