Browse Source

调整布局

wangxy 2 years ago
parent
commit
99ab5b15ac
2 changed files with 3 additions and 3 deletions
  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>