Commit a8b15d40c093a6371822530a6d42c69470e9c200
1 parent
7f2c239c
Веталь
Showing
2 changed files
with
9 additions
and
0 deletions
Show diff stats
frontend/views/basket/index.php
@@ -60,6 +60,7 @@ $('#orders-delivery input[type=\"radio\"]').click(function(){ | @@ -60,6 +60,7 @@ $('#orders-delivery input[type=\"radio\"]').click(function(){ | ||
60 | <?=$item->text?> | 60 | <?=$item->text?> |
61 | <?= $form->field($modelOrder, 'delivery') | 61 | <?= $form->field($modelOrder, 'delivery') |
62 | ->radioList(ArrayHelper::map(Delivery::find()->where(['parent_id'=>$item->id])->asArray()->all(), 'id', 'title'), [ | 62 | ->radioList(ArrayHelper::map(Delivery::find()->where(['parent_id'=>$item->id])->asArray()->all(), 'id', 'title'), [ |
63 | + 'id'=> 'order-delivery-childs', | ||
63 | 'item' => function($index, $label, $name, $checked, $value) { | 64 | 'item' => function($index, $label, $name, $checked, $value) { |
64 | $return = '<div class="custom-form-buttons">'; | 65 | $return = '<div class="custom-form-buttons">'; |
65 | $return .= '<input class="custom-radio" id="custom-radio-' . $value . '" ' . ( $checked ? "checked" : "" ) . ' type="radio" name="' . $name . '" value="' . $value . '" >'; | 66 | $return .= '<input class="custom-radio" id="custom-radio-' . $value . '" ' . ( $checked ? "checked" : "" ) . ' type="radio" name="' . $name . '" value="' . $value . '" >'; |
frontend/web/css/style.css
@@ -1294,4 +1294,12 @@ ul.product-special li.promo:after { | @@ -1294,4 +1294,12 @@ ul.product-special li.promo:after { | ||
1294 | font-size: 12px!important; | 1294 | font-size: 12px!important; |
1295 | float: left; | 1295 | float: left; |
1296 | border-radius: 0 !important; | 1296 | border-radius: 0 !important; |
1297 | +} | ||
1298 | +.info.product-thumb-video { | ||
1299 | + width: 100%; | ||
1300 | + height: 100%; | ||
1301 | +} | ||
1302 | +.info.product-thumb-video iframe { | ||
1303 | + width: 100% !important; | ||
1304 | + height: 100% !important; | ||
1297 | } | 1305 | } |
1298 | \ No newline at end of file | 1306 | \ No newline at end of file |