Parcourir la source

🎨 修改细节问题

快乐的梦鱼 il y a 3 jours
Parent
commit
eef8700a14
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      src/pages/admin.vue
  2. 2 2
      src/pages/admin/seminar.vue

+ 1 - 1
src/pages/admin.vue

@@ -53,7 +53,7 @@
             </CommonListBlock>
           </a-tab-pane>
           <a-tab-pane key="3" tab="传习所列表">
-            <div class="d-flex justify-content-end">
+            <div v-if="false" class="d-flex justify-content-end">
               <a-button type="primary" @click="router.push({ name: 'FormSeminar' })">+ 新增</a-button>
             </div>
             <CommonListBlock 

+ 2 - 2
src/pages/admin/seminar.vue

@@ -13,7 +13,7 @@
         <EmptyToRecord title="传习所" :loader="worksData" :showEdited="false" :showAdd="false">
           <div class="d-flex justify-content-between p-2">
             <a-button @click="router.back" :icon="h(ArrowLeftOutlined)">返回</a-button>
-            <div class="d-flex flex-row">
+            <div class="d-flex flex-row align-items-center">
               <SimpleInput v-model="searchText" placeholder="请输入关键词" @search="handleSearch">
                 <template #suffix>
                   <IconSearch
@@ -24,7 +24,7 @@
                   />
                 </template>
               </SimpleInput>
-              <a-button type="primary" @click="handleNewSeminar">+ 新增</a-button>
+              <a-button class="ms-3" type="primary" @click="handleNewSeminar">+ 新增</a-button>
             </div>
           </div>
           <a-list class="light-round" item-layout="horizontal" :data-source="worksData?.content.value || []">