myCard.wxml 2.6 KB
<!--pages/myCard/myCard.wxml-->
<block>
  <view class='banner_box'>
    <swiper class='swiper_box' interval='2000' duration='500' current='{{swipercurrent}}' bindchange='swiperCharge'>
      <swiper-item class="banner_img" wx:for='{{imgsUrl || default_card}}' wx:key='index'>
        <!-- <image class='swiper_img' src='{{item}}'> -->
        <view class='img_top'>
          <view class='logo_title' wx:if="{{imgsUrl.length>0}}">{{item.name}}的畅玩卡</view>
          <view class='logo_title' wx:else>畅玩卡</view>
          <view wx:if="{{imgsUrl.length>0}}">{{item.start_time}}至{{item.over_time}}</view>
          <view wx:else>暂无购买畅玩卡</view>
        </view>
        <view class='img_info'>
          <view class='info_title'>{{service.title}}:</view>
          <view>{{service.description}}</view>
          <!--<view>1.年卡只限本人使用年卡只限本人使用年卡只限本人使用年卡只限 本人使用年卡只限本人使用年卡只-->
          <!--</view>-->
          <!--<view>2.年卡只限本人使用年卡只限本人使用</view>-->
          <!--<view>3.年卡只限本人使用年卡只限本人使用年卡只限本人使用年本人使 用本人使用仅限</view>-->
        </view>
        <!-- </image> -->
      </swiper-item>
    </swiper>
    <view class='indicator_dots'>
      <block wx:for='{{imgsUrl}}' wx:key='index'>
        <view class="dot {{ index == swipercurrent ? 'dot_active':''}}"></view>
      </block>
    </view>
  </view>
  <view class='content_box'>
    <view class='item_list' bindtap='record' wx:if="{{imgsUrl.length>0}}">
      <view class='list_title'>预约记录</view>
    </view>
    <view class='item_list' bindtap='buyCard'>
      <view class='list_title'>立即购买/续费</view>
    </view>
    <view class='item_list' bindtap='groupBuy'>
      <view class='list_title'>团购畅玩卡</view>
    </view>
  </view>
</block>
<!-- <block>
  <view class='banner_box'>
    <swiper class='swiper_box' wx:key='' interval='2000' duration='500' current='{{swipercurrent}}' bindchange='swiperCharge'>
      <swiper-item class="banner_img" wx:for='{{imgsUrl}}' wx:key=''>
        <image src='{{item}}'></image>
      </swiper-item>
    </swiper>
    <view class='indicator_dots'>
      <block wx:for='{{imgsUrl}}' wx:key=''>
        <view class="dot {{ index == swipercurrent ? 'dot_active':''}}"></view>
      </block>
    </view>
  </view>
  <view class='content_box'>
    <view class='item_list'>
      <view class='list_title'>立即购买</view>
    </view>
    <view class='item_list'>
      <view class='list_title'>团购畅玩卡</view>
    </view>
  </view>
</block> -->