liyongli 2 роки тому
батько
коміт
c718309e13
1 змінених файлів з 6 додано та 6 видалено
  1. 6 6
      src/views/MenuDiet1.vue

+ 6 - 6
src/views/MenuDiet1.vue

@@ -3,14 +3,14 @@
     <br v-if="load" />
     <br v-if="load" />
     <van-skeleton title v-if="load" :row="10" />
-    <van-nav-bar title="广电中心食堂本周菜单" />
+    <van-nav-bar v-if="!load" title="广电中心食堂本周菜单" />
     <van-swipe class="my-swipe" :autoplay="10000" indicator-color="white">
       <van-swipe-item
         v-for="(v, index) in list"
         :key="index"
         style="width: 100vw;max-width: 1920px;margin: 0 auto; height: 100vh"
       >
-            <h4 style="text-align: center;margin-top: 15px;">{{v.text}}</h4>
+            <h3 style="text-align: center;margin-top: 15px;">{{v.text}}</h3>
         <template
           v-if="
             list.length &&
@@ -24,7 +24,7 @@
             <van-cell-group inset :border="false">
               <van-cell
                 :style="
-                  'padding: 5px 16px; color: #fff;background-color: ' +
+                  'color: #fff;background-color: ' +
                   (i % 2 === 1 ? '#FFB07B' : '#74BBFF') +
                   ';'
                 "
@@ -146,8 +146,8 @@ export default {
 }
 .MenuDiet1 .van-cell {
   min-height: 3rem;
-  font-size: 1rem;
-  line-height: 1.5rem
+  font-size: 1.5rem;
+  line-height: 3rem
 }
 .MenuDiet1 .van-cell-group {
   box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.08);
@@ -183,7 +183,7 @@ export default {
 }
 .MenuDiet1 .t {
   text-align: center;
-  line-height: 20px;
+  line-height: 2.5em;
   font-size: 0.7rem;
 }
 .MenuDiet1 .t span {