6892-summaryCardRefact #221

Merged
carlossa merged 12 commits from 6892-summaryCardRefact into dev 2024-03-06 08:43:10 +00:00
2 changed files with 13 additions and 3 deletions
Showing only changes of commit 0de5ad0648 - Show all commits

View File

@ -70,7 +70,14 @@ watch(props, async () => {
display: flex;
justify-content: center;
}
.label-two {
> .vn-label-value {
> .label {
position: relative;
background-color: red;
}
}
}
.cardSummary {
width: 100%;
@ -127,6 +134,9 @@ watch(props, async () => {
color: var(--vn-text);
overflow: hidden;
}
.label-two {
width: 8em;
}
}
.header {
carlossa marked this conversation as resolved Outdated
Outdated
Review

Dueria ficar estos estils per defecte.
Ficant .q-checkbox encomter de .QCheckbox ja ho deuria ficar per defecte i no cal posar class="QCheckbox"

I mira si se pot possar que tinga la clase 'disbled'
LESS te aço https://stackoverflow.com/questions/12886972/how-do-i-add-a-new-class-to-an-element-dynamically

Igual sas te algo paregut
Aixina evitariem sempre tindre q ficar disabled=true

Dueria ficar estos estils per defecte. Ficant `.q-checkbox` encomter de `.QCheckbox` ja ho deuria ficar per defecte i no cal posar class="QCheckbox" I mira si se pot possar que tinga la clase 'disbled' LESS te aço https://stackoverflow.com/questions/12886972/how-do-i-add-a-new-class-to-an-element-dynamically Igual sas te algo paregut Aixina evitariem sempre tindre q ficar disabled=true
color: $primary;

View File

@ -95,7 +95,7 @@ const creditWarning = computed(() => {
:value="entity.businessType.description"
/>
</QCard>
<QCard class="vn-one">
<QCard class="vn-one label-two">
<a class="header" :href="clientUrl + `fiscal-data`">
{{ t('customer.summary.fiscalAddress') }}
<QIcon name="open_in_new" color="primary" />
@ -120,7 +120,7 @@ const creditWarning = computed(() => {
/>
<VnLv :label="t('customer.summary.street')" :value="entity.street" />
</QCard>
<QCard class="vn-one">
<QCard class="vn-one label-two">
<a class="header link" :href="clientUrl + `fiscal-data`" link>
{{ t('customer.summary.fiscalData') }}
<QIcon name="open_in_new" color="primary" />