<!--pages/secondIntro/secondIntro.wxml-->
<view class="indexContainer">
    <!-- 轮播图区域 -->
    <view>
        <view wx:if="{{bannersList.length != 0}}">
            <swiper class="banners" autoplay circular interval="2000" indicator-dots="true" indicator-color="ivory" indicator-active-color="#d43c33" next-margin="0rpx" previous-margin="0rpx">
                <swiper-item wx:for="{{bannersList}}" wx:key="key">
                    <image src="{{item.iconPath}}"></image>
                </swiper-item>
            </swiper>
        </view>
        <view wx:else class="noBanners">
            <text>暂无图片展示</text>
        </view>
    </view>
    <!-- 景区介绍的正文 -->
    <view wx:if="{{textIntro == ''}}" class="noSecondIntro">
        <text>暂无介绍内容</text>
    </view>
    <view wx:else class="textContainer">
        <view class="titleHead">
            <text>{{textIntro.title}}</text>
        </view>
        <view class="introContent" style="white-space: pre-wrap;">
            <text>{{textIntro.describes}}</text>
        </view>
    </view>

</view>