1
|
<!--pages/myCard/myCard.wxml-->
|
1
|
<!--pages/myCard/myCard.wxml-->
|
2
|
<block>
|
2
|
<block>
|
3
|
<view class='banner_box'>
|
3
|
<view class='banner_box'>
|
4
|
- <swiper class='swiper_box' interval='2000' duration='500' current='{{swipercurrent}}' bindchange='swiperCharge'>
|
4
|
+ <!--未购买畅玩卡-->
|
|
|
5
|
+ <view class="default-card" wx:if="{{imgsUrl.length === 0}}">
|
|
|
6
|
+ <view class="banner_img">
|
|
|
7
|
+ <view class='img_top'>
|
|
|
8
|
+ <view class='logo_title'>畅玩卡</view>
|
|
|
9
|
+ </view>
|
|
|
10
|
+ <view class='img_info'>
|
|
|
11
|
+ <view class='info_title'>{{service.title}}:</view>
|
|
|
12
|
+ <view>{{service.description}}</view>
|
|
|
13
|
+ </view>
|
|
|
14
|
+ </view>
|
|
|
15
|
+ </view>
|
|
|
16
|
+ <!--已购买畅玩卡-->
|
|
|
17
|
+ <swiper wx:if="{{imgsUrl.length > 0}}" class='swiper_box' interval='2000' duration='500' current='{{swipercurrent}}' bindchange='swiperCharge'>
|
5
|
<swiper-item class="banner_img" wx:for='{{imgsUrl || default_card}}' wx:key='index'>
|
18
|
<swiper-item class="banner_img" wx:for='{{imgsUrl || default_card}}' wx:key='index'>
|
6
|
<!-- <image class='swiper_img' src='{{item}}'> -->
|
19
|
<!-- <image class='swiper_img' src='{{item}}'> -->
|
7
|
<view class='img_top'>
|
20
|
<view class='img_top'>
|
|
@@ -21,7 +34,7 @@ |
|
@@ -21,7 +34,7 @@ |
21
|
<!-- </image> -->
|
34
|
<!-- </image> -->
|
22
|
</swiper-item>
|
35
|
</swiper-item>
|
23
|
</swiper>
|
36
|
</swiper>
|
24
|
- <view class='indicator_dots'>
|
37
|
+ <view wx:if="{{imgsUrl.length > 0}}" class='indicator_dots'>
|
25
|
<block wx:for='{{imgsUrl}}' wx:key='index'>
|
38
|
<block wx:for='{{imgsUrl}}' wx:key='index'>
|
26
|
<view class="dot {{ index == swipercurrent ? 'dot_active':''}}"></view>
|
39
|
<view class="dot {{ index == swipercurrent ? 'dot_active':''}}"></view>
|
27
|
</block>
|
40
|
</block>
|