From f34aa90e8f838a8ca09dfc1aec4fa13bbb04af1c Mon Sep 17 00:00:00 2001
From: 劉鈞霖 <benson@gmail.com>
Date: 星期五, 19 十一月 2021 15:47:58 +0800
Subject: [PATCH] [ Update ] 修正 commit:bd9d8a6b0ed6204a9bb2708fe6a894f51cc52c94 資訊 i css 寫法錯誤

---
 PAMapp/components/Ui/UiCarousel.vue |   54 ++++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 46 insertions(+), 8 deletions(-)

diff --git a/PAMapp/components/Ui/UiCarousel.vue b/PAMapp/components/Ui/UiCarousel.vue
index b726c82..98a61a8 100644
--- a/PAMapp/components/Ui/UiCarousel.vue
+++ b/PAMapp/components/Ui/UiCarousel.vue
@@ -1,17 +1,19 @@
 <template>
 <div>
     <el-carousel
-        height="260px"
         :autoplay="true"
         indicator-position="outside"
         arrow="never"
         trigger="click"
+        class="pam-home-carousel"
     >
-        <el-carousel-item
-            v-for="(item, index) in 3"
-            :key="index"
-        >
-            <h3>{{ item }}</h3>
+        <el-carousel-item class="banner-img">
+            <div class="text--center mt-30 banner-info">
+                <h1 class="banner-title mb-10">�犖������“���</h1>
+                <p class="banner-txt text--PRIMARY_WHITE">����嚗�������</p>
+                <p class="banner-txt text--PRIMARY_WHITE">霈��鼠�敹恍�������“����</p>
+                <p class="banner-txt text--PRIMARY_WHITE">閫�瘙箔�憭批������嚗�銵���</p>
+            </div>
         </el-carousel-item>
     </el-carousel>
 </div>
@@ -27,7 +29,43 @@
 </script>
 
 <style lang="scss" scoped>
-.el-carousel__item {
-    background-color: #d3dce6;
+.banner-img {
+    width: 100%;
+    height: 100%;
+    background-image: url('~/assets/images/index_banner_mob.svg');
+    background-repeat: no-repeat;
+    background-size: cover;
+    background-position: bottom;
 }
+
+.banner-info {
+    .banner-title {
+        @extend .title;
+    }
+
+    .banner-txt {
+        @extend .smTxt_bold;
+        line-height: 21px;
+    }
+}
+
+@media (min-width: 576px) {
+    .banner-img {
+        background-image: url('~/assets/images/index_banner_web.svg');
+    }
+}
+
+@include desktop {
+    .banner-info {
+        .banner-title {
+            font-size: 40px;
+        }
+
+        .banner-txt {
+            font-size: 18px;
+            line-height: 24px;
+        }
+    }
+}
+
 </style>
\ No newline at end of file

--
Gitblit v1.8.0