stageofpregnancy.wxml 1.0 KB
<!-- 文字部分 -->
<view class="word">
   <view class="said">和小秘书说说您的情况吧</view>
   <view class="provid"> 我们会根据您的阶段,找到专属的小秘书,拉你进群</view>
   <!-- <view class="provid">贴心的帮助哦~</view> -->
</view>

<!-- 轮播图 -->
<view class='swiper_box'>
  <swiper class='swiper' previous-margin='150rpx' next-margin='150rpx' circular='true' display-multiple-items='1' bindchange="handleChange" current="{{currentindex}}">
    <block wx:for='{{imgsUrls}}' wx:key='{{index}}' data-index='{{index}}' >
      <swiper-item class='swiperitem'>
        <image src="{{item.url}}" class="banner_img {{currentindex==index?'img_style':''}}">
        </image>
      </swiper-item>
    </block>
  </swiper>


   <view class="dots" >
        <block wx:for="{{imgsUrls}}" wx:key="">
            <view class="dot{{index == currentSwiper ? ' active' : ''}}" data-index='{{index}}' bindtap="change">{{item.name}}</view>
        </block>
    </view>
</view>

<view class="nextstep" bindtap="nextstep">下一步</view>