Pārlūkot izejas kodu

style: lablewidth改变

tangning 2 gadi atpakaļ
vecāks
revīzija
d8b002b1f9
2 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  1. 4 1
      src/views/finance/data.tsx
  2. 2 2
      src/views/finance/index.vue

+ 4 - 1
src/views/finance/data.tsx

@@ -83,6 +83,7 @@ export const searchForm: Partial<FormProps> = {
       field: 'type',
       label: t('routes.equity.Type'),
       component: 'ApiSelect',
+      labelWidth:70,
       componentProps: {
         maxLength: 50,
         api: async function () {
@@ -117,7 +118,9 @@ export const searchForm: Partial<FormProps> = {
       field: 'giveType',
       label: t('routes.equity.giveType'),
       component: 'Select',
+      labelWidth: 70,
       componentProps: {
+        // style:''
         options: [
           {
             label: t('routes.finance.giveType.0'),
@@ -142,7 +145,7 @@ export const searchForm: Partial<FormProps> = {
         ],
       },
       colProps: {
-        xl: 6,
+        xl: 7,
         xxl: 6,
       },
     },

+ 2 - 2
src/views/finance/index.vue

@@ -70,8 +70,8 @@ export default defineComponent({
         icon: 'visit-count|svg',
         value: lastMajorNum || 0,
         unit: t('routes.equity.unit.-1'),
-        color: 'green',
-        action: t('routes.equity.unit.-1'),
+        color: 'blue',
+        action: t('routes.equity.unit.-2'),
       },
       {
         title:  t('routes.equity.CardHighNum'),