Ver Fonte

修改附件展示样式

huangtao há 3 anos atrás
pai
commit
d69e33cbc4

BIN
src/assets/image/learn/doc.png


BIN
src/assets/image/learn/pdf.png


BIN
src/assets/image/learn/ppt.png


BIN
src/assets/image/learn/xlsx.png


+ 8 - 1
src/views/home/learn/page-learn-content.vue

@@ -493,8 +493,10 @@ export default {
           img = this.linkListTypeIcon.pdf;
           break;
         case "ppt":
+        case "pptx":
           img = this.linkListTypeIcon.ppt;
           break;
+        case "xls":
         case "xlsx":
           img = this.linkListTypeIcon.xlsx;
           break;
@@ -502,7 +504,7 @@ export default {
           img = this.linkListTypeIcon.text;
           break;
         default:
-          img = this.linkListTypeIcon.image;
+          img = this.linkListTypeIcon.text;
           break;
       }
       return img;
@@ -577,6 +579,7 @@ export default {
         padding: 0.25rem 0.25rem;
         background-color: #f6f6f6;
         margin-top: 0.5rem;
+        letter-spacing: normal;
         a {
           display: flex;
           .linkListItemIocn {
@@ -594,11 +597,15 @@ export default {
             flex-direction: column;
             justify-content: space-between;
             .linkListItemTitle {
+              display: flex;
+              justify-content: flex-start;
               color: #262626;
               font-size: 0.6rem;
               font-weight: bold;
             }
             .linkListItemDescribel {
+              display: flex;
+              justify-content: flex-start;
               color: #696969;
               font-size: 0.6rem;
             }