Quellcode durchsuchen

style: :lipstick: style (schedule) ajustes visuais

ajustes visuais em fontes e espaçamentos para garantir visual mais fluido

fase:dev | origin:escopo
Gustavo Zanatta vor 2 Wochen
Ursprung
Commit
d15ce28b58

+ 3 - 3
src/components/dashboard/DashboardPriceSuggest.vue

@@ -53,7 +53,7 @@ defineProps({
 }
 .text-suggest-label {
   font-family: "Inter", sans-serif;
-  font-size: 13px;
+  font-size: 11px;
   color: #3a3a4a;
 }
 .price-badge {
@@ -64,11 +64,11 @@ defineProps({
 }
 .text-my-price {
   font-family: "Inter", sans-serif;
-  font-size: 13px;
+  font-size: 11px;
   font-weight: 600;
   color: #3a3a4a;
 }
 .btn-alter {
-  font-size: 13px;
+  font-size: 11px;
 }
 </style>

+ 2 - 3
src/components/dashboard/SolicitationDetailsDialog.vue

@@ -82,7 +82,6 @@
             @click="onDialogCancel"
           />
         </q-card-section>
-
         <q-card-section class="q-pt-xs q-pb-md text-center">
           <div class="row justify-center q-gutter-x-lg">
             <q-btn
@@ -157,13 +156,13 @@
           </div>
           <div class="q-mt-xs">
             <span class="text-caption text-grey-6">{{ $t('provider.dashboard.solicitations.via_agenda_text') }} </span>
-            <span class="text-caption text-secondary text-weight-bold">{{ $t('provider.dashboard.solicitations.via_agenda') }}</span>
+            <span class="text-caption text-secondary text-weight-bold">{{ ' ' + $t('provider.dashboard.solicitations.via_agenda') }}</span>
           </div>
         </q-card-section>
 
         <q-separator />
 
-        <q-card-section class="q-py-sm">
+        <q-card-section v-if="solicitation?.status != 'accepted'" class="q-py-sm">
           <div class="row justify-center q-gutter-x-md">
             <q-btn
               unelevated

+ 3 - 3
src/components/profile/ProfileBankDataDialog.vue

@@ -177,7 +177,7 @@ const savePix = async () => {
   savingPix.value = true;
   try {
     const payload = {
-      provider_id: user.user.id,
+      provider_id: user.user.provider.id,
       account_type: 'pix',
       pix_key: pixForm.pix_key,
     };
@@ -208,7 +208,7 @@ const saveBank = async () => {
   savingBank.value = true;
   try {
     const payload = {
-      provider_id: user.user.id,
+      provider_id: user.user.provider.id,
       account_type: 'bank_account',
       bank_account_type: bankForm.bank_account_type,
       agency: bankForm.agency,
@@ -235,7 +235,7 @@ const saveBank = async () => {
 
 onMounted(async () => {
   try {
-    const methods = await getProviderPaymentMethods(user.user.id);
+    const methods = await getProviderPaymentMethods(user.user.provider.id);
     if (!methods) return;
 
     const pix = methods.find((m) => m.account_type === 'pix');