From 38a800ff006e7d90342ceb53ad547a8aaa2bd4d5 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 24 Aug 2022 03:42:28 +0800 Subject: [PATCH] 月台新增图库标签 --- src/components/mini/box14-video.vue | 28 +++++++++++++--------------- 1 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/components/mini/box14-video.vue b/src/components/mini/box14-video.vue index 54bfb57..ad280c1 100644 --- a/src/components/mini/box14-video.vue +++ b/src/components/mini/box14-video.vue @@ -15,10 +15,10 @@ <div class="entry-post"> <div class="entry-header"> <h5 class="entry-title"> - <!-- <router-link :to="{path:'videoDetail',query:{id:item.id}}" :title="item.title"> + <router-link :to="{path:'videoDetail',query:{id:item.id}}" :title="item.title"> {{item.title}} - </router-link> --> - {{item.title}} + </router-link> + <!-- {{item.title}} --> </h5> <div class="post_content"> {{item.introduce}} @@ -124,6 +124,7 @@ gap: 2rem; padding-bottom: 20px; // background-color: #666; + user-select: none; a { color: #555; @@ -199,7 +200,6 @@ .entry-preview .entry-meta { display: flex; - justify-content: space-between; font-size: .5rem; padding: .5rem 0 0 0; flex-wrap: wrap; @@ -270,27 +270,25 @@ overflow: hidden; } - @media screen and (max-width:1024px) { + @media screen and (min-width:768px) { + .gridClass { + grid-template-columns: repeat(2, 1fr); + } + } + + @media screen and (max-width:767px) { .gridClass { grid-row-gap: 2rem; grid-column-gap: 0rem; grid-template-columns: repeat(1, 1fr); - + .entry-preview { display: block; } - + .thumbnail_box { min-width: 100%; } - } - - - } - - @media screen and (min-width:1025px) { - .gridClass { - grid-template-columns: repeat(2, 1fr); } } </style> -- Gitblit v1.9.1