Commit bba33968e8c684724fe2bab448c96d51c5599a8f
1 parent
c2bef480
Веталь
Showing
2 changed files
with
5 additions
and
3 deletions
Show diff stats
frontend/views/basket/index.php
@@ -20,6 +20,7 @@ $('#orders-phone,#orders-phone2').mask('(000) 000-0000'); | @@ -20,6 +20,7 @@ $('#orders-phone,#orders-phone2').mask('(000) 000-0000'); | ||
20 | 20 | ||
21 | $this->registerJs(" | 21 | $this->registerJs(" |
22 | $('#orders-delivery input[type=\"radio\"]').click(function(){ | 22 | $('#orders-delivery input[type=\"radio\"]').click(function(){ |
23 | + $('.hidden_box').addClass('activeShow') | ||
23 | $('.delivery-data').hide(); | 24 | $('.delivery-data').hide(); |
24 | $('#delivery-data-'+$(this).val()).show(); | 25 | $('#delivery-data-'+$(this).val()).show(); |
25 | }); | 26 | }); |
@@ -66,7 +67,7 @@ $('#orders-delivery input[type=\"radio\"]').click(function(){ | @@ -66,7 +67,7 @@ $('#orders-delivery input[type=\"radio\"]').click(function(){ | ||
66 | </div> | 67 | </div> |
67 | </div> | 68 | </div> |
68 | 69 | ||
69 | - <div class="input-blocks-group radio_grp"> | 70 | + <div class="input-blocks-group radio_grp hidden_box"> |
70 | <div class="input-blocks-wrapper"> | 71 | <div class="input-blocks-wrapper"> |
71 | <?= $form->field($modelOrder, 'delivery') | 72 | <?= $form->field($modelOrder, 'delivery') |
72 | ->radioList(ArrayHelper::map(Delivery::find()->where(['parent_id'=>0])->asArray()->all(), 'id', 'title'),[ | 73 | ->radioList(ArrayHelper::map(Delivery::find()->where(['parent_id'=>0])->asArray()->all(), 'id', 'title'),[ |
frontend/web/css/style.css
@@ -544,7 +544,7 @@ ul.social {margin-top: 20px;} | @@ -544,7 +544,7 @@ ul.social {margin-top: 20px;} | ||
544 | #order-payment{float:right;width:280px;} | 544 | #order-payment{float:right;width:280px;} |
545 | #order-delivery{float:right;width:280px;} | 545 | #order-delivery{float:right;width:280px;} |
546 | 546 | ||
547 | -.delivery-data{background: #95ba2f;display:none;border-radius: 5px;float: left;box-sizing: border-box; padding: 5px 20px; color: #fff} | 547 | +.delivery-data{background: #95ba2f;display:none;border-radius: 5px;float: left;box-sizing: border-box; padding: 14px 20px; color: #fff; font-size: 13px;} |
548 | 548 | ||
549 | .jcarousel-next-disabled, .jcarousel-prev-disabled {display: none !important;} | 549 | .jcarousel-next-disabled, .jcarousel-prev-disabled {display: none !important;} |
550 | .content2 br {display: none;} | 550 | .content2 br {display: none;} |
@@ -1466,4 +1466,5 @@ input.custom-radio + label:hover { | @@ -1466,4 +1466,5 @@ input.custom-radio + label:hover { | ||
1466 | float: left; | 1466 | float: left; |
1467 | } | 1467 | } |
1468 | .cont_shop_but-wr .submit4.bottom3 {float: right;} | 1468 | .cont_shop_but-wr .submit4.bottom3 {float: right;} |
1469 | -._qqq_ .params {font-size: 12px;} | ||
1470 | \ No newline at end of file | 1469 | \ No newline at end of file |
1470 | +._qqq_ .params {font-size: 12px;} | ||
1471 | +.activeShow {border-bottom: 0 !important;} | ||
1471 | \ No newline at end of file | 1472 | \ No newline at end of file |