caseDetail.wxml
4.2 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
73
74
75
76
77
78
79
80
81
82
83
84
85
<!--pages/caseDetail/caseDetail.wxml-->
<view class='case_detail_page'>
<view class='case_detail_top'>
<view class='case_detail_banner'>
<swiper autoplay="{{false}}" interval="2000" duration="500" circular="{{true}}" bindchange="swiperChange">
<block wx:for="{{imgUrls}}" wx:key="index">
<swiper-item>
<!-- <navigator url="{{item.url}}" hover-class="navigator-hover"> bindpause="clickStop"-->
<view class="index_top">
<block wx:if="{{item.type == 'video'}}" >
<!-- <view wx:if="{{isPlay}}" class="video-box" catchtap="play"> -->
<video src="{{item.url}}" wx:if="{{item.type == 'video'}}" class="slide-image" autoplay="{{false}}"
controls="{{true}}"></video>
<!-- </view> -->
<!-- <view wx:else class="video-box {{item.video_img!==''?'position-re':''}}" catchtap="play"> -->
<!-- <block wx:if="{{item.video_img !== ''}}">
<image src="{{item.video_img}}"
class="slide-image fmImg" mode="aspectFill">
</image>
<image src='{{baseImgUrl}}/video_btn.png' class="video_btn {{item.video_img!==''?'position-ab':''}}"></image>
</block>
<block wx:else>
<view class="iconfont icon-ziyuan"></view>
</block> -->
<!-- </view> -->
</block>
<block wx:else>
<image src="{{item.url}}" wx:if="{{item.type == 'image'}}" bindtap='previewImage' class="slide-image banner" mode="aspectFill"/>
</block>
</view>
<!-- </navigator> -->
</swiper-item>
</block>
</swiper>
<view class='dots_box'>
<view class="dots">
<block wx:for="{{imgUrls}}" wx:key="">
<view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
</block>
</view>
</view>
</view>
<view class='case_info'>
<view class='case_title'>{{data.title}}</view>
<view class='lable_list_box'>
<view class='lable_list' wx:for="{{data.label}}" wx:key="index">{{item.name}}</view>
</view>
</view>
</view>
<view class='case_info_lists'>
<view class='case_info_title'>
<view data-id='0' class="info_title_list {{listStatus == 0 ? ' now' : ''}}" bindtap='toggleFun'>
项目简介
<view class='line'></view>
</view>
<view data-id='1' class="info_title_list {{listStatus == 1 ? ' now' : ''}}" bindtap='toggleFun'>
实施与应用
<view class='line'></view>
</view>
</view>
<view class='info_box'>
<view class='info_list' wx:if="{{listStatus==0}}">
<import src="../../wxParse/wxParse.wxml"/>
<template is="wxParse" data="{{wxParseData:content_1.nodes}}"/>
<!-- <image src="{{baseImgUrl}}/jianjie.png" mode='widthFix'></image> -->
</view>
<view class='info_list' wx:else>
<import src="../../wxParse/wxParse.wxml"/>
<template is="wxParse" data="{{wxParseData:content_2.nodes}}"/>
<!-- <image src="{{baseImgUrl}}/shishi.png" mode='widthFix'></image> -->
</view>
</view>
</view>
<!-- 客服 -->
<view class='chat_peo'>
<button open-type="contact" class='contacButton'>
<image src='{{baseImgUrl}}/chat_peo.png'></image>
</button>
</view>
<!-- 返回顶部 -->
<view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" >
<image src='{{baseImgUrl}}/dingbu.png'></image>
</view>
</view>