Browse Source

调整布局

wangxy 2 years ago
parent
commit
769e8fb5ad
2 changed files with 6 additions and 2 deletions
  1. 3 1
      components/footer.vue
  2. 3 1
      components/footer2.vue

+ 3 - 1
components/footer.vue

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

+ 3 - 1
components/footer2.vue

@@ -35,7 +35,9 @@
              </dl>
              <dl v-if="hotList.length">
                <dt>热门推荐</dt>
-               <dd v-for="item in hotList" :key="item.iiId" @click="checkNews(item)">{{item.biaoqian}}</dd>
+               <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>
+               </div>
              </dl>
            </div>
            <div class="contact-right-box">