This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="input-block" :class="{ 'input-block__error': errorMessage }"> | |
<div v-if="label || errorMessage" class="input-block__head"> | |
<p v-if="label" class="input-block__label">{{ label }}</p> | |
<p v-if="textError" class="input-block__error--text">{{ textError }}</p> | |
</div> | |
<input | |
v-model="value" | |
:type="type" | |
:disabled="disabled" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.m-item { | |
@import "/components/cart/cart-promocode"; | |
display: grid; | |
grid-template-columns: 120px 1fr auto 200px; | |
grid-template-rows: auto auto; | |
padding: 20px; | |
border-bottom: 1px solid $success-100; | |
&:last-child{ | |
border-bottom: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="cart-delivery__section delivery"> | |
<div | |
:class="['delivery__header delivery-title', { 'delivery-title--unavailable': !delivery.available }]" | |
@click="handleToggleSection" | |
> | |
<span class="delivery-title__text">{{ delivery.name }}</span> | |
<template v-if="delivery.available"> | |
<span v-if="delivery.minPrice === 0" class="delivery-title__price delivery-title__price--green"> | |
Бесплатно |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="cart-delivery__section delivery"> | |
<div | |
:class="['delivery__header delivery-title', { 'delivery-title--unavailable': !delivery.available }]" | |
@click="handleToggleSection" | |
> | |
<span class="delivery-title__text">{{ delivery.name }}</span> | |
<template v-if="delivery.available"> | |
<span v-if="delivery.minPrice === 0" class="delivery-title__price delivery-title__price--green"> | |
Бесплатно |