lex 1 éve
szülő
commit
bd9fd89ca3

+ 3 - 3
src/school/orchestra/compontent/photo.module.less

@@ -83,8 +83,8 @@
       align-items: center;
       justify-content: center;
       background: #eaeaea;
-      width: 150px;
-      height: 150px;
+      width: 146px;
+      height: 146px;
       border-radius: 2px;
       overflow: hidden;
       background-color: #eaeaea;
@@ -115,7 +115,7 @@
       font-size: 16px;
       font-weight: 500;
       color: #333333;
-      max-width: 168px;
+      max-width: 138px;
     }
 
     .num {

+ 4 - 3
src/views/mine-orchestra/my-photo/index.module.less

@@ -7,7 +7,7 @@
 .photoWrap {
   display: flex;
   flex-wrap: wrap;
-  padding: 12px;
+  padding: 24px 12px 12px;
   box-sizing: border-box;
   justify-content: space-between;
 
@@ -25,8 +25,8 @@
     display: flex;
     justify-content: center;
     align-items: center;
-    width: 150px;
-    height: 150px;
+    width: 146px;
+    height: 146px;
     border-radius: 2px;
     overflow: hidden;
     position: relative;
@@ -58,6 +58,7 @@
     color: #333;
     line-height: 22px;
     padding: 8px 0 4px 0;
+    max-width: 138px;
   }
 
   .gridDes {

+ 1 - 1
src/views/mine-orchestra/my-photo/index.tsx

@@ -198,7 +198,7 @@ export default defineComponent({
                         </div>
                       </div>
 
-                      <div class={styles.gridName}>{item.name}</div>
+                      <div class={[styles.gridName, 'van-ellipsis']}>{item.name}</div>
                       <div class={styles.gridDes}>{item.photoCount}张</div>
                     </div>
                   ))}

+ 3 - 3
src/views/mine-orchestra/photo-list/index.module.less

@@ -1,7 +1,7 @@
 .photoWrap {
   display: flex;
   flex-wrap: wrap;
-  padding: 12px;
+  padding: 24px 12px 12px;
   box-sizing: border-box;
   justify-content: space-between;
 
@@ -14,8 +14,8 @@
   display: flex;
   justify-content: center;
   align-items: center;
-  width: 150px;
-  height: 150px;
+  width: 146px;
+  height: 146px;
   border-radius: 2px;
   overflow: hidden;
   position: relative;