kevin.T 1 vecka sedan
förälder
incheckning
688da5d9a1
1 ändrade filer med 6 tillägg och 2 borttagningar
  1. 6 2
      packages/app/src/pages/material/index.vue

+ 6 - 2
packages/app/src/pages/material/index.vue

@@ -181,8 +181,12 @@ onMounted(async () => {
       <!-- <template v-for="({ brandLevelName, materialsList }, i) in materialDealerData" :key="i">
         <SectionHeading :title="brandLevelName" custom-class="mx-3.5"></SectionHeading>
       </template> -->
-      <div class="mx-14px py-3.5 bg-[#fff] rounded-2xl">
-        <wd-swiper :list="bannersLogo.map((m) => m.bannerImgUrl)" autoplay></wd-swiper>
+      <div class="mx-14px bg-[#fff] rounded-2xl">
+        <wd-swiper
+          :list="bannersLogo && bannersLogo.map((m) => m.bannerImgUrl)"
+          :height="330"
+          autoplay
+        ></wd-swiper>
       </div>
       <div class="text-black/85 mx-14px">
         <div class="flex items-center justify-between py-3.5">