case.wxml
3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!--pages/case/case.wxml-->
<view class='case_wrap' >
<!--banner -->
<view class='case_banner_box'>
<swiper bindchange='swiperChange'
indicator-dots="{{indicatorDots}}"
autoplay="{{autoplay}}"
interval="{{interval}}"
duration="{{duration}}"
circular="{{circular}}">
<block wx:for="{{imgUrls}}" wx:key>
<swiper-item>
<image src="{{item.url}}" data-id='{{item.category_id}}' bindtap='caseDetailFun' class="slide-image" width="100%" height="100%" />
</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='case_box' bindtouchstart="touchStart" bindtouchmove="touchMove" bindtouchend="touchEnd" >
<view class='case_title'>
<view class='case_title_content'>
<view class='case_contnet_line'></view>
<view class='case_title_text'>案例类型</view>
</view>
</view>
<view class='case_content'>
<view class='case_list' data-html="政府案例" data-id='1' bindtap='goFun'>
<image src='{{baseImgUrl}}/zhengfu.png'></image>
<view class='case_list_text'>政府</view>
</view>
<view class='case_list' data-html="地产案例" data-id='3' bindtap='goFun'>
<image src='{{baseImgUrl}}/dichan.png'></image>
<view class='case_list_text'>地产</view>
</view>
<view class='case_list' data-html="制造案例" data-id='2' bindtap='goFun'>
<image src='{{baseImgUrl}}/zhizao.png'></image>
<view class='case_list_text'>制造</view>
</view>
<view class='case_list' data-html="教育案例" data-id='5' bindtap='goFun'>
<image src='{{baseImgUrl}}/jiaoyu.png'></image>
<view class='case_list_text'>教育</view>
</view>
<view class='case_list' data-html="物流案例" data-id='4' bindtap='goFun'>
<image src='{{baseImgUrl}}/jinrong.png'></image>
<view class='case_list_text'>物流</view>
</view>
<view class='case_list' data-html="零售案例" data-id='6' bindtap='goFun'>
<image src='{{baseImgUrl}}/lingshou.png'></image>
<view class='case_list_text'>零售</view>
</view>
</view>
<view class='drop_img'>
<image src='{{baseImgUrl}}/left.png' style='margin-right:200rpx;' bindtap='backFun'></image>
<image src='{{baseImgUrl}}/right.png' bindtap="jumpFun"></image>
</view>
</view>
<!-- 客服 -->
<view class='chat_peo' >
<button open-type="contact" class='contacButton'>
<!-- <button open-type="contact" class='contacButton'> -->
<image src='{{baseImgUrl}}/chat_peo.png'></image>
<!-- </button> -->
</button>
</view>
</view>