Browse Source

🎈 perf: 优化部分细节

Pchen0 1 month ago
parent
commit
d2ea554533
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/pages/lepao/lepaoRecords/index.vue

+ 3 - 3
src/pages/lepao/lepaoRecords/index.vue

@@ -76,7 +76,7 @@
         </template>
         </template>
 
 
         <template #columns>
         <template #columns>
-          <a-table-column :width="100">
+          <a-table-column :width="80">
             <template #cell="{ record }">
             <template #cell="{ record }">
               <div>
               <div>
                 <a-tag color="orangered" v-if="record.uuid === user.uuid && record.run_mode === 'manual'" size="small">手动乐跑</a-tag>
                 <a-tag color="orangered" v-if="record.uuid === user.uuid && record.run_mode === 'manual'" size="small">手动乐跑</a-tag>
@@ -117,7 +117,7 @@
             filter: (value, record) => (record.result.pass_tit ?? '').includes(value),
             filter: (value, record) => (record.result.pass_tit ?? '').includes(value),
             slotName: 'name-filter',
             slotName: 'name-filter',
             icon: () => h(IconSearch)
             icon: () => h(IconSearch)
-          }" :width="220">
+          }" :width="210">
             <template #cell="{ record }">
             <template #cell="{ record }">
               {{ record.result.pass_tit }}
               {{ record.result.pass_tit }}
             </template>
             </template>
@@ -137,7 +137,7 @@
               {{ calculatePace(record.result.time, record.result.distance) }}
               {{ calculatePace(record.result.time, record.result.distance) }}
             </template>
             </template>
           </a-table-column>
           </a-table-column>
-          <a-table-column title="乐跑时间" :width="145" ellipsis tooltip>
+          <a-table-column title="乐跑时间" :width="155" ellipsis tooltip>
             <template #cell="{ record }">
             <template #cell="{ record }">
               {{ stramptoTime(record.time) }}
               {{ stramptoTime(record.time) }}
             </template>
             </template>