<!--subPackage/page/pages/share/share.wxml-->
  <!-- <painter customStyle='margin-left:40rpx' palette="{{template}}" bind:imgOK="onImgOK" />
  <button bindtap="saveImage">保存</button> -->
  <view class="page-share">
    <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" current='{{swiperCurrent}}' 
  indicator-color="{{beforeColor}}" indicator-active-color="{{afterColor}}" circular='{{circular}}' 
  previous-margin="{{previousmargin}}" next-margin="{{nextmargin}}" bindchange="swiperChange" >
      <block wx:for="{{arr}}" wx:key="key"> 
      <swiper-item class="">
        <image class="slide-image {{swiperCurrent == index ? 'active' : ''}}" src="{{item.images}}" 
  bindchange="chuangEvent" id="{{index}}"></image>
      </swiper-item>
      </block> 
    </swiper>
    <view class="save-btn">
      <button class="btn btn-primary ">保存海报</button>
      <view class="save-tips">适用于朋友圈分享</view>
    </view>

    <view class="tab-sort" wx:if="{{navData}}">
        <scroll-view scroll-x class="scroll-view_H" scroll-with-animation="{{true}}">
          <block
          wx:for="{{navData}}"
          wx:for-index="idx"
          wx:for-item="navItem"
          wx:key="idx"

          >
            <view
            class="scroll-view-item {{currentTab == idx ?'poster-active':''}}"
            data-current="{{idx}}"
            data-startTimeStr="{{navItem.startTimeStr}}"
            data-endTimeStr="{{navItem.endTimeStr}}"
            data-btnText="{{navItem.buttonText}}"
            data-id="{{navItem.id}}"
            bindtap="switchNav"
            >
              <view>{{navItem.label}}</view>
            </view>
          </block>
        </scroll-view> 
    </view>

    <view class="poster-tips">
      <image src="/assets/imgs/7_1_0/poster-tips.png" mode="widthFix"></image>
    </view>
 </view>