|
@@ -401,6 +401,91 @@
|
|
<!-- 设计我家页 -->
|
|
<!-- 设计我家页 -->
|
|
<div *ngIf="selectedSegment === 'home'">
|
|
<div *ngIf="selectedSegment === 'home'">
|
|
<!-- 设计我家内容 -->
|
|
<!-- 设计我家内容 -->
|
|
|
|
+ <!-- Swiper轮播图 手动创建 -->
|
|
|
|
+ <!-- Slider main container -->
|
|
|
|
+ <button (click)="slide1?.slideNext()">next</button>
|
|
|
|
+ <div #slide1Comp class="swiper">
|
|
|
|
+ <!-- Additional required wrapper其他必需的包装器 -->
|
|
|
|
+ <!-- 分页 -->
|
|
|
|
+ <div class="swiper-wrapper">
|
|
|
|
+ <div class="swiper-wrapper" style="transition-duration: 0ms; transform: translate3d(-280px, 0px, 0px);">
|
|
|
|
+ <div class="swiper-slide swiper-slide-duplicate" data-swiper-slide-index="7" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 8
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide swiper-slide-duplicate" data-swiper-slide-index="8" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 9
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide swiper-slide-duplicate swiper-slide-prev" data-swiper-slide-index="9" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 10
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide swiper-slide-active" data-swiper-slide-index="0" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 1
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide swiper-slide-next" data-swiper-slide-index="1" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 2
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide" data-swiper-slide-index="2" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 3
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide" data-swiper-slide-index="3" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 4
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide" data-swiper-slide-index="4" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 5
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide" data-swiper-slide-index="5" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 6
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide" data-swiper-slide-index="6" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 7
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide" data-swiper-slide-index="7" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 8
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide" data-swiper-slide-index="8" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 9
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide swiper-slide-duplicate-prev" data-swiper-slide-index="9" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 10
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide swiper-slide-duplicate swiper-slide-duplicate-active" data-swiper-slide-index="0" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 1
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide swiper-slide-duplicate swiper-slide-duplicate-next" data-swiper-slide-index="1" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 2
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide swiper-slide-duplicate" data-swiper-slide-index="2" style="width: 110px; margin-right: 30px;">
|
|
|
|
+ Slide 3
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
|
+
|
|
|
|
+ <!-- If we need pagination分页按钮 -->
|
|
|
|
+ <div class="swiper-pagination swiper-pagination-clickable swiper-pagination-bullets">
|
|
|
|
+ <span class="swiper-pagination-bullet swiper-pagination-bullet-active" tabindex="0" role="button" aria-label="Go to slide 1"></span>
|
|
|
|
+ <span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide 2"></span><span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide 3"></span>
|
|
|
|
+ <span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide 4"></span><span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide 5"></span>
|
|
|
|
+ <span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide 6"></span><span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide 7"></span>
|
|
|
|
+ <span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide 8"></span><span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide 9"></span>
|
|
|
|
+ <span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide 10"></span>
|
|
|
|
+ </div>
|
|
|
|
+ <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
|
|
|
+ <div class="swiper-pagination">
|
|
|
|
+ <div class="swiper-wrapper">
|
|
|
|
+ <!-- Slides幻灯片 -->
|
|
|
|
+ <div class="swiper-slide">
|
|
|
|
+ <img src="assets\img\ChineseStyle.png">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide">
|
|
|
|
+ <img src="assets\img\NorthernEuropeStyle.png">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="swiper-slide">
|
|
|
|
+ <img src="assets\img\WoodStyle.png">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<img src="example3.jpg" alt="Example 9">
|
|
<img src="example3.jpg" alt="Example 9">
|
|
</div>
|
|
</div>
|
|
|
|
|