123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <script setup>
- const { t } = useI18n()
- const { $$t } = useStoreI18n()
- const dataList = ref([
- {
- bg: 'box-color-1',
- id: 'wrapper0',
- wowDelay: '0.3s',
- img: '/picture/icon-1.svg',
- title: $$t('handicraftCourses'),
- subTitle: $$t('handicraftCoursesSubTitle')
- },
- {
- bg: 'box-color-3',
- id: 'wrapper1',
- wowDelay: '0.5s',
- img: '/picture/icon-3.svg',
- title: $$t('classroomGames'),
- subTitle: $$t('classroomGamesSubTitle')
- },
- {
- bg: 'box-color-2',
- id: 'wrapper2',
- wowDelay: '0.6s',
- img: '/picture/icon-2.svg',
- title: $$t('musicalRhythm'),
- subTitle: $$t('musicalRhythmSubTitle')
- },
- {
- bg: 'box-color-4',
- id: 'wrapper3',
- wowDelay: '0.8s',
- img: '/picture/icon-4.svg',
- title: $$t('chineseCulture'),
- subTitle: $$t('chineseCultureSubTitle')
- }
- ])
- </script>
- <style lang="css" scoped>
- .multi-line {
- overflow: hidden;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- }
- .h-color {
- color: white;
- }
- .clamp-1 {
- -webkit-line-clamp: 1;
- }
- .clamp-2 {
- -webkit-line-clamp: 2;
- }
- .shrink-0 {
- flex-shrink: 0;
- }
- </style>
- <template>
- <section class="about-activities-section section-padding pt-0">
- <div class="pencil-shape"><img src="/picture/pencil2.png" alt="shape-img" /></div>
- <div class="zebra-shape float-bob-y"><img src="/picture/zebra.png" alt="shape-img" /></div>
- <div class="container">
- <div class="about-activities-wrapper">
- <div class="row g-3">
- <div class="col-lg-6 wow fadeInUp" data-wow-delay=".4s">
- <div class="activities-image bg-cover">
- <img src="/picture/03.png" alt="img" />
- </div>
- </div>
- <div class="col-lg-6">
- <div class="activities-content">
- <div class="section-title">
- <span class="wow fadeInUp">{{ t('ourOriginalCourses') }}</span>
- <h2 class="wow fadeInUp fs-1" data-wow-delay=".3s">
- {{ t('curriculumCharacteristics') }}
- </h2>
- </div>
- <p class="mt-3 mt-md-0 wow fadeInUp" data-wow-delay=".5s">
- {{ t('multiDimensionalTeachingModel') }}
- </p>
- <div class="row g-4 mt-4">
- <div
- v-for="(item, index) in dataList"
- :key="item?.id"
- class="col-xl-6 col-lg-8 col-md-6 wow fadeInUp"
- :data-wow-delay="item?.wowDelay"
- >
- <div class="icon-items">
- <div class="icon shrink-0" :class="item?.bg">
- <img :src="item?.img" alt="img" />
- </div>
- <div class="content">
- <h5>{{ item?.title }}</h5>
- <p class="multi-line clamp-2">
- {{ item?.subTitle }}
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </section>
- </template>
|