浏览代码

修改样式

lex 1 年之前
父节点
当前提交
ab2c519556

+ 1 - 1
public/version.json

@@ -1 +1 @@
-{"version":1705924812523}
+{"version":1706107035577}

+ 2 - 1
src/components/pagination/index.module.less

@@ -1,4 +1,5 @@
 .pagination {
   margin-top: 12px;
   justify-content: flex-end;
-}
+  --n-item-size: max(40px, 36Px) !important;
+}

+ 2 - 4
src/components/pagination/index.tsx

@@ -11,6 +11,7 @@ import {
   watch
 } from 'vue';
 import { useRoute } from 'vue-router';
+import styles from './index.module.less';
 
 export default defineComponent({
   name: 'table-container',
@@ -155,10 +156,7 @@ export default defineComponent({
 
     return () => (
       <NPagination
-        style={{
-          marginTop: '12px',
-          justifyContent: 'flex-end'
-        }}
+        class={styles.pagination}
         v-model:page={props.page}
         displayOrder={['quick-jumper', 'pages', 'size-picker']}
         pageCount={pageCount.value}

+ 2 - 2
src/views/login/index.module.less

@@ -63,7 +63,7 @@
     padding: 60px;
 
     .colLogo {
-      width: 232px;
+      width: 213px;
       height: 79px;
       // margin-bottom: 110px;
     }
@@ -368,4 +368,4 @@
     cursor: pointer;
   }
 
-}
+}