experience.wxml 5.3 KB
  <view class="swiper_image">
    <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
      <block wx:for="{{imgUrls}}" wx:key="doct">
        <swiper-item style="border-radius:10px;">
          <image src="{{item}}" data-index='{{index}}' class="slide-image" bindtap='viewImg' width="355" height="150" />
        </swiper-item>
      </block>
    </swiper>

    <view class="dots">
      <block wx:for="{{imgUrls}}" wx:key="">
        <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
      </block>
    </view>

  </view>

  <view class="pingbox">
      <view class="pingboxitem">
          <view class="pingboxtop">
              <view class="pingleft">
                  <image src="/img/renwu.png"></image>
              </view>

              <view class="pigright">温宁</view>
          </view>

          <view class="pingword">在闹中取静的西湖,体验地道的本土生活</view>

          <view class="pingtext">杭州处于亚热带季风区,四季分明,夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>

          <view class="pingbottom">
              <view class="pingbottomleft">
                  <view class="pingbottomleftimg">
                      <image src="/img/ditu.png"></image>
                  </view>

                  <view class="pingdidian">杭州西湖风景民宿</view>
              </view>

              <view class="pingbottomright">
                  <view class="pingbottomrightimg">
                      <image src="/img/zan.png"></image>
                  </view>
                  <view class="zannum">67</view>
              </view>
          </view>
      </view>

      <view class="pingboxitem">
          <view class="pingboxtop">
              <view class="pingleft">
                  <image src="/img/renwu.png"></image>
              </view>

              <view class="pigright">温宁</view>
          </view>

          <view class="pingword">在闹中取静的西湖,体验地道的本土生活</view>

          <view class="pingtext">杭州处于亚热带季风区,四季分明,夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>

          <view class="pingbottom">
              <view class="pingbottomleft">
                  <view class="pingbottomleftimg">
                      <image src="/img/ditu.png"></image>
                  </view>

                  <view class="pingdidian">杭州西湖风景民宿</view>
              </view>

              <view class="pingbottomright">
                  <view class="pingbottomrightimg">
                      <image src="/img/zan.png"></image>
                  </view>
                  <view class="zannum">67</view>
              </view>
          </view>
      </view>

      <view class="pingboxitem">
          <view class="pingboxtop">
              <view class="pingleft">
                  <image src="/img/renwu.png"></image>
              </view>

              <view class="pigright">温宁</view>
          </view>

          <view class="pingword">在闹中取静的西湖,体验地道的本土生活</view>

          <view class="pingtext">杭州处于亚热带季风区,四季分明,夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>

          <view class="pingbottom">
              <view class="pingbottomleft">
                  <view class="pingbottomleftimg">
                      <image src="/img/ditu.png"></image>
                  </view>

                  <view class="pingdidian">杭州西湖风景民宿</view>
              </view>

              <view class="pingbottomright">
                  <view class="pingbottomrightimg">
                      <image src="/img/zan.png"></image>
                  </view>
                  <view class="zannum">67</view>
              </view>
          </view>
      </view>

      <view class="pingboxitem">
          <view class="pingboxtop">
              <view class="pingleft">
                  <image src="/img/renwu.png"></image>
              </view>

              <view class="pigright">温宁</view>
          </view>

          <view class="pingword">在闹中取静的西湖,体验地道的本土生活</view>

          <view class="pingtext">杭州处于亚热带季风区,四季分明,夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>

          <view class="pingbottom">
              <view class="pingbottomleft">
                  <view class="pingbottomleftimg">
                      <image src="/img/ditu.png"></image>
                  </view>

                  <view class="pingdidian">杭州西湖风景民宿</view>
              </view>

              <view class="pingbottomright">
                  <view class="pingbottomrightimg">
                      <image src="/img/zan.png"></image>
                  </view>
                  <view class="zannum">67</view>
              </view>
          </view>
      </view>
  </view>