瀏覽代碼

调整布局

wangxy 2 年之前
父節點
當前提交
99ab5b15ac
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      components/footer.vue
  2. 1 1
      components/footer2.vue

+ 2 - 2
components/footer.vue

@@ -37,8 +37,8 @@
           <dl v-if="hotList.length">
             <dt>热门推荐</dt>
             <div style="display: flex;justify-content: flex-start;flex-wrap: wrap">
-              <dd style="min-width: 30%" v-for="item in hotList" :key="item.iiId" @click="checkNews(item)">{{item.biaoqian}}</dd>
-              <dd style="min-width: 30%" v-for="item in hotList" :key="item.iiId" @click="checkNews(item)">{{item.biaoqian}}</dd>
+              <dd style="width: 30%" v-for="item in hotList" :key="item.iiId" @click="checkNews(item)">{{item.biaoqian}}</dd>
+              <dd style="width: 30%" v-for="item in hotList" :key="item.iiId" @click="checkNews(item)">{{item.biaoqian}}</dd>
 
             </div>
 

+ 1 - 1
components/footer2.vue

@@ -36,7 +36,7 @@
              <dl v-if="hotList.length">
                <dt>热门推荐</dt>
                <div style="display: flex;justify-content: flex-start;flex-wrap: wrap">
-                 <dd style="min-width: 30%" v-for="item in hotList" :key="item.iiId" @click="checkNews(item)">{{item.biaoqian}}</dd>
+                 <dd style="width: 30%" v-for="item in hotList" :key="item.iiId" @click="checkNews(item)">{{item.biaoqian}}</dd>
                </div>
              </dl>
            </div>